Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Newly created instance always have status=error and powerstate=nostate because of authentication on compute node

Hi, I have started OpenStack liberty installation on CentOS7. I have followed each step on installation guide till last step. At each step verified operation successfully. I have two node Controller (with two network interfaces) and Compute (again with two network interfaces) as mentioned in guide.

I have installed Keystone, Nova-compute, Neutron successfully.

When I am creating instance it always created with status=error and powerstate=nostate.

Keystone is issuing token successfully on Controller node. All logs files on Controller don't have any error. Following are error logs on Compute node in "/etc/nova/nova.conf" file.

----------------------------------Error messages

2016-01-14 20:59:47.602 16974 INFO nova.compute.claims [req-7585288c-39a1-4920-913b-23fb4658d1f6 caa811f6476e402aa27bc0c82b738d4b 10a350f60ed7436882b1180aba3237bf - - -] [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] Claim successful

2016-01-14 20:59:47.961 16974 WARNING keystoneclient.auth.identity.generic.base [-] Discovering versions from the identity service failed when creating the password plugin. Attempting to determine version from URL.

2016-01-14 20:59:47.962 16974 ERROR nova.compute.manager [-] Instance failed network setup after 1 attempt(s)

2016-01-14 20:59:47.962 16974 ERROR nova.compute.manager Traceback (most recent call last):

2016-01-14 20:59:47.962 16974 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1564, in _allocate_network_async

2016-01-14 20:59:47.962 16974 ERROR nova.compute.manager dhcp_options=dhcp_options)

2016-01-14 20:59:47.962 16974 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 620, in allocate_for_instance

2016-01-14 20:59:47.962 16974 ERROR nova.compute.manager get_client(context, admin=True))

2016-01-14 20:59:47.962 16974 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 237, in get_client

2016-01-14 20:59:47.962 16974 ERROR nova.compute.manager auth_token = _ADMIN_AUTH.get_token(_SESSION)

2016-01-14 20:59:47.962 16974 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/keystoneclient/auth/identity/base.py", line 200, in get_token

2016-01-14 20:59:47.962 16974 ERROR nova.compute.manager return self.get_access(session).auth_token

2016-01-14 20:59:47.962 16974 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/keystoneclient/auth/identity/base.py", line 240, in get_access

2016-01-14 20:59:47.962 16974 ERROR nova.compute.manager self.auth_ref = self.get_auth_ref(session)

2016-01-14 20:59:47.962 16974 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/keystoneclient/auth/identity/generic/base.py", line 184, in get_auth_ref

2016-01-14 20:59:47.962 16974 ERROR nova.compute.manager self._plugin = self._do_create_plugin(session)

2016-01-14 20:59:47.962 16974 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/keystoneclient/auth/identity/generic/base.py", line 180, in _do_create_plugin

2016-01-14 20:59:47.962 16974 ERROR nova.compute.manager raise exceptions.DiscoveryFailure(msg)

2016-01-14 20:59:47.962 16974 ERROR nova.compute.manager DiscoveryFailure: Could not determine a suitable URL for the plugin

2016-01-14 20:59:47.962 16974 ERROR nova.compute.manager

2016-01-14 20:59:48.238 16974 INFO nova.virt.libvirt.driver [req-7585288c-39a1-4920-913b-23fb4658d1f6 caa811f6476e402aa27bc0c82b738d4b 10a350f60ed7436882b1180aba3237bf - - -] [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] Creating image

2016-01-14 20:59:48.242 16974 ERROR nova.image.glance [req-7585288c-39a1-4920-913b-23fb4658d1f6 caa811f6476e402aa27bc0c82b738d4b 10a350f60ed7436882b1180aba3237bf - - -] Error contacting glance server 'controller:9292' for 'data', done trying.

2016-01-14 20:59:48.242 16974 ERROR nova.image.glance Traceback (most recent call last):

2016-01-14 20:59:48.242 16974 ERROR nova.image.glance File "/usr/lib/python2.7/site-packages/nova/image/glance.py", line 230, in call

2016-01-14 20:59:48.242 16974 ERROR nova.image.glance return getattr(client.images, method)(args, *kwargs)

2016-01-14 20:59:48.242 16974 ERROR nova.image.glance File "/usr/lib/python2.7/site-packages/glanceclient/v1/images.py", line 148, in data

2016-01-14 20:59:48.242 16974 ERROR nova.image.glance % urlparse.quote(str(image_id)))

2016-01-14 20:59:48.242 16974 ERROR nova.image.glance File "/usr/lib/python2.7/site-packages/glanceclient/common/http.py", line 280, in get

2016-01-14 20:59:48.242 16974 ERROR nova.image.glance return self._request('GET', url, **kwargs)

2016-01-14 20:59:48.242 16974 ERROR nova.image.glance File "/usr/lib/python2.7/site-packages/glanceclient/common/http.py", line 261, in _request

