← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1411847] Re: block device mapping transformation doesn't handle "image" source

 

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

** Changed in: nova
    Milestone: None => kilo-2

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

Title:
  block device mapping transformation doesn't handle "image" source

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  I hit this while implementing volume snapshots for the NFS Cinder
  driver.  I booted an instance from an image with the destination as a
  volume.

  nova boot --block-device id=fc19829e-5f65-4e9c-
  acf3-0e898747506f,source=image,dest=volume,size=2,bootindex=0,shutdown=preserve
  ...

  Creating a volume snapshot for this case will run down
  _volume_refresh_connection_info in LibvirtDriver, which fails in
  DriverVolumeBlockDevice's _transform, which only allows 'volume' as a
  source type.

  It looks to me like this code should allow 'image' as a source, but
  I'm not an expert in this area in Nova...

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


References