Red Hat Bugzilla – Bug 649495
Review Request: openstack-nova - OpenStack Compute (nova)
Last modified: 2015-06-09 04:47:01 EDT
Nova is a cloud computing fabric controller (the main part of an IaaS system) built to match the popular AWS EC2 and S3 APIs. It is written in Python, using the Tornado and Twisted frameworks, and relies on the standard AMQP messaging protocol, and the Redis KVS.
Nova is intended to be easy to extend, and adapt. For example, it currently uses an LDAP server for users and groups, but also includes a fake LDAP server, that stores data in Redis. It has extensive test coverage, and uses the Sphinx toolkit (the same as Python itself) for code and user documentation.
This package isn't done yet, I'm just putting it up to start getting feedback from the Fedora Cloud SIG, although by the time you read this it might be ready, so check comments below.
Fixed many of the runtime issues (all daemons now start).
You said the package isn't complete yet. So what is open and needs to be done?
I just need to do more testing and ensure everything works correctly. The basics are there and seem to work, but its not 100%.
I should have time either some night this week or at least this weekend.
If anyone wants to install the packages and try to get everything working together and report back bugs that would move it along faster.
P.S. Obviously it also depends on python-carrot.
Just to get started. sphinx is pulling in some external things when the package is beeing build.
I don't see that it picks up the Qpid packages for AMQP correctly which are in Fedora. Can that be fixed before the review request is approved. Qpid 0-8 has been pushed to FC, so test against that version
Once this has been fixed, I'll be happy to check it.
First, thanks for your input!
Second, I'm not really sure server components should be required by the package.
I think if you ran Nova at any type of scale you're not going to have the AMQP server(s) on any of the Nova servers.
From a packaging standpoint I think it would be similar to something like Wordpress where the product obviously requires it, the package should require the drivers (php-mysql) to configure the application to talk to the service (in our case python-carrot), but assuming the user will want the database and the web server to live on the same machine doesn't seem right.
Also, although AMQP in theory should be compatible I haven't had much luck with python-amqplib and qpid, but I also haven't tried in about a year.
If we decided to push anything I'd default to what upstream is developing and testing against, which last time I checked was RabbitMQ.
Anyway, I haven't had much time in the last month fully test this, but I'm setting aside some next over the next week or two to get it up and running again.
Cart.. not sure how I missed that typo, sorry, I meant Carl.
Silas, The RPM looks quite good so far. I just noticed that /etc/logrotate.d/openstack-nova is the same file as /etc/nova/nova-manage.conf:
Are you still interested in packaging nova?? If not, let me know I'll try and find a
Bexar is of course out now, but the review hasn't seen an update in a month or so, are you waiting on some additional feedback?? What can we do to move this forward?
Yeah, if someone would like to take it over feel free, I just can't seem to find the time to get it updated, tested and working.
I've updated the spec file created by Silas, so it builds fine for the latest stable openstack-nova release 2011.2
It is still a bit rough around the edges, my intention is to get it into fedora, so people can start testing. This might also be interesting for the Cloud SIG.
opestack-glance will be the next step.
There are already packages for rhel6:
Well... I have fedora 14 and i have installed the repository for openstack. My problem is that openstack need python 2.6 , but i have python 2.7 ...I think that you should test it with the 2.7 and make it works with that...
The srpm in #11 builds unpackaged files for ajaxterm. Should it be an additional package or part of some other?
I suppose that is a mistake. Those files should be part of the package.
Btw. there is now someone with packages for Fedora: http://mirantis.blogspot.com/2011/05/openstack-deployment-on-fedora-using.html
Maybe those specs can be used upstream, if they follow Fedoras package guidelines - and they are willing to contribute.
bug #707199 also provides spec files for nova.
Also, although AMQP in theory should be compatible I haven't had much luck with
python-amqplib and qpid, but I also haven't tried in about a year.
I don't believe amqp-lib is comaptibale. There is a python lib in fedora, python-qpid which is qpid and Rabbit & every other AQMP broker compat.
For fedora, easiest would be to swap out amqp-lib out with python-qpid
The ajaxterm should probably be part of the compute package. (Comment 14)
The spec files are there, but the src.rpm URL gets a 404. (Comment 16)
is this a duplicate of bug #707199 ?
I suppose both specs were developed at a different time, but without knowledge of each other.
bug #707199 looks much more mature.
@Silas: Could you and Oleg in #707199 figure out which of the SRPMs should be reviewed, even if it means comaintaining some combination of both :) We'd like to mark one of these as a duplicate, and make sure people end up with less work at the end.
*** This bug has been marked as a duplicate of bug 707199 ***