Skip to content
This repository has been archived by the owner on Mar 25, 2018. It is now read-only.

HPCloud usage unclear #11

Open
tralfamadude opened this issue Aug 25, 2012 · 1 comment
Open

HPCloud usage unclear #11

tralfamadude opened this issue Aug 25, 2012 · 1 comment

Comments

@tralfamadude
Copy link

I tried setting the environment variables for HPCloud (openstack), like this:
JCLOUDS_COMPUTE_PROVIDER=hpcloud-compute
JCLOUDS_COMPUTE_IDENTITY=DSSIFFFFWJWQL
JCLOUDS_COMPUTE_CREDENTIAL=wjlsdfsjljljk+jfls+jlsfds
JCLOUDS_COMPUTE_ENDPOINT=https://az-1.region-a.geo-1.compute.hpcloudsvc.com/v1.1/10837036762972
JCLOUDS_COMPUTE_API=1.1

and ran bin/jclouds-cli and got a karaf prompt, after I entered: node-list the error was:

Error executing command: java.lang.IllegalArgumentException: current configuration is set to [jclouds.keystone.requires-tenant]. Unless you set [jclouds.keystone.tenant-name] or [jclouds.keystone.tenant-id], you must prefix your identity with 'tenantName:'

If these are used the result is the same:

JCLOUDS_COMPUTE_API=2.0
JCLOUDS_COMPUTE_ENDPOINT=https://az-1.region-a.geo-1.ec2-compute.hpcloudsvc.com/services/Cloud

Next I tried prefixing the identity (accessID) with TenantID since I don't know of any tenant like 'tenantName:' from the error msg, but the result is also auth. fail.

I tried emailName: as a prefix for accessID as the JCLOUDS_COMPUTE_IDENTITY but that also failed.

I also tried JCLOUDS_COMPUTE_CREDENTIAL as password (eek!) with api 1.1 and I put:
jclouds.keystone.tenant-id=${env:TENANT_ID}
into etc/org.jclouds.credentials.cfg but that did not work either, but this combo does work for Whirr.

@gaul
Copy link
Member

gaul commented Apr 10, 2013

@tralfamadude I use hpcloud-objectstorage by setting my identity to [email protected]:accessID. You should find your tenantId by logging into the HP management console. Does this resolve your issue?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants