From Fedora Project Wiki

(add python-passlib notes)
m (→‎Preview repository: Simplified the command to add the OpenStack prview repo)
(48 intermediate revisions by 8 users not shown)
Line 1: Line 1:
= OpenStack =
= OpenStack =


[http://openstack.org OpenStack] consists of a number services for running IaaS clouds. They are the Object Store (Swift), Compute (Nova) and Image (Glance) services.
[http://openstack.org OpenStack] consists of a number services for running IaaS clouds. This includes Object Store (Swift), Compute (Nova) and Image (Glance) services, among others.


OpenStack is to be promoted as a [[Features/OpenStack|Fedora 16 Feature]].
The [http://wiki.openstack.org/ReleaseNotes/Diablo Diablo] release of OpenStack was [[Features/OpenStack|included Fedora 16]]. The [http://wiki.openstack.org/EssexReleaseSchedule Essex] release is [[Features/OpenStack_Essex|included in Fedora 17]]. The [http://wiki.openstack.org/FolsomReleaseSchedule Folsom] release is [[Features/OpenStack_Folsom|included in Fedora 18]].


This page tracks [[Cloud SIG|Fedora Cloud SIG]]'s effort to include OpenStack packages in Fedora.
This page tracks [[Cloud SIG|Fedora Cloud SIG]]'s effort to maintain OpenStack in Fedora. See our [[OpenStack_status_reports|periodic status reports]] for an insight into what's been happening.


== Getting Started ==
== Getting Started ==


See [[Getting started with OpenStack Nova]] for details on how to try out the OpenStack packages on Fedora 16.
See [[Getting started with OpenStack Nova]] for details on how to try out the OpenStack packages.


== Packages ==
== Preview repository ==


* [https://admin.fedoraproject.org/pkgdb/acls/name/openstack-swift openstack-swift] [https://bugzilla.redhat.com/buglist.cgi?component=openstack-swift&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED (bugs)]
OpenStack has a preview repository, allowing Fedora N-1 users to try out OpenStack packages from the latest Fedora release. This is similar to the [[Virtualization Preview Repository]].
* [https://admin.fedoraproject.org/pkgdb/acls/name/openstack-glance openstack-glance] [https://bugzilla.redhat.com/buglist.cgi?component=openstack-glance&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED (bugs)]
* [https://admin.fedoraproject.org/pkgdb/acls/name/openstack-nova openstack-nova] [https://bugzilla.redhat.com/buglist.cgi?component=openstack-nova&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED (bugs)]
* [https://admin.fedoraproject.org/pkgdb/acls/name/python-novaclient python-novaclient] [https://bugzilla.redhat.com/buglist.cgi?component=python-novaclient&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED (bugs)]
* [https://admin.fedoraproject.org/pkgdb/acls/name/openstack-keystone openstack-keystone] [https://bugzilla.redhat.com/buglist.cgi?component=openstack-keystone&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED (bugs)]
** Keystone needs python-passlib now, packaged 2011-10-18.


Preview packages, currently OpenStack Folsom, may be installed using yum after performing the following step:
curl http://repos.fedorapeople.org/repos/openstack/openstack-folsom/fedora-openstack-folsom.repo -o /etc/yum.repos.d/fedora-openstack-folsom.repo


== Package Reviews ==
= OpenStack in Fedora 17 =


* [https://bugzilla.redhat.com/617632 openstack-swift] (done)
[[Getting_started_with_OpenStack_on_Fedora_17| Instructions for getting started with OpenStack Essex on Fedora 17]]
* [https://bugzilla.redhat.com/707199 openstack-nova] (done)
* [https://bugzilla.redhat.com/731966 openstack-glance] (done)
* [https://bugzilla.redhat.com/731980 python-novaclient] (done)
* [https://bugzilla.redhat.com/735179 openstack-keystone] (done)


== ToDo ==
= OpenStack in Fedora 18 =


Prepare for F16 test day:
[[Features/OpenStack Folsom]] is a Fedora 18 feature, test instructions are available at [[Test_Day:2012-09-18_OpenStack]]


* [https://bugzilla.redhat.com/734346 SELinux policy for Nova]
== Packages ==
* Investigate existing test suites
* Experiment with Keystone configuration
* [https://bugzilla.redhat.com/734351 Downloadable Fedora images]
* Try using cloud-init with OpenStack


Notable bugs:
* [https://admin.fedoraproject.org/pkgdb/acls/name/openstack-swift openstack-swift] [https://bugzilla.redhat.com/buglist.cgi?component=openstack-swift&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=MODIFIED&bug_status=POST (bugs)]
* [https://admin.fedoraproject.org/pkgdb/acls/name/openstack-glance openstack-glance] [https://bugzilla.redhat.com/buglist.cgi?component=openstack-glance&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=MODIFIED&bug_status=POST (bugs)]
* [https://admin.fedoraproject.org/pkgdb/acls/name/openstack-nova openstack-nova] [https://bugzilla.redhat.com/buglist.cgi?component=openstack-nova&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=MODIFIED&bug_status=POST (bugs)]
* [https://admin.fedoraproject.org/pkgdb/acls/name/openstack-keystone openstack-keystone] [https://bugzilla.redhat.com/buglist.cgi?component=openstack-keystone&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=MODIFIED&bug_status=POST (bugs)]
* [https://admin.fedoraproject.org/pkgdb/acls/name/openstack-quantum openstack-quantum] [https://bugzilla.redhat.com/buglist.cgi?component=openstack-quantum&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=MODIFIED&bug_status=POST (bugs)]
* [https://admin.fedoraproject.org/pkgdb/acls/name/python-django-horizon python-django-horizon] [https://bugzilla.redhat.com/buglist.cgi?component=python-django-horizon&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=MODIFIED&bug_status=POST (bugs)]
* [https://admin.fedoraproject.org/pkgdb/acls/name/python-novaclient python-novaclient] [https://bugzilla.redhat.com/buglist.cgi?component=python-novaclient&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=MODIFIED&bug_status=POST (bugs)]
* [https://admin.fedoraproject.org/pkgdb/acls/name/python-nova-adminclient python-nova-adminclient] [https://bugzilla.redhat.com/buglist.cgi?component=python-nova-adminclient&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=MODIFIED&bug_status=POST (bugs)]
* [https://admin.fedoraproject.org/pkgdb/acls/name/python-quantumclient python-quantumclient] [https://bugzilla.redhat.com/buglist.cgi?component=python-quantumclient&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=MODIFIED&bug_status=POST (bugs)]
* [https://admin.fedoraproject.org/pkgdb/acls/name/python-keystoneclient python-keystoneclient] [https://bugzilla.redhat.com/buglist.cgi?component=python-keystoneclient&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=MODIFIED&bug_status=POST (bugs)]
* [https://admin.fedoraproject.org/pkgdb/acls/name/openstack-tempo openstack-tempo] [https://bugzilla.redhat.com/buglist.cgi?component=openstack-tempo&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=MODIFIED&bug_status=POST (bugs)]


* [https://bugzilla.redhat.com/741225 Figure out how to handle DB migrations in package updates]
== Package Reviews ==
* [https://bugzilla.redhat.com/740456 Cannot terminate instance after compute node reboot]
* [https://bugzilla.redhat.com/732692 Get correct version of python-xattr included in Fedora for glance image caching]
* See also the "bugs" links with each of the packages above
 
Packaging:
 
* Dashboard
* Quantum
* VNC console/ajaxterm
* See also the "to package" list below
 
Integration with Aeolus:
 
* Deltacloud driver for OpenStack 1.1 API
* Image factory support for uploading to OpenStack


Misc project ideas:
Packaging in progress:


* Fedora package builds of trunk in upstream's CI system
* none open at the moment
* Image building service based on Oz
* Use libguestfs for file injection
* Use Qpid instead of RabbitMQ


== Images ==
== Images ==
Line 73: Line 54:
== To Package ==
== To Package ==


# [https://launchpad.net/nova-adminclient python-nova-adminclient] - a Python library for Nova's admin API
# [https://github.com/rackspace/Tempo tempo] - a cron service; will be required by Nova in the Essex release
# [http://kanaka.github.com/noVNC/ noVNC] - a HTML5 VNC client
# [http://wiki.openstack.org/OpenStackDashboard openstack-dashboard] - self service web UI for OpenStack
# [http://wiki.openstack.org/Melange openstack-melange] - network information service (will be part of openstack-nova?)
# [http://wiki.openstack.org/Quantum openstack-quantum] - network connectivity service
# [http://wiki.openstack.org/DatabaseAsAService openstack-reddwarf] - database as a service (will be part of openstack-nova?
# [http://wiki.openstack.org/DatabaseAsAService openstack-reddwarf] - database as a service (will be part of openstack-nova?
# [http://burrow.openstack.org/ openstack-burrow] - message queue
# [https://github.com/dellcloudedge/crowbar crowbar] - OpenStack deployment service and chef wrapper
# [https://github.com/dellcloudedge/crowbar crowbar] - OpenStack deployment service and chef wrapper


== Notes ==
== Ubuntu ==
 
* Upstream bugs tagged with [https://bugs.launchpad.net/nova/+bugs?field.tag=diablo-backport diablo-backport] are good candidates for cherry-picking
* It may be be useful to compare OpenStack's packaging on other distributions. See [http://wiki.openstack.org/Packaging the OpenStack Packaging wiki]
* It may also be good to join [https://lists.ubuntu.com/mailman/listinfo/openstack-packaging Ubuntu's OpenStack packaging mailing list]
* [http://uec-images.ubuntu.com/oneiric/current/ Ubuntu's Cloud Images]


= OpenStack in EPEL =
Some of Ubuntu's stuff may be useful to compare against:


All of the packages require python-sphinx. These all need at least this adjustment for EL6:
* [http://wiki.openstack.org/Packaging Ubuntu OpenStack packaging wiki]
<pre>
* [https://lists.ubuntu.com/mailman/listinfo/openstack-packaging Ubuntu OpenStack packaging mailing list]
-BuildRequires:   python-sphinx
* [http://uec-images.ubuntu.com/oneiric/current/ Ubuntu cloud images]
+%{?fedora:BuildRequires:    python-sphinx >= 1.0}
* [http://cssoss.wordpress.com/2011/10/19/openstack-beginners-guide-v2-0-for-diablo-on-ubuntu-11-10-oneiric-is-here/ OpenStack Beginner's Guide on Ubuntu 11-10]
+%{?el6:BuildRequires:    python-sphinx10}
</pre>


and to use sphinx-1.0-build instead of sphinx-build.
== OpenStack Official Documentation ==
* [http://docs.openstack.org/ OpenStack Manuals]


Packages in EPEL
= OpenStack in EPEL =
* openstack-swift


Packages needing to be added to EPEL
The Folsom version of OpenStack is in EPEL 6 TESTING, supporting RHEL 6.3.
* openstack-glance (fixed in git, needs build)
See the [[Getting started with OpenStack EPEL]] for installation and setup notes
* python-novaclient (fixed in git, needs build)
* openstack-nova
** needs python-distutils-extra, pushed to epel-testing 20110831 https://admin.fedoraproject.org/updates/python-distutils-extra-2.29-1.el6
** need bpython, pushed to epel-testing 20110901 https://admin.fedoraproject.org/updates/bpython-0.9.7.1-3.el6
* openstack-keystone
** need python-passlib, pending Fedora release 2011-10-18


= OpenStack in Fedora 15 =
You can drill down to the latest "el6" version of each of the
[http://koji.fedoraproject.org/koji/search?match=glob&type=package&terms=openstack* openstack packages]
to see, the latest versions available and associated changes.


Packages in Fedora 15
The following ancillary EPEL packages were added/updated to support the openstack packages:
* openstack-swift


Packages needing to be added to Fedora 15
* python-distutils-extra
* openstack-glance
* bpython
* python-migrate
* python-novaclient
* python-novaclient
* openstack-nova
* python-prettytable
* python-greenlet
* python-eventlet
* python-eventlet
* python-prettytable
* python-passlib
* corrected libvirt
* python-sqlalchemy0.7
** from [http://libvirt.org/git/?p=libvirt.git;a=commitdiff;h=e5f3b90e97] - fix for wrong console permissions
* python-nose1.1
* python-webob1.0
* python-routes1.12
* python-paste-deploy1.5
 


[[Category:Cloud SIG]]
[[Category:OpenStack]]

Revision as of 12:02, 18 November 2012

OpenStack

OpenStack consists of a number services for running IaaS clouds. This includes Object Store (Swift), Compute (Nova) and Image (Glance) services, among others.

The Diablo release of OpenStack was included Fedora 16. The Essex release is included in Fedora 17. The Folsom release is included in Fedora 18.

This page tracks Fedora Cloud SIG's effort to maintain OpenStack in Fedora. See our periodic status reports for an insight into what's been happening.

Getting Started

See Getting started with OpenStack Nova for details on how to try out the OpenStack packages.

Preview repository

OpenStack has a preview repository, allowing Fedora N-1 users to try out OpenStack packages from the latest Fedora release. This is similar to the Virtualization Preview Repository.

Preview packages, currently OpenStack Folsom, may be installed using yum after performing the following step:

curl http://repos.fedorapeople.org/repos/openstack/openstack-folsom/fedora-openstack-folsom.repo -o /etc/yum.repos.d/fedora-openstack-folsom.repo

OpenStack in Fedora 17

Instructions for getting started with OpenStack Essex on Fedora 17

OpenStack in Fedora 18

Features/OpenStack Folsom is a Fedora 18 feature, test instructions are available at Test_Day:2012-09-18_OpenStack

Packages

Package Reviews

Packaging in progress:

  • none open at the moment

Images

Rather than recommending users to download pre-built Ubuntu images in Getting_started_with_OpenStack Nova, we should have a set of official Fedora images like Cloud_SIG/EC2_Images. These should be built using similar process to the EC2 images.

For now, we can suggest users build Fedora images using Oz.

To Package

  1. openstack-reddwarf - database as a service (will be part of openstack-nova?
  2. crowbar - OpenStack deployment service and chef wrapper

Ubuntu

Some of Ubuntu's stuff may be useful to compare against:

OpenStack Official Documentation

OpenStack in EPEL

The Folsom version of OpenStack is in EPEL 6 TESTING, supporting RHEL 6.3. See the Getting started with OpenStack EPEL for installation and setup notes

You can drill down to the latest "el6" version of each of the openstack packages to see, the latest versions available and associated changes.

The following ancillary EPEL packages were added/updated to support the openstack packages:

  • python-distutils-extra
  • bpython
  • python-migrate
  • python-novaclient
  • python-prettytable
  • python-greenlet
  • python-eventlet
  • python-passlib
  • python-sqlalchemy0.7
  • python-nose1.1
  • python-webob1.0
  • python-routes1.12
  • python-paste-deploy1.5