← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1341038] Re: volume creation should provide some validation before 'Error' status

 

Image data:
Size: 1.9GB
Minimum disk size: 300 GB

When we try to create new volume which size is lower than minimum disk
size it shows error as shown in the attachment image. Described issue
seems out-dated.

** Attachment added: "volume_min_disk_size.png"
   https://bugs.launchpad.net/horizon/+bug/1341038/+attachment/4294635/+files/volume_min_disk_size.png

** Changed in: horizon
       Status: Confirmed => Invalid

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

Title:
  volume creation should provide some validation before 'Error' status

Status in OpenStack Dashboard (Horizon):
  Invalid

Bug description:
  Since Cinder doesn't return any error messages for Create Volume,
  Horizon just shows the blue "info" message (Info: Creating volume
  <volume name>).  The volume may fall into Error state.

  Scenario:
  1. Go to 'Create Volume' form
  2. For 'Volume Source', select an image
  3. You will notice 'Size' field is automatically populated
  4. Change 'Size' field to something smaller
  5. Press 'Create'
  6. It will show blue tooltip, then fail without any explanation

  To understand the issue, you need check into volume.log to get
  something like: ' ImageUnacceptable: CN-2B1EAC4 Image
  725d646b-c030-4c1c-a843-66565a01d571 is unacceptable: CN-07AA282 Size
  is 20GB and doesn't fit in a volume of size 7GB.'

  If Horizon could provide some preliminary checks that would be better
  (e.g like what we do elsewhere)

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


References