← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1856147] [NEW] Unexpected API Error when create server

 

Public bug reported:

Description
===========
when i tried to create server user openstack client, error reported.

Steps to reproduce
==================
* create image
* create flavor
* create network and subnet
* create server

command:

openstack --debug server create --image 75067e32-3812-4c4c-
a8c2-0a1338790a93 --flavor 7cbe3e6a-85d9-4a31-a78c-6fba32a94e45
--network 54e62c88-1345-4f31-aed7-5f602d690f7f xy-test

Expected result
===============
create a server

Actual result
=============
ClientException: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<class 'keystoneauth1.exceptions.http.Unauthorized'> (HTTP 500) (Request-ID: req-2a1cff4a-b7ee-4a3b-b02f-76adfe96dd80)

Environment
===========
1. version:
openstack-rocky

openstack-nova-scheduler-18.2.3-1.el7.noarch
openstack-nova-api-18.2.3-1.el7.noarch
openstack-nova-console-18.2.3-1.el7.noarch
openstack-nova-conductor-18.2.3-1.el7.noarch
python2-novaclient-11.0.1-1.el7.noarch
python-nova-18.2.3-1.el7.noarch
openstack-nova-novncproxy-18.2.3-1.el7.noarch
openstack-nova-common-18.2.3-1.el7.noarch
openstack-nova-compute-18.2.3-1.el7.noarch
openstack-nova-placement-api-18.2.3-1.el7.noarch

2. Which hypervisor did you use?
  libvirt + KVM

2. Which storage type did you use?
   LVM
lvm2-2.02.185-2.el7_7.2.x86_64
llvm-private-7.0.1-1.el7.x86_64
lvm2-libs-2.02.185-2.el7_7.2.x86_64

3. Which networking type did you use?
   neutron

Logs & Configs
==============
boot_args: [u'xy-test', <RequestIdProxy at 0x7fbf0f00dcb0 for image at 0x7fbf0f003740>, <Flavor: xy-flavor>]
boot_kwargs: {'files': {}, 'userdata': None, 'key_name': None, 'availability_zone': None, 'nics': [{'port-id': '', 'net-id': u'54e62c88-1345-4f31-aed7-5f602d690f7f', 'v4-fixed-ip': '', 'v6-fixed-ip': ''}], 'max_count': 1, 'meta': None, 'block_device_mapping_v2': [], 'min_count': 1, 'scheduler_hints': {}, 'reservation_id': None, 'security_groups': [], 'config_drive': None}
REQ: curl -g -i -X POST http://controller:8774/v2.1/servers -H "Accept: application/json" -H "Content-Type: application/json" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA1}40ac1edceb6b28070c6a1fd58355a35dffe3e41a" -d '{"server": {"name": "xy-test", "imageRef": "75067e32-3812-4c4c-a8c2-0a1338790a93", "flavorRef": "7cbe3e6a-85d9-4a31-a78c-6fba32a94e45", "max_count": 1, "min_count": 1, "networks": [{"uuid": "54e62c88-1345-4f31-aed7-5f602d690f7f"}]}}'
http://controller:8774 "POST /v2.1/servers HTTP/1.1" 500 216
RESP: [500] Connection: keep-alive Content-Length: 216 Content-Type: application/json; charset=UTF-8 Date: Thu, 12 Dec 2019 08:13:12 GMT Openstack-Api-Version: compute 2.1 Vary: OpenStack-API-Version, X-OpenStack-Nova-API-Version X-Compute-Request-Id: req-10cb460c-d4eb-43ed-b327-d7af88151d70 X-Openstack-Nova-Api-Version: 2.1 X-Openstack-Request-Id: req-10cb460c-d4eb-43ed-b327-d7af88151d70
RESP BODY: {"computeFault": {"message": "Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.\n<class 'keystoneauth1.exceptions.http.Unauthorized'>", "code": 500}}
POST call to compute for http://controller:8774/v2.1/servers used request id req-10cb460c-d4eb-43ed-b327-d7af88151d70
Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<class 'keystoneauth1.exceptions.http.Unauthorized'> (HTTP 500) (Request-ID: req-10cb460c-d4eb-43ed-b327-d7af88151d70)
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/cliff/app.py", line 402, in run_subcommand
    result = cmd.run(parsed_args)
  File "/usr/lib/python2.7/site-packages/osc_lib/command/command.py", line 41, in run
    return super(Command, self).run(parsed_args)
  File "/usr/lib/python2.7/site-packages/cliff/display.py", line 116, in run
    column_names, data = self.take_action(parsed_args)
  File "/usr/lib/python2.7/site-packages/openstackclient/compute/v2/server.py", line 917, in take_action
    server = compute_client.servers.create(*boot_args, **boot_kwargs)
  File "/usr/lib/python2.7/site-packages/novaclient/v2/servers.py", line 1327, in create
    return self._boot(response_key, *boot_args, **boot_kwargs)
  File "/usr/lib/python2.7/site-packages/novaclient/v2/servers.py", line 776, in _boot
    return_raw=return_raw, **kwargs)
  File "/usr/lib/python2.7/site-packages/novaclient/base.py", line 366, in _create
    resp, body = self.api.client.post(url, body=body)
  File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 334, in post
    return self.request(url, 'POST', **kwargs)
  File "/usr/lib/python2.7/site-packages/novaclient/client.py", line 83, in request
    raise exceptions.from_response(resp, body, url, method)
