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... 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.
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.