Skip to content

Instantly share code, notes, and snippets.

@vterdunov
Created April 2, 2018 15:11
Show Gist options
  • Save vterdunov/76c7258523d23120e831e8723847535c to your computer and use it in GitHub Desktop.
Save vterdunov/76c7258523d23120e831e8723847535c to your computer and use it in GitHub Desktop.
kubespray log
TASK [kubernetes-apps/cluster_roles : Check if vsphere-cloud-provider ClusterRole exists] *********************************************************************************************************************************************************************
Monday 02 April 2018  18:07:24 +0300 (0:00:00.037)       0:15:05.745 ********** 
[DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using `result|version_compare` instead use `result is version_compare`. This feature will be removed in version 2.9. Deprecation warnings can be disabled by setting 
deprecation_warnings=False in ansible.cfg.
skipping: [k8s-master1.lab.vi.local]

TASK [kubernetes-apps/cluster_roles : Write vsphere-cloud-provider ClusterRole manifest] **********************************************************************************************************************************************************************
Monday 02 April 2018  18:07:24 +0300 (0:00:00.047)       0:15:05.793 ********** 
fatal: [k8s-master1.lab.vi.local]: FAILED! => {}

MSG:

The conditional check 'vsphere_cloud_provider.rc != 0' failed. The error was: error while evaluating conditional (vsphere_cloud_provider.rc != 0): 'dict object' has no attribute 'rc'

The error appears to have been in '/home/vterdunov/work/projects/VirtualInstruments/infrastructure-provisioning/third-party/kubespray/roles/kubernetes-apps/cluster_roles/tasks/main.yml': line 98, column 3, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:


- name: Write vsphere-cloud-provider ClusterRole manifest
  ^ here



NO MORE HOSTS LEFT ********************************************************************************************************************************************************************************************************************************************

PLAY RECAP ****************************************************************************************************************************************************************************************************************************************************
k8s-ingress1.lab.vi.local  : ok=201  changed=3    unreachable=0    failed=0   
k8s-master1.lab.vi.local   : ok=253  changed=18   unreachable=0    failed=1   
k8s-node1.lab.vi.local     : ok=202  changed=4    unreachable=0    failed=0   
k8s-node2.lab.vi.local     : ok=201  changed=3    unreachable=0    failed=0   
localhost                  : ok=2    changed=0    unreachable=0    failed=0   
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment