No mechanism to update clients in Freezer API

Bug #1592308 reported by Domhnall Walsh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Backup/Restore and DR (Freezer)
In Progress
Low
Partha Bera

Bug Description

There is no way within the Freezer API to update a client's information after it's been POSTed other than to delete it and create it again.

There is no HTTP PUT/POST/PATCH support for this, despite the fact that the Readme alludes to that possibility.

Changed in freezer:
assignee: nobody → Domhnall Walsh (domhnall-walsh)
Changed in freezer:
assignee: Domhnall Walsh (domhnall-walsh) → nobody
Changed in freezer:
status: New → Triaged
importance: Undecided → Low
Partha Bera (partha.b)
Changed in freezer:
assignee: nobody → Partha Bera (partha.b)
Revision history for this message
Partha Bera (partha.b) wrote :

We need to define client_patch_schema (like job_patch_schema, action_patch_schema etc.) in json_schemas module. Any suggestion on that?

Revision history for this message
Partha Bera (partha.b) wrote :

Waiting on Bug #1650163 to be fixed first.

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

Reviewed: https://review.openstack.org/411668
Committed: https://git.openstack.org/cgit/openstack/freezer-api/commit/?id=2847a4c97d686283bb63cd4f21c2f588562313c5
Submitter: Jenkins
Branch: master

commit 2847a4c97d686283bb63cd4f21c2f588562313c5
Author: Partha Bera <email address hidden>
Date: Fri Dec 16 06:56:04 2016 -0500

    No schema validation for client doc in Freezer API

    This patch has added the necessary helper class
    in the existing mechanism to validate client doc.

    Change-Id: I9d2ade12b9306936fe32cbe7fba3adfcf4e367b6
    Closes-Bug: #1650163
    Partial-Bug: #1592308

suzhengwei (suzhengwei)
description: updated
suzhengwei (suzhengwei)
description: updated
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.