Bug 1346002

Summary: Puppet opencontrail bad call of python
Product: Red Hat OpenStack Reporter: Cyril Lopez <cylopez>
Component: openstack-puppet-modulesAssignee: Luke Hinds <lhinds>
Status: CLOSED ERRATA QA Contact: Amit Ugol <augol>
Severity: high Docs Contact:
Priority: high    
Version: 8.0 (Liberty)CC: cylopez, ealcaniz, emacchi, gbarros, jguiditt, lhinds, nhicher, pablo.iranzo, srevivo
Target Milestone: ---Keywords: OtherQA, ZStream
Target Release: 8.0 (Liberty)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-puppet-modules-7.1.4-1.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1387277 (view as bug list) Environment:
Last Closed: 2016-10-26 13:42:47 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1347518, 1364146    

Description Cyril Lopez 2016-06-13 15:49:25 UTC
Description of problem:

In multiple files, python is call with a relatif path and it's an issue for puppet.

Version-Release number of selected component (if applicable):
openstack-puppet-modules-7.0.15-1.el7ost.noarch


Actual results:
Error: Validation of Exec[provision_vrouter.py cmpt-1-8] failed: 'python /opt/contrail/utils/provision_vrouter.py --host_name cmpt-1-8 --host_ip 192.0.200.23 --api_server_ip 10.4.10.100 --api_server_port 8082 --admin_user admin --admin_password xxx --admin_tenant admin --oper add' is not qualified and no path was specified. Please qualify the command or specify a path. at /etc/puppet/modules/contrail/manifests/vrouter/provision_vrouter.pp:60
Wrapped exception:
'python /opt/contrail/utils/provision_vrouter.py --host_name cmpt-1 --host_ip 192.0.200.23 --api_server_ip 10.4.10.100 --api_server_port 8082 --admin_user admin --admin_password xxx --admin_tenant admin --oper add' is not qualified and no path was specified. Please qualify the command or specify a path.

Additional info:
Patch here https://github.com/redhat-cip/puppet-contrail/pull/14

Comment 2 Edu Alcaniz 2016-09-06 06:05:09 UTC
Hi, could you update this Bugzilla?

Comment 3 Cyril Lopez 2016-09-06 07:12:18 UTC
(In reply to Edu Alcaniz from comment #2)
> Hi, could you update this Bugzilla?

as far i know, nothing append

Comment 4 Luke Hinds 2016-09-15 17:44:07 UTC
Fix merged upstream:

https://github.com/redhat-cip/puppet-contrail/pull/19

Comment 16 errata-xmlrpc 2016-10-26 13:42:47 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-2111.html