← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1487950] [NEW] VMware: nova complained about snapshot not ready when creating VM from the snapshot

 

Public bug reported:

Rally received 400 when creating a VM from the snapshot created earlier from an instance.
Rally scenario snapshot_server will wait till the snapshot becomes READY which is odd to receive such kind of error.

Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/rally/benchmark/runners/base.py", line 77, in _run_scenario_once
    method_name)(**kwargs) or scenario_output
  File "/usr/local/lib/python2.7/dist-packages/rally/benchmark/scenarios/nova/servers.py", line 267, in snapshot_servers
    **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/rally/benchmark/scenarios/base.py", line 254, in func_atomic_actions
    f = func(self, *args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/rally/benchmark/scenarios/nova/utils.py", line 515, in _boot_servers_with_images
    **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/novaclient/v1_1/servers.py", line 902, in create
    **boot_kwargs)
  File "/usr/local/lib/python2.7/dist-packages/novaclient/v1_1/servers.py", line 554, in _boot
    return_raw=return_raw, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/novaclient/base.py", line 100, in _create
    _resp, body = self.api.client.post(url, body=body)
  File "/usr/local/lib/python2.7/dist-packages/novaclient/client.py", line 490, in post
    return self._cs_request(url, 'POST', **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/novaclient/client.py", line 465, in _cs_request
    resp, body = self._time_request(url, method, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/novaclient/client.py", line 439, in _time_request
    resp, body = self.request(url, method, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/novaclient/client.py", line 433, in request
    raise exceptions.from_response(resp, body, url, method)
BadRequest: Image 6c450a07-2e61-4720-9560-ed1b6a5c438f is not active. (HTTP 400) (Request-ID: req-ec100533-0365-4816-84fa-298f8e5b8671)

** Affects: nova
     Importance: Undecided
     Assignee: Zhongcheng Lao (zlao)
         Status: In Progress


** Tags: vmware

** Changed in: nova
     Assignee: (unassigned) => Zhongcheng Lao (zlao)

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

Title:
  VMware: nova complained about snapshot not ready when creating VM from
  the snapshot

Status in OpenStack Compute (nova):
  In Progress

Bug description:
  Rally received 400 when creating a VM from the snapshot created earlier from an instance.
  Rally scenario snapshot_server will wait till the snapshot becomes READY which is odd to receive such kind of error.

  Traceback (most recent call last):
    File "/usr/local/lib/python2.7/dist-packages/rally/benchmark/runners/base.py", line 77, in _run_scenario_once
      method_name)(**kwargs) or scenario_output
    File "/usr/local/lib/python2.7/dist-packages/rally/benchmark/scenarios/nova/servers.py", line 267, in snapshot_servers
      **kwargs)
    File "/usr/local/lib/python2.7/dist-packages/rally/benchmark/scenarios/base.py", line 254, in func_atomic_actions
      f = func(self, *args, **kwargs)
    File "/usr/local/lib/python2.7/dist-packages/rally/benchmark/scenarios/nova/utils.py", line 515, in _boot_servers_with_images
      **kwargs)
    File "/usr/local/lib/python2.7/dist-packages/novaclient/v1_1/servers.py", line 902, in create
      **boot_kwargs)
    File "/usr/local/lib/python2.7/dist-packages/novaclient/v1_1/servers.py", line 554, in _boot
      return_raw=return_raw, **kwargs)
    File "/usr/local/lib/python2.7/dist-packages/novaclient/base.py", line 100, in _create
      _resp, body = self.api.client.post(url, body=body)
    File "/usr/local/lib/python2.7/dist-packages/novaclient/client.py", line 490, in post
      return self._cs_request(url, 'POST', **kwargs)
    File "/usr/local/lib/python2.7/dist-packages/novaclient/client.py", line 465, in _cs_request
      resp, body = self._time_request(url, method, **kwargs)
    File "/usr/local/lib/python2.7/dist-packages/novaclient/client.py", line 439, in _time_request
      resp, body = self.request(url, method, **kwargs)
    File "/usr/local/lib/python2.7/dist-packages/novaclient/client.py", line 433, in request
      raise exceptions.from_response(resp, body, url, method)
  BadRequest: Image 6c450a07-2e61-4720-9560-ed1b6a5c438f is not active. (HTTP 400) (Request-ID: req-ec100533-0365-4816-84fa-298f8e5b8671)

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