yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #74817
[Bug 1793694] [NEW] [Queens] evacuate fails if target is not selected
Public bug reported:
It looks like the issue fixed in bug 1652494 has been reintroduced here:
https://github.com/openstack/horizon/blob/stable/queens/openstack_dashboard/dashboards/admin/hypervisors/compute/forms.py#L49:L53
When "target host" is set to "Select a target host", Nova API logs show:
"""
body: {"evacuate": {"host": "", "onSharedStorage": true}}
Returning 400 to user: Invalid input for field/attribute host. Value: . u'' is too short
"""
When a target host is selected, Nova API logs show:
"""
body: {"evacuate": {"host": "target-hostnameXX", "onSharedStorage": false}}
"""
In the first case, the expectation is to have both host and
onSharedStorage set to False. The latter was never enabled, but it
looked so in the first test when it shouldn't.
Horizon is running on Ubuntu Xenial,
openstack-dashboard 3:13.0.1-0ubuntu1~cloud0
** Affects: horizon
Importance: Undecided
Status: New
** Tags: canonical-bootstack
--
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/1793694
Title:
[Queens] evacuate fails if target is not selected
Status in OpenStack Dashboard (Horizon):
New
Bug description:
It looks like the issue fixed in bug 1652494 has been reintroduced here:
https://github.com/openstack/horizon/blob/stable/queens/openstack_dashboard/dashboards/admin/hypervisors/compute/forms.py#L49:L53
When "target host" is set to "Select a target host", Nova API logs show:
"""
body: {"evacuate": {"host": "", "onSharedStorage": true}}
Returning 400 to user: Invalid input for field/attribute host. Value: . u'' is too short
"""
When a target host is selected, Nova API logs show:
"""
body: {"evacuate": {"host": "target-hostnameXX", "onSharedStorage": false}}
"""
In the first case, the expectation is to have both host and
onSharedStorage set to False. The latter was never enabled, but it
looked so in the first test when it shouldn't.
Horizon is running on Ubuntu Xenial,
openstack-dashboard 3:13.0.1-0ubuntu1~cloud0
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1793694/+subscriptions
Follow ups