Host response is missing parent_id property

Bug #1662496 reported by Sulochan Acharya
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
craton
Fix Released
Critical
git-harry

Bug Description

"parent_id" property is missing in host GET. It is present in the schema for one half of the hosts schema but missing in host ID. parent_id is required to get parent/child relationship for devices.

Changed in craton:
importance: Undecided → Critical
importance: Critical → High
assignee: nobody → Sulochan Acharya (sulochan-acharya)
git-harry (git-harry)
Changed in craton:
assignee: Sulochan Acharya (sulochan-acharya) → git-harry (git-harry)
Revision history for this message
Sulochan Acharya (sulochan-acharya) wrote :

1. parent_id property is missing in response in schema.
2. Need to add "parent" links, most of the work for which is already done here, but needs to merge in: https://review.openstack.org/#/c/426229/

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

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

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

Reviewed: https://review.openstack.org/433231
Committed: https://git.openstack.org/cgit/openstack/craton/commit/?id=e87fb8d4c0769dfa451f2b33cc6cd4061366ddeb
Submitter: Jenkins
Branch: master

commit e87fb8d4c0769dfa451f2b33cc6cd4061366ddeb
Author: git-harry <email address hidden>
Date: Mon Feb 13 18:31:20 2017 +0000

    Add parent_id to host_id endpoint response

    This commit adds parent_id to the response filters for GET and PUT
    requests to /v1/hosts/<id>.

    Change-Id: Ied49925da3962cf3bb2e966a2e09d3c0fa4c77d5
    Partial-bug: 1662496

Ian Cordasco (icordasc)
Changed in craton:
milestone: none → v0.1.0
Ian Cordasco (icordasc)
Changed in craton:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to craton (master)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

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

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

Reviewed: https://review.openstack.org/434342
Committed: https://git.openstack.org/cgit/openstack/craton/commit/?id=0b2fb7cba2e9f09797b56f90b039740e7bc02263
Submitter: Jenkins
Branch: master

commit 0b2fb7cba2e9f09797b56f90b039740e7bc02263
Author: git-harry <email address hidden>
Date: Wed Feb 15 15:15:04 2017 +0000

    Enable device parent_id to be updated

    The PUT schemata for hosts and network devices are updated to allow the
    parent_id on a device to be modified after its creation. This change
    allows the parent_id to be either set to a new ID or removed from a
    device.

    Change-Id: Iec6b4b144eeba558892301be3bc6df13d1bc9352
    Partial-bug: 1662496

Revision history for this message
Thomas Maddox (thomas-maddox) wrote :

Is there any more to this, or can we set this to Fix Released?

Changed in craton:
status: Fix Committed → Fix Released
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.