[K8S Ubuntu 16.04.2] Agent installation failing when trying without docker registry

Bug #1691812 reported by chhandak
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R4.0
Fix Committed
High
Ramprakash R
Trunk
Fix Committed
High
Ramprakash R

Bug Description

When trying to install kuberenets cluster with ubuntu16.04 without contrail registry, "Copy vrouter compiler image" ansible task is failing. As the current code always expect centos package when docker registry is not mentioned.

Steps Followed
--------------
https://github.com/Juniper/contrail-ansible/wiki/setup-contrail-containers-without-contrail-registry

All.yaml definition
------------------------
# os_release - operating system release - ubuntu 14.04 - ubuntu14.04, ubuntu 16.04 - ubuntu16.04, centos 7.1 - centos7.1, centos 7.2 - centos7.2
os_release: ubuntu16.04

# contrail version
contrail_version: 4.0.0.0-6

# cloud_orchestrator - cloud orchestrators to be setup
# Valid cloud orchestrators:
# kubernetes, mesos, openstack, openshift
cloud_orchestrator: kubernetes

Error
--------
TASK [node : Copy vrouter compiler image] **************************************
fatal: [10.87.121.35]: FAILED! => {"changed": false, "failed": true, "msg": "Unable to find '/root/Kubernetes/6/playbooks/container_images/contrail-vrouter-compiler-centos7-4.0.0.0-6.tar.gz' in expected paths."}
fatal: [10.87.121.36]: FAILED! => {"changed": false, "failed": true, "msg": "Unable to find '/root/Kubernetes/6/playbooks/container_images/contrail-vrouter-compiler-centos7-4.0.0.0-6.tar.gz' in expected paths."}
                to retry, use: --limit @/root/Kubernetes/6/playbooks/site.retry

PLAY RECAP *********************************************************************
10.87.121.34 : ok=50 changed=2 unreachable=0 failed=1
10.87.121.35 : ok=47 changed=1 unreachable=0 failed=1
10.87.121.36 : ok=47 changed=1 unreachable=0 failed=1

chhandak (chhandak)
Changed in juniperopenstack:
importance: Undecided → High
assignee: nobody → Ramprakash R (ramprakash)
milestone: none → r4.0.0.0-fcs
information type: Proprietary → Public
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/31885
Submitter: Ramprakash R (<email address hidden>)

Revision history for this message
Ramprakash R (ramprakash) wrote :

This seems like a day-1 issue and it was only tested on centos hosts. This issue has been exposed when testing on ubuntu now.

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

Review in progress for https://review.opencontrail.org/31887
Submitter: Ramprakash R (<email address hidden>)

Jeba Paulaiyan (jebap)
tags: added: blocker
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/31885
Committed: http://github.com/Juniper/contrail-ansible/commit/1d6145f2ce733648755b6ba26cd1b678480cfdf7
Submitter: Zuul (<email address hidden>)
Branch: master

commit 1d6145f2ce733648755b6ba26cd1b678480cfdf7
Author: Ramprakash <email address hidden>
Date: Fri May 19 13:14:13 2017 -0700

Closes-bug: #1691812 : Skip the task that copies centos vrouter compiler container image on non-centos platforms

Change-Id: Ibb1d168e5fe1154333b810d50201436a5ce95e07

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

Reviewed: https://review.opencontrail.org/31887
Committed: http://github.com/Juniper/contrail-ansible/commit/9368b3e03ef7e2ae97637a448fceeb255a3cd646
Submitter: Zuul (<email address hidden>)
Branch: R4.0

commit 9368b3e03ef7e2ae97637a448fceeb255a3cd646
Author: Ramprakash <email address hidden>
Date: Fri May 19 13:14:13 2017 -0700

Closes-bug: #1691812 : Skip the task that copies centos vrouter compiler container image on non-centos platforms

Change-Id: Ibb1d168e5fe1154333b810d50201436a5ce95e07

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.