yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #16498
[Bug 1329929] Re: Cannot 'resize' while instance is in task_state resize_migrating
I think it's right, nova does not allow resizing when vm task_state is
in resize_migrating.
** Changed in: nova
Status: New => Invalid
--
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/1329929
Title:
Cannot 'resize' while instance is in task_state resize_migrating
Status in OpenStack Compute (Nova):
Invalid
Bug description:
http://logs.openstack.org/00/97500/4/check/check-tempest-dsvm-
postgres-full/3376b43/
2014-06-13 14:12:58.805 | tempest.api.compute.servers.test_disk_config.ServerDiskConfigTestXML.test_resize_server_from_manual_to_auto[gate]
2014-06-13 14:12:58.805 | -----------------------------------------------------------------------------------------------------------------
2014-06-13 14:12:58.806 |
2014-06-13 14:12:58.806 | Captured traceback:
2014-06-13 14:12:58.806 | ~~~~~~~~~~~~~~~~~~~
2014-06-13 14:12:58.806 | Traceback (most recent call last):
2014-06-13 14:12:58.806 | File "tempest/api/compute/servers/test_disk_config.py", line 96, in test_resize_server_from_manual_to_auto
2014-06-13 14:12:58.806 | self.client.resize(self.server_id, flavor_id, disk_config='AUTO')
2014-06-13 14:12:58.806 | File "tempest/services/compute/xml/servers_client.py", line 508, in resize
2014-06-13 14:12:58.806 | return self.action(server_id, 'resize', None, **kwargs)
2014-06-13 14:12:58.806 | File "tempest/services/compute/xml/servers_client.py", line 439, in action
2014-06-13 14:12:58.806 | resp, body = self.post("servers/%s/action" % server_id, str(doc))
2014-06-13 14:12:58.807 | File "tempest/common/rest_client.py", line 209, in post
2014-06-13 14:12:58.807 | return self.request('POST', url, extra_headers, headers, body)
2014-06-13 14:12:58.807 | File "tempest/common/rest_client.py", line 419, in request
2014-06-13 14:12:58.807 | resp, resp_body)
2014-06-13 14:12:58.807 | File "tempest/common/rest_client.py", line 473, in _error_checker
2014-06-13 14:12:58.807 | raise exceptions.Conflict(resp_body)
2014-06-13 14:12:58.807 | Conflict: An object with that identifier already exists
2014-06-13 14:12:58.807 | Details: {'message': "Cannot 'resize' while instance is in task_state resize_migrating", 'code': '409'}
2014-06-13 14:12:58.807 |
2014-06-13 14:12:58.807 |
2014-06-13 14:12:58.808 | Captured pythonlogging:
2014-06-13 14:12:58.808 | ~~~~~~~~~~~~~~~~~~~~~~~
2014-06-13 14:12:58.808 | 2014-06-13 13:43:01,084 Request (ServerDiskConfigTestXML:test_resize_server_from_manual_to_auto): 200 GET http://127.0.0.1:8774/v2/76d9e5601274471ca2f91e4de5489f55/servers/28fe0236-95fe-4716-9e38-8d54eaf74e14 0.081s
2014-06-13 14:12:58.808 | 2014-06-13 13:43:01,178 Request (ServerDiskConfigTestXML:test_resize_server_from_manual_to_auto): 200 GET http://127.0.0.1:8774/v2/76d9e5601274471ca2f91e4de5489f55/servers/28fe0236-95fe-4716-9e38-8d54eaf74e14 0.091s
2014-06-13 14:12:58.808 | 2014-06-13 13:43:01,232 Request (ServerDiskConfigTestXML:test_resize_server_from_manual_to_auto): 409 POST http://127.0.0.1:8774/v2/76d9e5601274471ca2f91e4de5489f55/servers/28fe0236-95fe-4716-9e38-8d54eaf74e14/action 0.052s
2014-06-13 14:12:58.808 |
2014-06-13 14:12:58.808 |
2014-06-13 14:12:58.808 | tempest.api.compute.servers.test_disk_config.ServerDiskConfigTestXML.test_update_server_from_auto_to_manual[gate]
2014-06-13 14:12:58.808 | -----------------------------------------------------------------------------------------------------------------
2014-06-13 14:12:58.808 |
2014-06-13 14:12:58.808 | Captured traceback:
2014-06-13 14:12:58.808 | ~~~~~~~~~~~~~~~~~~~
2014-06-13 14:12:58.809 | Traceback (most recent call last):
2014-06-13 14:12:58.809 | File "tempest/api/compute/servers/test_disk_config.py", line 124, in test_update_server_from_auto_to_manual
2014-06-13 14:12:58.809 | self._update_server_with_disk_config(disk_config='AUTO')
2014-06-13 14:12:58.809 | File "tempest/api/compute/servers/test_disk_config.py", line 43, in _update_server_with_disk_config
2014-06-13 14:12:58.809 | self.client.wait_for_server_status(server['id'], 'ACTIVE')
2014-06-13 14:12:58.809 | File "tempest/services/compute/xml/servers_client.py", line 388, in wait_for_server_status
2014-06-13 14:12:58.809 | raise_on_error=raise_on_error)
2014-06-13 14:12:58.809 | File "tempest/common/waiters.py", line 106, in wait_for_server_status
2014-06-13 14:12:58.809 | _console_dump(client, server_id)
2014-06-13 14:12:58.809 | File "tempest/common/waiters.py", line 27, in _console_dump
2014-06-13 14:12:58.809 | resp, output = client.get_console_output(server_id, None)
2014-06-13 14:12:58.810 | File "tempest/services/compute/xml/servers_client.py", line 596, in get_console_output
2014-06-13 14:12:58.810 | length=length)
2014-06-13 14:12:58.810 | File "tempest/services/compute/xml/servers_client.py", line 439, in action
2014-06-13 14:12:58.810 | resp, body = self.post("servers/%s/action" % server_id, str(doc))
2014-06-13 14:12:58.810 | File "tempest/common/rest_client.py", line 209, in post
2014-06-13 14:12:58.810 | return self.request('POST', url, extra_headers, headers, body)
2014-06-13 14:12:58.810 | File "tempest/common/rest_client.py", line 419, in request
2014-06-13 14:12:58.810 | resp, resp_body)
2014-06-13 14:12:58.810 | File "tempest/common/rest_client.py", line 468, in _error_checker
2014-06-13 14:12:58.810 | raise exceptions.BadRequest(resp_body)
2014-06-13 14:12:58.810 | BadRequest: Bad request
2014-06-13 14:12:58.810 | Details: {'message': 'The server could not comply with the request since it is either malformed or otherwise incorrect.', 'code': '400'}
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1329929/+subscriptions
References