Server Manager :: 14.04 3061 mitaka :: contrail networking package addition does not create any playbooks.

Bug #1688504 reported by Ritam Gangopadhyay
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R4.0
Fix Released
Critical
Nagendra Prasath
Trunk
Fix Released
Critical
Nagendra Prasath

Bug Description

Adding contrail networking package fails in creating the ansible playbooks, inventory and other stuff under server-manager ansible directory.

root@nodeg19:~# server-manager-client display image
+------------------+
| id |
+------------------+
| cloud_image_3068 |
| networking_image |
+------------------+
root@nodeg19:~#

root@nodeg19:~# ls -la /opt/contrail/server_manager/ansible/playbooks/
total 24
drwxr-xr-x 4 root root 4096 May 5 14:10 .
drwxr-xr-x 4 root root 4096 Apr 27 13:21 ..
drwxr-xr-x 4 root root 4096 May 5 14:10 cloud_image_3068
drwxr-xr-x 2 root root 4096 Apr 27 13:21 files
-rw-r--r-- 1 root root 42 Apr 26 20:42 README
-rw-r--r-- 1 root root 93 Apr 26 20:42 requirements.yml <<<<< notworking_image directory is missing
root@nodeg19:~#

information type: Proprietary → Public
tags: added: provisioning
tags: added: blocker
Abhay Joshi (abhayj)
Changed in juniperopenstack:
assignee: Abhay Joshi (abhayj) → Siva Gurumurthy (sgurumurthy)
Revision history for this message
Nitish Krishna Kaveri (nitishk) wrote :

According to this link:
https://github.com/Juniper/contrail-controller/wiki/Contrail-Docker-Distribution

The contrail-networking-docker tgz doesn't have the contrail-ansible tgz, which has the playbooks. So if you add the networking docker tgz you won't get this code.

Please contact Nagendra to see if this has changed and if yes, why

Changed in juniperopenstack:
assignee: Siva Gurumurthy (sgurumurthy) → Nagendra Prasath (npchandran)
Revision history for this message
Siva Gurumurthy (sgurumurthy) wrote :

This was there in the older build 3052 I last tested.
@nagendra, why has this been removed in the recent builds?

Revision history for this message
Siva Gurumurthy (sgurumurthy) wrote :

root@ubuntu-14-04-42:/var/tmp/networking-pkg# tar -tvf contrail-networking-tools_4.0.0.0-3052.tgz
tar: Removing leading `/' from member names
drwxr-xr-x contrail-builder/ipg 0 2017-03-30 16:39 /
-rw-r--r-- contrail-builder/ipg 32439 2017-03-30 15:14 contrail-ansible-4.0.0.0-3052.tar.gz

root@ubuntu-14-04-42:/var/tmp/3069-networking-pkg# tar -tvf contrail-networking-tools_4.0.0.0-3069.tgz
tar: Removing leading `/' from member names
drwxr-xr-x contrail-builder/ipg 0 2017-05-04 10:16 /
-rw-r--r-- contrail-builder/ipg 110990 2017-05-04 08:36 contrail-docker-tools_4.0.0.0-3069_all.deb

Revision history for this message
Ritam Gangopadhyay (ritam) wrote :

Yes I tried in 3056 and then it was creating the required directory structure.

Revision history for this message
Nagendra Prasath (npchandran) wrote :
Revision history for this message
Nagendra Prasath (npchandran) wrote :
Changed in juniperopenstack:
status: New → Fix Committed
Revision history for this message
Ritam Gangopadhyay (ritam) wrote :

Verified in R4.0 build 3

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.