> --
> You received this message because you are subscribed to the Google Groups
> "boto-users" group.
> To post to this group, send email to boto-users@googlegroups.com.
> To unsubscribe from this group, send email to
> boto-users+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/boto-users?hl=en.
I've tried Boto with HP Cloud / OpenStack and it works fine. The following
is what I use:
Mitch is correct, the access_key is the tenant id + colon + access key. The
port is 443.
access_key = <tenantid:accesskey>
secret_key = <secretkey>
is_secure = True
port = 443
endpoint = az-1.region-a.geo-1.ec2-compute.hpcloudsvc.com
path='/services/Cloud/'
(there are a handful of endpoints)
I use api version '2010-08-31' but I am not sure if this matters OpenStack.
WIth Eucalyptus 3 you need to specify the api version or else Boto won't be
able to parse the results.
>> --
>> You received this message because you are subscribed to the Google Groups
>> "boto-users" group.
>> To post to this group, send email to boto-users@googlegroups.com.
>> To unsubscribe from this group, send email to
>> boto-users+unsubscribe@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/boto-users?hl=en.
> --
> You received this message because you are subscribed to the Google Groups
> "boto-users" group.
> To post to this group, send email to boto-users@googlegroups.com.
> To unsubscribe from this group, send email to
> boto-users+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/boto-users?hl=en.
* After connection we are (In our appication) doing get_all_region and
creating new connection (using endpoint of region) for each region and
fetching zones, templates, etc--
* Connect to each region failing, Since region.endpont returning
somethin like "http://15.185.76.240:8773/services/Cloud". It should be
"az-1.region-a.geo-1.ec2-compute.hpcloudsvc.com"
* I also tried to make connection using following settings (with
is_secure True and False), but not working.
server : 15.185.76.240
port : 8773
path : /services/Cloud
* It is working, if we set end point to domain "az-1.region-
a.geo-1.ec2-compute.hpcloudsvc.com"
* Following are the attributes of region object "nova"
Has anyone figured out what are the settings for connecting to the HP cloud's object store?
I've tried varying the following options but am either getting a '404 Not Found' or '401 Unauthorized' errors:
>>> import boto >>> calling_format = boto.s3.connection.OrdinaryCallingFormat() >>> c = boto.connect_s3(aws_access_key_id=<tenant_id:access_key>,
aws_secret_access_key=<secret_key>, calling_format=calling_format, is_secure=True, host='region-a.geo-1.objects.hpcloudsvc.com', port=443, path='/' OR '/v1.0' OR '/v1.0/<tenant_id>')
>>> c.get_all_buckets()
ERR
The same code works fine for another OpenStack-based cloud whose connection properties are known.