legacy-jclouds-cli
legacy-jclouds-cli copied to clipboard
HPCloud usage unclear
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
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.
@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?