[chef] Re: Chef Vcloud 404 error


Chronological Thread 
  • From: Marco Betti < >
  • To:
  • Subject: [chef] Re: Chef Vcloud 404 error
  • Date: Sat, 7 Jun 2014 10:20:26 +0200

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/versions

For previous example what has to be configured for knife-vcloud is just:
yourvcloud.server.url

You can try the configuration with:
knife vc login

If 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.

§