← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1219658] Re: Wrong image size using rbd backend for libvirt

 

This bug was fixed in the package nova - 1:2014.1.1-0ubuntu2

---------------
nova (1:2014.1.1-0ubuntu2) trusty; urgency=high

  * Cherry picked two fixes from upstream.
    - [2cebfd2] libvirt: convert cpu features attribute from list to a set (LP: #1267191)
    - [b86a0e5] Fixes rdb backend image size (LP: #1219658)
 -- Rafael David Tinoco <rafael.tinoco@xxxxxxxxxxxxx>   Wed, 25 Jun 2014 12:56:15 -0300

** Changed in: nova (Ubuntu Trusty)
       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/1219658

Title:
  Wrong image size using rbd backend for libvirt

Status in OpenStack Compute (nova) havana series:
  In Progress
Status in “nova” package in Ubuntu:
  Fix Released
Status in “nova” source package in Trusty:
  Fix Released

Bug description:
  [Impact]

   * The original fix for bug 1219658 introduced a factor of 1024 error
   in the resulting rbd image size. Big impact.

  [Test Case]

   * To have icehouse openstack using rbd image backend for libvirt:
   
  Images seem to be 1024 larger than expected.

  For example (comment #3):

  # rbd -p images info ae9d23f0-b5a0-4d92-a15d-b3f23d276c72_disk rbd image 'ae9d23f0-b5a0-4d92-a15d-b3f23d276c72_disk':
          size 20480 GB in 5242880 objects
          order 22 (4096 kB objects)
          block_name_prefix: rbd_data.1cac92ae8944a
          format: 2
          features: layering

  when the expect size should be 20 GB.

  [Regression Potential]

   * Fix is running in a big production without any problem.

   * RDB backend could stop working (keeping the bug will eventualy cause
     an outage for those who use rdb backend)

  [Other Info]

  For rbd image backend for libvirt, the root partition will use the
  image size not 'disk' size. It lack of resize root volume in the
  codes.

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