← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1606615] [NEW] Unable to create instance

 

Public bug reported:

I have a controller and one compute node. Followed the instructions on
http://docs.openstack.org/mitaka/install-guide-
ubuntu/common/conventions.html to install openstack Mitaka on ubuntu
14.04 LTS servers virtualized in virtualbox.

The compute node is always reflected dead when i execute 'neutron agent-
list' on the controller node. When i try to create a .iso instance on
horizon, the error message "Unable to create the server." will appear on
the dashboard. A check on the nova-api.log shows "HTTP exception thrown:
Unexpected API Error......... <class 'oslo_config.cfg.NoSuchOptError'>

Below are the logs from nova-api.log from the moment i click 'Launch
Instance' on horizon until the error.

2016-07-18 17:25:54.491 24247 INFO nova.osapi_compute.wsgi.server [req-62b11e12-b49d-4700-9611-5b81d2edca53 1e6d6364acca4e199b4d8e3655433eec 4239deeccc6a4266940737027a36da20 - - -] 10.0.0.11 "GET /v2.1/4239deeccc6a4266940737027a36da20/limits HTTP/1.1" status: 200 len: 779 time: 0.3234909
2016-07-18 17:25:55.136 24247 INFO nova.osapi_compute.wsgi.server [req-962b85f2-b664-4628-810e-4bdeeb3297bc 1e6d6364acca4e199b4d8e3655433eec 4239deeccc6a4266940737027a36da20 - - -] 10.0.0.11 "GET /v2.1/4239deeccc6a4266940737027a36da20/flavors/detail HTTP/1.1" status: 200 len: 2358 time: 0.9781041
2016-07-18 17:25:55.164 24246 INFO nova.osapi_compute.wsgi.server [req-06b096a3-ec49-40fa-bfb5-53b93dc6cedc 1e6d6364acca4e199b4d8e3655433eec 4239deeccc6a4266940737027a36da20 - - -] 10.0.0.11 "GET /v2.1/4239deeccc6a4266940737027a36da20/os-keypairs HTTP/1.1" status: 200 len: 283 time: 0.9958830
2016-07-18 17:25:55.167 24247 INFO nova.osapi_compute.wsgi.server [req-0572ba1b-6a3e-44fd-a6fa-040b3e8826ae 1e6d6364acca4e199b4d8e3655433eec 4239deeccc6a4266940737027a36da20 - - -] 10.0.0.11 "GET /v2.1/4239deeccc6a4266940737027a36da20/flavors/1/os-extra_specs HTTP/1.1" status: 200 len: 286 time: 0.0242019
2016-07-18 17:25:55.198 24247 INFO nova.osapi_compute.wsgi.server [req-34e80098-c40a-4425-9d51-4e8c59fb2ff1 1e6d6364acca4e199b4d8e3655433eec 4239deeccc6a4266940737027a36da20 - - -] 10.0.0.11 "GET /v2.1/4239deeccc6a4266940737027a36da20/flavors/2/os-extra_specs HTTP/1.1" status: 200 len: 286 time: 0.0227361
2016-07-18 17:25:55.220 24246 INFO nova.osapi_compute.wsgi.server [req-c162715d-5479-4d1b-bcfe-c0f02f674c4e 1e6d6364acca4e199b4d8e3655433eec 4239deeccc6a4266940737027a36da20 - - -] 10.0.0.11 "GET /v2.1/4239deeccc6a4266940737027a36da20/os-availability-zone HTTP/1.1" status: 200 len: 364 time: 1.0783610
2016-07-18 17:25:55.233 24247 INFO nova.osapi_compute.wsgi.server [req-cd4db0f6-d428-450e-ba0e-5edad8ae117f 1e6d6364acca4e199b4d8e3655433eec 4239deeccc6a4266940737027a36da20 - - -] 10.0.0.11 "GET /v2.1/4239deeccc6a4266940737027a36da20/flavors/3/os-extra_specs HTTP/1.1" status: 200 len: 286 time: 0.0279779
2016-07-18 17:25:55.266 24247 INFO nova.osapi_compute.wsgi.server [req-c6000a74-2e7d-4eae-a967-2006b6b5c9d4 1e6d6364acca4e199b4d8e3655433eec 4239deeccc6a4266940737027a36da20 - - -] 10.0.0.11 "GET /v2.1/4239deeccc6a4266940737027a36da20/flavors/4/os-extra_specs HTTP/1.1" status: 200 len: 286 time: 0.0262952
2016-07-18 17:25:55.292 24246 INFO nova.osapi_compute.wsgi.server [req-651027a2-cd8d-4f08-a0f7-3e70dcf30da8 1e6d6364acca4e199b4d8e3655433eec 4239deeccc6a4266940737027a36da20 - - -] 10.0.0.11 "GET /v2.1/4239deeccc6a4266940737027a36da20/flavors/5/os-extra_specs HTTP/1.1" status: 200 len: 286 time: 0.0184162
2016-07-18 17:26:09.863 24246 ERROR nova.api.openstack.extensions [req-ae970713-3f7f-4acd-bbf6-f8ca5cae4606 1e6d6364acca4e199b4d8e3655433eec 4239deeccc6a4266940737027a36da20 - - -] Unexpected exception in API method
2016-07-18 17:26:09.863 24246 ERROR nova.api.openstack.extensions Traceback (most recent call last):
2016-07-18 17:26:09.863 24246 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/extensions.py", line 478, in wrapped
2016-07-18 17:26:09.863 24246 ERROR nova.api.openstack.extensions     return f(*args, **kwargs)
2016-07-18 17:26:09.863 24246 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/api/validation/__init__.py", line 73, in wrapper
2016-07-18 17:26:09.863 24246 ERROR nova.api.openstack.extensions     return func(*args, **kwargs)
2016-07-18 17:26:09.863 24246 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/api/validation/__init__.py", line 73, in wrapper
2016-07-18 17:26:09.863 24246 ERROR nova.api.openstack.extensions     return func(*args, **kwargs)
2016-07-18 17:26:09.863 24246 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/api/validation/__init__.py", line 73, in wrapper
2016-07-18 17:26:09.863 24246 ERROR nova.api.openstack.extensions     return func(*args, **kwargs)
2016-07-18 17:26:09.863 24246 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/compute/servers.py", line 629, in create
2016-07-18 17:26:09.863 24246 ERROR nova.api.openstack.extensions     **create_kwargs)
2016-07-18 17:26:09.863 24246 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/hooks.py", line 154, in inner
2016-07-18 17:26:09.863 24246 ERROR nova.api.openstack.extensions     rv = f(*args, **kwargs)
2016-07-18 17:26:09.863 24246 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 1556, in create
2016-07-18 17:26:09.863 24246 ERROR nova.api.openstack.extensions     check_server_group_quota=check_server_group_quota)
2016-07-18 17:26:09.863 24246 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 1139, in _create_instance
2016-07-18 17:26:09.863 24246 ERROR nova.api.openstack.extensions     reservation_id, max_count)
2016-07-18 17:26:09.863 24246 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 866, in _validate_and_build_base_options
2016-07-18 17:26:09.863 24246 ERROR nova.api.openstack.extensions     pci_request_info, requested_networks)
2016-07-18 17:26:09.863 24246 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/network/neutronv2/api.py", line 1062, in create_pci_requests_for_sriov_ports
2016-07-18 17:26:09.863 24246 ERROR nova.api.openstack.extensions     neutron = get_client(context, admin=True)
2016-07-18 17:26:09.863 24246 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/network/neutronv2/api.py", line 139, in get_client
2016-07-18 17:26:09.863 24246 ERROR nova.api.openstack.extensions     _ADMIN_AUTH = _load_auth_plugin(CONF)
2016-07-18 17:26:09.863 24246 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/network/neutronv2/api.py", line 119, in _load_auth_plugin
2016-07-18 17:26:09.863 24246 ERROR nova.api.openstack.extensions     err_msg = _('Unknown auth plugin: %s') % conf.neutron.auth_plugin
2016-07-18 17:26:09.863 24246 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/oslo_config/cfg.py", line 2946, in __getattr__
2016-07-18 17:26:09.863 24246 ERROR nova.api.openstack.extensions     return self._conf._get(name, self._group)
2016-07-18 17:26:09.863 24246 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/oslo_config/cfg.py", line 2567, in _get
2016-07-18 17:26:09.863 24246 ERROR nova.api.openstack.extensions     value = self._do_get(name, group, namespace)
2016-07-18 17:26:09.863 24246 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/oslo_config/cfg.py", line 2584, in _do_get
2016-07-18 17:26:09.863 24246 ERROR nova.api.openstack.extensions     info = self._get_opt_info(name, group)
2016-07-18 17:26:09.863 24246 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/oslo_config/cfg.py", line 2718, in _get_opt_info
2016-07-18 17:26:09.863 24246 ERROR nova.api.openstack.extensions     raise NoSuchOptError(opt_name, group)
2016-07-18 17:26:09.863 24246 ERROR nova.api.openstack.extensions NoSuchOptError: no such option in group neutron: auth_plugin
2016-07-18 17:26:09.863 24246 ERROR nova.api.openstack.extensions 
2016-07-18 17:26:09.870 24246 INFO nova.api.openstack.wsgi [req-ae970713-3f7f-4acd-bbf6-f8ca5cae4606 1e6d6364acca4e199b4d8e3655433eec 4239deeccc6a4266940737027a36da20 - - -] HTTP exception thrown: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<class 'oslo_config.cfg.NoSuchOptError'>
2016-07-18 17:26:09.872 24246 INFO nova.osapi_compute.wsgi.server [req-ae970713-3f7f-4acd-bbf6-f8ca5cae4606 1e6d6364acca4e199b4d8e3655433eec 4239deeccc6a4266940737027a36da20 - - -] 10.0.0.11 "POST /v2.1/4239deeccc6a4266940737027a36da20/servers HTTP/1.1" status: 500 len: 506 time: 0.3887470

