When editing host aggregation, if the available domain is deleted, two prompts will appear, one success message and one failure message

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

Bug Description

When editing host aggregation, if the available domain is deleted, two prompts will appear, one success message and one failure message

Changed in horizon:
assignee: nobody → pengyuesheng (pengyuesheng)
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/649542

Changed in horizon:
status: New → In Progress
Changed in horizon:
assignee: pengyuesheng (pengyuesheng) → Akihiro Motoki (amotoki)
Akihiro Motoki (amotoki)
Changed in horizon:
importance: Undecided → Medium
Changed in horizon:
assignee: Akihiro Motoki (amotoki) → pengyuesheng (pengyuesheng)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.opendev.org/649542
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=a040c02a911ab3e880575761736258e5afce190d
Submitter: Zuul
Branch: master

commit a040c02a911ab3e880575761736258e5afce190d
Author: pengyuesheng <email address hidden>
Date: Wed Apr 3 16:48:15 2019 +0800

    Do not call handle() when AZ is required

    On "Edit Host Aggregation" form under Host Aggregates panel,
    if the availability zone is cleared, both the error message and
    the success message will appear.

    In the aggregate API, nova does not allow to clear AZ once
    it is set. This commit moves the check for availability_zone field
    to the form definition. handle() method is now never called for
    such case and the error message will be shown around the field.

    Co-Authored-By: Akihiro Motoki <email address hidden>
    Change-Id: I74e03a47cee6915e9c24c6cf5c3264bf8b0e39b8
    Closes-Bug: #1822971

Changed in horizon:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/horizon 16.0.0.0b1

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

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.