← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1724039] [NEW] ocata: potential AttributeError on libvirt.VIR_DOMAIN_BLOCK_REBASE_COPY_DEV

 

Public bug reported:

We merged this backport in stable/ocata which went into the 15.0.6 and
15.0.7 releases:

https://review.openstack.org/#/c/471353/

But later realized (when reviewing the stable/newton proposed backport)
that the VIR_DOMAIN_BLOCK_REBASE_COPY_DEV flag is only available to
libvirt starting in 1.2.9.

We only started requiring libvirt >= 1.2.9 starting in the pike release,
and in ocata we require libvirt >= 1.2.1.

So anyone with libvirt < 1.2.9 that picks up this change in ocata and is
doing a swap volume operation with a block volume could hit an
AttributeError.

https://libvirt.org/git/?p=libvirt.git;a=blob;f=docs/news-2014.html.in

https://libvirt.org/git/?p=libvirt.git;a=commit;h=b7e73585a8d96677695a52bafb156f26cbd48fb5

** Affects: nova
     Importance: Undecided
         Status: Invalid

** Affects: nova/ocata
     Importance: Medium
         Status: Triaged


** Tags: libvirt volumes

** Also affects: nova/ocata
   Importance: Undecided
       Status: New

** Changed in: nova/ocata
       Status: New => Triaged

** Changed in: nova
       Status: Triaged => Invalid

** Changed in: nova/ocata
   Importance: Undecided => Medium

** Changed in: nova
   Importance: Medium => Undecided

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

Title:
  ocata: potential AttributeError on
  libvirt.VIR_DOMAIN_BLOCK_REBASE_COPY_DEV

Status in OpenStack Compute (nova):
  Invalid
Status in OpenStack Compute (nova) ocata series:
  Triaged

Bug description:
  We merged this backport in stable/ocata which went into the 15.0.6 and
  15.0.7 releases:

  https://review.openstack.org/#/c/471353/

  But later realized (when reviewing the stable/newton proposed
  backport) that the VIR_DOMAIN_BLOCK_REBASE_COPY_DEV flag is only
  available to libvirt starting in 1.2.9.

  We only started requiring libvirt >= 1.2.9 starting in the pike
  release, and in ocata we require libvirt >= 1.2.1.

  So anyone with libvirt < 1.2.9 that picks up this change in ocata and
  is doing a swap volume operation with a block volume could hit an
  AttributeError.

  https://libvirt.org/git/?p=libvirt.git;a=blob;f=docs/news-2014.html.in

  https://libvirt.org/git/?p=libvirt.git;a=commit;h=b7e73585a8d96677695a52bafb156f26cbd48fb5

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