failed to start a instance,Error: You are not allowed to start instance: provider-instance

asked 2017-01-18 07:01:51 -0500

mu gravatar image

updated 2017-01-26 08:45:01 -0500

rbowen gravatar image

hello, when i start a instance ,the dashboard tell me "You are not allowed to start instance: provider-instance",but i can't find any error log in controller node and compute node.

i just found the message "Build of instance cfd947c2-970e-43bb-932e-458f19db3d54 aborted: Connection to glance host http://controller:9292 failed: Error finding address for http://controller:9292/v2/images/6d9a...: HTTPConnectionPool(host='control",but the glance service is good.

also, i found some error in httpd logs, "Permission denied to started instance: "provider-instance"". If anyone had encountered this problem?

edit retag flag offensive close merge delete

Comments

Connection to glance host http://controller:9292 failed is obvious. You need to troubleshoot this connection. How do you know that glance service is good? Are you able to connect to it? Does curl http://controller:9292 work?

Bernd Bausch gravatar imageBernd Bausch ( 2017-01-26 09:12:39 -0500 )edit

thanks . i do curl http://10.0.0.11:9292and curl http://controller:9292, both those method dosen't work,the error message is "curl: (7) Failed connect to 10.0.0.11:9292; No route to host",but i can excute ping controller or ping controller successfully。

mu gravatar imagemu ( 2017-02-02 18:37:30 -0500 )edit

also , curl http://10.0.0.11:9292 and curl http://controller:9292 will recive results in controller node ,it just failed in the compute node and cinder node.

mu gravatar imagemu ( 2017-02-02 18:41:08 -0500 )edit

Ping sends an ICMP echo request. curl sends a TCP packet. Ping shows fundamental connectivity, but if, for example, you have a firewall that blocks port 9292, you can't access Glance.

Bernd Bausch gravatar imageBernd Bausch ( 2017-02-02 18:44:12 -0500 )edit