Uploaded image for project: 'Red Hat 3scale API Management'
  1. Red Hat 3scale API Management
  2. THREESCALE-1043

[documentation] remove instructions for self-managed gateway deployment

XMLWordPrintable

      after executing all the commands to setup the OS:
      https://access.redhat.com/documentation/en-us/red_hat_3scale/2.saas/html/deployment_options/apicast-self-managed#step_1_install_openresty_and_dependencies
      and

      sudo luarocks make apicast/gateway/*.rockspec --tree /usr/local/openresty/luajit
      

      I tried to execute

      THREESCALE_PORTAL_ENDPOINT=https://*token@lmf-admin.3scale.net APICAST_RESPONSE_CODES=true APICAST_SERVICES_LIST=2555417758343 bin/apicast
      

      but receive the following error:

      ERROR: ...top/3scale/apicast/gateway/src/apicast/policy_loader.lua:19: module 'resty.env' not found:
      	no field package.preload['resty.env']
      	no file './src/resty/env.lua'
      	no file '/home/admin/Desktop/3scale/apicast/gateway/src/resty/env.lua'
      	no file '/usr/local/openresty/site/lualib/resty/env.ljbc'
      	no file '/usr/local/openresty/site/lualib/resty/env/init.ljbc'
      	no file '/usr/local/openresty/lualib/resty/env.ljbc'
      	no file '/usr/local/openresty/lualib/resty/env/init.ljbc'
      	no file '/usr/local/openresty/site/lualib/resty/env.lua'
      	no file '/usr/local/openresty/site/lualib/resty/env/init.lua'
      	no file '/usr/local/openresty/lualib/resty/env.lua'
      	no file '/usr/local/openresty/lualib/resty/env/init.lua'
      	no file '/home/admin/Desktop/3scale/apicast/gateway/src/resty/env.lua'
      	no file './resty/env.lua'
      	no file '/usr/local/openresty/luajit/share/luajit-2.1.0-beta3/resty/env.lua'
      	no file '/usr/local/share/lua/5.1/resty/env.lua'
      	no file '/usr/local/share/lua/5.1/resty/env/init.lua'
      	no file '/usr/local/openresty/luajit/share/lua/5.1/resty/env.lua'
      	no file '/usr/local/openresty/luajit/share/lua/5.1/resty/env/init.lua'
      	no file '/home/admin/Desktop/3scale/apicast/gateway/src/resty/env.so'
      	no file '/usr/local/openresty/site/lualib/resty/env.so'
      	no file '/usr/local/openresty/lualib/resty/env.so'
      	no file '/home/admin/Desktop/3scale/apicast/gateway/lib/resty/env.so'
      	no file './resty/env.so'
      	no file '/usr/local/lib/lua/5.1/resty/env.so'
      	no file '/usr/local/openresty/luajit/lib/lua/5.1/resty/env.so'
      	no file '/usr/local/lib/lua/5.1/loadall.so'
      	no file '/home/admin/Desktop/3scale/apicast/gateway/src/resty.so'
      	no file '/usr/local/openresty/site/lualib/resty.so'
      	no file '/usr/local/openresty/lualib/resty.so'
      	no file '/home/admin/Desktop/3scale/apicast/gateway/lib/resty.so'
      	no file './resty.so'
      	no file '/usr/local/lib/lua/5.1/resty.so'
      	no file '/usr/local/openresty/luajit/lib/lua/5.1/resty.so'
      	no file '/usr/local/lib/lua/5.1/loadall.so'
      stack traceback:
      	...top/3scale/apicast/gateway/src/apicast/policy_loader.lua:19: in main chunk
      	[C]: in function 'require'
      	...in/Desktop/3scale/apicast/gateway/src/apicast/loader.lua:13: in main chunk
      	[C]: in function 'require'
      	...admin/Desktop/3scale/apicast/gateway/src/apicast/cli.lua:1: in main chunk
      	[C]: in function 'require'
      	/tmp/uAkpnLDK6f:60: in function 'file_gen'
      	init_worker_by_lua:47: in function <init_worker_by_lua:45>
      	[C]: in function 'xpcall'
      	init_worker_by_lua:54: in function <init_worker_by_lua:52>
      
      
      

            rhn-support-dmayorov Daria Mayorova
            lucamaf Luca Mattia Ferrari
            Jakub Smadis Jakub Smadis (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: