← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1325866] [NEW] Datastore in a Cluster-Datastore fails to enter maintenance mode if instance has a CD-Rom attached to it

 

Public bug reported:

I have a Cluster-Datastore which has two datastores in it. One of the
datastore had a instance which has an iso image attached to it. I tried
putting the Datastore to maintenance mode. It failed with the reason
being "Storage DRS is unable to move virtual machines with mounted CD-
ROM drives or with snapshots having mounted CD-ROM drives". I tried
manual migration of the virtual machine. After doing this i see that all
the files of the virtual machine were migrated other than the iso image.
Also,  the datastore never went to maintenance mode after this.

Since configdrive.iso is used by cloud-init for customization which
happens only on first boot, the driver should detach the configdrive.iso
after the required customization is done.

** Affects: nova
     Importance: Undecided
         Status: New


** Tags: vmware

** Attachment added: "Attached Images: 1. Datastore-1 has an image configdrive.iso 2.  Error which is shown when i try to do a Enter Maintenance Mode for Datastore-1. 3. Used Manual Resolve option and continued with migration. 4. Instance's file other than configdrive.iso was migrated. 5. The task of Entering Datastore into maintenance mode never completes."
   https://bugs.launchpad.net/bugs/1325866/+attachment/4124572/+files/Images.zip

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

Title:
  Datastore in a Cluster-Datastore fails to enter maintenance mode if
  instance has a CD-Rom attached to it

Status in OpenStack Compute (Nova):
  New

Bug description:
  I have a Cluster-Datastore which has two datastores in it. One of the
  datastore had a instance which has an iso image attached to it. I
  tried putting the Datastore to maintenance mode. It failed with the
  reason being "Storage DRS is unable to move virtual machines with
  mounted CD-ROM drives or with snapshots having mounted CD-ROM drives".
  I tried manual migration of the virtual machine. After doing this i
  see that all the files of the virtual machine were migrated other than
  the iso image. Also,  the datastore never went to maintenance mode
  after this.

  Since configdrive.iso is used by cloud-init for customization which
  happens only on first boot, the driver should detach the
  configdrive.iso after the required customization is done.

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


Follow ups

References