← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1583181] [NEW] Unable to create instance from volume

 

Public bug reported:

Scenario: OpenStack Liberty on Ubuntu 14.04.

Unable to create instance from volume.
I'm using the same flavor used to create the original instance from image.

Horizon reports:
Volume is smaller than the minimum size specified in image metadata.
Volume size is 1073741824 bytes, minimum size is 3221225472 bytes.

Steps to reproduce the issue:

1. Upload image
   name=myImg
   source=Image Location
   location=https://cloud-images.ubuntu.com/trusty/current/trusty-server-cloudimg-amd64-disk1.img
   format=QCOW2
   architecture=AMD64
   minimumDisk=3 GB
   minimumRAM=1024 MB
   copyData=True

2. Create flavor
   name=myFlv
   vCPUs=1
   RAM=1024 MB
   RootDisk=5 GB
   Ephemeral Disk=0 GB
   Swap Disk=0 MB

3. Create instance
   name=inst1
   flavor=myFlv
   instanceCount=1
   instanceBootSource=Boot from image (creates new volume)
   image=myImg
   deviceSize=5 GB
>> creates volume 753a90bd-889e-4fe1-9083-ace513402f97

4. Terminate instance inst1

5. Create instance
   name=inst2
   flavor=myFlv
   instanceCount=1
   instanceBootSource=Boot from volume
   volume=753a90bd-889e-4fe1-9083-ace513402f97

>> Throws Error 1:
Volume is smaller than the minimum size specified in image metadata.
Volume size is 1073741824 bytes, minimum size is 3221225472 bytes.
(HTTP 400) (Request-ID: req-8e65f375-06e8-4b24-a714-052febd891c1)

>> Throws Error 2:
Error: Unable to launch instance named "test".

** Affects: horizon
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1583181

Title:
  Unable to create instance from volume

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  Scenario: OpenStack Liberty on Ubuntu 14.04.

  Unable to create instance from volume.
  I'm using the same flavor used to create the original instance from image.

  Horizon reports:
  Volume is smaller than the minimum size specified in image metadata.
  Volume size is 1073741824 bytes, minimum size is 3221225472 bytes.

  Steps to reproduce the issue:

  1. Upload image
     name=myImg
     source=Image Location
     location=https://cloud-images.ubuntu.com/trusty/current/trusty-server-cloudimg-amd64-disk1.img
     format=QCOW2
     architecture=AMD64
     minimumDisk=3 GB
     minimumRAM=1024 MB
     copyData=True

  2. Create flavor
     name=myFlv
     vCPUs=1
     RAM=1024 MB
     RootDisk=5 GB
     Ephemeral Disk=0 GB
     Swap Disk=0 MB

  3. Create instance
     name=inst1
     flavor=myFlv
     instanceCount=1
     instanceBootSource=Boot from image (creates new volume)
     image=myImg
     deviceSize=5 GB
  >> creates volume 753a90bd-889e-4fe1-9083-ace513402f97

  4. Terminate instance inst1

  5. Create instance
     name=inst2
     flavor=myFlv
     instanceCount=1
     instanceBootSource=Boot from volume
     volume=753a90bd-889e-4fe1-9083-ace513402f97

  >> Throws Error 1:
  Volume is smaller than the minimum size specified in image metadata.
  Volume size is 1073741824 bytes, minimum size is 3221225472 bytes.
  (HTTP 400) (Request-ID: req-8e65f375-06e8-4b24-a714-052febd891c1)

  >> Throws Error 2:
  Error: Unable to launch instance named "test".

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