2016-01-14 20:59:48.242 16974 ERROR nova.image.glance raise exc.CommunicationError(message=message)

2016-01-14 20:59:48.242 16974 ERROR nova.image.glance CommunicationError: Error finding address for http://controller:9292/v1/images/12e6f368-814e-4424-8e2d-9f462e50eb0d: ('Connection aborted.', error(113, 'EHOSTUNREACH'))

2016-01-14 20:59:48.242 16974 ERROR nova.image.glance

2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [req-7585288c-39a1-4920-913b-23fb4658d1f6 caa811f6476e402aa27bc0c82b738d4b 10a350f60ed7436882b1180aba3237bf - - -] [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] Instance failed to spawn

2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] Traceback (most recent call last):

2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2155, in _build_resources

2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] yield resources

2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2009, in _build_and_run_instance

2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] block_device_info=block_device_info)

2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 2437, in spawn

2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] admin_pass=admin_password)

2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 2861, in _create_image

2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] instance, size, fallback_from_host)

2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 6282, in _try_fetch_image_cache

2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] size=size)

2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/imagebackend.py", line 240, in cache

2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] args, *kwargs)

2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/imagebackend.py", line 519, in create_image

2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] prepare_template(target=base, max_size=size, args, *kwargs)

2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] File "/usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py", line 254, in inner

2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] return f(args, *kwargs)

2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/imagebackend.py", line 230, in fetch_func_sync

2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] fetch_func(target=target, args, *kwargs)

2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/utils.py", line 389, in fetch_image

2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] max_size=max_size)

2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] File "/usr/lib/python2.7/site-packages/nova/virt/images.py", line 87, in fetch_to_raw

2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] max_size=max_size)

2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] File "/usr/lib/python2.7/site-packages/nova/virt/images.py", line 77, in fetch

2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] IMAGE_API.download(context, image_href, dest_path=path)

2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] File "/usr/lib/python2.7/site-packages/nova/image/api.py", line 182, in download

2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] dst_path=dest_path)

2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] File "/usr/lib/python2.7/site-packages/nova/image/glance.py", line 361, in download

2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] _reraise_translated_image_exception(image_id)

2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] File "/usr/lib/python2.7/site-packages/nova/image/glance.py", line 604, in _reraise_translated_image_exception

2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] six.reraise(new_exc, None, exc_trace)

2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] File "/usr/lib/python2.7/site-packages/nova/image/glance.py", line 359, in download

2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] image_chunks = self._client.call(context, 1, 'data', image_id)

2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] File "/usr/lib/python2.7/site-packages/nova/image/glance.py", line 247, in call

2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] host=host, port=port, reason=six.text_type(e))

2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] GlanceConnectionFailed: Connection to glance host controller:9292 failed: Error finding address for http://controller:9292/v1/images/12e6f368-814e-4424-8e2d-9f462e50eb0d: ('Connection aborted.', error(113, 'EHOSTUNREACH'))

2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049]

2016-01-14 20:59:48.244 16974 INFO nova.compute.manager [req-7585288c-39a1-4920-913b-23fb4658d1f6 caa811f6476e402aa27bc0c82b738d4b 10a350f60ed7436882b1180aba3237bf - - -] [instance: ed962f0b-2d62-408f- 811f-1ffa3195f049] Terminating instance

2016-01-14 20:59:48.251 16974 INFO nova.virt.libvirt.driver [-] [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] During wait destroy, instance disappeared.

2016-01-14 20:59:48.310 16974 INFO nova.virt.libvirt.driver [req-7585288c-39a1-4920-913b-23fb4658d1f6 caa811f6476e402aa27bc0c82b738d4b 10a350f60ed7436882b1180aba3237bf - - -] [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] Deleting instance files /var/lib/nova/instances/ed962f0b-2d62-408f-811f-1ffa3195f049_del

2016-01-14 20:59:48.311 16974 INFO nova.virt.libvirt.driver [req-7585288c-39a1-4920-913b-23fb4658d1f6 caa811f6476e402aa27bc0c82b738d4b 10a350f60ed7436882b1180aba3237bf - - -] [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] Deletion of /var/lib/nova/instances/ed962f0b-2d62-408f-811f-1ffa3195f049_del complete

2016-01-14 20:59:48.446 16974 WARNING keystoneclient.auth.identity.generic.base [req-7585288c-39a1-4920-913b-23fb4658d1f6 caa811f6476e402aa27bc0c82b738d4b 10a350f60ed7436882b1180aba3237bf - - -] Discovering versions from the identity service failed when creating the password plugin. Attempting to determine version from URL.

2016-01-14 20:59:48.447 16974 ERROR nova.compute.manager [req-7585288c-39a1-4920-913b-23fb4658d1f6 caa811f6476e402aa27bc0c82b738d4b 10a350f60ed7436882b1180aba3237bf - - -] [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] Failed to deallocate network for instance.

