[4.0.0.0-3060] Unrecognized attribute(s) 'contrail:policys' error seen causing VN creation failure

Bug #1686354 reported by Ganesha HV
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.2
Fix Committed
High
Manoj
R3.2.3.x
Fix Committed
High
Manoj
Trunk
Fix Committed
High
Manoj

Bug Description

Trying to create a VN in the 'admin' project thru Horizon, results in the following error:

2017-04-26 14:41:05.471 10508 DEBUG neutron_plugin_contrail.plugins.opencontrail.contrail_plugin [req-4570d2c1-2015-4fed-9df0-1f438c9ba9f3 e8b368eec4f445948be012d5809ea1f3 0baea28fa9834d208def34c7c755a37b - - -] get_policy(): filters: {} data: [] _list_resource /usr/lib/python2.7/dist-packages/neutron_plugin_contrail/plugins/opencontrail/contrail_plugin.py:336
2017-04-26 14:41:05.471 10508 DEBUG neutron_plugin_contrail.plugins.opencontrail.contrail_plugin_policy [req-4570d2c1-2015-4fed-9df0-1f438c9ba9f3 e8b368eec4f445948be012d5809ea1f3 0baea28fa9834d208def34c7c755a37b - - -] get_policys(): filters: {} data: [] get_policys /usr/lib/python2.7/dist-packages/neutron_plugin_contrail/plugins/opencontrail/contrail_plugin_policy.py:86
2017-04-26 14:41:05.472 10508 INFO neutron.wsgi [req-4570d2c1-2015-4fed-9df0-1f438c9ba9f3 e8b368eec4f445948be012d5809ea1f3 0baea28fa9834d208def34c7c755a37b - - -] 192.168.200.25 - - [26/Apr/2017 14:41:05] "GET /v2.0/policys.json HTTP/1.1" 200 228 0.029429
2017-04-26 14:41:05.474 10508 DEBUG neutron.wsgi [-] (10508) accepted ('192.168.200.25', 40252) server /usr/lib/python2.7/dist-packages/eventlet/wsgi.py:867
2017-04-26 14:41:05.477 10508 DEBUG neutron.api.v2.base [req-83de927b-311d-4619-8263-35d526fdb960 e8b368eec4f445948be012d5809ea1f3 0baea28fa9834d208def34c7c755a37b - - -] Request body: {u'network': {u'tenant_id': u'0baea28fa9834d208def34c7c755a37b', u'contrail:policys': [], u'name': u'l1-vn', u'admin_state_up': True}} prepare_request_body /usr/lib/python2.7/dist-packages/neutron/api/v2/base.py:662
2017-04-26 14:41:05.477 10508 INFO neutron.api.v2.resource [req-83de927b-311d-4619-8263-35d526fdb960 e8b368eec4f445948be012d5809ea1f3 0baea28fa9834d208def34c7c755a37b - - -] create failed (client error): Unrecognized attribute(s) 'contrail:policys'

Rahul (rahuls)
tags: added: horizon
Rahul (rahuls)
tags: added: blocker
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/31043
Submitter: Manoj (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] contrail/Mitaka-9.0.0

Review in progress for https://review.opencontrail.org/31044
Submitter: Manoj (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] contrail/Liberty-8.0.0

Review in progress for https://review.opencontrail.org/31045
Submitter: Manoj (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] contrail/Kilo-2015.1.1

