ERROR: AttributeError: 'VirtualDiskFlatVer2BackingInfo' object has no attribute 'uuid'
search cancel

ERROR: AttributeError: 'VirtualDiskFlatVer2BackingInfo' object has no attribute 'uuid'

book

Article ID: 405097

calendar_today

Updated On:

Products

VMware Integrated OpenStack

Issue/Introduction

  • Trying to delete an instance, but the following error message appears:
    ...:\nAttributeError: \'VirtualDiskFlatVer2BackingInfo\' object has no attribute \'uuid\'\n'}
  • Instance goes into an error state
  • Nova compute log shows an error similar to below:
    2025-01-1 12:56:40.588 1 ERROR nova.virt.vmwareapi.driver [<Request ID> ################################ ################################ - default default] [instance: <Instance UUID>] Failed to detach None. Exception: 'VirtualDiskFlatVer2BackingInfo' object has no attribute 'uuid'
  • Volume was already deleted

Environment

7.x

Cause

Inconsistent Volume State where the Cinder database may have a different record of the volume's status than the Nova database.

Resolution

Contact Broadcom Support for guidance.

Please provide the following with the service request:

  • capture a log bundle and the results of the following commands.
    # openstack server show <instance UUID>


    Note:  There should be an entry in the volumes_attached of that result. 

  • Take the UUID from volumes_attached and run the following:
    #openstack volume show <volume UUID>

  • The cinder and nova databases may also be needed.  Please capture those as well:

Note: The database names would be nova and then cinder.

#osctl exec -it mariadb-server-0 bash 

#mysqldump --defaults-file=/etc/mysql/admin_user.cnf --host=localhost  <database> > /tmp/<database>.sql 

#exit 

#osctl cp openstack/mariadb-server-0:/tmp/<database>.sql /tmp/<database>.sql