Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Oracle VM VirtualBox environment? #30

Open
lfurzewaddock opened this issue May 16, 2017 · 0 comments
Open

Support for Oracle VM VirtualBox environment? #30

lfurzewaddock opened this issue May 16, 2017 · 0 comments

Comments

@lfurzewaddock
Copy link

Oracle VM VirtualBox environment overview

HOST: MS Windows 10 Pro

  • Local LAN IP: 192.168.1.130
  • Host-only adaptor IP: 192.168.56.1 (host/guest connectivity OK)
  • Bash on Ubuntu on Windows/WSL

GUEST: Ubuntu 16.04.2 LTS

  • Host-only adaptor IP: 192.168.56.101 (host/guest connectivity OK)
  • Node v6.9.0
  • npm v3.10.8
  • fuge v1.0.2
  • ramanujan v0.0.1 (latest commit: Mar 26, 2017)

After executing the following commands on the guest, logged in via SSH from the host;

$ fuge shell fuge/fuge.yml

compiling...
starting shell..

fuge> start all

All services start and appear to be running with the ps command, but after a short time <1 minute, all services begin to fail with similar timeout related errors, e.g.

"Error: seneca: Action name:mesh,plugin:define,role:seneca,seq:3,tag:undefined failed: [TIMEOUT]. "

QUESTION: How can the fuge/fuge.yml be adapted to support this environment?

base0 error output example;