Review in progress for https://review.opencontrail.org/31046
Submitter: Manoj (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/31046
Committed: http://github.com/Juniper/contrail-horizon/commit/737719d5a0e802745b8eb9d1521d0bff9c637398
Submitter: Zuul (<email address hidden>)
Branch: contrail/Kilo-2015.1.1

commit 737719d5a0e802745b8eb9d1521d0bff9c637398
Author: Manoj Naik <email address hidden>
Date: Fri May 5 14:39:19 2017 +0530

Closes-Bug: #1686354 - Contrail keywords were removed as part of https://review.opencontrail.org/#/c/30552/.
Done corresponding changes in horizon to fix the issue.

Change-Id: Ifc15720d70de7bcaa4995a896c3fb15ffb63739e

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/31045
Committed: http://github.com/Juniper/contrail-horizon/commit/e385d9edd09f3e4a6ec620144ba521656e6da2e0
Submitter: Zuul (<email address hidden>)
Branch: contrail/Liberty-8.0.0

commit e385d9edd09f3e4a6ec620144ba521656e6da2e0
Author: Manoj Naik <email address hidden>
Date: Fri May 5 14:39:19 2017 +0530

Closes-Bug: #1686354 - Contrail keywords were removed as part of https://review.opencontrail.org/#/c/30552/.
Done corresponding changes in horizon to fix the issue.

Change-Id: Ifc15720d70de7bcaa4995a896c3fb15ffb63739e

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/31044
Committed: http://github.com/Juniper/contrail-horizon/commit/5dc5201b626c987bfa69e19674b4e04eaa4ca0d5
Submitter: Zuul (<email address hidden>)
Branch: contrail/Mitaka-9.0.0

commit 5dc5201b626c987bfa69e19674b4e04eaa4ca0d5
Author: Manoj Naik <email address hidden>
Date: Fri May 5 14:39:19 2017 +0530

Closes-Bug: #1686354 - Contrail keywords were removed as part of https://review.opencontrail.org/#/c/30552/.
Done corresponding changes in horizon to fix the issue.

Change-Id: Ifc15720d70de7bcaa4995a896c3fb15ffb63739e

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/31043
Committed: http://github.com/Juniper/contrail-horizon/commit/3f9ac8d407c4d516472928aa679468e38f849b98
Submitter: Zuul (<email address hidden>)
Branch: master

commit 3f9ac8d407c4d516472928aa679468e38f849b98
Author: Manoj Naik <email address hidden>
Date: Fri May 5 14:39:19 2017 +0530

Closes-Bug: #1686354 - Contrail keywords were removed as part of https://review.opencontrail.org/#/c/30552/.
Done corresponding changes in horizon to fix the issue.

Change-Id: Ifc15720d70de7bcaa4995a896c3fb15ffb63739e

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/32253
Submitter: Manoj (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] contrail/Mitaka-9.0.0

Review in progress for https://review.opencontrail.org/32254
Submitter: Manoj (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] contrail/Liberty-8.0.0

Review in progress for https://review.opencontrail.org/32255
Submitter: Manoj (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] contrail/Kilo-2015.1.1

Review in progress for https://review.opencontrail.org/32256
Submitter: Manoj (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/32256
Committed: http://github.com/Juniper/contrail-horizon/commit/7b2ca1d847baa13c7f5a10b98938bc87cbb4fc7c
Submitter: Zuul (<email address hidden>)
Branch: contrail/Kilo-2015.1.1

commit 7b2ca1d847baa13c7f5a10b98938bc87cbb4fc7c
Author: Manoj Naik <email address hidden>
Date: Tue May 30 12:44:17 2017 +0530

Closes-Bug: #1686354 - Policy rule creation was failing due to some references to contrail__ .
Removed all the left over references to the fix the issue.

Change-Id: Ifa9f048c79a40126e7ed7288e7a03c288fa3d525

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/32254
Committed: http://github.com/Juniper/contrail-horizon/commit/cd702dda22c88327fc8ffa0c34b2586d581f526c
Submitter: Zuul (<email address hidden>)
Branch: contrail/Mitaka-9.0.0

commit cd702dda22c88327fc8ffa0c34b2586d581f526c
Author: Manoj Naik <email address hidden>
Date: Tue May 30 12:44:17 2017 +0530

Closes-Bug: #1686354 - Policy rule creation was failing due to some references to contrail__ .
Removed all the left over references to the fix the issue.

Change-Id: Ifa9f048c79a40126e7ed7288e7a03c288fa3d525

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/32253
Committed: http://github.com/Juniper/contrail-horizon/commit/89be9ea9d08d5af579c0e02d7d0d1b216d290761
Submitter: Zuul (<email address hidden>)
Branch: master

commit 89be9ea9d08d5af579c0e02d7d0d1b216d290761
Author: Manoj Naik <email address hidden>
Date: Tue May 30 12:44:17 2017 +0530

Closes-Bug: #1686354 - Policy rule creation was failing due to some references to contrail__ .
Removed all the left over references to the fix the issue.

Change-Id: Ifa9f048c79a40126e7ed7288e7a03c288fa3d525

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] contrail/Netwon-10.0.1

Review in progress for https://review.opencontrail.org/32900
Submitter: Manoj (<email address hidden>)

Manoj (manojgn)
information type: Proprietary → Public
Revision history for this message
Vinod Nair (vinodnair) wrote :

This is seen 3.2.3.1-3~kilo also

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/32255
Committed: http://github.com/Juniper/contrail-horizon/commit/ab09329e4e4935f13df299e3993c416e98299348
Submitter: Zuul (<email address hidden>)
Branch: contrail/Liberty-8.0.0

commit ab09329e4e4935f13df299e3993c416e98299348
Author: Manoj Naik <email address hidden>
Date: Tue May 30 12:44:17 2017 +0530

Closes-Bug: #1686354 - Policy rule creation was failing due to some references to contrail__ .
Removed all the left over references to the fix the issue.

Change-Id: Ifa9f048c79a40126e7ed7288e7a03c288fa3d525

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/32900
Committed: http://github.com/Juniper/contrail-horizon/commit/2f5bf648217c8cfe2fae51efa6ef482a8079a631
Submitter: Zuul (<email address hidden>)
Branch: contrail/Netwon-10.0.1

commit 2f5bf648217c8cfe2fae51efa6ef482a8079a631
Author: Manoj Naik <email address hidden>
Date: Tue May 30 12:44:17 2017 +0530

Closes-Bug: #1686354 - Policy rule creation was failing due to some references to contrail__ .
Removed all the left over references to the fix the issue.

Change-Id: Ifa9f048c79a40126e7ed7288e7a03c288fa3d525
(cherry picked from commit 89be9ea9d08d5af579c0e02d7d0d1b216d290761)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/33063
Submitter: Manoj (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] contrail/Mitaka-9.0.0

Review in progress for https://review.opencontrail.org/33076
Submitter: Manoj (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] contrail/Liberty-8.0.0

Review in progress for https://review.opencontrail.org/33077
Submitter: Manoj (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] contrail/Kilo-2015.1.1

Review in progress for https://review.opencontrail.org/33078
Submitter: Manoj (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/33076
Committed: http://github.com/Juniper/contrail-horizon/commit/e1d7fe4cc2cb6b4feec648a2a44e76b73fd6f440
Submitter: Zuul (<email address hidden>)
Branch: contrail/Mitaka-9.0.0

commit e1d7fe4cc2cb6b4feec648a2a44e76b73fd6f440
Author: Manoj Naik <email address hidden>
Date: Wed Jun 21 18:23:56 2017 +0530

Reverting the commits which are required only for 4.0 and above.
Revert "Closes-Bug: #1686354 - Contrail keywords were removed as part of https://review.opencontrail.org/#/c/30552/."

This reverts commit 5dc5201b626c987bfa69e19674b4e04eaa4ca0d5.

Revert "Closes-Bug: #1686354 - Policy rule creation was failing due to some references to contrail__ ."

This reverts commit cd702dda22c88327fc8ffa0c34b2586d581f526c.

Change-Id: I7634cc20906a435681404d21d8ef18e6e5ed1b4e

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/33077
Committed: http://github.com/Juniper/contrail-horizon/commit/e7fa87bd8cc8cf87236f14a4bcc6ba5bd2f339e9
Submitter: Zuul (<email address hidden>)
Branch: contrail/Liberty-8.0.0

commit e7fa87bd8cc8cf87236f14a4bcc6ba5bd2f339e9
Author: Manoj Naik <email address hidden>
Date: Wed Jun 21 18:23:56 2017 +0530

Reverting the commits which are required only for 4.0 and above.
Revert "Closes-Bug: #1686354 - Contrail keywords were removed as part of https://review.opencontrail.org/#/c/30552/."

This reverts commit 5dc5201b626c987bfa69e19674b4e04eaa4ca0d5.

Revert "Closes-Bug: #1686354 - Policy rule creation was failing due to some references to contrail__ ."

This reverts commit cd702dda22c88327fc8ffa0c34b2586d581f526c.

Change-Id: I7634cc20906a435681404d21d8ef18e6e5ed1b4e

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/33078
Committed: http://github.com/Juniper/contrail-horizon/commit/c1502809bcdd1b03315f75810a01788cf6ca9df4
Submitter: Zuul (<email address hidden>)
Branch: contrail/Kilo-2015.1.1

commit c1502809bcdd1b03315f75810a01788cf6ca9df4
Author: Manoj Naik <email address hidden>
Date: Wed Jun 21 18:23:56 2017 +0530

Reverting the commits which are required only for 4.0 and above.
Revert "Closes-Bug: #1686354 - Contrail keywords were removed as part of https://review.opencontrail.org/#/c/30552/."

This reverts commit 5dc5201b626c987bfa69e19674b4e04eaa4ca0d5.

Revert "Closes-Bug: #1686354 - Policy rule creation was failing due to some references to contrail__ ."

This reverts commit cd702dda22c88327fc8ffa0c34b2586d581f526c.

Change-Id: I7634cc20906a435681404d21d8ef18e6e5ed1b4e

Revision history for this message
Manoj (manojgn) wrote :

Following is the commit for changing the manifest file for using the corresponding branches.

https://github.com/Juniper/contrail-vnc-private/commit/86fcafacb139a878318b75af872b975ef263a4bd

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.