contrail-openstack-config package is missing in Contrail 3.0.3 for RH

Bug #1660278 reported by Marco Passalacqua
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.0
Fix Committed
High
Nagendra Prasath
R3.0.3.x
Fix Committed
High
Nagendra Prasath
R3.1
Fix Committed
High
Nagendra Prasath
R3.1.1.x
Fix Committed
High
Nagendra Prasath
R3.2
Fix Committed
High
Nagendra Prasath
Trunk
Invalid
High
Nagendra Prasath

Bug Description

Customized Contrail openstack-config utility is missing in RH RPM distribution (3.0.3).

In RH is installed the standard openstack-config utility that doesn't provide any --has option.
This creates an issue during the upgrade fabric task (aaa_mode checks):

Traceback (most recent call last):
2017-01-23 17:52:00:143196: [root@10.192.103.226] out: File "/bin/upgrade-vnc-collector", line 9, in <module>
2017-01-23 17:52:00:143258: [root@10.192.103.226] out: load_entry_point('ContrailProvisioning==0.1dev', 'console_scripts', 'upgrade-vnc-collector')()
2017-01-23 17:52:00:143321: [root@10.192.103.226] out: File "/usr/lib/python2.7/site-packages/contrail_provisioning/collector/upgrade.py", line 181, in main
2017-01-23 17:52:00:143383: [root@10.192.103.226] out: collector.upgrade()
2017-01-23 17:52:00:143445: [root@10.192.103.226] out: File "/usr/lib/python2.7/site-packages/contrail_provisioning/collector/upgrade.py", line 43, in upgrade
2017-01-23 17:52:00:143510: [root@10.192.103.226] out: self.update_config()
2017-01-23 17:52:00:143572: [root@10.192.103.226] out: File "/usr/lib/python2.7/site-packages/contrail_provisioning/collector/upgrade.py", line 132, in update_config
2017-01-23 17:52:00:143634: [root@10.192.103.226] out: 'aaa_mode')
2017-01-23 17:52:00:143697: [root@10.192.103.226] out: File "/usr/lib/python2.7/site-packages/contrail_provisioning/common/base.py", line 385, in has_config
2017-01-23 17:52:00:143758: [root@10.192.103.226] out: has = bool(int(output))
2017-01-23 17:52:00:143819: [root@10.192.103.226] out: ValueError: invalid literal for int() with base 10: ''

Tags: packaging
Jeba Paulaiyan (jebap)
tags: added: packaging
information type: Proprietary → Public
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.0.3.x

Review in progress for https://review.opencontrail.org/28850
Submitter: Nagendra Prasath (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/28851
Submitter: Nagendra Prasath (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/28852
Submitter: Nagendra Prasath (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.0.3.x

Review in progress for https://review.opencontrail.org/28850
Submitter: Nagendra Prasath (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/28853
Submitter: Nagendra Prasath (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.1.1.x

Review in progress for https://review.opencontrail.org/28854
Submitter: Nagendra Prasath (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/28854
Committed: http://github.org/Juniper/contrail-provisioning/commit/bb2cec789efd3f2d2b3a82b80cf993ceb76cef78
Submitter: Zuul (<email address hidden>)
Branch: R3.1.1.x

commit bb2cec789efd3f2d2b3a82b80cf993ceb76cef78
Author: Nagendra Maynattamai <email address hidden>
Date: Thu Feb 16 03:28:21 2017 -0800

Use --get function instead of --has to validate presence of an object in the given section
Closes-Bug: 1660278

Change-Id: Id8fc9118b358c2374ceea472892a9a5eaf3e4133

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

Reviewed: https://review.opencontrail.org/28852
Committed: http://github.org/Juniper/contrail-provisioning/commit/7b597671c4260e2f11281854e895c4cc3034435f
Submitter: Zuul (<email address hidden>)
Branch: R3.0

commit 7b597671c4260e2f11281854e895c4cc3034435f
Author: Nagendra Maynattamai <email address hidden>
Date: Thu Feb 16 03:28:21 2017 -0800

Use --get function instead of --has to validate presence of an object in the given section
Closes-Bug: 1660278

Change-Id: Id8fc9118b358c2374ceea472892a9a5eaf3e4133

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

Reviewed: https://review.opencontrail.org/28853
Committed: http://github.org/Juniper/contrail-provisioning/commit/38eb78726a5cae2eb021badb59eb70e2c2fc8d9c
Submitter: Zuul (<email address hidden>)
Branch: R3.1

commit 38eb78726a5cae2eb021badb59eb70e2c2fc8d9c
Author: Nagendra Maynattamai <email address hidden>
Date: Thu Feb 16 03:28:21 2017 -0800

Use --get function instead of --has to validate presence of an object in the given section
Closes-Bug: 1660278

Change-Id: Id8fc9118b358c2374ceea472892a9a5eaf3e4133

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

Reviewed: https://review.opencontrail.org/28851
Committed: http://github.org/Juniper/contrail-provisioning/commit/edf7f2dbdc722dafd868556da3847a1ef1ae19fa
Submitter: Zuul (<email address hidden>)
Branch: R3.2

commit edf7f2dbdc722dafd868556da3847a1ef1ae19fa
Author: Nagendra Maynattamai <email address hidden>
Date: Thu Feb 16 03:28:21 2017 -0800

Use --get function instead of --has to validate presence of an object in the given section
Closes-Bug: 1660278

Change-Id: Id8fc9118b358c2374ceea472892a9a5eaf3e4133

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

Reviewed: https://review.opencontrail.org/28850
Committed: http://github.org/Juniper/contrail-provisioning/commit/a85fd92bb402a34af3614bfdcbadb2bfb786e146
Submitter: Zuul (<email address hidden>)
Branch: R3.0.3.x

commit a85fd92bb402a34af3614bfdcbadb2bfb786e146
Author: Nagendra Maynattamai <email address hidden>
Date: Thu Feb 16 03:28:21 2017 -0800

Use --get function instead of --has to validate presence of an object in the given section
Closes-Bug: 1660278

Change-Id: Id8fc9118b358c2374ceea472892a9a5eaf3e4133

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.