2016-01-14 20:59:48.669 16974 ERROR nova.compute.manager [req-7585288c-39a1-4920-913b-23fb4658d1f6 caa811f6476e402aa27bc0c82b738d4b 10a350f60ed7436882b1180aba3237bf - - -] [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] Build of instance ed962f0b-2d62-408f-811f-1ffa3195f049 aborted: Could not clean up failed build, not rescheduling

2016-01-14 20:59:48.669 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] Traceback (most recent call last):

2016-01-14 20:59:48.669 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1905, in _do_build_and_run_instance

2016-01-14 20:59:48.669 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] filter_properties)

2016-01-14 20:59:48.669 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2025, in _build_and_run_instance

2016-01-14 20:59:48.669 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] 'create.error', fault=e)

2016-01-14 20:59:48.669 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 195, in __exit__

2016-01-14 20:59:48.669 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] six.reraise(self.type_, self.value, self.tb)

2016-01-14 20:59:48.669 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2009, in _build_and_run_instance

2016-01-14 20:59:48.669 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] block_device_info=block_device_info)

2016-01-14 20:59:48.669 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] File "/usr/lib64/python2.7/contextlib.py", line 35, in __exit__

2016-01-14 20:59:48.669 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] self.gen.throw(type, value, traceback)

2016-01-14 20:59:48.669 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2179, in _build_resources

2016-01-14 20:59:48.669 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] instance_uuid=instance.uuid, reason=msg)

2016-01-14 20:59:48.669 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] BuildAbortException: Build of instance ed962f0b-2d62-408f-811f-1ffa3195f049 aborted: Could not clean up failed build, not rescheduling

2016-01-14 20:59:48.669 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049]

2016-01-14 20:59:48.711 16974 WARNING keystoneclient.auth.identity.generic.base [req-7585288c-39a1-4920-913b-23fb4658d1f6 caa811f6476e402aa27bc0c82b738d4b 10a350f60ed7436882b1180aba3237bf - - -] Discovering versions from the identity service failed when creating the password plugin. Attempting to determine version from URL.

2016-01-14 20:59:48.711 16974 ERROR nova.compute.manager [req-7585288c-39a1-4920-913b-23fb4658d1f6 caa811f6476e402aa27bc0c82b738d4b 10a350f60ed7436882b1180aba3237bf - - -] [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] Failed to deallocate networks

2016-01-14 20:59:48.711 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] Traceback (most recent call last):

2016-01-14 20:59:48.711 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2184, in _cleanup_allocated_networks

2016-01-14 20:59:48.711 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] self._deallocate_network(context, instance, requested_networks)

2016-01-14 20:59:48.711 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1810, in _deallocate_network

2016-01-14 20:59:48.711 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] context, instance, requested_networks=requested_networks)

2016-01-14 20:59:48.711 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 835, in deallocate_for_instance

2016-01-14 20:59:48.711 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] self._unbind_ports(context, ports_to_skip, neutron)

2016-01-14 20:59:48.711 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 406, in _unbind_ports

2016-01-14 20:59:48.711 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] get_client(context, admin=True))

2016-01-14 20:59:48.711 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 237, in get_client

2016-01-14 20:59:48.711 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] auth_token = _ADMIN_AUTH.get_token(_SESSION)

2016-01-14 20:59:48.711 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] File "/usr/lib/python2.7/site-packages/keystoneclient/auth/identity/base.py", line 200, in get_token

2016-01-14 20:59:48.711 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] return self.get_access(session).auth_token

2016-01-14 20:59:48.711 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] File "/usr/lib/python2.7/site-packages/keystoneclient/auth/identity/base.py", line 240, in get_access

2016-01-14 20:59:48.711 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] self.auth_ref = self.get_auth_ref(session)

2016-01-14 20:59:48.711 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] File "/usr/lib/python2.7/site-packages/keystoneclient/auth/identity/generic/base.py", line 184, in get_auth_ref

2016-01-14 20:59:48.711 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] self._plugin = self._do_create_plugin(session)

2016-01-14 20:59:48.711 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] File "/usr/lib/python2.7/site-packages/keystoneclient/auth/identity/generic/base.py", line 180, in _do_create_plugin

2016-01-14 20:59:48.711 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] raise exceptions.DiscoveryFailure(msg)

2016-01-14 20:59:48.711 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] DiscoveryFailure: Could not determine a suitable URL for the plugin

2016-01-14 20:59:48.711 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049]

2016-01-14 21:00:07.663 16974 INFO nova.compute.resource_tracker [req-6ced6f1e-7c24-416d-bab9-59887662af20 - - - - -] Auditing locally available compute resources for node compute1

2016-01-14 21:00:07.792 16974 INFO nova.compute.resource_tracker [req-6ced6f1e-7c24-416d-bab9-59887662af20 - - - - -] Total usable vcpus: 1, total allocated vcpus: 0

2016-01-14 21:00:07.792 16974 INFO nova.compute.resource_tracker [req-6ced6f1e-7c24-416d-bab9-59887662af20 - - - - -] Final resource view: name=compute1 phys_ram=4775MB used_ram=512MB phys_disk=26GB used_disk=0GB total_vcpus=1 used_vcpus=0 pci_stats=None

2016-01-14 21:00:07.836 16974 INFO nova.compute.resource_tracker [req-6ced6f1e-7c24-416d-bab9-59887662af20 - - - - -] Compute_service record updated for compute1:compute1 ^[[B2016-01-14 21:01:14.845 16974 INFO nova.compute.resource_tracker [req-6ced6f1e-7c24-416d-bab9-59887662af20 - - - - -] Auditing locally available compute resources for node compute1

2016-01-14 21:01:14.975 16974 INFO nova.compute.resource_tracker [req-6ced6f1e-7c24-416d-bab9-59887662af20 - - - - -] Total usable vcpus: 1, total allocated vcpus: 0

2016-01-14 21:01:14.976 16974 INFO nova.compute.resource_tracker [req-6ced6f1e-7c24-416d-bab9-59887662af20 - - - - -] Final resource view: name=compute1 phys_ram=4775MB used_ram=512MB phys_disk=26GB used_disk=0GB total_vcpus=1 used_vcpus=0 pci_stats=None

2016-01-14 21:01:15.024 16974 INFO nova.compute.resource_tracker [req-6ced6f1e-7c24-416d-bab9-59887662af20 - - - - -] Compute_service record updated for compute1:compute1

2016-01-14 21:02:21.995 16974 INFO nova.compute.resource_tracker [req-6ced6f1e-7c24-416d-bab9-59887662af20 - - - - -] Auditing locally available compute resources for node compute1

2016-01-14 21:02:22.098 16974 INFO nova.compute.resource_tracker [req-6ced6f1e-7c24-416d-bab9-59887662af20 - - - - -] Total usable vcpus: 1, total allocated vcpus: 0

2016-01-14 21:02:22.098 16974 INFO nova.compute.resource_tracker [req-6ced6f1e-7c24-416d-bab9-59887662af20 - - - - -] Final resource view: name=compute1 phys_ram=4775MB used_ram=512MB phys_disk=26GB used_disk=0GB total_vcpus=1 used_vcpus=0 pci_stats=None

2016-01-14 21:02:22.137 16974 INFO nova.compute.resource_tracker [req-6ced6f1e-7c24-416d-bab9-59887662af20 - - - - -] Compute_service record updated for compute1:compute1

2016-01-14 21:03:28.095 16974 INFO nova.compute.resource_tracker [req-6ced6f1e-7c24-416d-bab9-59887662af20 - - - - -] Auditing locally available compute resources for node compute1

2016-01-14 21:03:28.341 16974 INFO nova.compute.resource_tracker [req-6ced6f1e-7c24-416d-bab9-59887662af20 - - - - -] Total usable vcpus: 1, total allocated vcpus: 0

2016-01-14 21:03:28.342 16974 INFO nova.compute.resource_tracker [req-6ced6f1e-7c24-416d-bab9-59887662af20 - - - - -] Final resource view: name=compute1 phys_ram=4775MB used_ram=512MB phys_disk=26GB used_disk=0GB total_vcpus=1 used_vcpus=0 pci_stats=None

Any help would appreciated.

Newly created instance always have status=error and powerstate=nostate because of authentication on compute node

Hi, I have started OpenStack liberty installation on CentOS7. I have followed each step on installation guide till last step. At each step verified operation successfully. I have two node Controller (with two network interfaces) and Compute (again with two network interfaces) as mentioned in guide.

I have installed Keystone, Nova-compute, Neutron successfully.

When I am creating instance it always created with status=error and powerstate=nostate.

Keystone is issuing token successfully on Controller node. All logs files on Controller don't have any error. Following are error logs on Compute node in "/etc/nova/nova.conf" file.

----------------------------------Error messages

2016-01-14 20:59:47.602 16974 INFO nova.compute.claims [req-7585288c-39a1-4920-913b-23fb4658d1f6 caa811f6476e402aa27bc0c82b738d4b 10a350f60ed7436882b1180aba3237bf - - -] [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] Claim successful

successful 2016-01-14 20:59:47.961 16974 WARNING keystoneclient.auth.identity.generic.base [-] Discovering versions from the identity service failed when creating the password plugin. Attempting to determine version from URL.

URL. 2016-01-14 20:59:47.962 16974 ERROR nova.compute.manager [-] Instance failed network setup after 1 attempt(s)

attempt(s) 2016-01-14 20:59:47.962 16974 ERROR nova.compute.manager Traceback (most recent call last):

last): 2016-01-14 20:59:47.962 16974 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1564, in _allocate_network_async

_allocate_network_async 2016-01-14 20:59:47.962 16974 ERROR nova.compute.manager dhcp_options=dhcp_options)

