stale-magazine-62677
02/06/2023, 1:02 PMI0206 12:33:14.147902 1 serving.go:348] Generated self-signed cert in-memory
I0206 12:33:14.943719 1 requestheader_controller.go:244] Loaded a new request header values for RequestHeaderAuthRequestController
W0206 12:33:14.944385 1 client_config.go:617] Neither --kubeconfig nor --master was specified. Using the inClusterConfig. This might not work.
I0206 12:33:14.945319 1 main.go:160] vsphere-cloud-controller-manager version: v1.24.2
E0206 12:33:14.946287 1 config_yaml.go:136] vsphere.conf does not have the VirtualCenter IP address specified
E0206 12:33:14.946305 1 config_yaml.go:214] validateConfig failed: vsphere.conf does not have the VirtualCenter IP address specified
W0206 12:33:14.946423 1 config.go:69] ReadCPIConfigYAML failed: vsphere.conf does not have the VirtualCenter IP address specified
E0206 12:33:14.946558 1 config.go:73] ReadConfigINI failed: 3:1: expected section header
F0206 12:33:14.946582 1 main.go:265] Cloud provider could not be initialized: could not init cloud provider "vsphere": 3:1: expected section header
The vsphere-cloud-config ConfigMap looks empty
apiVersion: v1
data:
vsphere.yaml: # Global properties in this section will be used for all specified
vCenters unless overriden in VirtualCenter section.\n\nglobal:\n secretName:
\"vsphere-cpi-creds\"\n secretNamespace: \"kube-system\"\n port: 443\n insecureFlag:
true\n\nvcenter:\n \"\":\n server: \"\"\n user: \n password: \n datacenters:\n
\ - \"\"\n
kind: ConfigMap
metadata:
annotations:
<http://meta.helm.sh/release-name|meta.helm.sh/release-name>: rancher-vsphere-cpi
<http://meta.helm.sh/release-namespace|meta.helm.sh/release-namespace>: kube-system
....
The vsphere-config-secret is populated with the correct configuration
But the vsphere-cpi-creds looks empty:
apiVersion: v1
data:
.password: ""
.username: ""
kind: Secret
metadata:
annotations:
<http://meta.helm.sh/release-name|meta.helm.sh/release-name>: rancher-vsphere-cpi
<http://meta.helm.sh/release-namespace|meta.helm.sh/release-namespace>: kube-system
Has anyone here run in to a similar issue?agreeable-oil-87482
02/06/2023, 1:10 PMvsphere
cloud provider, did the UI present you with options for both the CPI and CSI?stale-magazine-62677
02/06/2023, 1:12 PMagreeable-oil-87482
02/06/2023, 1:14 PMstale-magazine-62677
02/06/2023, 1:14 PMagreeable-oil-87482
02/06/2023, 1:14 PMstale-magazine-62677
02/06/2023, 1:14 PMhelm upgrade
On the rancher manager server?agreeable-oil-87482
02/06/2023, 1:19 PMstale-magazine-62677
02/06/2023, 1:19 PMagreeable-oil-87482
02/06/2023, 1:20 PMstale-magazine-62677
02/06/2023, 1:23 PM