kube cni file not re-created on rerunning ansible provisioning

Bug #1694224 reported by Vedamurthy Joshi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R4.0
Fix Committed
High
Dinesh Bakiaraj
Trunk
Fix Committed
High
Dinesh Bakiaraj

Bug Description

R4.0 Build 14 Ubuntu 16.04.2

/etc/cni/net.d/10-contrail.conf seems to be created only when the agent container restarts
But when a user does kubeadm reset, this file is deleted.

It is natural for the user to then rerun full ansible provisioning again and expect the file to be created.
But this is not done.

Revision history for this message
Yuvaraja Mariappan (ymariappan) wrote :

Before running the contrail-ansible, delete the /etc/contrailctl/agent.conf in the compute-nodes.
/etc/cni/net.d/10-contrail.conf file would be created.

Thanks,
Yuvaraja

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

Review in progress for https://review.opencontrail.org/33641
Submitter: Dinesh Bakiaraj (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/33642
Submitter: Dinesh Bakiaraj (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/33643
Submitter: Dinesh Bakiaraj (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/33644
Submitter: Dinesh Bakiaraj (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/33642
Submitter: Dinesh Bakiaraj (<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/33761
Submitter: Dinesh Bakiaraj (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/33762
Submitter: Dinesh Bakiaraj (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/33763
Submitter: Dinesh Bakiaraj (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/33764
Submitter: Dinesh Bakiaraj (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/33642
Committed: http://github.com/Juniper/contrail-docker/commit/7271f5fc99625d897a449fcc2f20002acfb85dee
Submitter: Zuul (<email address hidden>)
Branch: R4.0

commit 7271f5fc99625d897a449fcc2f20002acfb85dee
Author: dineshb-jnpr <email address hidden>
Date: Fri Jul 14 12:27:35 2017 -0700

Introduce container for K8s CNI component install.

These code changes are to introduce a container that will install
contrail kubernetes cni components on kubernetes minions. This
container will also have logic to populate configuration file
required by the CNI. This container will be executed everytime
contrail-ansible is used to provision the contrail-k8s cluster.
This container will exit after install and configuration of CNI
components.

As a part of this change, cni related components and code have been
removed from Agent Container for kubernetes and openshift deployments.

Change-Id: I1b96862b7c8f1248a3c12e35c47dbda205395b24
Partial-Bug: #1694224

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

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

commit c5f34ed9d534af8dee701510178fd658eb3b526e
Author: dineshb-jnpr <email address hidden>
Date: Fri Jul 14 12:04:31 2017 -0700

Introduce container for K8s CNI component install.

These code changes are to introduce a container that will install
contrail kubernetes cni components on kubernetes minions. This
container will also have logic to populate configuration file
required by the CNI. This container will be executed everytime
contrail-ansible is used to provision the contrail-k8s cluster.
This container will exit after install and configuration of CNI
components.

As a part of this change, cni related components and code have been
removed from Agent Container for kubernetes and openshift deployments.

Change-Id: I0bb4b6fb3f221610d1754d9cff5ccea486adc758
Partial-Bug: #1694224

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

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

commit 0b1aa8ea62a13338688e95d3ce5083b500d2d6c5
Author: dineshb-jnpr <email address hidden>
Date: Fri Jul 14 12:14:31 2017 -0700

Introduce container for K8s CNI component install.

These code changes are to introduce a container that will install
contrail kubernetes cni components on kubernetes minions. This
container will also have logic to populate configuration file
required by the CNI. This container will be executed everytime
contrail-ansible is used to provision the contrail-k8s cluster.
This container will exit after install and configuration of CNI
components.

As a part of this change, cni related components and code have been
removed from Agent Container for kubernetes and openshift deployments.

Change-Id: I3882fe883fc62214b8092686d13b1a29db2f6e56
Partial-Bug: #1694224

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

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

commit 7c62cd6b28a9e38955bb285977169f34b8abeccc
Author: dineshb-jnpr <email address hidden>
Date: Fri Jul 14 12:35:08 2017 -0700

Introduce container for K8s CNI component install.

These code changes are to introduce a container that will install
contrail kubernetes cni components on kubernetes minions. This
container will also have logic to populate configuration file
required by the CNI. This container will be executed everytime
contrail-ansible is used to provision the contrail-k8s cluster.
This container will exit after install and configuration of CNI
components.

As a part of this change, cni related components and code have been
removed from Agent Container for kubernetes and openshift deployments.

Change-Id: I64fde39bf611ab78f9d1ec19c604f651b59a9198
Partial-Bug: #1694224

Revision history for this message
Dinesh Bakiaraj (dineshb) wrote :

The next build (after 7/23) should have the changes.

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

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

commit 00fe18b3fb1fde168e22603dc34e8576feba248d
Author: dineshb-jnpr <email address hidden>
Date: Tue Jul 18 12:56:37 2017 -0700

Introduce container for K8s CNI component install.

These code changes are to introduce a container that will install
contrail kubernetes cni components on kubernetes minions. This
container will also have logic to populate configuration file
required by the CNI. This container will be executed everytime
contrail-ansible is used to provision the contrail-k8s cluster.
This container will exit after install and configuration of CNI
components.

As a part of this change, cni related components and code have been
removed from Agent Container for kubernetes and openshift deployments.

Change-Id: I3c1334089f5e9f77a1b2e93d74b1abf62476da0d
Partial-Bug: #1694224

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

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

commit dd486b4a1693e9ecc37113fb01292405a6f7db56
Author: dineshb-jnpr <email address hidden>
Date: Tue Jul 18 13:01:46 2017 -0700

Introduce container for K8s CNI component install.

These code changes are to introduce a container that will install
contrail kubernetes cni components on kubernetes minions. This
container will also have logic to populate configuration file
required by the CNI. This container will be executed everytime
contrail-ansible is used to provision the contrail-k8s cluster.
This container will exit after install and configuration of CNI
components.

As a part of this change, cni related components and code have been
removed from Agent Container for kubernetes and openshift deployments.

Change-Id: Id838b5d73f149ba2f273d2ec07896372d6b29fb4
Partial-Bug: #1694224

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

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

commit 1f453bb12661edd5016237b326ff4515ecb9a630
Author: dineshb-jnpr <email address hidden>
Date: Tue Jul 18 12:50:59 2017 -0700

Introduce container for K8s CNI component install.

These code changes are to introduce a container that will install
contrail kubernetes cni components on kubernetes minions. This
container will also have logic to populate configuration file
required by the CNI. This container will be executed everytime
contrail-ansible is used to provision the contrail-k8s cluster.
This container will exit after install and configuration of CNI
components.

As a part of this change, cni related components and code have been
removed from Agent Container for kubernetes and openshift deployments.

Change-Id: Ibd26ff8d2a83f8b65a3f02404917ac28c960ffb7
Partial-Bug: #1694224

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

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

commit a8ba0e4ce2185942ba65518cc32200758e43d6aa
Author: dineshb-jnpr <email address hidden>
Date: Tue Jul 18 12:53:26 2017 -0700

Introduce container for K8s CNI component install.

These code changes are to introduce a container that will install
contrail kubernetes cni components on kubernetes minions. This
container will also have logic to populate configuration file
required by the CNI. This container will be executed everytime
contrail-ansible is used to provision the contrail-k8s cluster.
This container will exit after install and configuration of CNI
components.

As a part of this change, cni related components and code have been
removed from Agent Container for kubernetes and openshift deployments.

Change-Id: Ieb8412fa71275d1cf7c762b1849d0c3daf25db2a
Partial-Bug: #1694224

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.