dhcp_options=dhcp_options) 2016-01-14 20:59:47.962 16974 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 620, in allocate_for_instance

allocate_for_instance 2016-01-14 20:59:47.962 16974 ERROR nova.compute.manager get_client(context, admin=True))

admin=True)) 2016-01-14 20:59:47.962 16974 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 237, in get_client

get_client 2016-01-14 20:59:47.962 16974 ERROR nova.compute.manager auth_token = _ADMIN_AUTH.get_token(_SESSION)

_ADMIN_AUTH.get_token(_SESSION) 2016-01-14 20:59:47.962 16974 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/keystoneclient/auth/identity/base.py", line 200, in get_token

get_token 2016-01-14 20:59:47.962 16974 ERROR nova.compute.manager return self.get_access(session).auth_token

self.get_access(session).auth_token 2016-01-14 20:59:47.962 16974 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/keystoneclient/auth/identity/base.py", line 240, in get_access

get_access 2016-01-14 20:59:47.962 16974 ERROR nova.compute.manager self.auth_ref = self.get_auth_ref(session)

self.get_auth_ref(session) 2016-01-14 20:59:47.962 16974 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/keystoneclient/auth/identity/generic/base.py", line 184, in get_auth_ref

get_auth_ref 2016-01-14 20:59:47.962 16974 ERROR nova.compute.manager self._plugin = self._do_create_plugin(session)

self._do_create_plugin(session) 2016-01-14 20:59:47.962 16974 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/keystoneclient/auth/identity/generic/base.py", line 180, in _do_create_plugin

_do_create_plugin 2016-01-14 20:59:47.962 16974 ERROR nova.compute.manager raise exceptions.DiscoveryFailure(msg)

exceptions.DiscoveryFailure(msg) 2016-01-14 20:59:47.962 16974 ERROR nova.compute.manager DiscoveryFailure: Could not determine a suitable URL for the plugin

plugin 2016-01-14 20:59:47.962 16974 ERROR nova.compute.manager

2016-01-14 20:59:48.238 16974 INFO nova.virt.libvirt.driver [req-7585288c-39a1-4920-913b-23fb4658d1f6 caa811f6476e402aa27bc0c82b738d4b 10a350f60ed7436882b1180aba3237bf - - -] [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] Creating image

image 2016-01-14 20:59:48.242 16974 ERROR nova.image.glance [req-7585288c-39a1-4920-913b-23fb4658d1f6 caa811f6476e402aa27bc0c82b738d4b 10a350f60ed7436882b1180aba3237bf - - -] Error contacting glance server 'controller:9292' for 'data', done trying.

trying. 2016-01-14 20:59:48.242 16974 ERROR nova.image.glance Traceback (most recent call last):

last): 2016-01-14 20:59:48.242 16974 ERROR nova.image.glance File "/usr/lib/python2.7/site-packages/nova/image/glance.py", line 230, in call

call 2016-01-14 20:59:48.242 16974 ERROR nova.image.glance return getattr(client.images, method)(args, *kwargs)

method)(*args, **kwargs) 2016-01-14 20:59:48.242 16974 ERROR nova.image.glance File "/usr/lib/python2.7/site-packages/glanceclient/v1/images.py", line 148, in data

data 2016-01-14 20:59:48.242 16974 ERROR nova.image.glance % urlparse.quote(str(image_id)))

urlparse.quote(str(image_id))) 2016-01-14 20:59:48.242 16974 ERROR nova.image.glance File "/usr/lib/python2.7/site-packages/glanceclient/common/http.py", line 280, in get

get 2016-01-14 20:59:48.242 16974 ERROR nova.image.glance return self._request('GET', url, **kwargs)

**kwargs) 2016-01-14 20:59:48.242 16974 ERROR nova.image.glance File "/usr/lib/python2.7/site-packages/glanceclient/common/http.py", line 261, in _request

_request 2016-01-14 20:59:48.242 16974 ERROR nova.image.glance raise exc.CommunicationError(message=message)

exc.CommunicationError(message=message) 2016-01-14 20:59:48.242 16974 ERROR nova.image.glance CommunicationError: Error finding address for http://controller:9292/v1/images/12e6f368-814e-4424-8e2d-9f462e50eb0d: ('Connection aborted.', error(113, 'EHOSTUNREACH'))

'EHOSTUNREACH')) 2016-01-14 20:59:48.242 16974 ERROR nova.image.glance

2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [req-7585288c-39a1-4920-913b-23fb4658d1f6 caa811f6476e402aa27bc0c82b738d4b 10a350f60ed7436882b1180aba3237bf - - -] [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] Instance failed to spawn

