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

HPCloud usage unclear #11

@tralfamadude

Description

@tralfamadude

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions