create_domain should handle status asynchronously

Bug #1403267 reported by Ron Rickard
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Designate
Fix Released
High
Ron Rickard

Bug Description

The create_domain method in Pool Manager should use update_status to change the status of the domain instead of handling the status itself.

Also look and see if delete_domain should be handle the same way.

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

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

Changed in designate:
assignee: nobody → Ron Rickard (rjrjr)
status: New → In Progress
Kiall Mac Innes (kiall)
Changed in designate:
milestone: none → kilo-2
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to designate (master)

Reviewed: https://review.openstack.org/145346
Committed: https://git.openstack.org/cgit/openstack/designate/commit/?id=90ca9302f6881aef86827f65417a6bde1dfe0ef2
Submitter: Jenkins
Branch: master

commit 90ca9302f6881aef86827f65417a6bde1dfe0ef2
Author: rjrjr <email address hidden>
Date: Tue Jan 6 14:18:24 2015 -0700

    Domain Creation Includes Zone Transfer For Proper Status

    When a domain is created, the success or failure of the zone transfer needs
    to be considered not just the backend domain creation.

    - No longer calls update_status from the create_domain or the
      _periodic_create_domains_that_failed methods.
    - Ensure zones that do not transfer are marked as ERROR.
    - Some refactoring to remove redundant code.

    Change-Id: Idcf6ccba184b1a356045d2f963200e0b1fdb279c
    Closes-Bug: 1403267
    Closes-Bug: 1404377

Changed in designate:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in designate:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in designate:
milestone: kilo-2 → 2015.1.0
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.