spawn 2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] Traceback (most recent call last):

last): 2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2155, in _build_resources

_build_resources 2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] yield resources

resources 2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2009, in _build_and_run_instance

2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] block_device_info=block_device_info)

_build_and_run_instance 2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] block_device_info=block_device_info) 2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 2437, in spawn

2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] admin_pass=admin_password)

spawn 2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] admin_pass=admin_password) 2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 2861, in _create_image

_create_image 2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] instance, size, fallback_from_host)

fallback_from_host) 2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 6282, in _try_fetch_image_cache

2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] size=size)

_try_fetch_image_cache 2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] size=size) 2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/imagebackend.py", line 240, in cache

2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] args, *kwargs)

cache 2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] *args, **kwargs) 2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/imagebackend.py", line 519, in create_image

create_image 2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] prepare_template(target=base, max_size=size, args, *kwargs)

*args, **kwargs) 2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] File "/usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py", line 254, in inner

inner 2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] return f(args, *kwargs)

f(*args, **kwargs) 2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/imagebackend.py", line 230, in fetch_func_sync

fetch_func_sync 2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] fetch_func(target=target, args, *kwargs)

*args, **kwargs) 2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/utils.py", line 389, in fetch_image

2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] max_size=max_size)

fetch_image 2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] max_size=max_size) 2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] File "/usr/lib/python2.7/site-packages/nova/virt/images.py", line 87, in fetch_to_raw

2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] max_size=max_size)

fetch_to_raw 2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] max_size=max_size) 2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] File "/usr/lib/python2.7/site-packages/nova/virt/images.py", line 77, in fetch

fetch 2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] IMAGE_API.download(context, image_href, dest_path=path)

dest_path=path) 2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] File "/usr/lib/python2.7/site-packages/nova/image/api.py", line 182, in download

2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] dst_path=dest_path)

download 2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] dst_path=dest_path) 2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] File "/usr/lib/python2.7/site-packages/nova/image/glance.py", line 361, in download

2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] _reraise_translated_image_exception(image_id)

download 2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] _reraise_translated_image_exception(image_id) 2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] File "/usr/lib/python2.7/site-packages/nova/image/glance.py", line 604, in _reraise_translated_image_exception

_reraise_translated_image_exception 2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] six.reraise(new_exc, None, exc_trace)

exc_trace) 2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] File "/usr/lib/python2.7/site-packages/nova/image/glance.py", line 359, in download

download 2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] image_chunks = self._client.call(context, 1, 'data', image_id)

image_id) 2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] File "/usr/lib/python2.7/site-packages/nova/image/glance.py", line 247, in call

call 2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] host=host, port=port, reason=six.text_type(e))

reason=six.text_type(e)) 2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] GlanceConnectionFailed: Connection to glance host controller:9292 failed: Error finding address for http://controller:9292/v1/images/12e6f368-814e-4424-8e2d-9f462e50eb0d: ('Connection aborted.', error(113, 'EHOSTUNREACH'))

2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049]

'EHOSTUNREACH')) 2016-01-14 20:59:48.243 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] 2016-01-14 20:59:48.244 16974 INFO nova.compute.manager [req-7585288c-39a1-4920-913b-23fb4658d1f6 caa811f6476e402aa27bc0c82b738d4b 10a350f60ed7436882b1180aba3237bf - - -] [instance: ed962f0b-2d62-408f- 811f-1ffa3195f049] Terminating instance

instance 2016-01-14 20:59:48.251 16974 INFO nova.virt.libvirt.driver [-] [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] During wait destroy, instance disappeared.

disappeared. 2016-01-14 20:59:48.310 16974 INFO nova.virt.libvirt.driver [req-7585288c-39a1-4920-913b-23fb4658d1f6 caa811f6476e402aa27bc0c82b738d4b 10a350f60ed7436882b1180aba3237bf - - -] [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] Deleting instance files /var/lib/nova/instances/ed962f0b-2d62-408f-811f-1ffa3195f049_del

/var/lib/nova/instances/ed962f0b-2d62-408f-811f-1ffa3195f049_del 2016-01-14 20:59:48.311 16974 INFO nova.virt.libvirt.driver [req-7585288c-39a1-4920-913b-23fb4658d1f6 caa811f6476e402aa27bc0c82b738d4b 10a350f60ed7436882b1180aba3237bf - - -] [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] Deletion of /var/lib/nova/instances/ed962f0b-2d62-408f-811f-1ffa3195f049_del complete

complete 2016-01-14 20:59:48.446 16974 WARNING keystoneclient.auth.identity.generic.base [req-7585288c-39a1-4920-913b-23fb4658d1f6 caa811f6476e402aa27bc0c82b738d4b 10a350f60ed7436882b1180aba3237bf - - -] Discovering versions from the identity service failed when creating the password plugin. Attempting to determine version from URL.

