vmware / container-service-extension

Container Service for VMware vCloud Director
https://vmware.github.io/container-service-extension
Other
77 stars 52 forks source link

[VCDA-3508 and VCDA-3534] updated CSI/CPI constants to 1.1.1 and fix cluster delete when no default storage class #1335

Closed ltimothy7 closed 2 years ago

ltimothy7 commented 2 years ago

Signed-off-by: ltimothy7 66969084+ltimothy7@users.noreply.github.com

To help us process your pull request efficiently, please include:


This change is Reviewable

vmwclabot commented 2 years ago

@ltimothy7, you must sign every commit in this pull request acknowledging our Developer Certificate of Origin before your changes are merged. This can be done by adding Signed-off-by: John Doe <john.doe@email.org> to the last line of each Git commit message. The e-mail address used to sign must match the e-mail address of the Git author. Click here to view the Developer Certificate of Origin agreement.

ltimothy7 commented 2 years ago

This was the error:

22-03-30 02:12:36 | cluster_service_2_x_tkgm:1530 - _delete_cluster_async | Request Id: 3a35e8f2-8e65-4644-af64-0338f1ce6772 | ERROR :: Unexpected error while deleting cluster testCCM10 Traceback (most recent call last): File "/root/virt10/lib/python3.10/site-packages/container_service_extension/rde/backend/cluster_service_2_x_tkgm.py", line 1495, in _delete_cluster_async def_utils.construct_cluster_spec_from_entity_status( File "/root/virt10/lib/python3.10/site-packages/container_service_extension/rde/utils.py", line 105, in construct_cluster_spec_from_entity_status return construct_2_1_0_cluster_spec_from_entity_status( File "/root/virt10/lib/python3.10/site-packages/container_service_extension/rde/utils.py", line 205, in construct_2_1_0_cluster_spec_from_entity_status vcd_storage_profile_name=status_csi_k8s_storage.vcd_storage_profile_name, # noqa: E501 AttributeError: 'NoneType' object has no attribute 'vcd_storage_profile_name'