[Openstack] Heat create-stack fails.

Eugen Block eblock at nde.ag
Mon Jun 6 07:03:58 UTC 2016


Hi Michael,

your statements regarding the Openstack version don't fit.

> I've been following the install guide found at
> http://docs.openstack.org/juno/install-guide/install/yum/content/ch_preface.html

and

> I've only just started the openstack installation a couple of weeks  
> ago. So I'm using the latest install instructions. Definitely not an  
> upgrade.

sound like a mismatch to me.
Since you wrote that you use Juno install guide I assume that you  
don't use the latest version, that would be Mitaka. Here is the  
respective install guide for Red Hat and CentOS:  
http://docs.openstack.org/mitaka/install-guide-rdo.

Regards,
Eugen


Zitat von Michael Van Der Beek <michael.van at antlabs.com>:

> Hi Engen,
>
> Yes the m1.tiny does exist.
> [root at controller ~]# nova flavor-list
> +----+-----------+-----------+------+-----------+------+-------+-------------+-----------+
> | ID | Name      | Memory_MB | Disk | Ephemeral | Swap | VCPUs |  
> RXTX_Factor | Is_Public |
> +----+-----------+-----------+------+-----------+------+-------+-------------+-----------+
> | 1  | m1.tiny   | 512       | 1    | 0         |      | 1     | 1.0  
>         | True      |
> | 2  | m1.small  | 2048      | 20   | 0         |      | 1     | 1.0  
>         | True      |
> | 3  | m1.medium | 4096      | 40   | 0         |      | 2     | 1.0  
>         | True      |
> | 4  | m1.large  | 8192      | 80   | 0         |      | 4     | 1.0  
>         | True      |
> | 5  | m1.xlarge | 16384     | 160  | 0         |      | 8     | 1.0  
>         | True      |
> +----+-----------+-----------+------+-----------+------+-------+-------------+-----------+
>
> So I don't know why it was reporting that either. The dashboard also  
> reports the same flavor list.
>
> I've only just started the openstack installation a couple of weeks  
> ago. So I'm using the latest install instructions. Definitely not an  
> upgrade.
> Even then some commands have changed, so I had to look up new  
> equivalents. Even the config file changes, some are not documented,
> For example, vnc now has a separate [vnc] previously it was under  
> [DEFAULT]. Hence, I do not know if the installation guide is  
> pointing me to the correct installation locations.
>
> Hence my problems with this. The have been upgrades to various  
> pieces of software but guide has not been updated.
>
> As a newbie at this, its hard to know what is correct or not, for  
> two reasons, versions keep changing so rapidly, anything I google  
> for may not exist anymore or may cause problems with the new  
> installs. Secondly, there are no suggests as to what to do when  
> certain configs fail.
> I've already correct about 7-8 difference that causes it to fail.   
> Like, if you don't configure the hostname correctly or specify in  
> the config files, all of them report back to the controller as  
> localhost.localdomain. This wasn't in the installation guide, I  
> googled for a solution for this.
>
> My guess is that once this Orchestra part is finish, I should have a  
> basic working system.
>
> Regards,
>
> Michael
> -----Original Message-----
> From: Eugen Block [mailto:eblock at nde.ag]
> Sent: Friday, June 3, 2016 6:25 PM
> To: Michael Van Der Beek <michael.van at antlabs.com>
> Cc: openstack at lists.openstack.org
> Subject: Re: [Openstack] Heat create-stack fails.
>
> So you have another config option you have to provide for all  
> relevant services. Either you do this step by step changing one file  
> after another and watch the logs to see the next failing option. Or  
> you scan through the install guide to edit alle configs at once  
> before restarting the servies.
>
>> HTTP exception thrown: Flavor m1.tiny could not be found.
>
> You should also make sure that requested flavor exists.
>
> Just out of curiosity, you're following the Juno install guide, is  
> it possible that you have a mismatch between the version of the  
> install guide and the Openstack version you actually installed? Or  
> did you try a dist-upgrade? I upgraded from Liberty to Mitaka,  
> that's where I had to change all config files according to the newer  
> versions.
> However, you'll have to edit all your configs matching the installed version.
>
> Regards,
> Eugen
>
>
> Zitat von Michael Van Der Beek <michael.van at antlabs.com>:
>
>> Hi Eugen,
>>
>> Thanks for your help.
>>
>> Had pretty interesting results.
>> I've added auth_type in the keystone section of glance.
>> [keystone_authtoken]
>> auth_uri = http://controller:5000/v2.0 identity_uri =
>> http://controller:35357 admin_tenant_name = service admin_user =
>> glance admin_password = a4b249a2373e72d7b869 #auth_type=password Had
>> the auth_type uncommented.
>>
>> The it created an error starting.
>> glance MissingRequiredOptions: Auth plugin requires parameters which
>> were not given: auth_url
>>
>> This seems to have also happened in heat-api.conf, cinder.conf,
>> nova.conf,neutron.conf Once the auth_type is removed from the
>> keystone_authtoken section all the service seems to start.
>>
>> I have put auth_type everywhere else like in your file list you’ve
>> provided in the previous email.
>>
>> Now I get a totally different error from the stack-create.
>> heat stack-create -f /root/test-stack.yml -P
>> "ImageID=cirros-0.3.3-x86_64;NetID=$NET_ID" testStack
>>
>> After a bit:
>> [root at controller nova]# heat stack-list
>> +--------------------------------------+------------+---------------+---------------------+--------------+
>> | id                                   | stack_name | stack_status
>> | creation_time       | updated_time |
>> +--------------------------------------+------------+---------------+---------------------+--------------+
>> | a811426c-19f3-49bd-9e54-03400ccc13f5 | testStack  | CREATE_FAILED
>> | 2016-06-03T09:23:57 | None         |
>> +--------------------------------------+------------+---------------+---------------------+--------------+
>>
>> So I'm back to the failed creation. But the error is different this time.
>>
>> 2016-06-03 17:19:00.669 3174 INFO heat.engine.service
>> [req-1e70cc60-8d60-4090-b572-34fb003f5d1f - admin - default default]
>> Creating stack testStack
>> 2016-06-03 17:19:00.700 3174 INFO heat.engine.resource
>> [req-1e70cc60-8d60-4090-b572-34fb003f5d1f - admin - default default]
>> Validating Server "server"
>> 2016-06-03 17:19:00.701 3174 WARNING heat.engine.rsrc_defn
>> [req-1e70cc60-8d60-4090-b572-34fb003f5d1f - admin - default default]
>> Reading the ResourceDefinition as if it were a snippet of a
>> CloudFormation template is deprecated, and the ability to treat it as
>> such will be removed in the future. Resource plugins should use the
>> ResourceDefinition API to work with the definition of the resource
>> instance.
>> 2016-06-03 17:19:00.701 3174 WARNING heat.engine.rsrc_defn
>> [req-1e70cc60-8d60-4090-b572-34fb003f5d1f - admin - default default]
>> Reading the ResourceDefinition as if it were a snippet of a
>> CloudFormation template is deprecated, and the ability to treat it as
>> such will be removed in the future. Resource plugins should use the
>> ResourceDefinition API to work with the definition of the resource
>> instance.
>> 2016-06-03 17:19:00.702 3174 WARNING heat.engine.rsrc_defn
>> [req-1e70cc60-8d60-4090-b572-34fb003f5d1f - admin - default default]
>> Reading the ResourceDefinition as if it were a snippet of a
>> CloudFormation template is deprecated, and the ability to treat it as
>> such will be removed in the future. Resource plugins should use the
>> ResourceDefinition API to work with the definition of the resource
>> instance.
>> 2016-06-03 17:19:01.915 3174 WARNING heat.common.context
>> [req-1e70cc60-8d60-4090-b572-34fb003f5d1f - admin - default default]
>> Using the keystone_authtoken user as the heat trustee user directly is
>> deprecated. Please add the trustee credentials you need to the trustee
>> section of your heat.conf file.
>> 2016-06-03 17:19:02.577 3174 INFO heat.engine.stack [-] Stack CREATE
>> IN_PROGRESS (testStack): Stack CREATE started
>> 2016-06-03 17:19:02.647 3174 INFO heat.engine.resource [-] creating
>> Server "server" Stack "testStack"
>> [c01d535c-f15d-4d5e-919a-527b298ddf65]
>> 2016-06-03 17:19:03.601 3174 INFO heat.engine.resource [-] CREATE:
>> Server "server" Stack "testStack"
>> [c01d535c-f15d-4d5e-919a-527b298ddf65]
>> 2016-06-03 17:19:03.601 3174 ERROR heat.engine.resource Traceback
>> (most recent call last):
>> 2016-06-03 17:19:03.601 3174 ERROR heat.engine.resource   File
>> "/usr/lib/python2.7/site-packages/heat/engine/resource.py", line 704,
>> in _action_recorder
>> 2016-06-03 17:19:03.601 3174 ERROR heat.engine.resource     yield
>> 2016-06-03 17:19:03.601 3174 ERROR heat.engine.resource   File
>> "/usr/lib/python2.7/site-packages/heat/engine/resource.py", line 775,
>> in _do_action
>> 2016-06-03 17:19:03.601 3174 ERROR heat.engine.resource     yield
>> self.action_handler_task(action, args=handler_args)
>> 2016-06-03 17:19:03.601 3174 ERROR heat.engine.resource   File
>> "/usr/lib/python2.7/site-packages/heat/engine/scheduler.py", line 297,
>> in wrapper
>> 2016-06-03 17:19:03.601 3174 ERROR heat.engine.resource     step =
>> next(subtask)
>> 2016-06-03 17:19:03.601 3174 ERROR heat.engine.resource   File
>> "/usr/lib/python2.7/site-packages/heat/engine/resource.py", line 746,
>> in action_handler_task
>> 2016-06-03 17:19:03.601 3174 ERROR heat.engine.resource
>> handler_data = handler(*args)
>> 2016-06-03 17:19:03.601 3174 ERROR heat.engine.resource   File
>> "/usr/lib/python2.7/site-packages/heat/engine/resources/openstack/nova
>> /server.py", line 861, in handle_create
>> 2016-06-03 17:19:03.601 3174 ERROR heat.engine.resource
>> admin_pass=admin_pass)
>> 2016-06-03 17:19:03.601 3174 ERROR heat.engine.resource   File
>> "/usr/lib/python2.7/site-packages/novaclient/v2/servers.py", line
>> 1233, in create
>> 2016-06-03 17:19:03.601 3174 ERROR heat.engine.resource     **boot_kwargs)
>> 2016-06-03 17:19:03.601 3174 ERROR heat.engine.resource   File
>> "/usr/lib/python2.7/site-packages/novaclient/v2/servers.py", line 667,
>> in _boot
>> 2016-06-03 17:19:03.601 3174 ERROR heat.engine.resource
>> return_raw=return_raw, **kwargs)
>> 2016-06-03 17:19:03.601 3174 ERROR heat.engine.resource   File
>> "/usr/lib/python2.7/site-packages/novaclient/base.py", line 345, in
>> _create
>> 2016-06-03 17:19:03.601 3174 ERROR heat.engine.resource     resp,
>> body = self.api.client.post(url, body=body)
>> 2016-06-03 17:19:03.601 3174 ERROR heat.engine.resource   File
>> "/usr/lib/python2.7/site-packages/novaclient/client.py", line 455, in
>> post
>> 2016-06-03 17:19:03.601 3174 ERROR heat.engine.resource     return
>> self._cs_request(url, 'POST', **kwargs)
>> 2016-06-03 17:19:03.601 3174 ERROR heat.engine.resource   File
>> "/usr/lib/python2.7/site-packages/novaclient/client.py", line 430, in
>> _cs_request
>> 2016-06-03 17:19:03.601 3174 ERROR heat.engine.resource     resp,
>> body = self._time_request(url, method, **kwargs)
>> 2016-06-03 17:19:03.601 3174 ERROR heat.engine.resource   File
>> "/usr/lib/python2.7/site-packages/novaclient/client.py", line 403, in
>> _time_request
>> 2016-06-03 17:19:03.601 3174 ERROR heat.engine.resource     resp,
>> body = self.request(url, method, **kwargs)
>> 2016-06-03 17:19:03.601 3174 ERROR heat.engine.resource   File
>> "/usr/lib/python2.7/site-packages/novaclient/client.py", line 397, in
>> request
>> 2016-06-03 17:19:03.601 3174 ERROR heat.engine.resource     raise
>> exceptions.from_response(resp, body, url, method)
>> 2016-06-03 17:19:03.601 3174 ERROR heat.engine.resource
>> ClientException: Unexpected API Error. Please report this at
>> http://bugs.launchpad.net/nova/ and attach the Nova API log if
>> possible.
>> 2016-06-03 17:19:03.601 3174 ERROR heat.engine.resource <class
>> 'keystoneauth1.exceptions.auth_plugins.MissingRequiredOptions'>
>> (HTTP 500) (Request-ID: req-ac548443-bbc4-40ee-803c-5d877cdb7ff9)
>> 2016-06-03 17:19:03.601 3174 ERROR heat.engine.resource
>> 2016-06-03 17:19:03.623 3174 INFO heat.engine.service [-] Stack create
>> failed, status FAILED
>> 2016-06-03 17:19:03.643 3174 INFO heat.engine.stack [-] Stack CREATE
>> FAILED (testStack): Resource CREATE failed: ClientException:
>> resources.server: Unexpected API Error. Please report this at
>> http://bugs.launchpad.net/nova/ and attach the Nova API log if
>> possible.
>>
>> Nova-api.logs show:
>> 2016-06-03 17:23:56.841 12058 INFO nova.api.openstack.wsgi
>> [req-e2a87bb8-d89d-463f-bf35-0df829aa3534
>> 6b7fa6d27fc046dc8e991c25aa4a01c8 fd3a0ca3acf14106b4f45adaa8b0f0f8 -
>> - -] HTTP exception thrown: Flavor m1.tiny could not be found.
>> 2016-06-03 17:23:56.843 12058 INFO nova.osapi_compute.wsgi.server
>> [req-e2a87bb8-d89d-463f-bf35-0df829aa3534
>> 6b7fa6d27fc046dc8e991c25aa4a01c8 fd3a0ca3acf14106b4f45adaa8b0f0f8 -
>> - -] 10.20.1.71 "GET
>> /v2/fd3a0ca3acf14106b4f45adaa8b0f0f8/flavors/m1.tiny HTTP/1.1"
>> status: 404 len: 298 time: 0.1564691
>> 2016-06-03 17:23:57.017 12059 INFO nova.osapi_compute.wsgi.server
>> [req-3c18923b-e833-47dc-b6f7-7c8c8b920980
>> 6b7fa6d27fc046dc8e991c25aa4a01c8 fd3a0ca3acf14106b4f45adaa8b0f0f8 -
>> - -] 10.20.1.71 "GET /v2/fd3a0ca3acf14106b4f45adaa8b0f0f8/flavors
>> HTTP/1.1" status: 200 len: 1407 time: 0.1693549
>> 2016-06-03 17:23:57.046 12059 INFO nova.osapi_compute.wsgi.server
>> [req-955401f7-a2f7-4a20-8963-587952f2cc83
>> 6b7fa6d27fc046dc8e991c25aa4a01c8 fd3a0ca3acf14106b4f45adaa8b0f0f8 -
>> - -] 10.20.1.71 "GET /v2/fd3a0ca3acf14106b4f45adaa8b0f0f8/flavors/1
>> HTTP/1.1" status: 200 len: 615 time: 0.0247800
>> 2016-06-03 17:23:57.526 12059 INFO nova.api.openstack.wsgi
>> [req-776a0b23-3858-4dde-9434-8bc1483ba683
>> 6b7fa6d27fc046dc8e991c25aa4a01c8 fd3a0ca3acf14106b4f45adaa8b0f0f8 -
>> - -] HTTP exception thrown: Flavor m1.tiny could not be found.
>> 2016-06-03 17:23:57.528 12059 INFO nova.osapi_compute.wsgi.server
>> [req-776a0b23-3858-4dde-9434-8bc1483ba683
>> 6b7fa6d27fc046dc8e991c25aa4a01c8 fd3a0ca3acf14106b4f45adaa8b0f0f8 -
>> - -] 10.20.1.71 "GET
>> /v2/fd3a0ca3acf14106b4f45adaa8b0f0f8/flavors/m1.tiny HTTP/1.1"
>> status: 404 len: 298 time: 0.0249531
>> 2016-06-03 17:23:57.561 12059 INFO nova.osapi_compute.wsgi.server
>> [req-1f382510-3e63-4c20-a45f-fe26a890e177
>> 6b7fa6d27fc046dc8e991c25aa4a01c8 fd3a0ca3acf14106b4f45adaa8b0f0f8 -
>> - -] 10.20.1.71 "GET /v2/fd3a0ca3acf14106b4f45adaa8b0f0f8/flavors
>> HTTP/1.1" status: 200 len: 1407 time: 0.0289171
>> 2016-06-03 17:23:57.590 12058 INFO nova.osapi_compute.wsgi.server
>> [req-4ea4eb73-5a83-454e-b727-1b5460fd50ce
>> 6b7fa6d27fc046dc8e991c25aa4a01c8 fd3a0ca3acf14106b4f45adaa8b0f0f8 -
>> - -] 10.20.1.71 "GET /v2/fd3a0ca3acf14106b4f45adaa8b0f0f8/flavors/1
>> HTTP/1.1" status: 200 len: 615 time: 0.0246999
>> 2016-06-03 17:23:58.278 12058 INFO nova.api.openstack.wsgi
>> [req-a8152df8-fa31-4de4-b75c-59c8db9798c7
>> 6b7fa6d27fc046dc8e991c25aa4a01c8 fd3a0ca3acf14106b4f45adaa8b0f0f8 -
>> - -] HTTP exception thrown: Flavor m1.tiny could not be found.
>> 2016-06-03 17:23:58.281 12058 INFO nova.osapi_compute.wsgi.server
>> [req-a8152df8-fa31-4de4-b75c-59c8db9798c7
>> 6b7fa6d27fc046dc8e991c25aa4a01c8 fd3a0ca3acf14106b4f45adaa8b0f0f8 -
>> - -] 10.20.1.71 "GET
>> /v2/fd3a0ca3acf14106b4f45adaa8b0f0f8/flavors/m1.tiny HTTP/1.1"
>> status: 404 len: 298 time: 0.0365970
>> 2016-06-03 17:23:58.334 12059 INFO nova.osapi_compute.wsgi.server
>> [req-e427b782-5acd-4616-9827-a3361e548b17
>> 6b7fa6d27fc046dc8e991c25aa4a01c8 fd3a0ca3acf14106b4f45adaa8b0f0f8 -
>> - -] 10.20.1.71 "GET /v2/fd3a0ca3acf14106b4f45adaa8b0f0f8/flavors
>> HTTP/1.1" status: 200 len: 1407 time: 0.0472600
>> 2016-06-03 17:23:58.364 12059 INFO nova.osapi_compute.wsgi.server
>> [req-44d9ff36-8a86-4158-aa92-fe65fcfe93cb
>> 6b7fa6d27fc046dc8e991c25aa4a01c8 fd3a0ca3acf14106b4f45adaa8b0f0f8 -
>> - -] 10.20.1.71 "GET /v2/fd3a0ca3acf14106b4f45adaa8b0f0f8/flavors/1
>> HTTP/1.1" status: 200 len: 615 time: 0.0258262
>> 2016-06-03 17:23:58.678 12059 INFO nova.osapi_compute.wsgi.server
>> [req-1cf4f6b7-f762-442f-92f6-48f282fb89d8
>> 6b7fa6d27fc046dc8e991c25aa4a01c8 fd3a0ca3acf14106b4f45adaa8b0f0f8 -
>> - -] 10.20.1.71 "GET /v2/fd3a0ca3acf14106b4f45adaa8b0f0f8/flavors/1
>> HTTP/1.1" status: 200 len: 615 time: 0.0259790
>> 2016-06-03 17:23:59.305 12059 ERROR nova.api.openstack.extensions
>> [req-b8f7ce5b-8db8-402d-b9bc-3e55d7c4a360
>> 6b7fa6d27fc046dc8e991c25aa4a01c8 fd3a0ca3acf14106b4f45adaa8b0f0f8 -
>> - -] Unexpected exception in API method
>> 2016-06-03 17:23:59.305 12059 ERROR nova.api.openstack.extensions
>> Traceback (most recent call last):
>> 2016-06-03 17:23:59.305 12059 ERROR nova.api.openstack.extensions
>> File
>> "/usr/lib/python2.7/site-packages/nova/api/openstack/extensions.py",
>> line 478, in wrapped
>> 2016-06-03 17:23:59.305 12059 ERROR nova.api.openstack.extensions
>>  return f(*args, **kwargs)
>> 2016-06-03 17:23:59.305 12059 ERROR nova.api.openstack.extensions
>> File
>> "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py",
>> line 73, in wrapper
>> 2016-06-03 17:23:59.305 12059 ERROR nova.api.openstack.extensions
>>  return func(*args, **kwargs)
>> 2016-06-03 17:23:59.305 12059 ERROR nova.api.openstack.extensions
>> File
>> "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py",
>> line 73, in wrapper
>> 2016-06-03 17:23:59.305 12059 ERROR nova.api.openstack.extensions
>>  return func(*args, **kwargs)
>> 2016-06-03 17:23:59.305 12059 ERROR nova.api.openstack.extensions
>> File
>> "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py",
>> line 73, in wrapper
>> 2016-06-03 17:23:59.305 12059 ERROR nova.api.openstack.extensions
>>  return func(*args, **kwargs)
>> 2016-06-03 17:23:59.305 12059 ERROR nova.api.openstack.extensions
>> File
>> "/usr/lib/python2.7/site-packages/nova/api/openstack/compute/servers.p
>> y",
>> line 629, in create
>> 2016-06-03 17:23:59.305 12059 ERROR nova.api.openstack.extensions
>>  **create_kwargs)
>> 2016-06-03 17:23:59.305 12059 ERROR nova.api.openstack.extensions
>> File "/usr/lib/python2.7/site-packages/nova/hooks.py", line 154, in
>> inner
>> 2016-06-03 17:23:59.305 12059 ERROR nova.api.openstack.extensions
>>  rv = f(*args, **kwargs)
>> 2016-06-03 17:23:59.305 12059 ERROR nova.api.openstack.extensions
>> File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line
>> 1556, in create
>> 2016-06-03 17:23:59.305 12059 ERROR nova.api.openstack.extensions
>>  check_server_group_quota=check_server_group_quota)
>> 2016-06-03 17:23:59.305 12059 ERROR nova.api.openstack.extensions
>> File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line
>> 1139, in _create_instance
>> 2016-06-03 17:23:59.305 12059 ERROR nova.api.openstack.extensions
>>  reservation_id, max_count)
>> 2016-06-03 17:23:59.305 12059 ERROR nova.api.openstack.extensions
>> File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 866,
>> in _validate_and_build_base_options
>> 2016-06-03 17:23:59.305 12059 ERROR nova.api.openstack.extensions
>>  pci_request_info, requested_networks)
>> 2016-06-03 17:23:59.305 12059 ERROR nova.api.openstack.extensions
>> File
>> "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py",
>> line 1062, in create_pci_requests_for_sriov_ports
>> 2016-06-03 17:23:59.305 12059 ERROR nova.api.openstack.extensions
>>  neutron = get_client(context, admin=True)
>> 2016-06-03 17:23:59.305 12059 ERROR nova.api.openstack.extensions
>> File
>> "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py",
>> line 139, in get_client
>> 2016-06-03 17:23:59.305 12059 ERROR nova.api.openstack.extensions
>>  _ADMIN_AUTH = _load_auth_plugin(CONF)
>> 2016-06-03 17:23:59.305 12059 ERROR nova.api.openstack.extensions
>> File
>> "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py",
>> line 114, in _load_auth_plugin
>> 2016-06-03 17:23:59.305 12059 ERROR nova.api.openstack.extensions
>>  auth_plugin = ks_loading.load_auth_from_conf_options(conf,
>> NEUTRON_GROUP)
>> 2016-06-03 17:23:59.305 12059 ERROR nova.api.openstack.extensions
>> File
>> "/usr/lib/python2.7/site-packages/keystoneauth1/loading/conf.py",
>> line 135, in load_from_conf_options
>> 2016-06-03 17:23:59.305 12059 ERROR nova.api.openstack.extensions
>>  return plugin.load_from_options_getter(_getter, **kwargs)
>> 2016-06-03 17:23:59.305 12059 ERROR nova.api.openstack.extensions
>> File
>> "/usr/lib/python2.7/site-packages/keystoneauth1/loading/base.py",
>> line 148, in load_from_options_getter
>> 2016-06-03 17:23:59.305 12059 ERROR nova.api.openstack.extensions
>>  return self.load_from_options(**kwargs)
>> 2016-06-03 17:23:59.305 12059 ERROR nova.api.openstack.extensions
>> File
>> "/usr/lib/python2.7/site-packages/keystoneauth1/loading/base.py",
>> line 123, in load_from_options
>> 2016-06-03 17:23:59.305 12059 ERROR nova.api.openstack.extensions
>>  raise exceptions.MissingRequiredOptions(missing_required)
>> 2016-06-03 17:23:59.305 12059 ERROR nova.api.openstack.extensions
>> MissingRequiredOptions: Auth plugin requires parameters which were not
>> given: auth_url
>> 2016-06-03 17:23:59.305 12059 ERROR nova.api.openstack.extensions
>> 2016-06-03 17:23:59.310 12059 INFO nova.api.openstack.wsgi
>> [req-b8f7ce5b-8db8-402d-b9bc-3e55d7c4a360
>> 6b7fa6d27fc046dc8e991c25aa4a01c8 fd3a0ca3acf14106b4f45adaa8b0f0f8 -
>> - -] HTTP exception thrown: Unexpected API Error. Please report this
>> at http://bugs.launchpad.net/nova/ and attach the Nova API log if
>> possible.
>> <class 'keystoneauth1.exceptions.auth_plugins.MissingRequiredOptions'>
>> 2016-06-03 17:23:59.312 12059 INFO nova.osapi_compute.wsgi.server
>> [req-b8f7ce5b-8db8-402d-b9bc-3e55d7c4a360
>> 6b7fa6d27fc046dc8e991c25aa4a01c8 fd3a0ca3acf14106b4f45adaa8b0f0f8 -
>> - -] 10.20.1.71 "POST /v2/fd3a0ca3acf14106b4f45adaa8b0f0f8/servers
>> HTTP/1.1" status: 500 len: 465 time: 0.5185332
>>
>>
>> -----Original Message-----
>> From: Eugen Block [mailto:eblock at nde.ag]
>> Sent: Friday, June 3, 2016 4:23 PM
>> To: Michael Van Der Beek <michael.van at antlabs.com>
>> Cc: openstack at lists.openstack.org
>> Subject: Re: [Openstack] Heat create-stack fails.
>>
>> There are several places to define the auth_type, basically for every
>> openstack service like glance, cinder, neutron etc.
>> On controller node, the nova.conf contains two sections with auth_type.
>>
>> [keystone_authtoken]
>> auth_type = password
>> username = nova
>> ...
>> [neutron]
>> username = neutron
>> auth_type = password
>> ...
>>
>> But there is also the compute node, nova.conf:
>>
>> [keystone_authtoken]
>> auth_type = password
>> username = nova
>> ...
>> [neutron]
>> auth_type = password
>> username = neutron
>> ...
>>
>> So I assume you'll have to change all your configs, on my controller
>> there are 7 configs containing auth_type, both neutron.conf and
>> nova.conf contain two different sections as stated above:
>>
>> control1:~ # egrep -rve "^#|^$" /etc/ | grep auth_type
>> /etc/glance/glance-registry.conf:auth_type = password
>> /etc/glance/glance-api.conf:auth_type = password
>> /etc/neutron/neutron.conf:auth_type = password
>> /etc/neutron/neutron.conf:auth_type = password
>> /etc/nova/nova.conf:auth_type = password /etc/nova/nova.conf:auth_type
>> = password /etc/cinder/cinder.conf:auth_type = password
>> /etc/ceilometer/ceilometer.conf:auth_type = password
>> /etc/heat/heat.conf:auth_type = password
>>
>> On one of my compute nodes there are three configs, nova.conf also
>> containing two different sections:
>>
>> compute1:~ # egrep -rve "#|^$" /etc/ | grep auth_type
>> /etc/nova/nova.conf:auth_type = password /etc/nova/nova.conf:auth_type
>> = password /etc/neutron/neutron.conf:auth_type = password
>> /etc/ceilometer/ceilometer.conf:auth_type = password
>>
>> Hope this helps!
>> Regards,
>> Eugen
>>
>>
>> Zitat von Michael Van Der Beek <michael.van at antlabs.com>:
>>
>>> Hi Eugen,
>>>
>>> Based on the Mitaka guide. In the compute node, I've put in the
>>> nova.conf [DEFAULT] ...
>>> rpc_backend = rabbit
>>> rabbit_host = controller
>>> rabbit_password = RABBIT_PASS
>>> auth_strategy = keystone
>>> my_ip = MANAGEMENT_INTERFACE_IP_ADDRESS
>>>
>>> [vnc]
>>> vnc_enabled = True
>>> vncserver_listen = 0.0.0.0
>>> vncserver_proxyclient_address = MANAGEMENT_INTERFACE_IP_ADDRESS
>>> novncproxy_base_url = http://controller:6080/vnc_auto.html
>>>
>>> [keystone_authtoken]
>>> ...
>>> auth_uri = http://controller:5000/v2.0 identity_uri =
>>> http://controller:35357 admin_tenant_name = service admin_user = nova
>>> admin_password = NOVA_PASS
>>>
>>> [glance]
>>> ...
>>> host = controller
>>>
>>> [neutron]
>>> url = http://controller:9696
>>> auth_strategy = keystone
>>> admin_auth_url = http://controller:35357/v2.0 admin_tenant_name =
>>> service admin_username = neutron admin_password =
>>> 23bcc86e9f99f8f48bc1
>>>
>>>
>>> My question is that now vnc seems to have a section of its own
>>> instead of the Mitaka guide which is Default so I put it in [vnc]
>>>
>>> So the auth_type should be in keystone_authtoken?
>>> Or neutron?
>>> I've tried both and I still get the auth_type error on the controller?
>>>
>>> Is the problem on the controller? Is the auth_type required in the
>>> nova.conf on the controller?
>>>
>>> Regards,
>>>
>>> Michael
>>>
>>> -----Original Message-----
>>> From: Eugen Block [mailto:eblock at nde.ag]
>>> Sent: Friday, June 3, 2016 3:38 PM
>>> To: Michael Van Der Beek <michael.van at antlabs.com>
>>> Cc: openstack at lists.openstack.org
>>> Subject: Re: [Openstack] Heat create-stack fails.
>>>
>>> Hi Michael,
>>>
>>> in addition to Pavlo's answer I just wanted to add what I use as
>>> auth_type, referring to the Mitaka guide the value is:
>>>
>>> auth_type = password
>>>
>>> Regards,
>>> Eugen
>>>
>>> Zitat von Pavlo Shchelokovskyy <pshchelokovskyy at mirantis.com>:
>>>
>>>> Hi Michael,
>>>>
>>>> you should consult the docs for "keystoneauth" library [0], that is
>>>> actually using these options to construct an authentificated client.
>>>> It supports quite a number of auth plugins (that's what you specify
>>>> as auth_type), each having specific other options.
>>>>
>>>> [0]
>>>> http://docs.openstack.org/developer/keystoneauth/authentication-plug
>>>> i
>>>> n
>>>> s.html
>>>>
>>>> Cheers,
>>>>
>>>> Dr. Pavlo Shchelokovskyy
>>>> Senior Software Engineer
>>>> Mirantis Inc
>>>> www.mirantis.com
>>>>
>>>> On Fri, Jun 3, 2016 at 6:21 AM, Michael Van Der Beek <
>>>> michael.van at antlabs.com> wrote:
>>>>
>>>>> Hi Eugen,
>>>>>
>>>>>
>>>>>
>>>>> For some reason, I’m not getting any email from this list.
>>>>>
>>>>> My mailserver doesn’t even show any attempts from the list server.
>>>>>
>>>>>
>>>>>
>>>>> Anyway, the install guide does not specify what the auth_plugin is
>>>>> suppose to be.
>>>>>
>>>>> By default auth_plugin is depreciated.
>>>>>
>>>>>
>>>>>
>>>>> # Authentication type to load (unknown value)
>>>>>
>>>>> # Deprecated group;name - DEFAULT;auth_plugin
>>>>>
>>>>> #auth_type=<None>
>>>>>
>>>>>
>>>>>
>>>>> As the install guide does not specified, any idea what should I put
>>>>> in here.
>>>>>
>>>>>
>>>>>
>>>>> The guide has many places that the commands have changed syntax so
>>>>> its not very accurate any more.
>>>>>
>>>>>
>>>>>
>>>>> Regards,
>>>>>
>>>>>
>>>>>
>>>>> Michael
>>>>>
>>>>> -------------------------------------------------------------
>>>>>
>>>>> Hi,
>>>>>
>>>>> I'm just guessing, but maybe you didn't change the auth_plugin in
>>>>> nova.conf on compute node?
>>>>>
>>>>> Regards,
>>>>> Eugen
>>>>>
>>>>>
>>>>>
>>>>> *From:* Michael Van Der Beek
>>>>> *Sent:* Thursday, June 2, 2016 4:48 PM
>>>>> *To:* 'openstack at lists.openstack.org'
>>>>> <openstack at lists.openstack.org>
>>>>> *Subject:* Heat create-stack fails.
>>>>>
>>>>>
>>>>>
>>>>> Hi All,
>>>>>
>>>>>
>>>>>
>>>>> Sorry to trouble you guys.
>>>>>
>>>>> I’ve been following the install guide found at
>>>>>
>>>>>
>>>>> http://docs.openstack.org/juno/install-guide/install/yum/content/ch
>>>>> _
>>>>> p
>>>>> reface.html
>>>>>
>>>>>
>>>>>
>>>>> I’ve gotten everything to work except the Orchestra.
>>>>>
>>>>>
>>>>>
>>>>> When I do this.
>>>>>
>>>>> [root at controller nova]# heat stack-create -f /root/test-stack.yml   -P
>>>>> "ImageID=cirros-0.3.3-x86_64;NetID=$NET_ID" testStack
>>>>>
>>>>>
>>>>> +--------------------------------------+------------+--------------------+---------------------+--------------+
>>>>>
>>>>> | id                                   | stack_name |  
>>>>> stack_status       |
>>>>> creation_time       | updated_time |
>>>>>
>>>>>
>>>>> +--------------------------------------+------------+--------------------+---------------------+--------------+
>>>>>
>>>>> | a3c21978-78e0-4cb1-b92e-cb853df4aa04 | testStack  |
>>>>> | CREATE_IN_PROGRESS |
>>>>> 2016-06-02T08:39:53 | None         |
>>>>>
>>>>>
>>>>> +--------------------------------------+------------+--------------------+---------------------+--------------+
>>>>>
>>>>>
>>>>>
>>>>> Later..
>>>>>
>>>>> [root at controller nova]# heat stack-list
>>>>>
>>>>>
>>>>> +--------------------------------------+------------+---------------+---------------------+--------------+
>>>>>
>>>>> | id                                   | stack_name | stack_status  |
>>>>> creation_time       | updated_time |
>>>>>
>>>>>
>>>>> +--------------------------------------+------------+---------------+---------------------+--------------+
>>>>>
>>>>> | a3c21978-78e0-4cb1-b92e-cb853df4aa04 | testStack  | CREATE_FAILED
>>>>> | |
>>>>> 2016-06-02T08:39:53 | None         |
>>>>>
>>>>>
>>>>> +--------------------------------------+------------+---------------+---------------------+--------------+
>>>>>
>>>>>
>>>>>
>>>>> From what I understand, the heat log shows this:
>>>>>
>>>>> 2016-06-02 16:39:53.681 2853 INFO heat.engine.stack [-] Stack
>>>>> CREATE IN_PROGRESS (testStack): Stack CREATE started
>>>>>
>>>>> 2016-06-02 16:39:53.692 2853 INFO heat.engine.resource [-] creating
>>>>> Server "server" Stack "testStack"
>>>>> [a3c21978-78e0-4cb1-b92e-cb853df4aa04]
>>>>>
>>>>> 2016-06-02 16:39:54.699 2853 INFO heat.engine.resource [-] CREATE:
>>>>> Server "server" Stack "testStack"
>>>>> [a3c21978-78e0-4cb1-b92e-cb853df4aa04]
>>>>>
>>>>> 2016-06-02 16:39:54.699 2853 ERROR heat.engine.resource Traceback
>>>>> (most recent call last):
>>>>>
>>>>> 2016-06-02 16:39:54.699 2853 ERROR heat.engine.resource   File
>>>>> "/usr/lib/python2.7/site-packages/heat/engine/resource.py", line
>>>>> 704, in _action_recorder
>>>>>
>>>>> 2016-06-02 16:39:54.699 2853 ERROR heat.engine.resource     yield
>>>>>
>>>>> 2016-06-02 16:39:54.699 2853 ERROR heat.engine.resource   File
>>>>> "/usr/lib/python2.7/site-packages/heat/engine/resource.py", line
>>>>> 775, in _do_action
>>>>>
>>>>> 2016-06-02 16:39:54.699 2853 ERROR heat.engine.resource     yield
>>>>> self.action_handler_task(action, args=handler_args)
>>>>>
>>>>> 2016-06-02 16:39:54.699 2853 ERROR heat.engine.resource   File
>>>>> "/usr/lib/python2.7/site-packages/heat/engine/scheduler.py", line
>>>>> 297, in wrapper
>>>>>
>>>>> 2016-06-02 16:39:54.699 2853 ERROR heat.engine.resource     step =
>>>>> next(subtask)
>>>>>
>>>>> 2016-06-02 16:39:54.699 2853 ERROR heat.engine.resource   File
>>>>> "/usr/lib/python2.7/site-packages/heat/engine/resource.py", line
>>>>> 746, in action_handler_task
>>>>>
>>>>> 2016-06-02 16:39:54.699 2853 ERROR heat.engine.resource      
>>>>> handler_data =
>>>>> handler(*args)
>>>>>
>>>>> 2016-06-02 16:39:54.699 2853 ERROR heat.engine.resource   File
>>>>> "/usr/lib/python2.7/site-packages/heat/engine/resources/openstack/n
>>>>> o
>>>>> v
>>>>> a/server.py",
>>>>> line 861, in handle_crea
>>>>>
>>>>> te
>>>>>
>>>>> 2016-06-02 16:39:54.699 2853 ERROR heat.engine.resource
>>>>> admin_pass=admin_pass)
>>>>>
>>>>> 2016-06-02 16:39:54.699 2853 ERROR heat.engine.resource   File
>>>>> "/usr/lib/python2.7/site-packages/novaclient/v2/servers.py", line
>>>>> 1233, in create
>>>>>
>>>>> 2016-06-02 16:39:54.699 2853 ERROR heat.engine.resource      
>>>>> **boot_kwargs)
>>>>>
>>>>> 2016-06-02 16:39:54.699 2853 ERROR heat.engine.resource   File
>>>>> "/usr/lib/python2.7/site-packages/novaclient/v2/servers.py", line
>>>>> 667, in _boot
>>>>>
>>>>> 2016-06-02 16:39:54.699 2853 ERROR heat.engine.resource
>>>>> return_raw=return_raw, **kwargs)
>>>>>
>>>>> 2016-06-02 16:39:54.699 2853 ERROR heat.engine.resource   File
>>>>> "/usr/lib/python2.7/site-packages/novaclient/base.py", line 345, in
>>>>> _create
>>>>>
>>>>> 2016-06-02 16:39:54.699 2853 ERROR heat.engine.resource     resp, body =
>>>>> self.api.client.post(url, body=body)
>>>>>
>>>>> 2016-06-02 16:39:54.699 2853 ERROR heat.engine.resource   File
>>>>> "/usr/lib/python2.7/site-packages/novaclient/client.py", line 455,
>>>>> in post
>>>>>
>>>>> 2016-06-02 16:39:54.699 2853 ERROR heat.engine.resource     return
>>>>> self._cs_request(url, 'POST', **kwargs)
>>>>>
>>>>> 2016-06-02 16:39:54.699 2853 ERROR heat.engine.resource   File
>>>>> "/usr/lib/python2.7/site-packages/novaclient/client.py", line 430,
>>>>> in _cs_request
>>>>>
>>>>> 2016-06-02 16:39:54.699 2853 ERROR heat.engine.resource     resp, body =
>>>>> self._time_request(url, method, **kwargs)
>>>>>
>>>>> 2016-06-02 16:39:54.699 2853 ERROR heat.engine.resource   File
>>>>> "/usr/lib/python2.7/site-packages/novaclient/client.py", line 403,
>>>>> in _time_request
>>>>>
>>>>> 2016-06-02 16:39:54.699 2853 ERROR heat.engine.resource     resp, body =
>>>>> self.request(url, method, **kwargs)
>>>>>
>>>>> 2016-06-02 16:39:54.699 2853 ERROR heat.engine.resource   File
>>>>> "/usr/lib/python2.7/site-packages/novaclient/client.py", line 397,
>>>>> in request
>>>>>
>>>>> 2016-06-02 16:39:54.699 2853 ERROR heat.engine.resource     raise
>>>>> exceptions.from_response(resp, body, url, method)
>>>>>
>>>>> 2016-06-02 16:39:54.699 2853 ERROR heat.engine.resource ClientException:
>>>>> Unexpected API Error. Please report this at
>>>>> http://bugs.launchpad.net/nova/ and attach the Nova A
>>>>>
>>>>> PI log if possible.
>>>>>
>>>>> 2016-06-02 16:39:54.699 2853 ERROR heat.engine.resource <class
>>>>> 'oslo_config.cfg.NoSuchOptError'> (HTTP 500) (Request-ID:
>>>>> req-6a7f30c7-3882-4235-b3ca-8687b96f7645)
>>>>>
>>>>> 2016-06-02 16:39:54.699 2853 ERROR heat.engine.resource
>>>>>
>>>>> 2016-06-02 16:39:54.722 2853 INFO heat.engine.service [-] Stack
>>>>> create failed, status FAILED
>>>>>
>>>>> 2016-06-02 16:39:54.742 2853 INFO heat.engine.stack [-] Stack
>>>>> CREATE FAILED (testStack): Resource CREATE failed: ClientException:
>>>>> resources.server: 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'> (HTTP 500) (Request-ID:
>>>>> req-6a7f30c7-3882-4235-b3ca-8687b96f7645)
>>>>>
>>>>>
>>>>>
>>>>> From the Nova-api.logs:
>>>>>
>>>>> 2016-06-02 16:39:53.724 25221 INFO nova.api.openstack.wsgi
>>>>> [req-5f2ab23e-466d-426d-bf22-8608c265cf43
>>>>> 6b7fa6d27fc046dc8e991c25aa4a01c8
>>>>> fd3a0ca3acf14106b4f45adaa8b0f0f8 - -
>>>>>
>>>>> -] HTTP exception thrown: Flavor m1.tiny could not be found.
>>>>>
>>>>> 2016-06-02 16:39:53.726 25221 INFO nova.osapi_compute.wsgi.server
>>>>> [req-5f2ab23e-466d-426d-bf22-8608c265cf43
>>>>> 6b7fa6d27fc046dc8e991c25aa4a01c8 fd3a0ca3acf14106b4f45adaa8b0f
>>>>>
>>>>> 0f8 - - -] 10.20.1.71 "GET
>>>>> /v2/fd3a0ca3acf14106b4f45adaa8b0f0f8/flavors/m1.tiny HTTP/1.1"
>>>>> status: 404
>>>>> len: 298 time: 0.0265911
>>>>>
>>>>> 2016-06-02 16:39:53.764 25221 INFO nova.osapi_compute.wsgi.server
>>>>> [req-0d1ef2b3-4daa-406e-9f31-6a63125f8303
>>>>> 6b7fa6d27fc046dc8e991c25aa4a01c8 fd3a0ca3acf14106b4f45adaa8b0f
>>>>>
>>>>> 0f8 - - -] 10.20.1.71 "GET
>>>>> /v2/fd3a0ca3acf14106b4f45adaa8b0f0f8/flavors
>>>>> HTTP/1.1" status: 200 len: 1407 time: 0.0322111
>>>>>
>>>>> 2016-06-02 16:39:53.796 25221 INFO nova.osapi_compute.wsgi.server
>>>>> [req-efce0c41-029d-4c49-9cdd-f76917af3189
>>>>> 6b7fa6d27fc046dc8e991c25aa4a01c8 fd3a0ca3acf14106b4f45adaa8b0f
>>>>>
>>>>> 0f8 - - -] 10.20.1.71 "GET
>>>>> /v2/fd3a0ca3acf14106b4f45adaa8b0f0f8/flavors/1
>>>>> HTTP/1.1" status: 200 len: 615 time: 0.0266550
>>>>>
>>>>> 2016-06-02 16:39:54.361 25221 INFO nova.osapi_compute.wsgi.server
>>>>> [req-ef00628d-a63f-427a-a3de-47964e4717d3
>>>>> 6b7fa6d27fc046dc8e991c25aa4a01c8 fd3a0ca3acf14106b4f45adaa8b0f
>>>>>
>>>>> 0f8 - - -] 10.20.1.71 "GET
>>>>> /v2/fd3a0ca3acf14106b4f45adaa8b0f0f8/flavors/1
>>>>> HTTP/1.1" status: 200 len: 615 time: 0.0368102
>>>>>
>>>>> 2016-06-02 16:39:54.694 25221 ERROR nova.api.openstack.extensions
>>>>> [req-6a7f30c7-3882-4235-b3ca-8687b96f7645
>>>>> 6b7fa6d27fc046dc8e991c25aa4a01c8 fd3a0ca3acf14106b4f45adaa8b0f
>>>>>
>>>>> 0f8 - - -] Unexpected exception in API method
>>>>>
>>>>> 2016-06-02 16:39:54.694 25221 ERROR nova.api.openstack.extensions
>>>>> Traceback (most recent call last):
>>>>>
>>>>> 2016-06-02 16:39:54.694 25221 ERROR nova.api.openstack.extensions   File
>>>>> "/usr/lib/python2.7/site-packages/nova/api/openstack/extensions.py"
>>>>> ,
>>>>> line 478, in wrapped
>>>>>
>>>>> 2016-06-02 16:39:54.694 25221 ERROR nova.api.openstack.extensions
>>>>> return f(*args, **kwargs)
>>>>>
>>>>> 2016-06-02 16:39:54.694 25221 ERROR nova.api.openstack.extensions   File
>>>>> "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py",
>>>>> line 73, in wrapper
>>>>>
>>>>> 2016-06-02 16:39:54.694 25221 ERROR nova.api.openstack.extensions
>>>>> return func(*args, **kwargs)
>>>>>
>>>>> 2016-06-02 16:39:54.694 25221 ERROR nova.api.openstack.extensions   File
>>>>> "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py",
>>>>> line 73, in wrapper
>>>>>
>>>>> 2016-06-02 16:39:54.694 25221 ERROR nova.api.openstack.extensions
>>>>> return func(*args, **kwargs)
>>>>>
>>>>> 2016-06-02 16:39:54.694 25221 ERROR nova.api.openstack.extensions   File
>>>>> "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py",
>>>>> line 73, in wrapper
>>>>>
>>>>> 2016-06-02 16:39:54.694 25221 ERROR nova.api.openstack.extensions
>>>>> return func(*args, **kwargs)
>>>>>
>>>>> 2016-06-02 16:39:54.694 25221 ERROR nova.api.openstack.extensions   File
>>>>> "/usr/lib/python2.7/site-packages/nova/api/openstack/compute/servers.
>>>>> py",
>>>>> line 629, in create
>>>>>
>>>>> 2016-06-02 16:39:54.694 25221 ERROR nova.api.openstack.extensions
>>>>> **create_kwargs)
>>>>>
>>>>> 2016-06-02 16:39:54.694 25221 ERROR nova.api.openstack.extensions   File
>>>>> "/usr/lib/python2.7/site-packages/nova/hooks.py", line 154, in
>>>>> inner
>>>>>
>>>>> 2016-06-02 16:39:54.694 25221 ERROR  
>>>>> nova.api.openstack.extensions     rv =
>>>>> f(*args, **kwargs)
>>>>>
>>>>> 2016-06-02 16:39:54.694 25221 ERROR nova.api.openstack.extensions   File
>>>>> "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 1556,
>>>>> in create
>>>>>
>>>>> 2016-06-02 16:39:54.694 25221 ERROR nova.api.openstack.extensions
>>>>> check_server_group_quota=check_server_group_quota)
>>>>>
>>>>> 2016-06-02 16:39:54.694 25221 ERROR nova.api.openstack.extensions   File
>>>>> "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 1139,
>>>>> in _create_instance
>>>>>
>>>>> 2016-06-02 16:39:54.694 25221 ERROR nova.api.openstack.extensions
>>>>> reservation_id, max_count)
>>>>>
>>>>> 2016-06-02 16:39:54.694 25221 ERROR nova.api.openstack.extensions   File
>>>>> "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 866,
>>>>> in _validate_and_build_base_options
>>>>>
>>>>> 2016-06-02 16:39:54.694 25221 ERROR nova.api.openstack.extensions
>>>>> pci_request_info, requested_networks)
>>>>>
>>>>> 2016-06-02 16:39:54.694 25221 ERROR nova.api.openstack.extensions   File
>>>>> "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py",
>>>>> line 1062, in create_pci_requests_for_sriov_ports
>>>>>
>>>>> 2016-06-02 16:39:54.694 25221 ERROR nova.api.openstack.extensions
>>>>> neutron = get_client(context, admin=True)
>>>>>
>>>>> 2016-06-02 16:39:54.694 25221 ERROR nova.api.openstack.extensions   File
>>>>> "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py",
>>>>> line 139, in get_client
>>>>>
>>>>> 2016-06-02 16:39:54.694 25221 ERROR nova.api.openstack.extensions
>>>>> _ADMIN_AUTH = _load_auth_plugin(CONF)
>>>>>
>>>>> 2016-06-02 16:39:54.694 25221 ERROR nova.api.openstack.extensions   File
>>>>> "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py",
>>>>> line 119, in _load_auth_plugin
>>>>>
>>>>> 2016-06-02 16:39:54.694 25221 ERROR nova.api.openstack.extensions
>>>>> err_msg = _('Unknown auth plugin: %s') % conf.neutron.auth_plugin
>>>>>
>>>>> 2016-06-02 16:39:54.694 25221 ERROR nova.api.openstack.extensions   File
>>>>> "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 2950,
>>>>> in __getattr__
>>>>>
>>>>> 2016-06-02 16:39:54.694 25221 ERROR nova.api.openstack.extensions
>>>>> return self._conf._get(name, self._group)
>>>>>
>>>>> 2016-06-02 16:39:54.694 25221 ERROR nova.api.openstack.extensions   File
>>>>> "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 2571,
>>>>> in _get
>>>>>
>>>>> 2016-06-02 16:39:54.694 25221 ERROR nova.api.openstack.extensions
>>>>> value = self._do_get(name, group, namespace)
>>>>>
>>>>> 2016-06-02 16:39:54.694 25221 ERROR nova.api.openstack.extensions   File
>>>>> "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 2588,
>>>>> in _do_get
>>>>>
>>>>> 2016-06-02 16:39:54.694 25221 ERROR  
>>>>> nova.api.openstack.extensions     info
>>>>> = self._get_opt_info(name, group)
>>>>>
>>>>> 2016-06-02 16:39:54.694 25221 ERROR nova.api.openstack.extensions   File
>>>>> "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 2722,
>>>>> in _get_opt_info
>>>>>
>>>>> 2016-06-02 16:39:54.694 25221 ERROR nova.api.openstack.extensions
>>>>> raise NoSuchOptError(opt_name, group)
>>>>>
>>>>> 2016-06-02 16:39:54.694 25221 ERROR nova.api.openstack.extensions
>>>>> NoSuchOptError: no such option in group neutron: auth_plugin
>>>>>
>>>>> 2016-06-02 16:39:54.694 25221 ERROR nova.api.openstack.extensions
>>>>>
>>>>> 2016-06-02 16:39:54.696 25221 INFO nova.api.openstack.wsgi
>>>>> [req-6a7f30c7-3882-4235-b3ca-8687b96f7645
>>>>> 6b7fa6d27fc046dc8e991c25aa4a01c8
>>>>> fd3a0ca3acf14106b4f45adaa8b0f0f8 - - -] 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-06-02 16:39:54.697 25221 INFO nova.osapi_compute.wsgi.server
>>>>> [req-6a7f30c7-3882-4235-b3ca-8687b96f7645
>>>>> 6b7fa6d27fc046dc8e991c25aa4a01c8
>>>>> fd3a0ca3acf14106b4f45adaa8b0f0f8 - - -] 10.20.1.71 "POST
>>>>> /v2/fd3a0ca3acf14106b4f45adaa8b0f0f8/servers HTTP/1.1" status: 500
>>>>> len: 435
>>>>> time: 0.2159641
>>>>>
>>>>>
>>>>>
>>>>> As far as I can see from dashboard, there is a m1.tny flavor. So I
>>>>> don’t think that is the problem.
>>>>>
>>>>> I’m not sure why it is throwing an error NoSuchOptError: no such
>>>>> option in group neutron: auth_plugin when the nova.conf file has
>>>>> auth_type=<None>
>>>>>
>>>>>
>>>>>
>>>>> Can anyone give me some advice?
>>>>>
>>>>>
>>>>>
>>>>> This guide has several command changes due to newer versions of
>>>>> some commands.
>>>>>
>>>>>
>>>>>
>>>>> Regards,
>>>>>
>>>>>
>>>>>
>>>>> Michael
>>>>>
>>>>> _______________________________________________
>>>>> Mailing list:
>>>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>>>> Post to     : openstack at lists.openstack.org
>>>>> Unsubscribe :
>>>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>>>>
>>>>>
>>>
>>>
>>>
>>> --
>>> Eugen Block                             voice   : +49-40-559 51 75
>>> NDE Netzdesign und -entwicklung AG      fax     : +49-40-559 51 77
>>> Postfach 61 03 15
>>> D-22423 Hamburg                         e-mail  : eblock at nde.ag
>>>
>>>          Vorsitzende des Aufsichtsrates: Angelika Mozdzen
>>>            Sitz und Registergericht: Hamburg, HRB 90934
>>>                    Vorstand: Jens-U. Mozdzen
>>>                     USt-IdNr. DE 814 013 983
>>
>>
>>
>> --
>> Eugen Block                             voice   : +49-40-559 51 75
>> NDE Netzdesign und -entwicklung AG      fax     : +49-40-559 51 77
>> Postfach 61 03 15
>> D-22423 Hamburg                         e-mail  : eblock at nde.ag
>>
>>          Vorsitzende des Aufsichtsrates: Angelika Mozdzen
>>            Sitz und Registergericht: Hamburg, HRB 90934
>>                    Vorstand: Jens-U. Mozdzen
>>                     USt-IdNr. DE 814 013 983
>
>
>
> --
> Eugen Block                             voice   : +49-40-559 51 75
> NDE Netzdesign und -entwicklung AG      fax     : +49-40-559 51 77
> Postfach 61 03 15
> D-22423 Hamburg                         e-mail  : eblock at nde.ag
>
>          Vorsitzende des Aufsichtsrates: Angelika Mozdzen
>            Sitz und Registergericht: Hamburg, HRB 90934
>                    Vorstand: Jens-U. Mozdzen
>                     USt-IdNr. DE 814 013 983



-- 
Eugen Block                             voice   : +49-40-559 51 75
NDE Netzdesign und -entwicklung AG      fax     : +49-40-559 51 77
Postfach 61 03 15
D-22423 Hamburg                         e-mail  : eblock at nde.ag

         Vorsitzende des Aufsichtsrates: Angelika Mozdzen
           Sitz und Registergericht: Hamburg, HRB 90934
                   Vorstand: Jens-U. Mozdzen
                    USt-IdNr. DE 814 013 983





More information about the Openstack mailing list