fuge> [base0 - 2724]: ERR gh/xh Error: seneca: Action name:mesh,plugin:define,role:seneca,seq:2,tag:undefined failed: [TIMEOUT].
[base0 - 2724]: ERR si/2p Error: seneca: Action cmd:listen,role:transport failed: [TIMEOUT].
[base0 - 2724]: ERR zo/qc Error: seneca: Action init:mesh failed: [TIMEOUT].
[base0 - 2724]: p0/base0
[base0 - 2724]:
[base0 - 2724]:
[base0 - 2724]: Seneca Fatal Error
[base0 - 2724]: ==================
[base0 - 2724]:
[base0 - 2724]: Message: seneca: Action name:mesh,plugin:define,role:seneca,seq:2,tag:undefined failed: [TIMEOUT].
[base0 - 2724]:
[base0 - 2724]: Code: act_execute
[base0 - 2724]:
[base0 - 2724]: Details: { message: '[TIMEOUT]',
[base0 - 2724]: pattern: 'name:mesh,plugin:define,role:seneca,seq:2,tag:undefined',
[base0 - 2724]: fn: [Function: plugin_definition],
[base0 - 2724]: cb: [Function: noop],
[base0 - 2724]: instance: 'Seneca/p0/base0',
[base0 - 2724]: 'orig$':
[base0 - 2724]: Error: [TIMEOUT]
[base0 - 2724]: at Object.act_tm [as ontm] (/home/lfw/projects/dev/senecajs/ramanujan/node_modules/seneca/seneca.js:1041:46)
[base0 - 2724]: at Timeout.timeout_check [as _onTimeout] (/home/lfw/projects/dev/senecajs/ramanujan/node_modules/seneca/node_modules/gate-executor/gate-executor.js:216:16)
[base0 - 2724]: at ontimeout (timers.js:365:14)
[base0 - 2724]: at tryOnTimeout (timers.js:237:5)
[base0 - 2724]: at Timer.listOnTimeout (timers.js:207:5),
[base0 - 2724]: 'message$': '[TIMEOUT]',
[base0 - 2724]: plugin: {} }
[base0 - 2724]:
[base0 - 2724]: Stack:
[base0 - 2724]: at Object.act_tm [as ontm] (/home/lfw/projects/dev/senecajs/ramanujan/node_modules/seneca/seneca.js:1041:46)
[base0 - 2724]: at Timeout.timeout_check [as _onTimeout] (/home/lfw/projects/dev/senecajs/ramanujan/node_modules/seneca/node_modules/gate-executor/gate-executor.js:216:16)
[base0 - 2724]: at ontimeout (timers.js:365:14)
[base0 - 2724]: at tryOnTimeout (timers.js:237:5)
[base0 - 2724]: at Timer.listOnTimeout (timers.js:207:5)
[base0 - 2724]:
[base0 - 2724]: Instance: Seneca/p0/base0
[base0 - 2724]: ALL ERRORS FATAL: action called with argument fatal$:true (probably a plugin init error, or using a plugin seneca instance)
[base0 - 2724]: at Seneca.handle_result (/home/lfw/projects/dev/senecajs/ramanujan/node_modules/seneca/seneca.js:1120:27)
[base0 - 2724]:
[base0 - 2724]: When: 2017-05-16T13:19:35.369Z
[base0 - 2724]:
[base0 - 2724]: Log: {kind:null,plugin:seneca,tag:3.3.0,id:p0/base0,code:act_execute,notice:seneca: Action name:mesh,plugin:define,r
[base0 - 2724]:
[base0 - 2724]: Node:
[base0 - 2724]: { http_parser: '2.7.0', node: '6.9.0', v8: '5.1.281.84', uv: '1.9.1', zlib: '1.2.8', ares: '1.10.1-DEV', icu: '57.1', modules: '48', openssl: '1.0.2j' },
[base0 - 2724]: { debug: false, uv: true, ipv6: true, tls_npn: true, tls_alpn: true, tls_sni: true, tls_ocsp: true, tls: true },
[base0 - 2724]: [ 'Binding contextify', 'Binding natives', 'NativeModule events', 'NativeModule util', 'Binding uv', 'NativeModule buffer', 'Binding buffer', 'Binding util', 'NativeModule internal/util', 'NativeModule timers', 'Binding timer_wrap', 'NativeModule internal/linkedlist', 'NativeModule assert', 'NativeModule internal/process', 'Binding config', 'NativeModule internal/process/warning', 'NativeModule internal/process/next_tick', 'NativeModule internal/process/promises', 'NativeModule internal/process/stdio', 'Binding constants', 'NativeModule child_process', 'Binding spawn_sync', 'Binding pipe_wrap', 'NativeModule internal/child_process', 'NativeModule string_decoder', 'NativeModule net', 'NativeModule stream', 'NativeModule _stream_readable', 'NativeModule internal/streams/BufferList', 'NativeModule _stream_writable', 'NativeModule _stream_duplex', 'NativeModule _stream_transform', 'NativeModule _stream_passthrough', 'NativeModule internal/net', 'Binding cares_wrap', 'Binding tty_wrap', 'Binding tcp_wrap', 'Binding stream_wrap', 'NativeModule dgram', 'Binding udp_wrap', 'Binding process_wrap', 'NativeModule internal/socket_list', 'NativeModule path', 'NativeModule module', 'NativeModule internal/module', 'NativeModule vm', 'NativeModule fs', 'Binding fs', 'Binding fs_event_wrap', 'NativeModule os', 'Binding os', 'NativeModule http', 'NativeModule _http_incoming', 'NativeModule _http_common', 'Binding http_parser', 'NativeModule internal/freelist', 'NativeModule _http_outgoing', 'NativeModule _http_server', 'NativeModule _http_agent', 'NativeModule _http_client', 'NativeModule url', 'Binding icu', 'NativeModule querystring', 'NativeModule https', 'NativeModule tls', 'Binding crypto', 'NativeModule _tls_common', 'NativeModule _tls_wrap', 'NativeModule crypto', 'NativeModule internal/streams/lazy_transform', 'NativeModule _stream_wrap', 'Binding js_stream', 'Binding tls_wrap', 'NativeModule _tls_legacy', 'NativeModule tty', 'NativeModule dns', 'NativeModule console', 'NativeModule cluster', 'NativeModule internal/cluster' ]
[base0 - 2724]:
[base0 - 2724]: Process:
[base0 - 2724]: pid=2724, arch=x64, platform=linux,
[base0 - 2724]: path=/home/lfw/.nvm/versions/node/v6.9.0/bin/node,
[base0 - 2724]: argv=[ '/home/lfw/.nvm/versions/node/v6.9.0/bin/node', '/home/lfw/projects/dev/senecajs/ramanujan/base/base.js' ],
[base0 - 2724]: env={ MANPATH: '/home/lfw/.nvm/versions/node/v6.9.0/share/man:/usr/local/man:/usr/local/share/man:/usr/share/man', XDG_SESSION_ID: '5', NVM_CD_FLAGS: '', TERM: 'xterm-256color', SHELL: '/bin/bash', SSH_CLIENT: '192.168.56.1 59705 22', NVM_PATH: '/home/lfw/.nvm/versions/node/v6.9.0/lib/node', OLDPWD: '/home/lfw', SSH_TTY: '/dev/pts/1', NVM_DIR: '/home/lfw/.nvm', USER: 'lfw', LS_COLORS: 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:.tar=01;31:.tgz=01;31:.arc=01;31:.arj=01;31:.taz=01;31:.lha=01;31:.lz4=01;31:.lzh=01;31:.lzma=01;31:.tlz=01;31:.txz=01;31:.tzo=01;31:.t7z=01;31:.zip=01;31:.z=01;31:.Z=01;31:.dz=01;31:.gz=01;31:.lrz=01;31:.lz=01;31:.lzo=01;31:.xz=01;31:.bz2=01;31:.bz=01;31:.tbz=01;31:.tbz2=01;31:.tz=01;31:.deb=01;31:.rpm=01;31:.jar=01;31:.war=01;31:.ear=01;31:.sar=01;31:.rar=01;31:.alz=01;31:.ace=01;31:.zoo=01;31:.cpio=01;31:.7z=01;31:.rz=01;31:.cab=01;31:.jpg=01;35:.jpeg=01;35:.gif=01;35:.bmp=01;35:.pbm=01;35:.pgm=01;35:.ppm=01;35:.tga=01;35:.xbm=01;35:.xpm=01;35:.tif=01;35:.tiff=01;35:.png=01;35:.svg=01;35:.svgz=01;35:.mng=01;35:.pcx=01;35:.mov=01;35:.mpg=01;35:.mpeg=01;35:.m2v=01;35:.mkv=01;35:.webm=01;35:.ogm=01;35:.mp4=01;35:.m4v=01;35:.mp4v=01;35:.vob=01;35:.qt=01;35:.nuv=01;35:.wmv=01;35:.asf=01;35:.rm=01;35:.rmvb=01;35:.flc=01;35:.avi=01;35:.fli=01;35:.flv=01;35:.gl=01;35:.dl=01;35:.xcf=01;35:.xwd=01;35:.yuv=01;35:.cgm=01;35:.emf=01;35:.ogv=01;35:.ogx=01;35:.aac=00;36:.au=00;36:.flac=00;36:.m4a=00;36:.mid=00;36:.midi=00;36:.mka=00;36:.mp3=00;36:.mpc=00;36:.ogg=00;36:.ra=00;36:.wav=00;36:.oga=00;36:.opus=00;36:.spx=00;36:.xspf=00;36:', MAIL: '/var/mail/lfw', PATH: '/home/lfw/bin:/home/lfw/.local/bin:/home/lfw/.nvm/versions/node/v6.9.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', NVM_NODEJS_ORG_MIRROR: 'https://nodejs.org/dist', PWD: '/home/lfw/projects/dev/senecajs/ramanujan', LANG: 'en_GB.UTF-8', NODE_PATH: '/usr/lib/nodejs:/usr/lib/node_modules:/usr/share/javascript', SHLVL: '1', HOME: '/home/lfw', LANGUAGE: 'en_GB:en', LOGNAME: 'lfw', SSH_CONNECTION: '192.168.56.1 59705 192.168.56.101 22', NVM_BIN: '/home/lfw/.nvm/versions/node/v6.9.0/bin', LESSOPEN: '| /usr/bin/lesspipe %s', NVM_IOJS_ORG_MIRROR: 'https://iojs.org/dist', XDG_RUNTIME_DIR: '/run/user/1000', LESSCLOSE: '/usr/bin/lesspipe %s %s', _: '/home/lfw/.nvm/versions/node/v6.9.0/bin/fuge', BASES: '127.0.0.1:39000,127.0.0.1:39001', HOST: '127.0.0.1', SILENT: 'true', TAG: 'base0', PORT: '39000' }
[base0 - 2724]:
[base0 - 2724]:
[base0 - 2724]:
[base0 - 2724]:
[base0 - 2724]: SENECA TERMINATED at 2017-05-16T13:19:35.529Z. See above for error report.
[base0 - 2724]:
[base0 - 2724]:
[base0] exit - status: crashed duration: 23660

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant