yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #61438
[Bug 1663707] [NEW] Resize server to m1.xlarge gets unexpected API error.
Public bug reported:
stack@periodic02-cp1-vmf0001-mgmt:~$ openstack server show vm20170210171218
+--------------------------------------+------------------------------------------------------------+
| Field | Value |
+--------------------------------------+------------------------------------------------------------+
| OS-DCF:diskConfig | MANUAL |
| OS-EXT-AZ:availability_zone | nova |
| OS-EXT-SRV-ATTR:host | periodic02-cp1-comp0001-mgmt |
| OS-EXT-SRV-ATTR:hypervisor_hostname | periodic02-cp1-comp0001-mgmt |
| OS-EXT-SRV-ATTR:instance_name | instance-0000020b |
| OS-EXT-STS:power_state | 1 |
| OS-EXT-STS:task_state | None |
| OS-EXT-STS:vm_state | active |
| OS-SRV-USG:launched_at | 2017-02-10T17:37:48.000000 |
| OS-SRV-USG:terminated_at | None |
| accessIPv4 | |
| accessIPv6 | |
| addresses | periodic02net=192.168.20.8 |
| config_drive | |
| created | 2017-02-10T17:12:37Z |
| flavor | m1.small (2) |
| hostId | 5b42ba9a55f296dc1efad524598a39ecbcba24dd8e59d2fa0feb82a5 |
| id | 53614c13-38ce-46ea-9c43-d483066246e0 |
| image | cirros-0.3.4-x86_64 (9052a1f1-5637-4759-8657-987f96d4c425) |
| key_name | None |
| name | vm20170210171218 |
| os-extended-volumes:volumes_attached | [] |
| progress | 0 |
| project_id | c55a4d4091b643f5bb287305aabcd5f0 |
| properties | |
| security_groups | [{u'name': u'default'}] |
| status | ACTIVE |
| updated | 2017-02-10T17:38:08Z |
| user_id | 8087a4ad18774d0c941226698028dab8 |
+--------------------------------------+------------------------------------------------------------+
stack@periodic02-cp1-vmf0001-mgmt:~$ openstack server resize vm20170210171218 --flavor m1.xlarge
Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<type 'exceptions.KeyError'> (HTTP 500) (Request-ID: req-c66ec519-701a-4316-8469-d361435f50df)
Traceback (most recent call last):
File "/opt/stack/venv/openstackclient-20170209T211059Z/lib/python2.7/site-packages/openstackclient/shell.py", line 118, in run
ret_val = super(OpenStackShell, self).run(argv)
File "/opt/stack/venv/openstackclient-20170209T211059Z/lib/python2.7/site-packages/cliff/app.py", line 226, in run
result = self.run_subcommand(remainder)
File "/opt/stack/venv/openstackclient-20170209T211059Z/lib/python2.7/site-packages/openstackclient/shell.py", line 153, in run_subcommand
ret_value = super(OpenStackShell, self).run_subcommand(argv)
File "/opt/stack/venv/openstackclient-20170209T211059Z/lib/python2.7/site-packages/cliff/app.py", line 346, in run_subcommand
result = cmd.run(parsed_args)
File "/opt/stack/venv/openstackclient-20170209T211059Z/lib/python2.7/site-packages/openstackclient/common/command.py", line 38, in run
return super(Command, self).run(parsed_args)
File "/opt/stack/venv/openstackclient-20170209T211059Z/lib/python2.7/site-packages/cliff/command.py", line 55, in run
self.take_action(parsed_args)
File "/opt/stack/venv/openstackclient-20170209T211059Z/lib/python2.7/site-packages/openstackclient/compute/v2/server.py", line 1258, in take_action
compute_client.servers.resize(server, flavor)
File "/opt/stack/venv/openstackclient-20170209T211059Z/lib/python2.7/site-packages/novaclient/v2/servers.py", line 1396, in resize
return self._action('resize', server, info=info, **kwargs)
File "/opt/stack/venv/openstackclient-20170209T211059Z/lib/python2.7/site-packages/novaclient/v2/servers.py", line 1682, in _action
info=info, **kwargs)
File "/opt/stack/venv/openstackclient-20170209T211059Z/lib/python2.7/site-packages/novaclient/v2/servers.py", line 1693, in _action_return_resp_and_body
return self.api.client.post(url, body=body)
File "/opt/stack/venv/openstackclient-20170209T211059Z/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 179, in post
return self.request(url, 'POST', **kwargs)
File "/opt/stack/venv/openstackclient-20170209T211059Z/lib/python2.7/site-packages/novaclient/client.py", line 94, in request
raise exceptions.from_response(resp, body, url, method)
** 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/1663707
Title:
Resize server to m1.xlarge gets unexpected API error.
Status in OpenStack Compute (nova):
New
Bug description:
stack@periodic02-cp1-vmf0001-mgmt:~$ openstack server show vm20170210171218
+--------------------------------------+------------------------------------------------------------+
| Field | Value |
+--------------------------------------+------------------------------------------------------------+
| OS-DCF:diskConfig | MANUAL |
| OS-EXT-AZ:availability_zone | nova |
| OS-EXT-SRV-ATTR:host | periodic02-cp1-comp0001-mgmt |
| OS-EXT-SRV-ATTR:hypervisor_hostname | periodic02-cp1-comp0001-mgmt |
| OS-EXT-SRV-ATTR:instance_name | instance-0000020b |
| OS-EXT-STS:power_state | 1 |
| OS-EXT-STS:task_state | None |
| OS-EXT-STS:vm_state | active |
| OS-SRV-USG:launched_at | 2017-02-10T17:37:48.000000 |
| OS-SRV-USG:terminated_at | None |
| accessIPv4 | |
| accessIPv6 | |
| addresses | periodic02net=192.168.20.8 |
| config_drive | |
| created | 2017-02-10T17:12:37Z |
| flavor | m1.small (2) |
| hostId | 5b42ba9a55f296dc1efad524598a39ecbcba24dd8e59d2fa0feb82a5 |
| id | 53614c13-38ce-46ea-9c43-d483066246e0 |
| image | cirros-0.3.4-x86_64 (9052a1f1-5637-4759-8657-987f96d4c425) |
| key_name | None |
| name | vm20170210171218 |
| os-extended-volumes:volumes_attached | [] |
| progress | 0 |
| project_id | c55a4d4091b643f5bb287305aabcd5f0 |
| properties | |
| security_groups | [{u'name': u'default'}] |
| status | ACTIVE |
| updated | 2017-02-10T17:38:08Z |
| user_id | 8087a4ad18774d0c941226698028dab8 |
+--------------------------------------+------------------------------------------------------------+
stack@periodic02-cp1-vmf0001-mgmt:~$ openstack server resize vm20170210171218 --flavor m1.xlarge
Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<type 'exceptions.KeyError'> (HTTP 500) (Request-ID: req-c66ec519-701a-4316-8469-d361435f50df)
Traceback (most recent call last):
File "/opt/stack/venv/openstackclient-20170209T211059Z/lib/python2.7/site-packages/openstackclient/shell.py", line 118, in run
ret_val = super(OpenStackShell, self).run(argv)
File "/opt/stack/venv/openstackclient-20170209T211059Z/lib/python2.7/site-packages/cliff/app.py", line 226, in run
result = self.run_subcommand(remainder)
File "/opt/stack/venv/openstackclient-20170209T211059Z/lib/python2.7/site-packages/openstackclient/shell.py", line 153, in run_subcommand
ret_value = super(OpenStackShell, self).run_subcommand(argv)
File "/opt/stack/venv/openstackclient-20170209T211059Z/lib/python2.7/site-packages/cliff/app.py", line 346, in run_subcommand
result = cmd.run(parsed_args)
File "/opt/stack/venv/openstackclient-20170209T211059Z/lib/python2.7/site-packages/openstackclient/common/command.py", line 38, in run
return super(Command, self).run(parsed_args)
File "/opt/stack/venv/openstackclient-20170209T211059Z/lib/python2.7/site-packages/cliff/command.py", line 55, in run
self.take_action(parsed_args)
File "/opt/stack/venv/openstackclient-20170209T211059Z/lib/python2.7/site-packages/openstackclient/compute/v2/server.py", line 1258, in take_action
compute_client.servers.resize(server, flavor)
File "/opt/stack/venv/openstackclient-20170209T211059Z/lib/python2.7/site-packages/novaclient/v2/servers.py", line 1396, in resize
return self._action('resize', server, info=info, **kwargs)
File "/opt/stack/venv/openstackclient-20170209T211059Z/lib/python2.7/site-packages/novaclient/v2/servers.py", line 1682, in _action
info=info, **kwargs)
File "/opt/stack/venv/openstackclient-20170209T211059Z/lib/python2.7/site-packages/novaclient/v2/servers.py", line 1693, in _action_return_resp_and_body
return self.api.client.post(url, body=body)
File "/opt/stack/venv/openstackclient-20170209T211059Z/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 179, in post
return self.request(url, 'POST', **kwargs)
File "/opt/stack/venv/openstackclient-20170209T211059Z/lib/python2.7/site-packages/novaclient/client.py", line 94, in request
raise exceptions.from_response(resp, body, url, method)
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1663707/+subscriptions
Follow ups