You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@libcloud.apache.org by Markos Gogoulos <mg...@mist.io> on 2013/11/22 13:15:23 UTC
[dev] HP cloud with libcloud
I'm experimenting with HP Cloud, managed to connect to US WEST
regions but failed with 13.5 Horizon. Has anyone tried it?
Re: [dev] HP cloud with libcloud
Posted by Tomaz Muraus <to...@apache.org>.
Glad that you have figured it out.
It would be great if you could add this examples which show how to connect
to HP Cloud to the OpenStack driver documentation -
https://github.com/apache/libcloud/blob/trunk/docs/compute/drivers/openstack.rst
On Fri, Nov 22, 2013 at 6:50 PM, Markos Gogoulos <mg...@mist.io> wrote:
>
>
> 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 <mg...@mist.io> wrote:
> >
> >> I'm
> experimenting with HP Cloud, managed to connect to US WEST regions but
> failed with 13.5 Horizon. Has anyone tried it?
>
>
>
Re: [dev] HP cloud with libcloud
Posted by Markos Gogoulos <mg...@mist.io>.
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 <mg...@mist.io> wrote:
>
>> I'm
experimenting with HP Cloud, managed to connect to US WEST regions but
failed with 13.5 Horizon. Has anyone tried it?
Re: [dev] HP cloud with libcloud
Posted by Tomaz Muraus <to...@apache.org>.
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 <mg...@mist.io> wrote:
>
>
> I'm experimenting with HP Cloud, managed to connect to US WEST
> regions but failed with 13.5 Horizon. Has anyone tried it?
>
>