Error: "first path segment in URL cannot contain colon" observed when using ose config validate command.
book
Article ID: 404015
calendar_today
Updated On:
Products
VMware Cloud Director
Issue/Introduction
Running ose config validate gives a 'first path segment in URL cannot contain colon' error in the Cloud Director Detail section.
Running ose director show gives the correct URL and credentials.
To confirm the password, add --with-secret to the command.
Environment
VMware Cloud Director 10.5.1.1
Object Storage Extension 3.1
Cause
This issue will occur if the OSE node cannot reach the Cloud Director API public address to generate the Authorization Token due to a leading whitespace in the URL setting.
Resolution
Reconfigure OSE to not have a leading whitespace in the URL setting.
Run ose director set to configure the Cloud Director credentials
Enter the URL
'https://<FQDN>:443'
If entering credentials, enter the administrator user
administrator@system
Enter the password for the user
This is referred to in the documentation and commands as the secret.
After configuring, use the ose director show command to confirm the details have been entered correctly.
Run ose config validate after confirming and the Cloud Director entry should no longer be showing as Invalid.