Thanks for your response.Tried that one too. no luck.Still getting the following error:ERROR: VCloudClient::UnauthorizedAccess: Client not authorized. Please check your credentials.On Mon, Jun 9, 2014 at 1:29 PM, Marco Betti < " target="_blank"> > wrote:
After configuring knife.rb with:
knife vc configure
Please try with:
knife vc login --org-login abc-lab
otherwise you can set:
knife[:vcloud_org_login] = 'abc-lab'
inside knife.rb alsoIs https://1.2.3.4/api/versions correctly answering?
Il 09/giu/2014 21:29 "Karthik Jayaraman" < " target="_blank"> > ha scritto:I changed my knife[:vcloud_url] to 'https://1.2.3.4' (Removed the last /). Now i get the follow error.ERROR: VCloudClient::UnauthorizedAccess: Client not authorized. Please check your credentials.
On Mon, Jun 9, 2014 at 12:11 PM, Marco Betti < " target="_blank"> > wrote:
if https://1.2.3.4/api/versions
is not displaying info regarding apis there is probably something to check on vcloud director installation/configuration.
I cannot check with vcloud sysadmins before next week when I'll be back to work.
Cheers,
MarcoIl 09/giu/2014 21:02 "Karthik Jayaraman" < " target="_blank"> > ha scritto:I could see vCloud director web console atwith the admin username and password, i could login to the vCloud system.
with the username and password designated for the organization, which logs me in to the organization directly.
On Mon, Jun 9, 2014 at 11:51 AM, Marco Betti < " target="_blank"> > wrote:Can you see vcloud director web console? Is it working properly?
If yes, which is its address?
Il 07/giu/2014 10:20 "Marco Betti" < " target="_blank"> > ha scritto:The url you have configured in your example could be too deep.
Usually you only have to specify vcloud director fqdn listening on https port, without any web-context.
In order to verify the correct url, you should try to list supported api versions from your vcloud director installation (you should receive an xml answer):
https://yourvcloud.server.url/api/versionsFor previous example what has to be configured for knife-vcloud is just:
yourvcloud.server.urlYou can try the configuration with:
knife vc loginIf previous command gives a positive answer please read carefully knife-vcloud Readme for what concerns vcloud login configuration, IDs and names and verify what kind of account you are using:
- when a vcloud OU administrator, you have to specify --org-login parameter
- when a vcloud system administrator, you have to specify --org parameter (see "Browse multiple organizations")Hope this helps.
Greetings,
Marco
I downloaded vcloud plugin from the URL
https://github.com/astratto/knife-vcloud and i setup the configuration using
knife vc configure command
and entered the details below:
URL - 'https://1.1.1.1/abc/cloud/org/abc-lab/'
username - 'karthik'
Password - abc
where 'abc-lab' is the organization name in the vcloud environment. Once the
configuration file is created, I gave the following command,
knife vc org list
and it returned 404 resource not found error. Any help appreciated.
Archive powered by MHonArc 2.6.16.