cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebastien goasguen <run...@gmail.com>
Subject Cloudbridge SetOfferMapping
Date Wed, 18 Jul 2012 17:17:49 GMT
HI,

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 http://docs.cloud.com/CloudBridge_Documentation/Utility_Commands_for_CloudBridge

I did:

curl http://192.168.56.103:8090/bridge/rest/AmazonEC2?Action=SetOfferMapping&amazonoffer=m1.small&cloudoffer=ef2537ad-c70f-11e1-821b-0800277e749c
[1] 10596
[2] 10597
yoyo:citrix runseb$ <html><head><title>Apache Tomcat/6.0.35 - Error
report</title><style><!--H1
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
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;}A.name {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
http://192.168.56.103:8090/bridge/rest/AmazonEC2?Action=SetOfferMapping
[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 [192.168.56.102]:
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
http://sites.google.com/site/runseb/

Mime
View raw message