Update rules in PRS fails when invoked from GBP UI

Bug #1485038 reported by Magesh GV
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Group Based Policy UI
Fix Released
High
ank

Bug Description

The UI sends the policy_rules attribute wrongly as 'rules' which results in update API failing.

2015-08-14 21:41:06.100 DEBUG neutron.api.v2.base [req-9a872f33-aeb2-4d2d-ada2-9e32cb20e076 admin admin] Request body: {u'policy_rule_set': {u'rules': [u'5fd9ac15-670e-42d1-ba93-2dcf318be532']}} prepare_request_body /opt/stack/neutron/neutron/api/v2/base.py:597
2015-08-14 21:41:06.100 INFO neutron.api.v2.resource [req-9a872f33-aeb2-4d2d-ada2-9e32cb20e076 admin admin] update failed (client error): Unrecognized attribute(s) 'rules'

Changed in group-based-policy-ui:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → ank (ank.b)
milestone: none → next
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to group-based-policy-ui (master)

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

Changed in group-based-policy-ui:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to group-based-policy-ui (master)

Reviewed: https://review.openstack.org/215982
Committed: https://git.openstack.org/cgit/stackforge/group-based-policy-ui/commit/?id=7ad0c904ac42ab455bee9d78ea7fe6d43175e541
Submitter: Jenkins
Branch: master

commit 7ad0c904ac42ab455bee9d78ea7fe6d43175e541
Author: ank <email address hidden>
Date: Sun Aug 23 10:09:49 2015 +0530

    added fix for prs edit issue

    Change-Id: Id31d9d309d6ac0a730a084e573c7d766ffacadd1
    Closes-Bug: 1485038

Changed in group-based-policy-ui:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to group-based-policy-ui (stable/kilo)

Fix proposed to branch: stable/kilo
Review: https://review.openstack.org/216073

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to group-based-policy-ui (stable/juno)

Fix proposed to branch: stable/juno
Review: https://review.openstack.org/216074

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to group-based-policy-ui (stable/kilo)

Reviewed: https://review.openstack.org/216073
Committed: https://git.openstack.org/cgit/stackforge/group-based-policy-ui/commit/?id=635c524561ad0894a73e7b907ae6ee312d26daf3
Submitter: Jenkins
Branch: stable/kilo

commit 635c524561ad0894a73e7b907ae6ee312d26daf3
Author: ank <email address hidden>
Date: Sun Aug 23 10:09:49 2015 +0530

    added fix for prs edit issue

    Change-Id: Id31d9d309d6ac0a730a084e573c7d766ffacadd1
    Closes-Bug: 1485038
    (cherry picked from commit 7ad0c904ac42ab455bee9d78ea7fe6d43175e541)

tags: added: in-stable-kilo
Changed in group-based-policy-ui:
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to group-based-policy-ui (stable/juno)

Reviewed: https://review.openstack.org/216074
Committed: https://git.openstack.org/cgit/stackforge/group-based-policy-ui/commit/?id=f836990dcce6a4e3301d43d13d62c80b46814376
Submitter: Jenkins
Branch: stable/juno

commit f836990dcce6a4e3301d43d13d62c80b46814376
Author: ank <email address hidden>
Date: Sun Aug 23 10:09:49 2015 +0530

    added fix for prs edit issue

    Change-Id: Id31d9d309d6ac0a730a084e573c7d766ffacadd1
    Closes-Bug: 1485038
    (cherry picked from commit 7ad0c904ac42ab455bee9d78ea7fe6d43175e541)

tags: added: in-stable-juno
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.