All python packages are getting installed in /usr/share/pyshared/ directory

Bug #1690201 reported by wenqing liang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R4.0
Fix Committed
High
Atul Moghe
Trunk
Fix Committed
High
Atul Moghe

Bug Description

R4.0-2 mitaka SM provision of R4.0-2 newton 16.04.2 cluster.

Provision stuck at pre_exec_vnc_galera_started:

+---------+-----------------------------+------------+-------------------+
| id | status | ip_address | mac_address |
+---------+-----------------------------+------------+-------------------+
| server6 | server_added | 10.0.0.9 | 02:AA:8B:B7:E8:18 |
| server3 | pre_exec_vnc_galera_started | 10.0.0.6 | 02:2B:57:38:23:90 |
| server8 | server_added | 10.0.0.11 | 02:1A:BA:79:9C:00 |
| server9 | server_added | 10.0.0.12 | 02:2A:3A:F9:BB:CC |
| server5 | server_added | 10.0.0.8 | 02:05:3B:04:85:F9 |
| server2 | openstack_completed | 10.0.0.5 | 02:3B:85:FA:FC:AC |
| server4 | server_added | 10.0.0.7 | 02:77:16:90:24:EE |
| server1 | openstack_completed | 10.0.0.4 | 02:73:12:8F:4E:96 |
| server7 | server_added | 10.0.0.10 | 02:40:01:59:5A:0D |
+---------+-----------------------------+------------+-------------------+
root@servermanager:~#

All python packages are getting installed in /usr/share/pyshared/ directory..

Failure:
May 11 16:22:14 server3 puppet-agent[12322]: (/Stage[ha_config]/Contrail::Ha_config/File[/usr/local/lib/python2.7/dist-packages/contrail_provisioning/openstack/ha/galera_setup.py]/ensure) change from absent to file failed: Could not set 'file' on ensure: No such file or directory @ dir_s_rmdir - /usr/local/lib/python2.7/dist-packages/contrail_provisioning/openstack/ha/galera_setup.py20170511-12322-1myqq9b.lock at 215:/etc/puppet/environments/combined_image_mainline/modules/contrail/manifests/ha_config.pp

root@server3:~# ls /usr/share/pyshared/contrail_provisioning/openstack/ha/
galera_reset.py galera_setup.py __init__.py scripts templates
root@server3:~#

Jeba Paulaiyan (jebap)
tags: added: blocker
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R4.0

Review in progress for https://review.opencontrail.org/31501
Submitter: Atul Moghe (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/31506
Submitter: Atul Moghe (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/31501
Committed: http://github.com/Juniper/contrail-packaging/commit/2b03daa8733acd9fb881a2d13649dee0074f2dc6
Submitter: Zuul (<email address hidden>)
Branch: R4.0

commit 2b03daa8733acd9fb881a2d13649dee0074f2dc6
Author: Atul Moghe <email address hidden>
Date: Fri May 12 22:20:43 2017 +0000

To add override_dh_pysupport to avoid python packages installation
in /usr/pyshare/, with this contrail-setup will install at /usr/local/lib/
Closes-Bug: #1690201

Change-Id: I3725769147fdd0e1e4c4386d7a67437d3ef2065b

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

Reviewed: https://review.opencontrail.org/31506
Committed: http://github.com/Juniper/contrail-packaging/commit/a5b02cd2a5321083d1aaafd12c8c1167d67fb6c0
Submitter: Zuul (<email address hidden>)
Branch: master

commit a5b02cd2a5321083d1aaafd12c8c1167d67fb6c0
Author: Atul Moghe <email address hidden>
Date: Fri May 12 22:20:43 2017 +0000

To add override_dh_pysupport to avoid python packages installation
in /usr/pyshare/, with this contrail-setup will install at /usr/local/lib/
Closes-Bug: #1690201

Change-Id: I3725769147fdd0e1e4c4386d7a67437d3ef2065b

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

Review in progress for https://review.opencontrail.org/49373
Submitter: Vinay Vithal Mahuli (<email address hidden>)

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.