[openstack-dev] Anvil in action!

Joshua Harlow harlowja at yahoo-inc.com
Sun Aug 11 00:07:08 UTC 2013


Since I thought it would be useful to show others a real example of anvil doing its thing (and since I wanted to try out this new website/tool that easily shows this) I created a terminal screencast that shows the different stages anvil goes through.

For those who have not tried anvil (or do not have easy access to a centos/rhel machine) below are some live examples that I recorded (showterm.io is pretty neat). Note that after the building stage the repositories that are created can be used by more than just anvil to do further installations of the same components (and there dependencies).

The walkthrough itself: http://anvil.readthedocs.org/en/latest/topics/gettingstarted.html



---Bootstrap---

This is needed to get ready for the rest of anvils stages by installing anvils python dependencies so that anvil can correctly run using said dependencies.

See: http://showterm.io/effa75ea631777a2e74a0



---Preparing---

This stage does the download of the source repositories, analysis of dependencies, download of missing dependencies and building of source repositories and missing dependencies into source rpms.

See: http://showterm.io/12c29e87094f128d945fa

Directory structure after this stage: http://showterm.io/c9558f78582727432bbb9



---Building---

This is the stage responsible for translating the previously prepared source rpms into installable rpms (of the non-source type). The output of this phase is two repositories, one with the dependencies and one with the rpms for the openstack components themselves.

See: http://showterm.io/2fee38794dcf536ccd437

Directory structure after this stage: http://showterm.io/6ec41fe645bb0e9423c1a



---Installing---

This is the stage that is responsible for ensuring the needed rpms are still available and installing them onto your system (using all the created dependencies and repositories from the previous stages). It also configures the components configuration files (paste for example) and sets up the needed databases and MQ components (rabbit or qpid).

See: http://showterm.io/ed2611a6f9c086acfa8f8



---Starting---

This stage now starts the services for the individual components. At this stage, since each component was packaged as an rpm we also nicely included a set of init.d scripts for each component in its rpm; this starting support uses those init.d scripts to start those components up. It also goes about running the needed post-start actions, including downloading+installing an image for you, setting up keystone configuration and making your nova network.

See: http://showterm.io/8ad5f96882e09a4d97ca3



---Stopping---

This stage uses the service control layer to stop all components.

See: http://showterm.io/a3a23838ebd476d93a6a1



---Uninstalling---

This removes the packages that were installed (+ it does some extra cleanup of some components dirty laundry that is sometimes left behind), restoring your environment back to its pre-installation state.

See: http://showterm.io/3e4d8892084e5f66ac18d

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


More information about the OpenStack-dev mailing list