** Affects: nova
     Importance: Undecided
         Status: New

-- 
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/1606615

Title:
  Unable to create instance

Status in OpenStack Compute (nova):
  New

Bug description:
  I have a controller and one compute node. Followed the instructions on
  http://docs.openstack.org/mitaka/install-guide-
  ubuntu/common/conventions.html to install openstack Mitaka on ubuntu
  14.04 LTS servers virtualized in virtualbox.

  The compute node is always reflected dead when i execute 'neutron
  agent-list' on the controller node. When i try to create a .iso
  instance on horizon, the error message "Unable to create the server."
  will appear on the dashboard. A check on the nova-api.log shows "HTTP
  exception thrown: Unexpected API Error......... <class
  'oslo_config.cfg.NoSuchOptError'>

  Below are the logs from nova-api.log from the moment i click 'Launch
  Instance' on horizon until the error.

  2016-07-18 17:25:54.491 24247 INFO nova.osapi_compute.wsgi.server [req-62b11e12-b49d-4700-9611-5b81d2edca53 1e6d6364acca4e199b4d8e3655433eec 4239deeccc6a4266940737027a36da20 - - -] 10.0.0.11 "GET /v2.1/4239deeccc6a4266940737027a36da20/limits HTTP/1.1" status: 200 len: 779 time: 0.3234909
  2016-07-18 17:25:55.136 24247 INFO nova.osapi_compute.wsgi.server [req-962b85f2-b664-4628-810e-4bdeeb3297bc 1e6d6364acca4e199b4d8e3655433eec 4239deeccc6a4266940737027a36da20 - - -] 10.0.0.11 "GET /v2.1/4239deeccc6a4266940737027a36da20/flavors/detail HTTP/1.1" status: 200 len: 2358 time: 0.9781041
  2016-07-18 17:25:55.164 24246 INFO nova.osapi_compute.wsgi.server [req-06b096a3-ec49-40fa-bfb5-53b93dc6cedc 1e6d6364acca4e199b4d8e3655433eec 4239deeccc6a4266940737027a36da20 - - -] 10.0.0.11 "GET /v2.1/4239deeccc6a4266940737027a36da20/os-keypairs HTTP/1.1" status: 200 len: 283 time: 0.9958830
  2016-07-18 17:25:55.167 24247 INFO nova.osapi_compute.wsgi.server [req-0572ba1b-6a3e-44fd-a6fa-040b3e8826ae 1e6d6364acca4e199b4d8e3655433eec 4239deeccc6a4266940737027a36da20 - - -] 10.0.0.11 "GET /v2.1/4239deeccc6a4266940737027a36da20/flavors/1/os-extra_specs HTTP/1.1" status: 200 len: 286 time: 0.0242019
  2016-07-18 17:25:55.198 24247 INFO nova.osapi_compute.wsgi.server [req-34e80098-c40a-4425-9d51-4e8c59fb2ff1 1e6d6364acca4e199b4d8e3655433eec 4239deeccc6a4266940737027a36da20 - - -] 10.0.0.11 "GET /v2.1/4239deeccc6a4266940737027a36da20/flavors/2/os-extra_specs HTTP/1.1" status: 200 len: 286 time: 0.0227361
  2016-07-18 17:25:55.220 24246 INFO nova.osapi_compute.wsgi.server [req-c162715d-5479-4d1b-bcfe-c0f02f674c4e 1e6d6364acca4e199b4d8e3655433eec 4239deeccc6a4266940737027a36da20 - - -] 10.0.0.11 "GET /v2.1/4239deeccc6a4266940737027a36da20/os-availability-zone HTTP/1.1" status: 200 len: 364 time: 1.0783610
  2016-07-18 17:25:55.233 24247 INFO nova.osapi_compute.wsgi.server [req-cd4db0f6-d428-450e-ba0e-5edad8ae117f 1e6d6364acca4e199b4d8e3655433eec 4239deeccc6a4266940737027a36da20 - - -] 10.0.0.11 "GET /v2.1/4239deeccc6a4266940737027a36da20/flavors/3/os-extra_specs HTTP/1.1" status: 200 len: 286 time: 0.0279779
  2016-07-18 17:25:55.266 24247 INFO nova.osapi_compute.wsgi.server [req-c6000a74-2e7d-4eae-a967-2006b6b5c9d4 1e6d6364acca4e199b4d8e3655433eec 4239deeccc6a4266940737027a36da20 - - -] 10.0.0.11 "GET /v2.1/4239deeccc6a4266940737027a36da20/flavors/4/os-extra_specs HTTP/1.1" status: 200 len: 286 time: 0.0262952
  2016-07-18 17:25:55.292 24246 INFO nova.osapi_compute.wsgi.server [req-651027a2-cd8d-4f08-a0f7-3e70dcf30da8 1e6d6364acca4e199b4d8e3655433eec 4239deeccc6a4266940737027a36da20 - - -] 10.0.0.11 "GET /v2.1/4239deeccc6a4266940737027a36da20/flavors/5/os-extra_specs HTTP/1.1" status: 200 len: 286 time: 0.0184162
  2016-07-18 17:26:09.863 24246 ERROR nova.api.openstack.extensions [req-ae970713-3f7f-4acd-bbf6-f8ca5cae4606 1e6d6364acca4e199b4d8e3655433eec 4239deeccc6a4266940737027a36da20 - - -] Unexpected exception in API method
  2016-07-18 17:26:09.863 24246 ERROR nova.api.openstack.extensions Traceback (most recent call last):
  2016-07-18 17:26:09.863 24246 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/extensions.py", line 478, in wrapped
  2016-07-18 17:26:09.863 24246 ERROR nova.api.openstack.extensions     return f(*args, **kwargs)
  2016-07-18 17:26:09.863 24246 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/api/validation/__init__.py", line 73, in wrapper
  2016-07-18 17:26:09.863 24246 ERROR nova.api.openstack.extensions     return func(*args, **kwargs)
  2016-07-18 17:26:09.863 24246 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/api/validation/__init__.py", line 73, in wrapper
  2016-07-18 17:26:09.863 24246 ERROR nova.api.openstack.extensions     return func(*args, **kwargs)
  2016-07-18 17:26:09.863 24246 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/api/validation/__init__.py", line 73, in wrapper
  2016-07-18 17:26:09.863 24246 ERROR nova.api.openstack.extensions     return func(*args, **kwargs)
  2016-07-18 17:26:09.863 24246 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/compute/servers.py", line 629, in create
  2016-07-18 17:26:09.863 24246 ERROR nova.api.openstack.extensions     **create_kwargs)
  2016-07-18 17:26:09.863 24246 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/hooks.py", line 154, in inner
  2016-07-18 17:26:09.863 24246 ERROR nova.api.openstack.extensions     rv = f(*args, **kwargs)
  2016-07-18 17:26:09.863 24246 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 1556, in create
  2016-07-18 17:26:09.863 24246 ERROR nova.api.openstack.extensions     check_server_group_quota=check_server_group_quota)
  2016-07-18 17:26:09.863 24246 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 1139, in _create_instance
  2016-07-18 17:26:09.863 24246 ERROR nova.api.openstack.extensions     reservation_id, max_count)
  2016-07-18 17:26:09.863 24246 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 866, in _validate_and_build_base_options
  2016-07-18 17:26:09.863 24246 ERROR nova.api.openstack.extensions     pci_request_info, requested_networks)
  2016-07-18 17:26:09.863 24246 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/network/neutronv2/api.py", line 1062, in create_pci_requests_for_sriov_ports
  2016-07-18 17:26:09.863 24246 ERROR nova.api.openstack.extensions     neutron = get_client(context, admin=True)
  2016-07-18 17:26:09.863 24246 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/network/neutronv2/api.py", line 139, in get_client
  2016-07-18 17:26:09.863 24246 ERROR nova.api.openstack.extensions     _ADMIN_AUTH = _load_auth_plugin(CONF)
  2016-07-18 17:26:09.863 24246 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/nova/network/neutronv2/api.py", line 119, in _load_auth_plugin
  2016-07-18 17:26:09.863 24246 ERROR nova.api.openstack.extensions     err_msg = _('Unknown auth plugin: %s') % conf.neutron.auth_plugin
  2016-07-18 17:26:09.863 24246 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/oslo_config/cfg.py", line 2946, in __getattr__
  2016-07-18 17:26:09.863 24246 ERROR nova.api.openstack.extensions     return self._conf._get(name, self._group)
  2016-07-18 17:26:09.863 24246 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/oslo_config/cfg.py", line 2567, in _get
  2016-07-18 17:26:09.863 24246 ERROR nova.api.openstack.extensions     value = self._do_get(name, group, namespace)
  2016-07-18 17:26:09.863 24246 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/oslo_config/cfg.py", line 2584, in _do_get
  2016-07-18 17:26:09.863 24246 ERROR nova.api.openstack.extensions     info = self._get_opt_info(name, group)
  2016-07-18 17:26:09.863 24246 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/dist-packages/oslo_config/cfg.py", line 2718, in _get_opt_info
  2016-07-18 17:26:09.863 24246 ERROR nova.api.openstack.extensions     raise NoSuchOptError(opt_name, group)
  2016-07-18 17:26:09.863 24246 ERROR nova.api.openstack.extensions NoSuchOptError: no such option in group neutron: auth_plugin
  2016-07-18 17:26:09.863 24246 ERROR nova.api.openstack.extensions 
  2016-07-18 17:26:09.870 24246 INFO nova.api.openstack.wsgi [req-ae970713-3f7f-4acd-bbf6-f8ca5cae4606 1e6d6364acca4e199b4d8e3655433eec 4239deeccc6a4266940737027a36da20 - - -] HTTP exception thrown: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
  <class 'oslo_config.cfg.NoSuchOptError'>
  2016-07-18 17:26:09.872 24246 INFO nova.osapi_compute.wsgi.server [req-ae970713-3f7f-4acd-bbf6-f8ca5cae4606 1e6d6364acca4e199b4d8e3655433eec 4239deeccc6a4266940737027a36da20 - - -] 10.0.0.11 "POST /v2.1/4239deeccc6a4266940737027a36da20/servers HTTP/1.1" status: 500 len: 506 time: 0.3887470

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1606615/+subscriptions