URL. 2016-01-14 20:59:48.447 16974 ERROR nova.compute.manager [req-7585288c-39a1-4920-913b-23fb4658d1f6 caa811f6476e402aa27bc0c82b738d4b 10a350f60ed7436882b1180aba3237bf - - -] [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] Failed to deallocate network for instance.

instance. 2016-01-14 20:59:48.669 16974 ERROR nova.compute.manager [req-7585288c-39a1-4920-913b-23fb4658d1f6 caa811f6476e402aa27bc0c82b738d4b 10a350f60ed7436882b1180aba3237bf - - -] [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] Build of instance ed962f0b-2d62-408f-811f-1ffa3195f049 aborted: Could not clean up failed build, not rescheduling

rescheduling 2016-01-14 20:59:48.669 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] Traceback (most recent call last):

last): 2016-01-14 20:59:48.669 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1905, in _do_build_and_run_instance

_do_build_and_run_instance 2016-01-14 20:59:48.669 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] filter_properties)

filter_properties) 2016-01-14 20:59:48.669 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2025, in _build_and_run_instance

_build_and_run_instance 2016-01-14 20:59:48.669 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] 'create.error', fault=e)

fault=e) 2016-01-14 20:59:48.669 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 195, in __exit__

__exit__ 2016-01-14 20:59:48.669 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] six.reraise(self.type_, self.value, self.tb)

self.tb) 2016-01-14 20:59:48.669 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2009, in _build_and_run_instance

_build_and_run_instance 2016-01-14 20:59:48.669 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] block_device_info=block_device_info)

block_device_info=block_device_info) 2016-01-14 20:59:48.669 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] File "/usr/lib64/python2.7/contextlib.py", line 35, in __exit__

__exit__ 2016-01-14 20:59:48.669 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] self.gen.throw(type, value, traceback)

traceback) 2016-01-14 20:59:48.669 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2179, in _build_resources

_build_resources 2016-01-14 20:59:48.669 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] instance_uuid=instance.uuid, reason=msg)

reason=msg) 2016-01-14 20:59:48.669 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] BuildAbortException: Build of instance ed962f0b-2d62-408f-811f-1ffa3195f049 aborted: Could not clean up failed build, not rescheduling

rescheduling 2016-01-14 20:59:48.669 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049]

2016-01-14 20:59:48.711 16974 WARNING keystoneclient.auth.identity.generic.base [req-7585288c-39a1-4920-913b-23fb4658d1f6 caa811f6476e402aa27bc0c82b738d4b 10a350f60ed7436882b1180aba3237bf - - -] Discovering versions from the identity service failed when creating the password plugin. Attempting to determine version from URL.

URL. 2016-01-14 20:59:48.711 16974 ERROR nova.compute.manager [req-7585288c-39a1-4920-913b-23fb4658d1f6 caa811f6476e402aa27bc0c82b738d4b 10a350f60ed7436882b1180aba3237bf - - -] [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] Failed to deallocate networks

networks 2016-01-14 20:59:48.711 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] Traceback (most recent call last):

last): 2016-01-14 20:59:48.711 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2184, in _cleanup_allocated_networks

_cleanup_allocated_networks 2016-01-14 20:59:48.711 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] self._deallocate_network(context, instance, requested_networks)

requested_networks) 2016-01-14 20:59:48.711 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1810, in _deallocate_network

_deallocate_network 2016-01-14 20:59:48.711 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] context, instance, requested_networks=requested_networks)

requested_networks=requested_networks) 2016-01-14 20:59:48.711 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 835, in deallocate_for_instance

deallocate_for_instance 2016-01-14 20:59:48.711 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] self._unbind_ports(context, ports_to_skip, neutron)

neutron) 2016-01-14 20:59:48.711 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 406, in _unbind_ports

_unbind_ports 2016-01-14 20:59:48.711 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] get_client(context, admin=True))

admin=True)) 2016-01-14 20:59:48.711 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 237, in get_client

get_client 2016-01-14 20:59:48.711 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] auth_token = _ADMIN_AUTH.get_token(_SESSION)

_ADMIN_AUTH.get_token(_SESSION) 2016-01-14 20:59:48.711 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] File "/usr/lib/python2.7/site-packages/keystoneclient/auth/identity/base.py", line 200, in get_token

get_token 2016-01-14 20:59:48.711 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] return self.get_access(session).auth_token

self.get_access(session).auth_token 2016-01-14 20:59:48.711 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] File "/usr/lib/python2.7/site-packages/keystoneclient/auth/identity/base.py", line 240, in get_access

get_access 2016-01-14 20:59:48.711 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] self.auth_ref = self.get_auth_ref(session)

self.get_auth_ref(session) 2016-01-14 20:59:48.711 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] File "/usr/lib/python2.7/site-packages/keystoneclient/auth/identity/generic/base.py", line 184, in get_auth_ref

