← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1337769] [NEW] Failure when creating a volume from an existing image and using it to boot an instance.

 

Public bug reported:

Running CLI as below to create a volume from an existing image and using
it to boot an instance.

nova --debug boot --flavor m1.medium --block-device
source=image,id=8c7ae799-a61c-4015-86af-
ca8544691399,dest=volume,size=40,shutdown=remove,bootindex=0 --nic net-
id=861b4e6b-126d-4302-a2b2-58fd0bb72f03 my-testvm

This will fail now and then depends on the images size.


API trace from operation:

REQ: curl -i http://cic-pub-
api:38774/v2/ae132c7a5c0f49efa126c133039b28ab/os-volumes_boot -X POST -H
"X-Auth-Project-Id: ericsson" -H "User-Agent: python-novaclient" -H
"Content-Type: application/json" -H "Accept: application/json" -H "X
-Auth-Token: bcce2c7f828743859d9cf1134085a422" -d '{"server": {"name":
"for-anton", "imageRef": "", "block_device_mapping_v2": [{"boot_index":
"0", "uuid": "8c7ae799-a61c-4015-86af-ca8544691399", "volume_size":
"40", "source_type": "image", "destination_type": "volume",
"delete_on_termination": true}], "flavorRef": "3", "max_count": 1,
"min_count": 1, "networks": [{"uuid": "861b4e6b-
126d-4302-a2b2-58fd0bb72f03"}]}}'

** Affects: nova
     Importance: High
     Assignee: Liyi Meng (liyi-meng)
         Status: New

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

** Changed in: nova
     Assignee: (unassigned) => Liyi Meng (liyi-meng)

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

Title:
  Failure when creating a volume from an existing image and using it to
  boot an instance.

Status in OpenStack Compute (Nova):
  New

Bug description:
  Running CLI as below to create a volume from an existing image and
  using it to boot an instance.

  nova --debug boot --flavor m1.medium --block-device
  source=image,id=8c7ae799-a61c-4015-86af-
  ca8544691399,dest=volume,size=40,shutdown=remove,bootindex=0 --nic
  net-id=861b4e6b-126d-4302-a2b2-58fd0bb72f03 my-testvm

  This will fail now and then depends on the images size.

  
  API trace from operation:

  REQ: curl -i http://cic-pub-
  api:38774/v2/ae132c7a5c0f49efa126c133039b28ab/os-volumes_boot -X POST
  -H "X-Auth-Project-Id: ericsson" -H "User-Agent: python-novaclient" -H
  "Content-Type: application/json" -H "Accept: application/json" -H "X
  -Auth-Token: bcce2c7f828743859d9cf1134085a422" -d '{"server": {"name":
  "for-anton", "imageRef": "", "block_device_mapping_v2":
  [{"boot_index": "0", "uuid": "8c7ae799-a61c-4015-86af-ca8544691399",
  "volume_size": "40", "source_type": "image", "destination_type":
  "volume", "delete_on_termination": true}], "flavorRef": "3",
  "max_count": 1, "min_count": 1, "networks": [{"uuid": "861b4e6b-
  126d-4302-a2b2-58fd0bb72f03"}]}}'

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


Follow ups

References