ClientException: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<class 'keystoneauth1.exceptions.http.Unauthorized'> (HTTP 500) (Request-ID: req-10cb460c-d4eb-43ed-b327-d7af88151d70)
clean_up CreateServer: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<class 'keystoneauth1.exceptions.http.Unauthorized'> (HTTP 500) (Request-ID: req-10cb460c-d4eb-43ed-b327-d7af88151d70)
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/osc_lib/shell.py", line 135, in run
    ret_val = super(OpenStackShell, self).run(argv)
  File "/usr/lib/python2.7/site-packages/cliff/app.py", line 281, in run
    result = self.run_subcommand(remainder)
  File "/usr/lib/python2.7/site-packages/osc_lib/shell.py", line 175, in run_subcommand
    ret_value = super(OpenStackShell, self).run_subcommand(argv)
  File "/usr/lib/python2.7/site-packages/cliff/app.py", line 402, in run_subcommand
    result = cmd.run(parsed_args)
  File "/usr/lib/python2.7/site-packages/osc_lib/command/command.py", line 41, in run
    return super(Command, self).run(parsed_args)
  File "/usr/lib/python2.7/site-packages/cliff/display.py", line 116, in run
    column_names, data = self.take_action(parsed_args)
  File "/usr/lib/python2.7/site-packages/openstackclient/compute/v2/server.py", line 917, in take_action
    server = compute_client.servers.create(*boot_args, **boot_kwargs)
  File "/usr/lib/python2.7/site-packages/novaclient/v2/servers.py", line 1327, in create
    return self._boot(response_key, *boot_args, **boot_kwargs)
  File "/usr/lib/python2.7/site-packages/novaclient/v2/servers.py", line 776, in _boot
    return_raw=return_raw, **kwargs)
  File "/usr/lib/python2.7/site-packages/novaclient/base.py", line 366, in _create
    resp, body = self.api.client.post(url, body=body)
  File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 334, in post
    return self.request(url, 'POST', **kwargs)
  File "/usr/lib/python2.7/site-packages/novaclient/client.py", line 83, in request
    raise exceptions.from_response(resp, body, url, method)
ClientException: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<class 'keystoneauth1.exceptions.http.Unauthorized'> (HTTP 500) (Request-ID: req-10cb460c-d4eb-43ed-b327-d7af88151d70)

END return value: 1

** Affects: nova
     Importance: Undecided
         Status: New

** Attachment added: "sosreport-all-in-one-2019-12-12-zguhxso.tar.xz"
   https://bugs.launchpad.net/bugs/1856147/+attachment/5311916/+files/sosreport-all-in-one-2019-12-12-zguhxso.tar.xz

** Description changed:

  Description
  ===========
  when i tried to create server user openstack client, error reported.
  
  Steps to reproduce
  ==================
  * create image
  * create flavor
  * create network and subnet
  * create server
  
  command:
  
  openstack --debug server create --image 75067e32-3812-4c4c-
  a8c2-0a1338790a93 --flavor 7cbe3e6a-85d9-4a31-a78c-6fba32a94e45
  --network 54e62c88-1345-4f31-aed7-5f602d690f7f xy-test
  
  Expected result
  ===============
  create a server
  
  Actual result
  =============
  ClientException: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
  <class 'keystoneauth1.exceptions.http.Unauthorized'> (HTTP 500) (Request-ID: req-2a1cff4a-b7ee-4a3b-b02f-76adfe96dd80)
  
  Environment
  ===========
  1. version:
+ openstack-rocky
+ 
  openstack-nova-scheduler-18.2.3-1.el7.noarch
  openstack-nova-api-18.2.3-1.el7.noarch
  openstack-nova-console-18.2.3-1.el7.noarch
  openstack-nova-conductor-18.2.3-1.el7.noarch
  python2-novaclient-11.0.1-1.el7.noarch
  python-nova-18.2.3-1.el7.noarch
  openstack-nova-novncproxy-18.2.3-1.el7.noarch
  openstack-nova-common-18.2.3-1.el7.noarch
  openstack-nova-compute-18.2.3-1.el7.noarch
  openstack-nova-placement-api-18.2.3-1.el7.noarch
  
  2. Which hypervisor did you use?
-   libvirt + KVM
+   libvirt + KVM
  
  2. Which storage type did you use?
-    LVM
+    LVM
  lvm2-2.02.185-2.el7_7.2.x86_64
  llvm-private-7.0.1-1.el7.x86_64
  lvm2-libs-2.02.185-2.el7_7.2.x86_64
  
  3. Which networking type did you use?
-    neutron
+    neutron
  
  Logs & Configs
  ==============
