cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Prachi Damle <>
Subject RE: Cloudbridge SetOfferMapping
Date Wed, 18 Jul 2012 17:52:59 GMT
Hi Sebastien.

Seems docs need to be corrected. Looking at the authentication code, I see that the REST query
also needs:
1. AWSAccessKeyId (CS API key of the user)
2. Signature
3. SignatureMethod ("HmacSHA256" or "HmacSHA1")
4. Version (wsdlVersion mentioned I the of your installation)
5. SignatureVersion (=2)
6. Timestamp (date and time at which the request is SIGNED)

But from the output of the cloud-setup-bridge cmd that you have pasted, your service offering
looks already mapped:

>>>Service offering ID for m1.small [ef2537ad-c70f-11e1-821b-0800277e749c]:
>>>Service offering ID for m1.large [2]:

The value enclosed within [] is the offering ID mapping existing in the DB. 
If you run cloud-setup-bridge again and enter a new ID, the existing mapping will be overwritten.

You can check following table in your DB to see if the mapping is set:
SELECT * FROM offering_bundle;

Also, If you happen to use CS 3.0.3 later, EC2 is installed along with CS and you can create
EC2 offerings through CS UI.


-----Original Message-----
From: sebastien goasguen [] 
Sent: Wednesday, July 18, 2012 10:18 AM
Subject: Cloudbridge SetOfferMapping


I am trying to register a service offering in cloudbridge (CS 3.0.2, cloudbridge 1.1.2), to
map m1.small instance type to a service offering id.
According to

I did:

[1] 10596
[2] 10597
yoyo:citrix runseb$ <html><head><title>Apache Tomcat/6.0.35 - Error
H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}
BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;}
B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;}
P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A
{color : black;} {color : black;}HR {color :
#525D76;}--></style> </head><body><h1>HTTP Status 530 - Missing
AWSAccessKeyId parameter</h1><HR size="1"
noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b>
<u>Missing AWSAccessKeyId parameter</u></p><p><b>description</b>
<u>Cannot find message associated with key http.530</u></p><HR size="1"
noshade="noshade"><h3>Apache Tomcat/6.0.35</h3></body></html>
[1]-  Done                    curl
[2]+  Done                    amazonoffer=m1.small

Do I need to add the key ? the docs don't mention it.

I also set the mapping with cloud-setup-bridge cmd:

[root@manager sebgoa]# cloud-setup-bridge Welcome to the CloudBridge setup.
Enter suitable values or press enter for default.

Management server hostname or IP []:
Management server port [8080]:
Service offering ID for m1.small [ef2537ad-c70f-11e1-821b-0800277e749c]:
Service offering ID for m1.large [2]:

But that does not seem to work either.

Sebastien Goasguen
Open Source Cloud Evangelist, Cloudstack

View raw message