Note that the g-api of devstack cannot be started

Source: Internet
Author: User

Note that the g-api of devstack cannot be started. a script for restarting devstack (restart. sh), download and execute again, and then report the error g-api failed to start, it hurts !! The specific point is as follows: Execute first. /stack. sh again. /unstack. sh again. /restart. sh. This script can restart devstack. Now, it is shut down and restarted directly. /restack. sh: the error g-api failed to start. It took two days to read the stack. sh and restart. after comparing the code of the sh script, we found that restart. sh command to start glance is not completely correct, screen_it g-api "cd $ GLANCE_DIR; bin/glance-api -- config-file = $ GLANCE_CONF_DIR/glance-api.conf", from here we can see, start glance and call $ NOVA_DIR/bin/nova-api, that is,/opt/stack/glance/bin/glance-api, I went to the glance directory and checked that there was no bin/glance-api at all. So there must be a problem here. Finally, in the/usr/ The glance-api is found in local/bin, and then the above is changed to screen_it g-api "cd/usr/local; bin/glance-api -- config-file = $ GLANCE_CONF_DIR/glance-api.conf "to solve this problem temporarily.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.