Skip to content

helm based contrail deployment failing on kubernetes #184

@tnithya

Description

@tnithya

Hi,
I have followed the install procedures needed to bring up opencontrail on top of kubernetes cluster.
I wanted to have a setup that is a nested contrail controller as shown in Rudra's talk https://www.openstack.org/videos/boston-2017/juniper-opencontrail-for-kubernetes-openstack-and-nested-kubernetes

Following are what I assumed are the steps needed:

  1. Get kubernetes cluster up (without any CNI plugin configured on the master)
  2. Use Helm install to install CNI plugin and deploy contrail cluster on top of the kube cluster.
    This step I assumed was performed via the steps provided
    https://github.com/Juniper/contrail-docker/wiki/Helm-based-contrail-provisioning-for-Kubernetes-orchestration
  3. Use Helm to install openstack cluster on top of kubernetes cluster with networking handled by opencontrail.
  4. Deploy VMs or VNFs on top of this that are controlled using opencontrail.

I'm stuck at step 2.

After several attempts I managed to get the helm install to complete successfully.
However, using the script

for pod_name in `kubectl get pods -n kube-system -o wide | grep contrail | awk '{print $1}'`; do kubectl exec -it  $pod_name -n kube-system -- contrail-status ; done 

I find most of the components of contrail are shown inactive and disabled on boot.

Is there a detailed installation guide that can be used for getting this setup?

Following are the nodes I have as part of my kubernetes cluster:

kubectl get nodes
NAME STATUS ROLES AGE VERSION
r12u NotReady 3d v1.9.0
r16u NotReady 3d v1.9.0
r233u Ready master 3d v1.9.0
r238u NotReady 3d v1.9.0

I have disabled CNI on the master node by changing as specified in another document.

Any help is greatly appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions