Bug 1326848

Summary: Tempest provisioning fails due to missing /var/lib/tempest/tools/install_venv.py script
Product: [Community] RDO Reporter: Lee Yarwood <lyarwood>
Component: openstack-puppet-modulesAssignee: Emilien Macchi <emacchi>
Status: CLOSED EOL QA Contact: Shai Revivo <srevivo>
Severity: high Docs Contact:
Priority: unspecified    
Version: trunkCC: aortega, derekh, srevivo
Target Milestone: ---   
Target Release: Kilo   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-19 15:38:38 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:

Description Lee Yarwood 2016-04-13 14:20:53 UTC
Description of problem:

I'm not sure if this should be reported under puppet-modules or packstack so feel free to move :

/var/tmp/packstack/20160413-094201-T9pq57/manifests/192.168.122.70_provision_tempest.pp.log
[..]
Notice: /Stage[main]/Tempest/Exec[setup-venv]/returns: /usr/bin/python: can't open file '/var/lib/tempest/tools/install_venv.py': [Errno 2] No such file or directory
Error: /usr/bin/python /var/lib/tempest/tools/install_venv.py returned 2 instead of one of [0]
Error: /Stage[main]/Tempest/Exec[setup-venv]/returns: change from notrun to 0 failed: /usr/bin/python /var/lib/tempest/tools/install_venv.py returned 2 instead of one of [0]
# ll /var/lib/tempest/tools/
total 44
-rwxr-xr-x. 1 root root 6188 Apr 13 09:53 check_logs.py
-rwxr-xr-x. 1 root root 4188 Apr 13 09:53 find_stack_traces.py
-rw-r--r--. 1 root root 2293 Apr 13 09:53 generate-tempest-plugins-list.py
-rwxr-xr-x. 1 root root 2297 Apr 13 09:53 generate-tempest-plugins-list.sh
-rwxr-xr-x. 1 root root  195 Apr 13 09:53 pretty_tox_serial.sh
-rwxr-xr-x. 1 root root  345 Apr 13 09:53 pretty_tox.sh
-rwxr-xr-x. 1 root root 5256 Apr 13 09:53 skip_tracker.py
-rwxr-xr-x. 1 root root  198 Apr 13 09:53 with_venv.sh


Version-Release number of selected component (if applicable):
# cat /etc/redhat-release 
CentOS Linux release 7.2.1511 (Core) 

openstack-packstack-8.0.0-0.20160303124552.0476b9b.el7.centos.noarch
openstack-packstack-puppet-8.0.0-0.20160303124552.0476b9b.el7.centos.noarch
openstack-puppet-modules-8.0.0a0-0.20160304203011.7dc7e93.el7.centos.noarch#

How reproducible:
Always

Steps to Reproduce:
1. Try to provision Tempest using packstack using the RDO Mitaka test day repos.

Actual results:
Failure to provision Tempest.

Expected results:
Tempest is provisioned.

Additional info:

Comment 1 Lee Yarwood 2016-04-13 14:29:21 UTC
FYI the install_venv.py script was removed by the following temptest change :

Remove virtualenv management scripts from oslo-incubator
https://review.openstack.org/#/c/270564/

Comment 2 Lee Yarwood 2016-04-14 09:53:02 UTC
Moving to openstack-puppet-modules after creating the following launchpad bug :

/var/lib/tempest/tools/install_venv.py no longer exists
https://bugs.launchpad.net/puppet-tempest/+bug/1482949

Comment 4 Chandan Kumar 2016-05-19 15:38:38 UTC
This bug is against a Version which has reached End of Life.
If it's still present in supported release (http://releases.openstack.org), please update Version and reopen.