--edit-managed is an option for every command

Bug #1928411 reported by Michael Chapman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-designateclient
Fix Released
Undecided
Unassigned

Bug Description

--edit-managed sets a header that allows the command to modify a managed record such as SOA or NS if the auth token has sufficient authority. It is only applicable to a very small number of commands, such as "openstack record set", but is listed as an option for every command in the client.

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

Reviewed: https://review.opendev.org/c/openstack/python-designateclient/+/791354
Committed: https://opendev.org/openstack/python-designateclient/commit/94e7e97e50b0622cb27a20c3aead22e6e25ac5ad
Submitter: "Zuul (22348)"
Branch: master

commit 94e7e97e50b0622cb27a20c3aead22e6e25ac5ad
Author: Michael Chapman <email address hidden>
Date: Fri May 14 13:47:05 2021 +1000

    Remove edit-managed from unsupported commands

    --edit-managed sets a header x-designate-edit-managed-records
    that indicates the current request wishes to modify managed records
    such as the SOA or NS record created for a zone. This is only used
    by the recordset update and delete API methods so can be removed
    elsewhere.

    Closes-Bug: 1928411

    Change-Id: I18bfdae045c8b5e589075865eb024cee4852d8f9

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

This issue was fixed in the openstack/python-designateclient 4.5.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-designateclient (stable/xena)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-designateclient (stable/wallaby)

Fix proposed to branch: stable/wallaby
Review: https://review.opendev.org/c/openstack/python-designateclient/+/845036

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-designateclient (stable/wallaby)

Reviewed: https://review.opendev.org/c/openstack/python-designateclient/+/845036
Committed: https://opendev.org/openstack/python-designateclient/commit/dd0ac7e9d3358f502df82bed1b111f0a529e8f54
Submitter: "Zuul (22348)"
Branch: stable/wallaby

commit dd0ac7e9d3358f502df82bed1b111f0a529e8f54
Author: Michael Chapman <email address hidden>
Date: Fri May 14 13:47:05 2021 +1000

    Remove edit-managed from unsupported commands

    --edit-managed sets a header x-designate-edit-managed-records
    that indicates the current request wishes to modify managed records
    such as the SOA or NS record created for a zone. This is only used
    by the recordset update and delete API methods so can be removed
    elsewhere.

    Closes-Bug: 1928411

    Change-Id: I18bfdae045c8b5e589075865eb024cee4852d8f9
    (cherry picked from commit 94e7e97e50b0622cb27a20c3aead22e6e25ac5ad)

tags: added: in-stable-wallaby
tags: added: in-stable-xena
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-designateclient (stable/xena)

Reviewed: https://review.opendev.org/c/openstack/python-designateclient/+/845035
Committed: https://opendev.org/openstack/python-designateclient/commit/be1b1fda8a9f5060653fe4d30e28993a60dfefc6
Submitter: "Zuul (22348)"
Branch: stable/xena

commit be1b1fda8a9f5060653fe4d30e28993a60dfefc6
Author: Michael Chapman <email address hidden>
Date: Fri May 14 13:47:05 2021 +1000

    Remove edit-managed from unsupported commands

    --edit-managed sets a header x-designate-edit-managed-records
    that indicates the current request wishes to modify managed records
    such as the SOA or NS record created for a zone. This is only used
    by the recordset update and delete API methods so can be removed
    elsewhere.

    Closes-Bug: 1928411

    Change-Id: I18bfdae045c8b5e589075865eb024cee4852d8f9
    (cherry picked from commit 94e7e97e50b0622cb27a20c3aead22e6e25ac5ad)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-designateclient 4.3.1

This issue was fixed in the openstack/python-designateclient 4.3.1 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-designateclient 4.2.1

This issue was fixed in the openstack/python-designateclient 4.2.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.