← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Public bug reported:

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)

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

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

Status in OpenStack Dashboard (Horizon):
  New

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


Follow ups

References