yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #09424
[Bug 1277570] [NEW] Extend action is only possible when volume is available
Public bug reported:
If I go to the volume panel and try to "Extend" a volume that is
currently of status "in-use", the action fails. I can see the following
error in the logs:
Recoverable error: Invalid volume: Volume status must be available to
extend. (HTTP 400) (Request-ID: req-
cfe1bad2-44d9-4351-bd31-aa05ee02ba23)
However we allow the action even if it's either 'available' or 'in-use'.
Based on the error message I would expect Horizon to only show the
button when the status is 'available'.
https://github.com/openstack/horizon/blob/master/openstack_dashboard/dashboards/project/volumes/tables.py#L102
** Affects: horizon
Importance: Medium
Status: New
** Tags: low-hanging-fruit
--
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/1277570
Title:
Extend action is only possible when volume is available
Status in OpenStack Dashboard (Horizon):
New
Bug description:
If I go to the volume panel and try to "Extend" a volume that is
currently of status "in-use", the action fails. I can see the
following error in the logs:
Recoverable error: Invalid volume: Volume status must be available to
extend. (HTTP 400) (Request-ID: req-
cfe1bad2-44d9-4351-bd31-aa05ee02ba23)
However we allow the action even if it's either 'available' or 'in-
use'. Based on the error message I would expect Horizon to only show
the button when the status is 'available'.
https://github.com/openstack/horizon/blob/master/openstack_dashboard/dashboards/project/volumes/tables.py#L102
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1277570/+subscriptions
Follow ups
References