0 Replies Latest reply on Jan 9, 2017 10:08 AM by TDRoy

    Kubernetes Cluster Create Fails Constantly

    TDRoy Enthusiast

      Hi All,

       

      I was successful in deploying the Photon Controller VM.

       

      From here, I have created a tenant, with resource tickets and a project.

       

      In the project, I can deploy a single VM from an image of my choosing.

      When I try to deploy a Kubernetes cluster, I receive the following: (Im deploying from Poweshell command, although I also fail from the Dashboard)

       

      CREATE_CLUSTER : CREATE_KUBERNETES_CLUSTER_SETUP_ETCD | Step 2/5 - Stuck here.

      It then fails with the following messages:

      2017/01/09 09:23:41 photon: Task 'fa8f1b0a545ac61d8d509' is in error state: {@step=={"sequence"=>"1","state"=>"ERROR","e

      rrors"=>[photon: { HTTP status: '0', code: 'InternalError', message: 'Failed to rollout KubernetesEtcd. Error: MultiExce

      ption[java.lang.IllegalStateException: ClusterWaitTaskService failed for cluster with ID cbdf6486-fcaa-4bde-a636-eb1b3bf

      3533e with error Wait period expired for cluster with id cbdf6486-fcaa-4bde-a636-eb1b3bf3533e. /photon/clustermanager/wa

      it-for-cluster-tasks/fa8f1b0a545ac659d5ee9]', data: 'map[]' }],"warnings"=>[],"operation"=>"CREATE_KUBERNETES_CLUSTER_SE

      TUP_ETCD","startedTime"=>"1483981561859","queuedTime"=>"1483981561847","endTime"=>"1483982591914","options"=>map[]}}

      API Errors: [photon: { HTTP status: '0', code: 'InternalError', message: 'Failed to rollout KubernetesEtcd. Error: Multi

      Exception[java.lang.IllegalStateException: ClusterWaitTaskService failed for cluster with ID cbdf6486-fcaa-4bde-a636-eb1

      b3bf3533e with error Wait period expired for cluster with id cbdf6486-fcaa-4bde-a636-eb1b3bf3533e. /photon/clustermanage

      r/wait-for-cluster-tasks/fa8f1b0a545ac659d5ee9]', data: 'map[]' }]

       

      And in the logs:

      ERROR [2017-01-09 18:01:49,353] com.vmware.photon.controller.cloudstore.xenon.task.EntityLockCleanerService: [/photon/cloudstore/groomers/entity-lock-cleaners/fa8f1b0a545ad295fa8e6] Found entity lock with null taskId. EntityLock Id: e72bc98b-f108-4973-85c0-e85bcc44c419

       

      Im seeing that the etcd machine is created and up. I dont see anything else and the cluster has a Fatal_Error.

       

      Any assistance would be great

       

      Thank you