[openstack-dev] New hotness with anvil!

Joshua Harlow harlowja at yahoo-inc.com
Tue Aug 28 00:34:38 UTC 2012


Just thought I'd let people know some of the progress in anvil if they are interested (or want to contribute).

:-)

 1.  It can now take what it installed/configured and create a rpm 'spec' file for rpmbuild so you don't have to!
    *   This includes anvil looking at its own accepted package list (and pip -> package mapping) and analyzing the pip-requires and test-requires to create the dependencies for said spec file. Very cool, ought to help with those that want to create a package for what they have installed (for now the configuration is left out, but seems easy to copy it in).
    *   See: http://anvil.readthedocs.org/en/latest/topics/examples.html#packaging
 2.  Now using pip freeze and yum to list whats already installed!
    *   Since anvil will install your openstack components for you, it needs to know how to map whats in the pip-requires and test-requires files (along with any other packages needed, ie libvirt and such) to actual system packages to install, previously this was not done very smartly (packages where reinstalled when they need not be), now since yum is in python and so is pip we can verify what is needed is already installed or isn't (and thus will have to be installed)
    *   For an example of an install look @ http://anvil.readthedocs.org/en/latest/topics/examples.html#installing
    *   For an example of the pip->package mapping look @ https://github.com/yahoo/Openstack-Anvil/blob/master/conf/distros/rhel.yaml#L101
 3.  Everything is in yaml!
    *   Previously there was a disconnect between 'ini' file usage for configuration and 'yaml' file usage for configuration, now this has been unified under yaml for each components configuration (anvil uses this configuration to know how to run and how to setup the component)
    *   See: https://github.com/yahoo/Openstack-Anvil/tree/master/conf/components
 4.  Configuring for folsom!
    *   Most components are now ready for usage with the folsom release (some work needs to be done on quantum and such)
 5.  Status reporting!
    *   Since anvil can start and stop all your openstack services (nova, glance, db…) it now can also give the status of those components (along with any logs that they have produced, think 'tail').
 6.  And of course the ever popular uninstall/install/stop/start are still there
    *   See: http://anvil.readthedocs.org/en/latest/topics/features.html

Try it out!
Feedback welcome (also help on the ubuntu lackings welcome!)

-Josh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20120827/86024c55/attachment.html>


More information about the OpenStack-dev mailing list