- The tool *sosreport* has support for some OpenStack projects.
- It's worth having a look at it. For example, if you want to collect
- the logs of a compute node you would execute:
+ boot_args: [u'xy-test', <RequestIdProxy at 0x7fbf0f00dcb0 for image at 0x7fbf0f003740>, <Flavor: xy-flavor>]
+ boot_kwargs: {'files': {}, 'userdata': None, 'key_name': None, 'availability_zone': None, 'nics': [{'port-id': '', 'net-id': u'54e62c88-1345-4f31-aed7-5f602d690f7f', 'v4-fixed-ip': '', 'v6-fixed-ip': ''}], 'max_count': 1, 'meta': None, 'block_device_mapping_v2': [], 'min_count': 1, 'scheduler_hints': {}, 'reservation_id': None, 'security_groups': [], 'config_drive': None}
+ REQ: curl -g -i -X POST http://controller:8774/v2.1/servers -H "Accept: application/json" -H "Content-Type: application/json" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA1}40ac1edceb6b28070c6a1fd58355a35dffe3e41a" -d '{"server": {"name": "xy-test", "imageRef": "75067e32-3812-4c4c-a8c2-0a1338790a93", "flavorRef": "7cbe3e6a-85d9-4a31-a78c-6fba32a94e45", "max_count": 1, "min_count": 1, "networks": [{"uuid": "54e62c88-1345-4f31-aed7-5f602d690f7f"}]}}'
+ http://controller:8774 "POST /v2.1/servers HTTP/1.1" 500 216
+ RESP: [500] Connection: keep-alive Content-Length: 216 Content-Type: application/json; charset=UTF-8 Date: Thu, 12 Dec 2019 08:13:12 GMT Openstack-Api-Version: compute 2.1 Vary: OpenStack-API-Version, X-OpenStack-Nova-API-Version X-Compute-Request-Id: req-10cb460c-d4eb-43ed-b327-d7af88151d70 X-Openstack-Nova-Api-Version: 2.1 X-Openstack-Request-Id: req-10cb460c-d4eb-43ed-b327-d7af88151d70
+ RESP BODY: {"computeFault": {"message": "Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.\n<class 'keystoneauth1.exceptions.http.Unauthorized'>", "code": 500}}
+ POST call to compute for http://controller:8774/v2.1/servers used request id req-10cb460c-d4eb-43ed-b327-d7af88151d70
+ Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
+ <class 'keystoneauth1.exceptions.http.Unauthorized'> (HTTP 500) (Request-ID: req-10cb460c-d4eb-43ed-b327-d7af88151d70)
+ Traceback (most recent call last):
+   File "/usr/lib/python2.7/site-packages/cliff/app.py", line 402, in run_subcommand
+     result = cmd.run(parsed_args)
+   File "/usr/lib/python2.7/site-packages/osc_lib/command/command.py", line 41, in run
+     return super(Command, self).run(parsed_args)
+   File "/usr/lib/python2.7/site-packages/cliff/display.py", line 116, in run
+     column_names, data = self.take_action(parsed_args)
+   File "/usr/lib/python2.7/site-packages/openstackclient/compute/v2/server.py", line 917, in take_action
+     server = compute_client.servers.create(*boot_args, **boot_kwargs)
+   File "/usr/lib/python2.7/site-packages/novaclient/v2/servers.py", line 1327, in create
+     return self._boot(response_key, *boot_args, **boot_kwargs)
+   File "/usr/lib/python2.7/site-packages/novaclient/v2/servers.py", line 776, in _boot
+     return_raw=return_raw, **kwargs)
+   File "/usr/lib/python2.7/site-packages/novaclient/base.py", line 366, in _create
+     resp, body = self.api.client.post(url, body=body)
+   File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 334, in post
+     return self.request(url, 'POST', **kwargs)
+   File "/usr/lib/python2.7/site-packages/novaclient/client.py", line 83, in request
+     raise exceptions.from_response(resp, body, url, method)
+ ClientException: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
+ <class 'keystoneauth1.exceptions.http.Unauthorized'> (HTTP 500) (Request-ID: req-10cb460c-d4eb-43ed-b327-d7af88151d70)
+ clean_up CreateServer: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
+ <class 'keystoneauth1.exceptions.http.Unauthorized'> (HTTP 500) (Request-ID: req-10cb460c-d4eb-43ed-b327-d7af88151d70)
+ Traceback (most recent call last):
+   File "/usr/lib/python2.7/site-packages/osc_lib/shell.py", line 135, in run
+     ret_val = super(OpenStackShell, self).run(argv)
+   File "/usr/lib/python2.7/site-packages/cliff/app.py", line 281, in run
+     result = self.run_subcommand(remainder)
+   File "/usr/lib/python2.7/site-packages/osc_lib/shell.py", line 175, in run_subcommand
+     ret_value = super(OpenStackShell, self).run_subcommand(argv)
+   File "/usr/lib/python2.7/site-packages/cliff/app.py", line 402, in run_subcommand
+     result = cmd.run(parsed_args)
+   File "/usr/lib/python2.7/site-packages/osc_lib/command/command.py", line 41, in run
+     return super(Command, self).run(parsed_args)
+   File "/usr/lib/python2.7/site-packages/cliff/display.py", line 116, in run
+     column_names, data = self.take_action(parsed_args)
+   File "/usr/lib/python2.7/site-packages/openstackclient/compute/v2/server.py", line 917, in take_action
+     server = compute_client.servers.create(*boot_args, **boot_kwargs)
+   File "/usr/lib/python2.7/site-packages/novaclient/v2/servers.py", line 1327, in create
+     return self._boot(response_key, *boot_args, **boot_kwargs)
+   File "/usr/lib/python2.7/site-packages/novaclient/v2/servers.py", line 776, in _boot
+     return_raw=return_raw, **kwargs)
+   File "/usr/lib/python2.7/site-packages/novaclient/base.py", line 366, in _create
+     resp, body = self.api.client.post(url, body=body)
+   File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 334, in post
+     return self.request(url, 'POST', **kwargs)
+   File "/usr/lib/python2.7/site-packages/novaclient/client.py", line 83, in request
+     raise exceptions.from_response(resp, body, url, method)
+ ClientException: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
+ <class 'keystoneauth1.exceptions.http.Unauthorized'> (HTTP 500) (Request-ID: req-10cb460c-d4eb-43ed-b327-d7af88151d70)
  
