← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1101137] Re: flavor disk size failed to take effect using LVM image backend

 

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

** Changed in: nova
    Milestone: None => grizzly-3

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

Title:
  flavor disk size failed to take effect using LVM image backend

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  Steps to reproduce
  --
  1. Use LVM as image backend
  2.  Create instance with image size smaller than disk size in flavor type.

  Say image of 1 gigabyte and flavor of 20 disk size of gigabytes
  +------------------+--------------------------------------+
  | Property         | Value                                |
  +------------------+--------------------------------------+
  | checksum         | 1e80200d2b277f018791804ef4711a71     |
  | container_format | bare                                 |
  | created_at       | 2012-12-03T12:08:47                  |
  | deleted          | False                                |
  | disk_format      | raw                                  |
  | id               | 0377b740-492c-484a-9f6e-46a998e1c116 |
  | is_public        | True                                 |
  | min_disk         | 0                                    |
  | min_ram          | 0                                    |
  | name             | centos-6u3-template              |
  | owner            | 1f920603ce804814bcd7f734ce358d5b     |
  | protected        | False                                |
  | size             | 1073741824                           |
  | status           | active                               |
  | updated_at       | 2012-12-03T12:09:11                  |
  +------------------+--------------------------------------+

  +-----+-----------+-----------+------+-----------+------+-------+-------------+-----------+-------------+
  | ID  | Name      | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor | Is_Public | extra_specs |
  +-----+-----------+-----------+------+-----------+------+-------+-------------+-----------+-------------+
  | 2   | m1.small  | 2048      | 20   | 0         |      | 1     | 1.0         | True      | {}          |

  
  Expected result
  --
  20 gigabytes available for newly created instance

  Actual result
  --
  Filesystem could only recognize 1 gigabyte inside the instance.

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