0 Replies Latest reply on Jun 13, 2018 12:36 AM by fjmatos

    VCloud Director 9.1 and CSE Kubernetes : Failure during Ubuntu Guest Customization

    fjmatos Lurker

      I´m testing  Vcloud Director Container Service Extesion for Kubernetes.

      in a Vcloud Director 9.1GA .

       

      I have followed this guide step by step.

       

      https://vmware.github.io/container-service-extension/#installation

       

      cse version 1.0.1 dev4

      vcd-cli  version 20.2.0

      python 3.6.4

       

      the problem occurs  building the ubuntu template using cse install.

      In the guest Customization phase of the ubuntu-temp vm,  the script fail with the following error:

       

       

      waiting for process 1293 on vm 'vim.VirtualMachine:vm-7257' to finish (16)

      exception, will retry in a few seconds, vm 'vim.VirtualMachine:vm-7257'

        exception: (vim.fault.GuestOperationsUnavailable) {

         dynamicType = <unset>,

         dynamicProperty = (vmodl.DynamicProperty) [],

         msg = 'The guest operations agent could not be contacted.',

         faultCause = <unset>,

         faultMessage = (vmodl.LocalizableMessage) []

      }

      Traceback (most recent call last):

        File "/root/.local/lib/python3.6/site-packages/vsphere_guest_run/vsphere.py", line 86, in execute_program_in_guest

          processes = pm.ListProcessesInGuest(vm, creds, [pid])

        File "/usr/lib/python3.6/site-packages/pyVmomi/VmomiSupport.py", line 580, in <lambda>

          self.f(*(self.args + (obj,) + args), **kwargs)

        File "/usr/lib/python3.6/site-packages/pyVmomi/VmomiSupport.py", line 386, in _InvokeMethod

          return self._stub.InvokeMethod(self, info, args)

        File "/usr/lib/python3.6/site-packages/pyVmomi/SoapAdapter.py", line 1366, in InvokeMethod

          raise obj # pylint: disable-msg=E0702

      pyVmomi.VmomiSupport.vim.fault.GuestOperationsUnavailable: (vim.fault.GuestOperationsUnavailable) {

         dynamicType = <unset>,

         dynamicProperty = (vmodl.DynamicProperty) [],

         msg = 'The guest operations agent could not be contacted.',

         faultCause = <unset>,

         faultMessage = (vmodl.LocalizableMessage) []

       

      There´s someone testing CSE , and  having similar problems? I think that the problem is in the code,