-    $ sudo sosreport -o openstack_nova --batch
- 
- on that compute node. Attach the logs to this bug report. Please
- consider that these logs need to be collected in "DEBUG" mode.
+ END return value: 1

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

Title:
  Unexpected API Error when create server

Status in OpenStack Compute (nova):
  New

Bug description:
  Description
  ===========
  when i tried to create server user openstack client, error reported.

  Steps to reproduce
  ==================
  * create image
  * create flavor
  * create network and subnet
  * create server

  command:

  openstack --debug server create --image 75067e32-3812-4c4c-
  a8c2-0a1338790a93 --flavor 7cbe3e6a-85d9-4a31-a78c-6fba32a94e45
  --network 54e62c88-1345-4f31-aed7-5f602d690f7f xy-test

  Expected result
  ===============
  create a server

  Actual result
  =============
  ClientException: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
  <class 'keystoneauth1.exceptions.http.Unauthorized'> (HTTP 500) (Request-ID: req-2a1cff4a-b7ee-4a3b-b02f-76adfe96dd80)

  Environment
  ===========
  1. version:
  openstack-rocky

  openstack-nova-scheduler-18.2.3-1.el7.noarch
  openstack-nova-api-18.2.3-1.el7.noarch
  openstack-nova-console-18.2.3-1.el7.noarch
  openstack-nova-conductor-18.2.3-1.el7.noarch
  python2-novaclient-11.0.1-1.el7.noarch
  python-nova-18.2.3-1.el7.noarch
  openstack-nova-novncproxy-18.2.3-1.el7.noarch
  openstack-nova-common-18.2.3-1.el7.noarch
  openstack-nova-compute-18.2.3-1.el7.noarch
  openstack-nova-placement-api-18.2.3-1.el7.noarch

  2. Which hypervisor did you use?
    libvirt + KVM

  2. Which storage type did you use?
     LVM
  lvm2-2.02.185-2.el7_7.2.x86_64
  llvm-private-7.0.1-1.el7.x86_64
  lvm2-libs-2.02.185-2.el7_7.2.x86_64

  3. Which networking type did you use?
     neutron

  Logs & Configs
  ==============
  boot_args: [u'xy-test', <RequestIdProxy at 0x7fbf0f00dcb0 for image at 0x7fbf0f003740>, <Flavor: xy-flavor>]
  boot_kwargs: {'files': {}, 'userdata': None, 'key_name': None, 'availability_zone': None, 'nics': [{'port-id': '', 'net-id': u'54e62c88-1345-4f31-aed7-5f602d690f7f', 'v4-fixed-ip': '', 'v6-fixed-ip': ''}], 'max_count': 1, 'meta': None, 'block_device_mapping_v2': [], 'min_count': 1, 'scheduler_hints': {}, 'reservation_id': None, 'security_groups': [], 'config_drive': None}
  REQ: curl -g -i -X POST http://controller:8774/v2.1/servers -H "Accept: application/json" -H "Content-Type: application/json" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA1}40ac1edceb6b28070c6a1fd58355a35dffe3e41a" -d '{"server": {"name": "xy-test", "imageRef": "75067e32-3812-4c4c-a8c2-0a1338790a93", "flavorRef": "7cbe3e6a-85d9-4a31-a78c-6fba32a94e45", "max_count": 1, "min_count": 1, "networks": [{"uuid": "54e62c88-1345-4f31-aed7-5f602d690f7f"}]}}'
  http://controller:8774 "POST /v2.1/servers HTTP/1.1" 500 216
  RESP: [500] Connection: keep-alive Content-Length: 216 Content-Type: application/json; charset=UTF-8 Date: Thu, 12 Dec 2019 08:13:12 GMT Openstack-Api-Version: compute 2.1 Vary: OpenStack-API-Version, X-OpenStack-Nova-API-Version X-Compute-Request-Id: req-10cb460c-d4eb-43ed-b327-d7af88151d70 X-Openstack-Nova-Api-Version: 2.1 X-Openstack-Request-Id: req-10cb460c-d4eb-43ed-b327-d7af88151d70
  RESP BODY: {"computeFault": {"message": "Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.\n<class 'keystoneauth1.exceptions.http.Unauthorized'>", "code": 500}}
  POST call to compute for http://controller:8774/v2.1/servers used request id req-10cb460c-d4eb-43ed-b327-d7af88151d70
  Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
  <class 'keystoneauth1.exceptions.http.Unauthorized'> (HTTP 500) (Request-ID: req-10cb460c-d4eb-43ed-b327-d7af88151d70)
  Traceback (most recent call last):
    File "/usr/lib/python2.7/site-packages/cliff/app.py", line 402, in run_subcommand
      result = cmd.run(parsed_args)
    File "/usr/lib/python2.7/site-packages/osc_lib/command/command.py", line 41, in run
      return super(Command, self).run(parsed_args)
    File "/usr/lib/python2.7/site-packages/cliff/display.py", line 116, in run
      column_names, data = self.take_action(parsed_args)
    File "/usr/lib/python2.7/site-packages/openstackclient/compute/v2/server.py", line 917, in take_action
      server = compute_client.servers.create(*boot_args, **boot_kwargs)
    File "/usr/lib/python2.7/site-packages/novaclient/v2/servers.py", line 1327, in create
      return self._boot(response_key, *boot_args, **boot_kwargs)
    File "/usr/lib/python2.7/site-packages/novaclient/v2/servers.py", line 776, in _boot
      return_raw=return_raw, **kwargs)
    File "/usr/lib/python2.7/site-packages/novaclient/base.py", line 366, in _create
      resp, body = self.api.client.post(url, body=body)
    File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 334, in post
      return self.request(url, 'POST', **kwargs)
    File "/usr/lib/python2.7/site-packages/novaclient/client.py", line 83, in request
      raise exceptions.from_response(resp, body, url, method)
  ClientException: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
  <class 'keystoneauth1.exceptions.http.Unauthorized'> (HTTP 500) (Request-ID: req-10cb460c-d4eb-43ed-b327-d7af88151d70)
  clean_up CreateServer: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
  <class 'keystoneauth1.exceptions.http.Unauthorized'> (HTTP 500) (Request-ID: req-10cb460c-d4eb-43ed-b327-d7af88151d70)
  Traceback (most recent call last):
    File "/usr/lib/python2.7/site-packages/osc_lib/shell.py", line 135, in run
      ret_val = super(OpenStackShell, self).run(argv)
    File "/usr/lib/python2.7/site-packages/cliff/app.py", line 281, in run
      result = self.run_subcommand(remainder)
    File "/usr/lib/python2.7/site-packages/osc_lib/shell.py", line 175, in run_subcommand
      ret_value = super(OpenStackShell, self).run_subcommand(argv)
    File "/usr/lib/python2.7/site-packages/cliff/app.py", line 402, in run_subcommand
      result = cmd.run(parsed_args)
    File "/usr/lib/python2.7/site-packages/osc_lib/command/command.py", line 41, in run
      return super(Command, self).run(parsed_args)
    File "/usr/lib/python2.7/site-packages/cliff/display.py", line 116, in run
      column_names, data = self.take_action(parsed_args)
    File "/usr/lib/python2.7/site-packages/openstackclient/compute/v2/server.py", line 917, in take_action
      server = compute_client.servers.create(*boot_args, **boot_kwargs)
    File "/usr/lib/python2.7/site-packages/novaclient/v2/servers.py", line 1327, in create
      return self._boot(response_key, *boot_args, **boot_kwargs)
    File "/usr/lib/python2.7/site-packages/novaclient/v2/servers.py", line 776, in _boot
      return_raw=return_raw, **kwargs)
    File "/usr/lib/python2.7/site-packages/novaclient/base.py", line 366, in _create
      resp, body = self.api.client.post(url, body=body)
    File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 334, in post
      return self.request(url, 'POST', **kwargs)
    File "/usr/lib/python2.7/site-packages/novaclient/client.py", line 83, in request
      raise exceptions.from_response(resp, body, url, method)
  ClientException: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
  <class 'keystoneauth1.exceptions.http.Unauthorized'> (HTTP 500) (Request-ID: req-10cb460c-d4eb-43ed-b327-d7af88151d70)

  END return value: 1

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


Follow ups