Igor and Srinivasan , Thank you for your advice. I will check it. Regards,
Ridwan Pada Selasa, 22 Januari 2013 11:56:15 UTC+7, DicsyDel menulis: > > Also, make sure that user-data is enabled in your cloudstack settings. > Mentioned error means that user-data is not available on your cloudstack. > > Regards, > Igor > > > On 22 January 2013 10:07, Srinivasan S <[email protected]<javascript:> > > wrote: > >> ** >> The IP addresses you mention and the IPs in the log don't match. Check >> your Scalr config. >> Sent on my BlackBerry® from Vodafone >> ------------------------------ >> *From: * Ridwan Fardani <[email protected] <javascript:>> >> *Sender: * [email protected] <javascript:> >> *Date: *Mon, 21 Jan 2013 06:40:23 -0800 (PST) >> *To: *<[email protected] <javascript:>> >> *ReplyTo: * [email protected] <javascript:> >> *Subject: *create role for cloudstack >> >> Hi all, >> >> I have cloudstack 3.0.2 installed on IP: 192.168.1.53 and XenServer on >> 192.168.1.133. >> I can make instance in my cloudstack ui. >> Now I want to create role from scalr for cloudstack. My Scalr instance >> has installed in 192.168.1.101 >> I have followed instruction from wiki but failed. >> When I run scalarizr in my cloudstack platform (192.168.1.53), it raised >> error like that: >> $sudo scalarizr --import -y -o >> server-id=c75ddadb-9599-4e48-9222-e36277942205 -o role-name=ubuntutest -o >> crypto-key=GnSyNqRq38g6QX1/74YOd9eOJ84/uyfKbexHgYx3unHGJEGDHeI/fA== -o >> platform=cloudstack -o queryenv-url=http://domainname.com/query-env -o >> messaging-p2p.producer-url=http://domainname.com/messaging -o >> env-id=9657 -o region= >> >> 2013-01-21 18:11:21,236 - ERROR - scalarizr - Can't fetch meta-data from ' >> http://192.168.1.3/latest/user-data'. error: HTTP Error 503: Service >> Unavailable >> Traceback (most recent call last): >> File "/usr/lib/pymodules/python2.6/scalarizr/*init*.py", line 771, in >> main >> ud_server_id = pl.get_user_data(UserDataOptions.SERVER_ID) >> File "/usr/lib/pymodules/python2.6/scalarizr/platform/cloudstack/*init*.py", >> line 59, in get_user_data >> self.*userdata = self.*parse_user_data(self.get_meta_data('user-data')) >> File "/usr/lib/pymodules/python2.6/scalarizr/platform/cloudstack/*init*.py", >> line 72, in get_meta_data >> self.*metadata[key] = urllib2.urlopen(url).read().strip() >> File "/usr/lib/python2.6/urllib2.py", line 126, in urlopen >> return* opener.open(url, data, timeout) >> File "/usr/lib/python2.6/urllib2.py", line 397, in open >> response = meth(req, response) >> File "/usr/lib/python2.6/urllib2.py", line 510, in http_response >> 'http', request, response, code, msg, hdrs) File >> "/usr/lib/python2.6/urllib2.py", line 435, in error >> return self.*call_chain(*args) >> File "/usr/lib/python2.6/urllib2.py", line 369, in* call_chain >> result = func(*args) >> File "/usr/lib/python2.6/urllib2.py", line 518, in http_error_default >> raise HTTPError(req.get_full_url(), code, msg, hdrs, fp) >> PlatformError: Can't fetch meta-data from ' >> http://192.168.1.3/latest/user-data'. error: HTTP Error 503: Service >> Unavailable >> >> Anyone can help me? >> >> thanks before >> >> -- >> >> >> >> -- >> >> >> > > --
