** Changed in: nova
       Status: In Progress => Fix Committed

** Changed in: nova
       Status: Fix Committed => Fix Released

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

Title:
  VMware: Error when snapshotting ISO instance with 0GB root disk

Status in OpenStack Compute (Nova):
  Fix Released
Status in OpenStack Compute (nova) icehouse series:
  Fix Released

Bug description:
  When using the VC Driver, snapshotting an instance that was boot with
  an ISO and has no root disk will cause the following error (full trace
  below):

      AttributeError: 'NoneType' object has no attribute 'split'

  Scenario is as follows:

      1. Boot an instance using an ISO. Make sure the flavor specifies a 0GB 
root disk size
      2. Snapshot the instance

  Full traceback:

  Traceback (most recent call last):
    File "/opt/stack/oslo.messaging/oslo/messaging/rpc/dispatcher.py", line 
133, in _dispatch_and_reply
      incoming.message))
    File "/opt/stack/oslo.messaging/oslo/messaging/rpc/dispatcher.py", line 
176, in _dispatch
      return self._do_dispatch(endpoint, method, ctxt, args)
    File "/opt/stack/oslo.messaging/oslo/messaging/rpc/dispatcher.py", line 
122, in _do_dispatch
      result = getattr(endpoint, method)(ctxt, **new_args)
    File "/opt/stack/nova/nova/exception.py", line 88, in wrapped
      payload)
    File "/opt/stack/nova/nova/openstack/common/excutils.py", line 68, in 
__exit__
      six.reraise(self.type_, self.value, self.tb)
    File "/opt/stack/nova/nova/exception.py", line 71, in wrapped
      return f(self, context, *args, **kw)
    File "/opt/stack/nova/nova/compute/manager.py", line 280, in 
decorated_function
      pass
    File "/opt/stack/nova/nova/openstack/common/excutils.py", line 68, in 
__exit__
      six.reraise(self.type_, self.value, self.tb)
    File "/opt/stack/nova/nova/compute/manager.py", line 266, in 
decorated_function
      return function(self, context, *args, **kwargs)
    File "/opt/stack/nova/nova/compute/manager.py", line 309, in 
decorated_function
      e, sys.exc_info())
    File "/opt/stack/nova/nova/openstack/common/excutils.py", line 68, in 
__exit__
      six.reraise(self.type_, self.value, self.tb)
    File "/opt/stack/nova/nova/compute/manager.py", line 296, in 
decorated_function
      return function(self, context, *args, **kwargs)
    File "/opt/stack/nova/nova/compute/manager.py", line 359, in 
decorated_function
      % image_id, instance=instance)
    File "/opt/stack/nova/nova/openstack/common/excutils.py", line 68, in 
__exit__
      six.reraise(self.type_, self.value, self.tb)
    File "/opt/stack/nova/nova/compute/manager.py", line 349, in 
decorated_functionot)[0]
    File "/opt/stack/nova/nova/virt/vmwareapi/ds_util.py", line 38, in 
split_datastore_path
      spl = datastore_path.split('[', 1)[1].split(']', 1)
  AttributeError: 'NoneType' object has no attribute 'split'

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to