[Openstack] Setup Openstack to be called from Jclouds API

Lahiru Sandaruwan lahirugmg at gmail.com
Mon May 28 08:12:37 UTC 2012


I installed Openstack in a friend's machine. It worked than in my machine.
But when i run 'euca-run-instances -k mykey -t m1.tiny'
the instance is hanged on 'networking' state. After i restarted nova, i
can't run “euca-describe-instances” .
*It gives, *
Warning: failed to parse error message from AWS: <unknown>:1:0: syntax error
BotoServerError: 500 Internal Server Error
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/eventlet/wsgi.py", line 336, in
handle_one_response
    result = self.application(self.environ, start_response)
  File "/usr/lib/pymodules/python2.7/paste/urlmap.py", line 203, in __call__
    return app(environ, start_response)
  File "/usr/lib/pymodules/python2.7/webob/dec.py", line 147, in __call__
    resp = self.call_func(req, *args, **self.kwargs)
  File "/usr/lib/pymodules/python2.7/webob/dec.py", line 208, in call_func
    return self.func(req, *args, **kwargs)
  File "/usr/lib/pymodules/python2.7/nova/api/ec2/__init__.py", line 59, in
__call__
    rv = req.get_response(self.application)
  File "/usr/lib/pymodules/python2.7/webob/request.py", line 937, in
get_response
    application, catch_exc_info=False)
  File "/usr/lib/pymodules/python2.7/webob/request.py", line 906, in
call_application
    app_iter = application(self.environ, start_response)
  File "/usr/lib/pymodules/python2.7/webob/dec.py", line 147, in __call__
    resp = self.call_func(req, *args, **self.kwargs)
  File "/usr/lib/pymodules/python2.7/webob/dec.py", line 208, in call_func
    return self.func(req, *args, **kwargs)
  File "/usr/lib/pymodules/python2.7/nova/api/ec2/__init__.py", line 172,
in __call__
    exception.InvalidSignature) as ex:
AttributeError: 'module' object has no attribute 'InvalidSignature'

Can anyone help please.
Thank you.



On Mon, May 28, 2012 at 9:36 AM, Lahiru Sandaruwan <lahirugmg at gmail.com>wrote:

> Hi all,
>
> I'm struggling with setting up Openstack in my machine. I followed [1] to
> set up it quickly but failed.
>
>  It seems the problem is with bridge interface. I get this.
>
> Command failed, please check log for more info
> 2012-05-28 09:31:07 CRITICAL nova [-] --bridge_interface is required to
> create a network.
>
> My requirement is to use Jclouds API with Openstack. I could manage EC2
> with their example [2].
> So i want to call Openstack using same way, just passing my IaaS type,
> credentials.
>
> Any help would be highly appricated.
>
>
> Thank you very much.
>
>
> [1]
> http://zulcss.wordpress.com/2011/03/31/running-nova-openstack-on-amazon-ec2/
> [2] https://github.com/jclouds/jclouds-examples/tree/master/compute-basics
> --
> --
> Regards,
> --
> --
> Lahiru Sandaruwan
> Software Engineer,
> Cloud Team,
> WSO2 Inc., http://wso2.com
> lean.enterprise.middleware
>
> email: lahirugmg at gmail.com cell: (+94) 773 325 954
> blog: http://lahiruwrites.blogspot.com/
> twitter: http://twitter.com/lahirus
> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>
>
>
>
>


-- 
--
Regards,
--
-- 
Lahiru Sandaruwan
Software Engineer,
Cloud Team,
WSO2 Inc., http://wso2.com
lean.enterprise.middleware

email: lahirugmg at gmail.com cell: (+94) 773 325 954
blog: http://lahiruwrites.blogspot.com/
twitter: http://twitter.com/lahirus
linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120528/b6b8860a/attachment.html>


More information about the Openstack mailing list