You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
panic: unable to initiate vcd client: [unable to get swagger client from secrets: [unable to get bearer token from secrets: [unable to parse url [cloud.example.com/api]: parse "cloud.example.com/api": invalid URI for request]]]
Reproduction steps
deploy vcloud-basic-auth
deploy vcloud-csi-configmap
deploy csi-controller
...
Expected behavior
the pods fails to start due to the above error.
I have removed the actually domain name from the messages.
Describe the bug
We have tried deploying ver 1.4.0, 1.4.1, 1.6.0 and all have the same error.
pod: csi-vcd-controllerplugin
container: vcd-csui-plugin
panic: unable to initiate vcd client: [unable to get swagger client from secrets: [unable to get bearer token from secrets: [unable to parse url [cloud.example.com/api]: parse "cloud.example.com/api": invalid URI for request]]]
Reproduction steps
...
Expected behavior
the pods fails to start due to the above error.
I have removed the actually domain name from the messages.
Additional context
│ I1204 13:15:42.836483 1 driver.go:57] Driver: [named-disk.csi.cloud-director.vmware.com] Version: [1.4.0] │
│ I1204 13:15:42.836548 1 driver.go:68] Adding volume capability [SINGLE_NODE_WRITER] │
│ I1204 13:15:42.836553 1 driver.go:68] Adding volume capability [SINGLE_NODE_READER_ONLY] │
│ I1204 13:15:42.836556 1 driver.go:68] Adding volume capability [MULTI_NODE_READER_ONLY] │
│ I1204 13:15:42.836559 1 driver.go:68] Adding volume capability [MULTI_NODE_SINGLE_WRITER] │
│ I1204 13:15:42.836562 1 driver.go:68] Adding volume capability [MULTI_NODE_MULTI_WRITER] │
│ I1204 13:15:42.836566 1 driver.go:81] Enabling node service capability: [STAGE_UNSTAGE_VOLUME] │
│ I1204 13:15:42.836570 1 driver.go:81] Enabling node service capability: [GET_VOLUME_STATS] │
│ I1204 13:15:42.836574 1 driver.go:98] Enabling controller service capability: [CREATE_DELETE_VOLUME] │
│ I1204 13:15:42.836578 1 driver.go:98] Enabling controller service capability: [LIST_VOLUMES] │
│ I1204 13:15:42.836582 1 driver.go:98] Enabling controller service capability: [PUBLISH_UNPUBLISH_VOLUME] │
│ I1204 13:15:42.836735 1 cloudconfig.go:91] Using username/secret based credentials. │
│ panic: unable to initiate vcd client: [unable to get swagger client from secrets: [unable to get bearer token from secrets: [unable to parse url [cloud.example.com/api]: parse "cloud.example.com/api": invalid URI for request]]] │
│ │
│ goroutine 1 [running]: │
│ main.runCommand() │
│ /build/mts/release/bora-22087623/cayman_cloud-director-named-disk-csi-driver/cloud-director-named-disk-csi-driver/src/cmd/csi/main.go:141 +0x525 │
│ main.main.func2(0xc000348280?, {0x1264bc6?, 0x4?, 0x4?}) │
│ /build/mts/release/bora-22087623/cayman_cloud-director-named-disk-csi-driver/cloud-director-named-disk-csi-driver/src/cmd/csi/main.go:67 +0x17 │
│ github.com/spf13/cobra.(*Command).execute(0xc000348280, {0xc0000340b0, 0x4, 0x4}) │
│ /build/mts/release/bora-22087623/cayman_cloud-director-named-disk-csi-driver/cloud-director-named-disk-csi-driver/src/vendor/github.com/spf13/cobra/command.go:856 +0x663 │
│ github.com/spf13/cobra.(*Command).ExecuteC(0xc000348280) │
│ /build/mts/release/bora-22087623/cayman_cloud-director-named-disk-csi-driver/cloud-director-named-disk-csi-driver/src/vendor/github.com/spf13/cobra/command.go:960 +0x39d │
│ github.com/spf13/cobra.(*Command).Execute(...) │
│ /build/mts/release/bora-22087623/cayman_cloud-director-named-disk-csi-driver/cloud-director-named-disk-csi-driver/src/vendor/github.com/spf13/cobra/command.go:897 │
│ main.main() │
│ /build/mts/release/bora-22087623/cayman_cloud-director-named-disk-csi-driver/cloud-director-named-disk-csi-driver/src/cmd/csi/main.go:87 +0x228
The text was updated successfully, but these errors were encountered: