MasterWayZ
Enthusiast
Enthusiast

I set the changes of the last one, since the first one gave me an error.

Now I get this when I run deploy.sh:

Timeout expired

Deployment failed. Collecting log bundle ...

2020-05-04 18:11:36,320 [INFO] Log bundle generation started

2020-05-04 18:11:36,343 [ERROR] Error setting up Kubernetes API.

Traceback (most recent call last):

  File "/opt/python-modules/vracli/commands/log_bundle.py", line 69, in log_bundle_create_handler

    self._setup_k8s_api()

  File "/opt/python-modules/vracli/commands/base_command.py", line 34, in _setup_k8s_api

    crd = self.v1beta1.read_custom_resource_definition(CRD_NAME)

  File "/opt/python-modules/kubernetes/client/apis/apiextensions_v1beta1_api.py", line 850, in read_custom_resource_definition

    (data) = self.read_custom_resource_definition_with_http_info(name, **kwargs)

  File "/opt/python-modules/kubernetes/client/apis/apiextensions_v1beta1_api.py", line 935, in read_custom_resource_definition_with_http_info

    collection_formats=collection_formats)

  File "/opt/python-modules/kubernetes/client/api_client.py", line 321, in call_api

    _return_http_data_only, collection_formats, _preload_content, _request_timeout)

  File "/opt/python-modules/kubernetes/client/api_client.py", line 155, in __call_api

    _request_timeout=_request_timeout)

  File "/opt/python-modules/kubernetes/client/api_client.py", line 342, in request

    headers=headers)

  File "/opt/python-modules/kubernetes/client/rest.py", line 231, in GET

    query_params=query_params)

  File "/opt/python-modules/kubernetes/client/rest.py", line 222, in request

    raise ApiException(http_resp=r)

kubernetes.client.rest.ApiException: (404)

Reason: Not Found

HTTP response headers: HTTPHeaderDict({'Content-Type': 'application/json', 'Date': 'Mon, 04 May 2020 18:11:36 GMT', 'Content-Length': '318'})

HTTP response body: {"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"customresourcedefinitions.apiextensions.k8s.io \"vaconfigs.prelude.vmware.com\" not found","reason":"NotFound","details":{"name":"vaconfigs.prelude.vmware.com","group":"apiextensions.k8s.io","kind":"customresourcedefinitions"},"code":404}

2020-05-04 18:11:36,344 [WARNING] Falling back to VA-stored logs.

2020-05-04 18:11:36,344 [INFO] Adding fallback node support bundle...

2020-05-04 18:11:44,833 [WARNING] Falling back to VA-stored container logs

2020-05-04 18:11:45,485 [INFO] Log bundle log-bundle-1588615896.tar.xz generated with errors

Error setting up Kubernetes API

vExpert 2020
Reply
0 Kudos