Unexpected nova API Error in launching a intance

Bug #1640705 reported by Kubert Qiu
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Expired
Undecided
Unassigned

Bug Description

when i excute the command:penstack server create --flavor m1.nano --image cirros --nic net-id=xxxxxxx --security-group default --key-name mykey provider-instance
a error occured as the following:
Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<type 'exceptions.TypeError'> (HTTP 500) (Request-ID: req-7f5ecbf3-61e3-436b-b064-c003b70df4c7)

Revision history for this message
Kubert Qiu (abcdyoyoo) wrote :
Revision history for this message
Eric Xie (eric-xie) wrote :

Got this error in nova-api.log:
2016-11-10 15:11:51.413 18410 ERROR nova.api.openstack.extensions for api_server in CONF.glance.api_servers:
2016-11-10 15:11:51.413 18410 ERROR nova.api.openstack.extensions TypeError: 'NoneType' object is not iterable
2016-11-10 15:11:51.413 18410 ERROR nova.api.openstack.extensions

Please comment the [glance]api_servers in nova.conf.

Changed in nova:
status: New → Incomplete
Revision history for this message
Kubert Qiu (abcdyoyoo) wrote :

ok,thanks for your comments.
my nova.conf is in the attachment as you can see.
maybe some wrong are happened,please tell me and i will be very appreciated.

Revision history for this message
Eric Xie (eric-xie) wrote :

Hi kubert, is the conf file on compute node?

Revision history for this message
Kubert Qiu (abcdyoyoo) wrote :

Oh no,i'm confused.This is nova.conf in controller node.
The nova.conf of compute node is here.
But i repeated every configure file, all of it are by the order of http://docs.openstack.org/newton/install-guide-rdo.I still have no idea about this error.

If you can give me a direction, i will be very appreciated.

Revision history for this message
Kubert Qiu (abcdyoyoo) wrote :
Revision history for this message
Eric Xie (eric-xie) wrote :

Sorry, i can not found why this issue happened.

Changed in nova:
status: Incomplete → New
Revision history for this message
jichenjc (jichenjc) wrote :

looks like it complain CONF.glance.api_servers is None , your controller seems
api_servers = http://controller:9292
have you changed this and didn't restart the service?

Changed in nova:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for OpenStack Compute (nova) because there has been no activity for 60 days.]

Changed in nova:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.