Git Product home page Git Product logo

alpine-xen-orchestra's People

Contributors

adam-ant avatar dominictayloruk avatar frebib avatar jpoa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

alpine-xen-orchestra's Issues

XOA container does not start

Running Ubuntu 16.04
Pulling latest with docker-compose

root@vagrant:~# docker logs 73f2e0c3fbd9
yarn run v1.3.2
$ node bin/xo-server
Mon, 18 Dec 2017 15:59:52 GMT app-conf /app/xo-server/config.json
Mon, 18 Dec 2017 15:59:52 GMT app-conf /etc/xo-server/config.yaml
2017-12-18T15:59:52.278Z xo:main Configuration loaded.
2017-12-18T15:59:52.283Z xo:main Web server listening on http://[::]:8080
2017-12-18T15:59:52.284Z xo:main User changed to xenorchestra
2017-12-18T15:59:52.382Z xo:perf blocked for 25ms
[WARN] start error: Error: spawn vgchange ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:190:19)
at onErrorNT (internal/child_process.js:372:16)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
at process._tickCallback (internal/process/next_tick.js:180:9)
Segmentation fault (core dumped)
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 139.

Hook start failure: Error: Command failed: vgchange -an

This repo has probably been abandoned but worth a shot. Had this running fine, went to login today and suddenly it's just gone. No changes to host system, docker, or any variables.

Output is the following:

`
xoa | yarn run v1.7.0

xoa | $ node bin/xo-server

xoa | Sat, 22 Jun 2019 19:41:19 GMT app-conf /app/xen-orchestra/packages/xo-server/config.json

xoa | Sat, 22 Jun 2019 19:41:19 GMT app-conf /app/xen-orchestra/packages/xo-server/.xo-server.yaml

xoa | 2019-06-22T19:41:19.630Z xo:main Configuration loaded.

xoa | 2019-06-22T19:41:19.666Z xo:main Web server listening on http://[::]:8080

xoa | 2019-06-22T19:41:19.668Z xo:main User changed to xenorchestra

xoa | 2019-06-22T19:41:20.233Z xo:hooks start start…

xoa | 2019-06-22T19:41:20.547Z xo:perf blocked for 918ms

xoa | [WARN] hook start failure: Error: Command failed: vgchange -an

xoa | WARNING: Running as a non-root user. Functionality may be unavailable.

xoa | /run/lock: mkdir failed: Permission denied

xoa | File-based locking initialisation failed.

xoa |
xoa |
xoa | at makeError (/app/xen-orchestra/node_modules/execa/index.js:174:9)

xoa | at Promise.all.then.arr (/app/xen-orchestra/node_modules/execa/index.js:278:16)

xoa | at run (/app/xen-orchestra/node_modules/core-js/modules/es6.promise.js:75:22)

xoa | at /app/xen-orchestra/node_modules/core-js/modules/es6.promise.js:92:30

xoa | at flush (/app/xen-orchestra/node_modules/core-js/modules/_microtask.js:18:9)

xoa | at _combinedTickCallback (internal/process/next_tick.js:131:7)

xoa | at process._tickCallback (internal/process/next_tick.js:180:9)

xoa | error Command failed with signal "SIGILL".

xoa | info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

xoa exited with code 1
`

losetup issue

Looks like alpine busybox losetup does not support losetup -D switch required by xo-server so it does not start

No plugins availables

The default installation of XO doesn't include any sort of plugins, which are available publicly in the master repository of XenOrchestra.

The process is actually quite simple : npm install --global xo-server-auth-ldap.

I think either we bundle all of them inside the image or we make them downloadable on the go when running it (like so docker run -ti alpine-xen-orchestra --ldap --load-balancer).

The first case is simple to put in action but will probably the default image heavier.
The second is a bit more tricky but should integrate quite well with the entrypoint script already in place.

I will give it a try whenever I got time to spare.

Edit : all the plugins adds about ~50Mo to the image.

xoa | rpcbind: /var/run/rpcbind.lock: Permission denied

➜  alpine-xen-orchestra-amd64 git:(master) docker-compose up     
Starting xoa-redis ... done
Starting xoa       ... done
Attaching to xoa-redis, xoa
xoa-redis        | 1:C 12 Jan 2019 08:42:44.248 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
xoa-redis        | 1:C 12 Jan 2019 08:42:44.249 # Redis version=5.0.3, bits=64, commit=00000000, modified=0, pid=1, just started
xoa-redis        | 1:C 12 Jan 2019 08:42:44.249 # Configuration loaded
xoa-redis        | 1:M 12 Jan 2019 08:42:44.251 * Running mode=standalone, port=6379.
xoa-redis        | 1:M 12 Jan 2019 08:42:44.251 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
xoa-redis        | 1:M 12 Jan 2019 08:42:44.251 # Server initialized
xoa              | rpcbind: /var/run/rpcbind.lock: Permission denied
xoa-redis        | 1:M 12 Jan 2019 08:42:44.251 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
xoa-redis        | 1:M 12 Jan 2019 08:42:44.251 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo never > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled.
xoa-redis        | 1:M 12 Jan 2019 08:42:44.251 * Ready to accept connections
xoa exited with code 1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.