problem to add vsphere account
Richard Su
rwsu at redhat.com
Tue Mar 13 00:12:42 UTC 2012
On 03/11/2012 01:45 AM, Berezovski, Vladimir wrote:
>
> When I try to add new account to the vshepre provider I get this error:
>
> Cannot add the provider account.
>
> *1 error prohibited this record from being saved:*
>
> Failed to populate hardware_profiles: Validation failed: Memory is
> invalid, Cpu is invalid
>
> Is the "hardware_profiles" missing in the
> /etc/aeolus-configure/nodes/vsphere_configure and should be created
> prior adding provider's account ?
>
> Also , what if there are some datastores - how to define them ?
>
> /Vlad .
>
>
> ------------------------------------------------------------------------
>
> This message is confidential and intended only for the addressee. If
> you have received this message in error, please immediately notify the
> postmaster at nds.com and delete it from your system as well as any
> copies. The content of e-mails as well as traffic data may be
> monitored by NDS for employment and security purposes.
> To protect the environment please do not print this e-mail unless
> necessary.
>
> An NDS Group Limited company. www.nds.com
Vladimir,
The hardware_profiles error feels like it is coming from the provider
side. Do you have any hosts up in vsphere? I'd be interested to see what
deltacloud shows as the vsphere hardware profiles. To see this, bring up
a second deltacloud instance using this command:
deltacloudd -i vsphere -P <deltacloud_provider in
/etc/aeolus-configures/nodes/vsphere_configure> -p 3003
Then point your browser to http://localhost:3003/api/hardware_profiles.
Enter your vsphere username and password.
You should then see a default provider hardware profile with something
like this:
default
Architecture: x86_64, i386 (default: x86_64) Memory: 128-31657 (default:
128) Storage: nil
To match against the provider hardware profile, aeolus-configure creates
a default hardware profile named hwp1. It should have Memory = 512m, cpu
= 1, and storage = nil.
You can find it listed under Administer -> Content -> Catalogs ->
Hardware. I don't think this is the issue because I am able to create a
provider account with and without a hwp1 defined.
As for datastores, in /etc/aeolus-configure/nodes/vsphere_configure, for
each vsphere provider/instance, you designate a datastore. You can
configure multiple providers/instances in vsphere_configure by listing
each of them in the file. Example:
aeolus::profiles::vsphere:
instances:
datastore1provider:
deltacloud_provider: vsphere.example.com
datastore: datastore1
network_name: "My Network"
username: username
password: password
datastore2provider:
deltacloud_provider: vsphere.example.com
datastore: datastore2
network_name: "My Network"
username: username2
password: password2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fedorahosted.org/pipermail/aeolus-devel/attachments/20120312/2e3e459c/attachment.html>
More information about the aeolus-devel
mailing list