ironic cors don't allow PATCH method

Bug #1711061 reported by Jiri Tomasek on 2017-08-16
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
High
Honza Pokorny

Bug Description

Ironic CORS configuration on undercloud currently does not allow PATCH method. This prevents TripleO UI from updating node https://developer.openstack.org/api-ref/baremetal/#update-node which is used for nodes tagging.

Steps to reproduce:
In TripleO UI navigate to Nodes page, select node and run 'Tag Nodes' action from nodes toolbar kebab dropdown. Browser console registers CORS error.

Expected results: Nodes get tagged correctly.

Steps to fix the issue: Add PATCH to allowed_methods in Ironic CORS configuration in Undercloud installation.

Honza Pokorny (hpokorny) on 2017-08-16
Changed in tripleo:
assignee: nobody → Honza Pokorny (hpokorny)

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

Changed in tripleo:
status: Triaged → In Progress

Reviewed: https://review.openstack.org/494228
Committed: https://git.openstack.org/cgit/openstack/instack-undercloud/commit/?id=471bca23fd9bf45a5e0a1a8a446db0710ca4b72c
Submitter: Jenkins
Branch: master

commit 471bca23fd9bf45a5e0a1a8a446db0710ca4b72c
Author: Honza Pokorny <email address hidden>
Date: Wed Aug 16 16:36:21 2017 +0200

    Add PATCH to list of allowed methods for Ironic

    This will allow the TripleO UI to use PATCH methods of the Ironic APIs.

    Change-Id: If954eeef69f68e97fa6dea7297ea3dfa03b4afc9
    Closes-Bug: #1711061

Changed in tripleo:
status: In Progress → Fix Released

This issue was fixed in the openstack/instack-undercloud 7.3.0 release.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers