Unable to remove availability zone from host aggregate

Bug #1644051 reported by yuanyuan zhang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Medium
dongjx

Bug Description

On the Admin tab,In the 'Edit Host Aggregate' dialog box, if I change the name of availability zone to blank for the aggregate.Then click 'submit' button. UI will shows 'Success:Success update host aggregate:ha-1". But if I open 'Edit Host Aggregate' dialog box again, the origin az name still shows there.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/402414

Changed in horizon:
assignee: nobody → Yakup (yakupa)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on horizon (master)

Change abandoned by Yakup Adaklı (<email address hidden>) on branch: master
Review: https://review.openstack.org/402414
Reason: I did not find solution for that. Api does not allow to set empty data to availability_zone.

Yakup Adakli (yakupa)
Changed in horizon:
assignee: Yakup Adakli (yakupa) → nobody
summary: - change the name of availability zone to blank for the aggregate thru
- horizon return 'update successfully' message, but actually update
- failed
+ Unable to remove availability zone from host aggregate
Changed in horizon:
status: In Progress → New
importance: Undecided → Medium
milestone: none → next
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/535697

Changed in horizon:
assignee: nobody → dongjx (dongjx)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/535697
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=7cb2355dffa32951cc9f283dd5dcb5ff1836190f
Submitter: Zuul
Branch: master

commit 7cb2355dffa32951cc9f283dd5dcb5ff1836190f
Author: Dongjx <email address hidden>
Date: Fri Jan 19 17:49:58 2018 +0800

    Add a warning to user: Unable to remove availability zone from host aggregate

    Because the nova API does not allow to set aggregates an empty
    availability_zone which has availability_zone at first.
    Add a warning to notice users to reduce confusion

    Change-Id: I5864c58751ec5f182f30feb302a95923948ad2ad
    Closes-Bug: #1644051

Changed in horizon:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (stable/queens)

Fix proposed to branch: stable/queens
Review: https://review.openstack.org/553033

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (stable/queens)

Reviewed: https://review.openstack.org/553033
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=1f6b915fda8d6960f618e4f80087789b5c8e2b60
Submitter: Zuul
Branch: stable/queens

commit 1f6b915fda8d6960f618e4f80087789b5c8e2b60
Author: Dongjx <email address hidden>
Date: Fri Jan 19 17:49:58 2018 +0800

    Add a warning to user: Unable to remove availability zone from host aggregate

    Because the nova API does not allow to set aggregates an empty
    availability_zone which has availability_zone at first.
    Add a warning to notice users to reduce confusion

    Change-Id: I5864c58751ec5f182f30feb302a95923948ad2ad
    Closes-Bug: #1644051
    (cherry picked from commit 7cb2355dffa32951cc9f283dd5dcb5ff1836190f)

tags: added: in-stable-queens
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/horizon 14.0.0.0b1

This issue was fixed in the openstack/horizon 14.0.0.0b1 development milestone.

Akihiro Motoki (amotoki)
Changed in horizon:
milestone: next → rocky-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/horizon 13.0.1

This issue was fixed in the openstack/horizon 13.0.1 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.