You don't have [glance]api_servers set in nova.conf: 2017-02-18 12:38:28.592 7395 ERROR nova.api.openstack.extensions [req-37e6fa7c-a06f-448b-89e0-554cad79d8c5 5dbdb080a5de495d82f8488dfb9d395b a4185d11a0124aed95cd4892b3e4f563 - default default] Unexpected exception in API method 2017-02-18 12:38:28.592 7395 ERROR nova.api.openstack.extensions Traceback (most recent call last): 2017-02-18 12:38:28.592 7395 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/api/openstack/extensions.py", line 338, in wrapped 2017-02-18 12:38:28.592 7395 ERROR nova.api.openstack.extensions return f(*args, **kwargs) 2017-02-18 12:38:28.592 7395 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/api/openstack/compute/images.py", line 90, in show 2017-02-18 12:38:28.592 7395 ERROR nova.api.openstack.extensions image = self._image_api.get(context, id) 2017-02-18 12:38:28.592 7395 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/image/api.py", line 93, in get 2017-02-18 12:38:28.592 7395 ERROR nova.api.openstack.extensions show_deleted=show_deleted) 2017-02-18 12:38:28.592 7395 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/image/glance.py", line 477, in show 2017-02-18 12:38:28.592 7395 ERROR nova.api.openstack.extensions _reraise_translated_image_exception(image_id) 2017-02-18 12:38:28.592 7395 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/image/glance.py", line 1069, in _reraise_translated_image_exception 2017-02-18 12:38:28.592 7395 ERROR nova.api.openstack.extensions six.reraise(new_exc, None, exc_trace) 2017-02-18 12:38:28.592 7395 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/image/glance.py", line 475, in show 2017-02-18 12:38:28.592 7395 ERROR nova.api.openstack.extensions image = self._client.call(context, 2, 'get', image_id) 2017-02-18 12:38:28.592 7395 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/image/glance.py", line 173, in call 2017-02-18 12:38:28.592 7395 ERROR nova.api.openstack.extensions version) 2017-02-18 12:38:28.592 7395 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/image/glance.py", line 152, in _create_onetime_client 2017-02-18 12:38:28.592 7395 ERROR nova.api.openstack.extensions self.api_servers = get_api_servers() 2017-02-18 12:38:28.592 7395 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/image/glance.py", line 114, in get_api_servers 2017-02-18 12:38:28.592 7395 ERROR nova.api.openstack.extensions for api_server in CONF.glance.api_servers: 2017-02-18 12:38:28.592 7395 ERROR nova.api.openstack.extensions TypeError: 'NoneType' object is not iterable 2017-02-18 12:38:28.592 7395 ERROR nova.api.openstack.extensions
# # List of glance api servers endpoints available to nova. # # https is used for ssl-based glance api servers. # # Possible values: # # * A list of any fully qualified url of the form # "scheme://hostname:port[/path]" # (i.e. "http://10.0.1.0:9292" or "https://my.glance.server/image"). # (list value) #api_servers = <None> ** Changed in: nova Status: New => Invalid -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Compute (nova). https://bugs.launchpad.net/bugs/1665857 Title: Instance creation failed: Unable to create the server. Status in OpenStack Compute (nova): Invalid Bug description: Followed the steps present in below link to create a instance https://docs.openstack.org/newton/install-guide-rdo/launch-instance-selfservice.html When tried to create an instance it throws Unexpected API Error. Please help. Attached the nova-api.log for your reference [root@controller etc]# openstack flavor list +----+---------+------+------+-----------+-------+-----------+ | ID | Name | RAM | Disk | Ephemeral | VCPUs | Is Public | +----+---------+------+------+-----------+-------+-----------+ | 0 | m1.nano | 2048 | 10 | 0 | 1 | True | +----+---------+------+------+-----------+-------+-----------+ [root@controller etc]# openstack image list +--------------------------------------+--------+--------+ | ID | Name | Status | +--------------------------------------+--------+--------+ | 035b1118-5b11-40b1-b86b-de316b18dd34 | centos | active | | 20d44d5f-4547-418e-a964-84f38682e4cd | cirros | active | +--------------------------------------+--------+--------+ [root@controller etc]# openstack network list +--------------------------------------+-------------+--------------------------------------+ | ID | Name | Subnets | +--------------------------------------+-------------+--------------------------------------+ | 18770c07-7aa6-41a8-b3cf-4396cee203eb | provider | 5355ef76-7424-4c84-bfb1-bcc6cc6db215 | | 9339a6a8-661b-4072-9332-edcde242217f | selfservice | e33704ba-ed18-42b2-a312-1a6e39254e1d | +--------------------------------------+-------------+--------------------------------------+ [root@controller etc]# openstack server create --flavor m1.nano --image centos --nic net-id=9339a6a8-661b-4072-9332-edcde242217f --security-group default --key-name mykey selfservice-instance 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-66ef449b-a92d-46d3-9ab1-7a735b990433) [root@controller etc]# To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1665857/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

