mirantis / ceph-lcm Goto Github PK
View Code? Open in Web Editor NEWHome Page: http://decapod.readthedocs.io/en/latest/
License: Apache License 2.0
Home Page: http://decapod.readthedocs.io/en/latest/
License: Apache License 2.0
Task execution is interrupted,servers are locked.
controller_1 | 2017-10-09 12:44:56 [INFO ] ( mainloop.py:56 ): Fetched task 59db6e35e18f9a000e90650c (execution_id=d0d4ffaa-f10a-4a3b-8212-869afbc3e742, task_type=TaskType.playbook)
controller_1 | 2017-10-09 12:44:56 [INFO ] ( mainloop.py:102 ): Cannot execute task because servers are locked.
controller_1 | 2017-10-09 12:44:56 [INFO ] ( mainloop.py:65 ): Task 59db6e35e18f9a000e90650c is temporarily skipped.
How to unlock?
tep 5 : RUN set -x && apt-get update && apt-get install -y --no-install-recommends libffi6 libpython3.5 libssl1.0.0 libyaml-0-2 python3.5 python3-setuptools wget && wget --no-check-certificate https://github.com/Yelp/dumb-init/releases/download/v1.2.0/dumb-init_1.2.0_amd64.deb && dpkg -i dumb-init_1.2.0_amd64.deb && rm dumb-init_*.deb && apt-get clean && apt-get purge -y wget && apt-get autoremove -y && rm -r /var/lib/apt/lists/*
---> Using cache
---> e1d1a3b9abb3
Step 6 : COPY output/eggs /eggs
---> fe0e25fcc0bd
Removing intermediate container e22e43a71ac8
Step 7 : COPY config.yaml /etc/shrimp/config.yaml
lstat config.yaml: no such file or directory
Makefile:133: recipe for target 'build_container_base' failed
make: *** [build_container_base] Error 1
root@lcm:/home/ceph-lcm-0.1.1#
When getting the user-data for cloud-init it is trying to send a request to "http://169.254.169.254/latest/meta-data/public-ipv4" to get the public IP. This url is not responding and result in a looping error at boot.
In the majority of cases the nodes will not be publicly available so there wont be a public ip address anyways. There should be an option to skip this check when requesting the user-data.
The current workaround is to remove these lines from the resulting user-data file before using it with cloud-init
what ever the version it was i am getting same error
Command : make build_containers
Working on : master
Failed on : all version (v1.1.0 , 1.0.0 )
Error Message:
The following packages have unmet dependencies:
git : Depends: perl-modules but it is not going to be installed
Depends: liberror-perl but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
The command '/bin/sh -c set -x && apt-get update && apt-get install -y --no-install-recommends curl wget xz-utils git && wget https://github.com/jwilder/dockerize/releases/download/v0.3.0/dockerize-linux-amd64-v0.3.0.tar.gz && tar -C /usr/local/bin -xzf dockerize-linux-amd64-v0.3.0.tar.gz && rm dockerize-linux-amd64-v0.3.0.tar.gz && wget https://nodejs.org/dist/v6.9.4/node-v6.9.4-linux-x64.tar.xz && tar xf node-v6.9.4-linux-x64.tar.xz && mkdir -p /static /ssl /etc/nginx && cd /project && git reset --hard && echo "frontend=$(git rev-parse HEAD)" > /etc/git-release && install containerization/files/curl-healthcheck.sh /usr/local/bin/curl-healthcheck && cp containerization/files/devconfigs/nginx-dhparam.pem /ssl/dhparam.pem && cp containerization/files/devconfigs/nginx-selfsigned.crt /ssl/ssl.crt && cp containerization/files/devconfigs/nginx-selfsigned.key /ssl/ssl.key && cp containerization/files/nginx.conf /etc/nginx/nginx.conf && cd /project/ui && PATH=/node-v6.9.4-linux-x64/bin:$PATH sh -c 'npm install && npm run build && npm cache clean' && PATH=/node-v6.9.4-linux-x64/bin:$PATH npm ls --json=true > /packages-npm && mv build/* /static && cd / && apt-get purge -y wget xz-utils git && apt-get clean && apt-get autoremove --purge -y && rm -r /project /var/lib/apt/lists/* /node-v6.9.4-linux*' returned a non-zero code: 100
Makefile:311: recipe for target 'build_container_frontend' failed
make: *** [build_container_frontend] Error 100
controller_1 | 2017-08-24 23:16:04 [INFO ] ( taskpool.py:132 ): Management process for task 599f5e31553bed00102743fc (execution_id: 0458c2e5-fc8c-4fca-a84a-9b5e9246d996) with PID 361 has stopped with exit code 4
controller_1 | 2017-08-24 23:16:04 [INFO ] (playbook_plugin.py:248 ): Execute post-run step for server_discovery
controller_1 | 2017-08-24 23:16:04 [INFO ] ( plugin.py:95 ): Do not execute anything because of Process exit with code 4: <class 'ChildProcessError'>
controller_1 | 2017-08-24 23:16:04 [INFO ] (playbook_plugin.py:251 ): Finish execution of post-run step for server_discovery
controller_1 | 2017-08-24 23:16:04 [DEBUG ] ( taskpool.py:61 ): Finish execution of task 599f5e31553bed00102743fc (execution_id: 0458c2e5-fc8c-4fca-a84a-9b5e9246d996)
controller_1 | 2017-08-24 23:16:04 [ERROR ] ( taskpool.py:69 ): Fail task 599f5e31553bed00102743fc (execution_id: 0458c2e5-fc8c-4fca-a84a-9b5e9246d996): Process exit with code 4
controller_1 | Traceback (most recent call last):
controller_1 | File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
controller_1 | result = self.fn(*self.args, **self.kwargs)
controller_1 | File "/usr/local/lib/python3.5/dist-packages/decapod_controller/taskpool.py", line 137, in execute
controller_1 | "Process exit with code {0}".format(process.returncode))
controller_1 | ChildProcessError: Process exit with code 4
controller_1 | 2017-08-24 23:16:04 [DEBUG ] ( taskpool.py:81 ): Removed finished task 599f5e31553bed00102743fc (execution_id: 0458c2e5-fc8c-4fca-a84a-9b5e9246d996). Current active tasks 0
I really dunno what does this mean.
It is after i manually run rc.local
root@lcm:/home/ceph-lcm-0.1.1# make build_containers
rm -rf "/home/ceph-lcm-0.1.1/output"
mkdir -p "/home/ceph-lcm-0.1.1/output" || true
mkdir -p "/home/ceph-lcm-0.1.1/output/eggs" || true
cd "/home/ceph-lcm-0.1.1/backend/api" && rm -rf dist && python setup.py bdist_wheel && cp dist/* "/home/ceph-lcm-0.1.1/output/eggs" && rm -rf dist build
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'python_requires'
warnings.warn(msg)
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: invalid command 'bdist_wheel'
Makefile:35: recipe for target 'build_api_eggs' failed
make: *** [build_api_eggs] Error 1
Hi,
Could you offer more info about ceph-lcm installation. I could run vagrant up and ansible,
but it also stop at npm install (no root permission), what step should I follow to resolve this problem.
And after installation, Is there any operation guide I could know this deploy tool better?
Really appreciated for your help, Thanks.
> [email protected] typings /home/ceph-lcm-0.1.1/ui
> typings "install"
/usr/bin/env: ‘node’: No such file or directory
npm ERR! Linux 4.4.0-51-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "run" "typings" "install"
npm ERR! node v4.2.6
npm ERR! npm v3.5.2
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! [email protected] typings: `typings "install"`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the [email protected] typings script 'typings "install"'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the ceph-lcm package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! typings "install"
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs ceph-lcm
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls ceph-lcm
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/ceph-lcm-0.1.1/ui/npm-debug.log
Makefile:100: recipe for target 'npm_install' failed
make: *** [npm_install] Error 1
root@lcm:/home/ceph-lcm-0.1.1# no
node-gyp nodejs nohup nologin
Login failed!
2017-09-29 12:19:11 [INFO ] ( auth.py:55 ): | Attempt to login user root
2017-09-29 12:19:11 [INFO ] ( auth.py:62 ): | User root (id:4ce7b273-3d84-45de-9c87-0569e4bcaaa8) has logged in
[pid: 13|app: 0|req: 290/578] 10.20.0.1 () {50 vars in 954 bytes} [Fri Sep 29 12:19:11 2017] POST /v1/auth => generated 476 bytes in 200 msecs (HTTP/2.0 200) 4 headers in 145 bytes (2 switches on core 3)
2017-09-29 12:19:11 [WARNING ] ( native.py:43 ): | Cannot find not expired token undefined
[pid: 13|app: 0|req: 291/579] 10.20.0.1 () {44 vars in 817 bytes} [Fri Sep 29 12:19:11 2017] GET /v1/role/self => generated 274 bytes in 5 msecs (HTTP/2.0 401) 3 headers in 127 bytes (1 switches on core 2)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.