[Openstack-devel] Current status of Folsom packaging (partial)

Roland Mas lolando at debian.org
Fri Oct 26 14:55:01 UTC 2012


  Hi all,

  As requested by Loïc and the Enovance crew, here's a summary of what's
been done on Folsom by yours truly.  I expect Thomas will follow up with
complements based on his own work.

- The many source packages and their respective build-time dependencies
  have been documented.  Thomas wrote an automated script to grab them
  all from Git and build them in the correct order; for those who'd
  prefer a more fine-grained approach, the
  https://wiki.debian.org/OpenStackHowto/Folsom page on the wiki has a
  list of steps that builds packages up to Swift, Keystone, Nova and
  Glance.  Others will follow.

- Keystone packaging has been updated so it creates its database
  (SQLite, MySQL or PostgreSQL) through dbconfig-common.  It also
  populates it with an admin user, an admin tenant and three default
  roles, after prompting for usernames and related info via Debconf.

- Glance now also creates its database; it includes Debconf questions
  asking for the Keystone credentials, and the packaging now stores
  these credentials in the configuration files (no more manual editing
  of files required).

- Ditto for Nova: it now also creates its database; it includes Debconf
  questions asking for the Keystone credentials, and the packaging now
  stores these credentials in the configuration files (no more manual
  editing of files required).

- Several of the packaging scripts contained similar functions to read
  values from configuration files, or modify them, or to parse standard
  Debconf questions and operate on them, or to parse SQL "connection
  strings".  Most of this common code has been "factored" in a shell
  script snippet that is interpolated at package build time.  This
  snippet is still duplicated across source packages, but it will
  probably be relocated to one single place at some point.

- With some preseeding for Debconf and dbconfig-common, the
  proxy/management host can now be installed non-interactively up to
  keystone+glance (nova-* will follow).  I have a script that starts a
  VM from a snapshot where the prerequisites (mysql-server
  rabbitmq-server memcached) are installed, and proceeds to install
  keystone and glance non-interactively in a bit under four minutes.

  My plan for the coming weeks is to continue in this vein, probably
with Nova or Swift.  A possible action would be to upload the relevant
bits to experimental when one can run a simple two-node cloud with a
working dashboard; that will of course be done in coordination with
Thomas, Ghe and others :-)

Roland.
-- 
Roland Mas

Au royaume des aveugles, les borgnes n'ont qu'un oeil.



More information about the Openstack-devel mailing list