get_auth_ref 2016-01-14 20:59:48.711 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] self._plugin = self._do_create_plugin(session)

self._do_create_plugin(session) 2016-01-14 20:59:48.711 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] File "/usr/lib/python2.7/site-packages/keystoneclient/auth/identity/generic/base.py", line 180, in _do_create_plugin

_do_create_plugin 2016-01-14 20:59:48.711 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] raise exceptions.DiscoveryFailure(msg)

exceptions.DiscoveryFailure(msg) 2016-01-14 20:59:48.711 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049] DiscoveryFailure: Could not determine a suitable URL for the plugin

plugin 2016-01-14 20:59:48.711 16974 ERROR nova.compute.manager [instance: ed962f0b-2d62-408f-811f-1ffa3195f049]

2016-01-14 21:00:07.663 16974 INFO nova.compute.resource_tracker [req-6ced6f1e-7c24-416d-bab9-59887662af20 - - - - -] Auditing locally available compute resources for node compute1

compute1 2016-01-14 21:00:07.792 16974 INFO nova.compute.resource_tracker [req-6ced6f1e-7c24-416d-bab9-59887662af20 - - - - -] Total usable vcpus: 1, total allocated vcpus: 0

0 2016-01-14 21:00:07.792 16974 INFO nova.compute.resource_tracker [req-6ced6f1e-7c24-416d-bab9-59887662af20 - - - - -] Final resource view: name=compute1 phys_ram=4775MB used_ram=512MB phys_disk=26GB used_disk=0GB total_vcpus=1 used_vcpus=0 pci_stats=None

pci_stats=None 2016-01-14 21:00:07.836 16974 INFO nova.compute.resource_tracker [req-6ced6f1e-7c24-416d-bab9-59887662af20 - - - - -] Compute_service record updated for compute1:compute1 ^[[B2016-01-14 21:01:14.845 16974 INFO nova.compute.resource_tracker [req-6ced6f1e-7c24-416d-bab9-59887662af20 - - - - -] Auditing locally available compute resources for node compute1

compute1 2016-01-14 21:01:14.975 16974 INFO nova.compute.resource_tracker [req-6ced6f1e-7c24-416d-bab9-59887662af20 - - - - -] Total usable vcpus: 1, total allocated vcpus: 0

0 2016-01-14 21:01:14.976 16974 INFO nova.compute.resource_tracker [req-6ced6f1e-7c24-416d-bab9-59887662af20 - - - - -] Final resource view: name=compute1 phys_ram=4775MB used_ram=512MB phys_disk=26GB used_disk=0GB total_vcpus=1 used_vcpus=0 pci_stats=None

pci_stats=None 2016-01-14 21:01:15.024 16974 INFO nova.compute.resource_tracker [req-6ced6f1e-7c24-416d-bab9-59887662af20 - - - - -] Compute_service record updated for compute1:compute1

compute1:compute1 2016-01-14 21:02:21.995 16974 INFO nova.compute.resource_tracker [req-6ced6f1e-7c24-416d-bab9-59887662af20 - - - - -] Auditing locally available compute resources for node compute1

compute1 2016-01-14 21:02:22.098 16974 INFO nova.compute.resource_tracker [req-6ced6f1e-7c24-416d-bab9-59887662af20 - - - - -] Total usable vcpus: 1, total allocated vcpus: 0

0 2016-01-14 21:02:22.098 16974 INFO nova.compute.resource_tracker [req-6ced6f1e-7c24-416d-bab9-59887662af20 - - - - -] Final resource view: name=compute1 phys_ram=4775MB used_ram=512MB phys_disk=26GB used_disk=0GB total_vcpus=1 used_vcpus=0 pci_stats=None

pci_stats=None 2016-01-14 21:02:22.137 16974 INFO nova.compute.resource_tracker [req-6ced6f1e-7c24-416d-bab9-59887662af20 - - - - -] Compute_service record updated for compute1:compute1

compute1:compute1 2016-01-14 21:03:28.095 16974 INFO nova.compute.resource_tracker [req-6ced6f1e-7c24-416d-bab9-59887662af20 - - - - -] Auditing locally available compute resources for node compute1

compute1 2016-01-14 21:03:28.341 16974 INFO nova.compute.resource_tracker [req-6ced6f1e-7c24-416d-bab9-59887662af20 - - - - -] Total usable vcpus: 1, total allocated vcpus: 0

0 2016-01-14 21:03:28.342 16974 INFO nova.compute.resource_tracker [req-6ced6f1e-7c24-416d-bab9-59887662af20 - - - - -] Final resource view: name=compute1 phys_ram=4775MB used_ram=512MB phys_disk=26GB used_disk=0GB total_vcpus=1 used_vcpus=0 pci_stats=None

pci_stats=None

Any help would appreciated.