I was having trouble with specifying the region but managed to get
all regions working with the following settings:
from
libcloud.compute.providers import get_driver
driver =
get_driver('openstack')
#HP Cloud US West AZ 1
conn1 = driver('USER',
'PASSWORD',
ex_force_auth_version='2.0_password',ex_force_auth_url='https://region-a.geo-1.identity.hpcloudsvc.com:35357/v2.0/',
ex_tenant_name='USER-TENANT',
ex_force_service_region='az-1.region-a.geo-1',
ex_force_service_name='Compute')
#HP Cloud US West AZ 2
conn2 =
driver('USER', 'PASSWORD',
ex_force_auth_version='2.0_password',ex_force_auth_url='https://region-a.geo-1.identity.hpcloudsvc.com:35357/v2.0/',ex_tenant_name='USER-TENANT',
ex_force_service_region='az-2.region-a.geo-1',
ex_force_service_name='Compute')
#HP Cloud US West AZ 3
conn3 =
driver('USER', 'PASSWORD',
ex_force_auth_version='2.0_password',ex_force_auth_url='https://region-a.geo-1.identity.hpcloudsvc.com:35357/v2.0/',ex_tenant_name='USER-TENANT',
ex_force_service_region='az-3.region-a.geo-1',
ex_force_service_name='Compute')
#HP Cloud US EAST
conn4 =
driver('USER', 'PASSWORD',
ex_force_auth_version='2.0_password',ex_force_auth_url='https://region-a.geo-1.identity.hpcloudsvc.com:35357/v2.0/',ex_tenant_name='USER-TENANT',
ex_force_service_region='region-b.geo-1',
ex_force_service_name='Compute')
Στις 22.11.2013 15:15, Tomaz Muraus
έγραψε:
> Can you please provide more details:
>
> - What kind of
error did you get?
> - Code which you used to instantiate the driver
(don't forget to remove
> your credentials)
>
> On Fri, Nov 22, 2013 at
1:15 PM, Markos Gogoulos <[email protected]> wrote:
>
>> I'm
experimenting with HP Cloud, managed to connect to US WEST regions but
failed with 13.5 Horizon. Has anyone tried it?