Cannot PATCH quotas with api_export_size

Bug #1573141 reported by Paul Glass
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Designate
Fix Released
Undecided
Graham Hayes

Bug Description

If I fetch quotas for a tenant via the admin api, Designate will return the api_export_size.

But I cannot update the api_export_size quota:

    PATCH /admin/quotas/noauth-project HTTP/1.
    {
        "quota": {
            "zones": 99999999,
            "recordset_records": 99999999,
            "zone_records": 99999999,
            "zone_recordsets": 99999999,
            "api_export_size": 99999999
        }
    }

    {
      "message": "Provided object does not match schema",
      "code": 400,
      "type": "invalid_object",
      "errors": [
        {
          "path": "quota",
          "message": "Additional properties are not allowed (u'api_export_size' was unexpected)",
          "validator": "additionalProperties"
        }
      ],
      "request_id": "req-b0146a62-8a09-4de7-aa1c-7c58e41a386d"
    }

Changed in designate:
assignee: nobody → Graham Hayes (grahamhayes)
status: New → In Progress
Revision history for this message
Kiall Mac Innes (kiall) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to designate (master)

Reviewed: https://review.openstack.org/309108
Committed: https://git.openstack.org/cgit/openstack/designate/commit/?id=78bce13425b9d74ceae0486e6141df56e90ebffa
Submitter: Jenkins
Branch: master

commit 78bce13425b9d74ceae0486e6141df56e90ebffa
Author: Graham Hayes <email address hidden>
Date: Thu Apr 21 17:58:10 2016 +0100

    Allow api_export_size to be updated

    Closes-Bug: #1573141

    Change-Id: Ia35d42993391f26bce4bed71454311e6997d639b

Changed in designate:
status: In Progress → Fix Released
Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote : Fix included in openstack/designate 3.0.0.0b1

This issue was fixed in the openstack/designate 3.0.0.0b1 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to designate-tempest-plugin (master)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to designate-tempest-plugin (master)

Reviewed: https://review.opendev.org/c/openstack/designate-tempest-plugin/+/855819
Committed: https://opendev.org/openstack/designate-tempest-plugin/commit/db3be98cefc6c21e3d54a7dbf9bc486cf45d9587
Submitter: "Zuul (22348)"
Branch: master

commit db3be98cefc6c21e3d54a7dbf9bc486cf45d9587
Author: Takashi Kajinami <email address hidden>
Date: Sun Sep 4 22:38:14 2022 +0900

    Deprecate option for old api_export_size bug

    This change deprecates the option to workaround the old bug. The bug
    was fixed during Newton cycle and is fixed in all versions currently
    maintained.

    Related-Bug: #1573141
    Change-Id: I88ca5b481f7728da38f53c4e67710314e78da24d

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.