Wrong documentation of Node patch method

Bug #1408299 reported by Ladislav Smola
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ironic
Fix Released
Medium
Takashi Watanabe

Bug Description

http://docs.openstack.org/developer/ironic/webapi/v1.html#patch--v1-nodes

is not right. This is the correct format (from --debug CLI)

DEBUG (http:104) curl -i -X PATCH -H 'X-Auth-Token: 84c37146dee24bdea97904b3ce417aa3' -H 'Content-Type: application/json' -H 'Accept: application/json' -H 'User-Agent: python-ironicclient' -d '[{"path": "/driver", "value": "pxe_ipmitool", "op": "replace"}]' http://192.0.2.1:6385//v1/nodes/6528c7bd-40e4-4dbb-9962-0aaa650c9413

Most probably this is problem in all patch methods

Dmitry Tantsur (divius)
Changed in ironic:
status: New → Triaged
importance: Undecided → Medium
tags: added: documentation
Changed in ironic:
assignee: nobody → Takashi Watanabe (takaswat)
Revision history for this message
Takashi Watanabe (takaswat) wrote :
Revision history for this message
Miles Gould (mgould) wrote :
Changed in ironic:
status: Triaged → 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.