← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1135155] Re: Disk size of flavor does not take effect during deployment for Hyper-V

 

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

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

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

Title:
  Disk size of flavor does not take effect during deployment for Hyper-V

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  Env:
  OpenStack grizzly build + Hyper-V 

  Step:
  1. select a image 'VM_HUPERV-1G' whose default disk size is 1G
  [root@a ~]# nova image-list
  +--------------------------------------+-----------------+--------+--------+
  | ID                                   | Name            | Status | Server |
  +--------------------------------------+-----------------+--------+--------+
  | cd9daf46-4993-41e4-9763-252affd3c939 | VM_HUPERV-1G    | ACTIVE |        |
  | 79bec37a-8ced-4f89-b866-a86b8f7b4f4a | VM_HUPERV-Image | ACTIVE |        |
  +--------------------------------------+-----------------+--------+--------+
  2. select a flavor 2 whose disk size is 20.
  [root@Godwin-Grizzly ~]# nova flavor-list
  +--------------------------------------+----------------+-----------+------+-----------+------+-------+-------------+-----------+-------------+
  | ID                                   | Name           | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor | Is_Public | extra_specs |
  +--------------------------------------+----------------+-----------+------+-----------+------+-------+-------------+-----------+-------------+
  | 1                                    | m1.tiny        | 512       | 0    | 0         |      | 1     | 1.0         | True      | {}          |
  | 2                                    | m1.small       | 2048      | 20   | 0         |      | 1     | 1.0         | True      | {}          |
  | 3                                    | m1.medium      | 4096      | 40   | 0         |      | 2     | 1.0         | True      | {}          |
  | 4                                    | m1.large       | 8192      | 80   | 0         |      | 4     | 1.0         | True      | {}          |
  | 5                                    | m1.xlarge      | 16384     | 160  | 0         |      | 8     | 1.0         | True      | {}          |
  +--------------------------------------+----------------+-----------+------+-----------+------+-------+-------------+-----------+-------------+
  3. Make a deployment by cli "nova --image cd9daf46-4993-41e4-9763-252affd3c939 --flavor 2 zj0228-2"
  4. Wait for the deployment completed and instance state change to 'Active'
  5. Check the disk size of the instance in Hyper-V server. it's 1024MB.

  ISSUE:
  Disk size of flavor does not take effect during deployment for Hyper-V
  in step 5, the actual disk size should be 20G, not 1G since the flavor's disk size is 20G

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