Re: Essex EPEL Testing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi David, hi all:

Looking the openstack-nova package, I suggest to build separated packages for api, network, compute, cert, objectstorage, scheduler, docs, python-nova and others needed. I'm thinking in run these components in separated machines like many others users thinking in an enterprise environment. Like it is, is generally used for development environments. What you think about it? I can prepare the sub-packages if you accept this change.

Cheers,



On Thu, Apr 26, 2012 at 12:25 PM, Brown, David M JR <david.brown@xxxxxxxx> wrote:
Aha!!!

Figured it out.

The compute node also needs to have auth_stragegy = keystone to work properly and pull the compute image across the wire. Might be something to add to the EPEL page for adding a compute node.

Thanks,
- David Brown

-----Original Message-----
From: Brown, David M JR
Sent: Thursday, April 26, 2012 7:21 AM
To: 'Derek Higgins'; Fedora Cloud SIG
Subject: RE: Essex EPEL Testing

>
> It looks to me like your missing qpid_hostname from the compute node, because your using qpid as the rpc backend I think rabbit_host is ignored, try qpid_hostname = <ipaddr>

> That config param on the wiki needs to be updated, I'll sort that out now, I noticed also it says to start the network service on the compute node I don't think this is required (infact it might cause problems).
> I'll run through this section of the wiki and see if anything else needs updating. If you notice anything else yourself, feel free to update the document or post here.

Thanks Derek that seemed to work. However, aren't all AMQP derivatives going to have the same endpoint configuration? Why isn't amqp_host and amqp_port? Probably something for the openstack guys.

So now the compute node and the controller are communicating I'm getting a back trace when trying to launch an instance over there.

2012-04-26 07:11:04 TRACE nova.rpc.amqp Traceback (most recent call last):
2012-04-26 07:11:04 TRACE nova.rpc.amqp   File "/usr/lib/python2.6/site-packages/nova/rpc/amqp.py", line 252, in _process_data
2012-04-26 07:11:04 TRACE nova.rpc.amqp     rval = node_func(context=ctxt, **node_args)
2012-04-26 07:11:04 TRACE nova.rpc.amqp   File "/usr/lib/python2.6/site-packages/nova/exception.py", line 114, in wrapped
2012-04-26 07:11:04 TRACE nova.rpc.amqp     return f(*args, **kw)
2012-04-26 07:11:04 TRACE nova.rpc.amqp   File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 177, in decorated_function
2012-04-26 07:11:04 TRACE nova.rpc.amqp     sys.exc_info())
2012-04-26 07:11:04 TRACE nova.rpc.amqp   File "/usr/lib64/python2.6/contextlib.py", line 23, in __exit__
2012-04-26 07:11:04 TRACE nova.rpc.amqp     self.gen.next()
2012-04-26 07:11:04 TRACE nova.rpc.amqp   File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 171, in decorated_function
2012-04-26 07:11:04 TRACE nova.rpc.amqp     return function(self, context, instance_uuid, *args, **kwargs)
2012-04-26 07:11:04 TRACE nova.rpc.amqp   File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 651, in run_instance
2012-04-26 07:11:04 TRACE nova.rpc.amqp     do_run_instance()
2012-04-26 07:11:04 TRACE nova.rpc.amqp   File "/usr/lib/python2.6/site-packages/nova/utils.py", line 946, in inner
2012-04-26 07:11:04 TRACE nova.rpc.amqp     retval = f(*args, **kwargs)
2012-04-26 07:11:04 TRACE nova.rpc.amqp   File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 650, in do_run_instance
2012-04-26 07:11:04 TRACE nova.rpc.amqp     self._run_instance(context, instance_uuid, **kwargs)
2012-04-26 07:11:04 TRACE nova.rpc.amqp   File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 451, in _run_instance
2012-04-26 07:11:04 TRACE nova.rpc.amqp     self._set_instance_error_state(context, instance_uuid)
2012-04-26 07:11:04 TRACE nova.rpc.amqp   File "/usr/lib64/python2.6/contextlib.py", line 23, in __exit__
2012-04-26 07:11:04 TRACE nova.rpc.amqp     self.gen.next()
2012-04-26 07:11:04 TRACE nova.rpc.amqp   File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 420, in _run_instance
2012-04-26 07:11:04 TRACE nova.rpc.amqp     image_meta = self._check_image_size(context, instance)
2012-04-26 07:11:04 TRACE nova.rpc.amqp   File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 498, in _check_image_size
2012-04-26 07:11:04 TRACE nova.rpc.amqp     image_meta = _get_image_meta(context, instance['image_ref'])
2012-04-26 07:11:04 TRACE nova.rpc.amqp   File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 184, in _get_image_meta
2012-04-26 07:11:04 TRACE nova.rpc.amqp     return image_service.show(context, image_id)
2012-04-26 07:11:04 TRACE nova.rpc.amqp   File "/usr/lib/python2.6/site-packages/nova/image/glance.py", line 241, in show
2012-04-26 07:11:04 TRACE nova.rpc.amqp     _reraise_translated_image_exception(image_id)
2012-04-26 07:11:04 TRACE nova.rpc.amqp   File "/usr/lib/python2.6/site-packages/nova/image/glance.py", line 239, in show
2012-04-26 07:11:04 TRACE nova.rpc.amqp     image_id)
2012-04-26 07:11:04 TRACE nova.rpc.amqp   File "/usr/lib/python2.6/site-packages/nova/image/glance.py", line 145, in _call_retry
2012-04-26 07:11:04 TRACE nova.rpc.amqp     return getattr(client, name)(*args, **kwargs)
2012-04-26 07:11:04 TRACE nova.rpc.amqp   File "/usr/lib/python2.6/site-packages/glance/client.py", line 101, in get_image_meta
2012-04-26 07:11:04 TRACE nova.rpc.amqp     res = self.do_request("HEAD", "/images/%s" % image_id)
2012-04-26 07:11:04 TRACE nova.rpc.amqp   File "/usr/lib/python2.6/site-packages/glance/common/client.py", line 61, in wrapped
2012-04-26 07:11:04 TRACE nova.rpc.amqp     return func(self, *args, **kwargs)
2012-04-26 07:11:04 TRACE nova.rpc.amqp   File "/usr/lib/python2.6/site-packages/glance/common/client.py", line 420, in do_request
2012-04-26 07:11:04 TRACE nova.rpc.amqp     headers=headers)
2012-04-26 07:11:04 TRACE nova.rpc.amqp   File "/usr/lib/python2.6/site-packages/glance/common/client.py", line 75, in wrapped
2012-04-26 07:11:04 TRACE nova.rpc.amqp     return func(self, method, url, body, headers)
2012-04-26 07:11:04 TRACE nova.rpc.amqp   File "/usr/lib/python2.6/site-packages/glance/common/client.py", line 534, in _do_request
2012-04-26 07:11:04 TRACE nova.rpc.amqp     raise exception.NotAuthenticated(res.read())
2012-04-26 07:11:04 TRACE nova.rpc.amqp ImageNotAuthorized: Not authorized for image 74ac10a0-5522-44f7-b677-b2b5060a4b18.
2012-04-26 07:11:04 TRACE nova.rpc.amqp

The last line is the important bit. Is there a way to run a glance client from the command line to the remote controller? Are there credentials for every node in the cluster and did they get corrupt somehow?

Thoughts?

Thanks,
- David Brown
_______________________________________________
cloud mailing list
cloud@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/cloud



--
Marco Sinhoreli
_______________________________________________
cloud mailing list
cloud@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/cloud

[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Big List of Linux Books]     [Yosemite News]     [Linux Apps]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

  Powered by Linux