Update with packaging example

This commit is contained in:
Joshua Harlow 2012-08-27 17:08:28 -07:00
parent 9be96448f0
commit 712a431d69
4 changed files with 476 additions and 28 deletions

View File

@ -83,6 +83,14 @@ Packaging
:language: none
:linenos:
::
$ cat /home/harlowja/openstack/nova/package/SPECS/nova-2012.2-1.spec
.. literalinclude:: examples/packaging-result.txt
:language: none
:linenos:
Uninstalling
---------------------------

View File

@ -0,0 +1,288 @@
%define _topdir /home/harlowja/openstack/nova/package
# Spec file for nova auto-generated on Mon, 27 Aug 2012 23:49:28 by harlowja
# Copyright (C) 2012 Yahoo! Inc. All Rights Reserved.
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
Name: nova
Summary: cloud computing fabric controller
Version: 2012.2
Release: 1%{?dist}
Packager: harlowja <harlowja@followsave.corp.yahoo.com>
URL: http://www.openstack.org/
Vendor: OpenStack
Source0: nova-2012.2.tar.gz
Source1: nova-2012.2-1.spec.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
License: UNKNOWN
BuildArch: noarch
AutoReqProv: no
# Build requirements
BuildRequires: python
BuildRequires: python-devel
BuildRequires: gcc
BuildRequires: python-setuptools
# Install requirements
Requires: MySQL-python
Requires: dnsmasq
Requires: ebtables
Requires: fuse
Requires: iptables
Requires: iputils
Requires: kpartx
Requires: parted
Requires: sqlite
Requires: vconfig
Requires: python-amqplib
Requires: python-anyjson
Requires: python-eventlet
Requires: python-kombu
Requires: python-lxml
Requires: python-routes1.12
Requires: python-webob1.0
Requires: python-greenlet
Requires: python-paste-deploy1.5
Requires: python-paste
Requires: python-netaddr
Requires: python-suds
Requires: python-paramiko
Requires: python-babel
Requires: python-iso8601
Requires: python-httplib2
Requires: python-mox
Requires: python-nose1.1
Requires: python-pep8
Requires: pylint
Requires: python-feedparser
%description
cloud computing fabric controller
%prep
%setup -q -n %{name}-%{version}
%build
%{__python} setup.py build
%install
%{__python} setup.py install --prefix=%{_prefix} --root=%{buildroot}
%files
%defattr(-,root,root,-)
%{python_sitelib}/nova
%{python_sitelib}/nova-*.egg-info/
%{_bindir}/
%dir %{python_sitelib}/nova
%changelog
* Mon Aug 27 2012 Jenkins <jenkins@review.openstack.org>
- Merge "request_spec['instance_uuids'] as list in resize"
* Mon Aug 27 2012 Jenkins <jenkins@review.openstack.org>
- Merge "Add lintstack error checker based on pylint"
* Mon Aug 27 2012 Jenkins <jenkins@review.openstack.org>
- Merge "Remove unused flags"
* Mon Aug 27 2012 Jenkins <jenkins@review.openstack.org>
- Merge "Fix column variable typo"
* Mon Aug 27 2012 Jenkins <jenkins@review.openstack.org>
- Merge "Move ensure_tree to utils"
* Mon Aug 27 2012 Yun Mao <yunmao@gmail.com>
- Fix column variable typo
* Mon Aug 27 2012 Jenkins <jenkins@review.openstack.org>
- Merge "Fix typo in call in cinder.API unreserve_volume"
* Mon Aug 27 2012 Jenkins <jenkins@review.openstack.org>
- Merge "Remove test_keypair_create_quota_limit()"
* Mon Aug 27 2012 Jenkins <jenkins@review.openstack.org>
- Merge "Add nosehtmloutput as a test dependency."
* Mon Aug 27 2012 Jenkins <jenkins@review.openstack.org>
- Merge "Make instance_update_and_get_original() atomic"
* Mon Aug 27 2012 Jenkins <jenkins@review.openstack.org>
- Merge "Fix deallocate_fixed_ip() call by unifying signature"
* Mon Aug 27 2012 Jenkins <jenkins@review.openstack.org>
- Merge "Remove unused permitted_instance_types"
* Mon Aug 27 2012 Jenkins <jenkins@review.openstack.org>
- Merge "Fix path to example extension implementation"
* Sun Aug 26 2012 Jenkins <jenkins@review.openstack.org>
- Merge "Update .mailmap"
* Sun Aug 26 2012 Michael Still <mikal@stillhq.com>
- Move ensure_tree to utils
* Sat Aug 25 2012 Zhongyue Luo <zhongyue.nah@intel.com>
- Update .mailmap
* Sat Aug 25 2012 Tom Fifield <fifieldt@unimelb.edu.au>
- Fix path to example extension implementation
* Sat Aug 25 2012 Jenkins <jenkins@review.openstack.org>
- Merge "Add missing import webob.exc"
* Sat Aug 25 2012 Jenkins <jenkins@review.openstack.org>
- Merge "Remove duplicated test_migrate_disk_and_power_off()"
* Sat Aug 25 2012 Jenkins <jenkins@review.openstack.org>
- Merge "Remove duplicated method VM_migrate_send"
* Sat Aug 25 2012 Jenkins <jenkins@review.openstack.org>
- Merge "Fix broken SimpleScheduler.schedule_run_instance()"
* Sat Aug 25 2012 Jenkins <jenkins@review.openstack.org>
- Merge "Add missing user_id in revoke_certs_by_user_and_project()"
* Sat Aug 25 2012 Jenkins <jenkins@review.openstack.org>
- Merge "Rename class_name to project_id"
* Sat Aug 25 2012 Jenkins <jenkins@review.openstack.org>
- Merge "Use the compute_rpcapi instance not the module"
* Sat Aug 25 2012 Yaguang Tang <heut2008@gmail.com>
- Make pre block migration create correct disk files.
* Sat Aug 25 2012 Yaguang Tang <heut2008@gmail.com>
- Remove unused and old methods in hyperv and powervm driver.
* Fri Aug 24 2012 Clay Gerrard <clay.gerrard@gmail.com>
- request_spec['instance_uuids'] as list in resize
* Fri Aug 24 2012 Yun Mao <yunmao@gmail.com>
- Define default mode and device_id_string in Mount
* Fri Aug 24 2012 Yun Mao <yunmao@gmail.com>
- Remove test_keypair_create_quota_limit()
* Fri Aug 24 2012 Yun Mao <yunmao@gmail.com>
- Remove duplicated test_migrate_disk_and_power_off()
* Fri Aug 24 2012 Yun Mao <yunmao@gmail.com>
- Add missing import webob.exc
* Fri Aug 24 2012 Jenkins <jenkins@review.openstack.org>
- Merge "Add missing context argument to start_transfer calls"
* Fri Aug 24 2012 Maru Newby <mnewby@internap.com>
- Fix broken SimpleScheduler.schedule_run_instance()
* Fri Aug 24 2012 Jenkins <jenkins@review.openstack.org>
- Merge "Make pre block migration create correct disk files."
* Fri Aug 24 2012 Jenkins <jenkins@review.openstack.org>
- Merge "Remove unused and old methods in hyperv and powervm driver."
* Fri Aug 24 2012 Yun Mao <yunmao@gmail.com>
- Add missing user_id in revoke_certs_by_user_and_project()
* Fri Aug 24 2012 Jenkins <jenkins@review.openstack.org>
- Merge "Trap iscsiadm error"
* Fri Aug 24 2012 Jenkins <jenkins@review.openstack.org>
- Merge "Check volume status before detaching."
* Fri Aug 24 2012 Jenkins <jenkins@review.openstack.org>
- Merge "Simplify network create logic"
* Fri Aug 24 2012 Yun Mao <yunmao@gmail.com>
- Rename class_name to project_id
* Fri Aug 24 2012 Jenkins <jenkins@review.openstack.org>
- Merge "Clean up network create exception handling"
* Fri Aug 24 2012 Jenkins <jenkins@review.openstack.org>
- Merge "Ensure hairpin_mode is set whenever vifs is added to bridge."
* Fri Aug 24 2012 Jenkins <jenkins@review.openstack.org>
- Merge "Returns hypervisor_hostname in xml of extension"
* Fri Aug 24 2012 Jenkins <jenkins@review.openstack.org>
- Merge "Adds integration testing for api samples"
* Fri Aug 24 2012 Yun Mao <yunmao@gmail.com>
- Use the compute_rpcapi instance not the module
* Fri Aug 24 2012 Yun Mao <yunmao@gmail.com>
- Remove duplicated method VM_migrate_send
* Fri Aug 24 2012 Yun Mao <yunmao@gmail.com>
- Add missing context argument to start_transfer calls
* Fri Aug 24 2012 Jim Fehlig <jfehlig@suse.com>
- Remove unused permitted_instance_types
* Fri Aug 24 2012 Jenkins <jenkins@review.openstack.org>
- Merge "Adding indexes to frequently joined database columns."
* Fri Aug 24 2012 Jenkins <jenkins@review.openstack.org>
- Merge "Return actual availability zones"
* Fri Aug 24 2012 Jenkins <jenkins@review.openstack.org>
- Merge "Check association when removing floating ip."
* Fri Aug 24 2012 Jenkins <jenkins@review.openstack.org>
- Merge "Remove test_instance_update_with_instance_id test"
* Fri Aug 24 2012 Jenkins <jenkins@review.openstack.org>
- Merge "Ensure log formats are quoted in sample conf"
* Fri Aug 24 2012 Jenkins <jenkins@review.openstack.org>
- Merge "Don't include hostname and IP in generated sample conf"
* Fri Aug 24 2012 Jenkins <jenkins@review.openstack.org>
- Merge "Add two prereq pkgs to nova devref env guide"
* Fri Aug 24 2012 Jenkins <jenkins@review.openstack.org>
- Merge "XCP-XAPI version fix"
* Fri Aug 24 2012 Chuck Short <zulcss@ubuntu.com>
- Trap iscsiadm error
* Fri Aug 24 2012 Chuck Short <zulcss@ubuntu.com>
- Check volume status before detaching.
* Fri Aug 24 2012 Mark McLoughlin <markmc@redhat.com>
- Simplify network create logic
* Fri Aug 24 2012 Mark McLoughlin <markmc@redhat.com>
- Clean up network create exception handling
* Fri Aug 24 2012 Yaguang Tang <heut2008@gmail.com>
- Ensure hairpin_mode is set whenever vifs is added to bridge.
* Fri Aug 24 2012 Jenkins <jenkins@review.openstack.org>
- Merge "Implement network creation in compute API"
* Thu Aug 23 2012 Jenkins <jenkins@review.openstack.org>
- Merge "Remove unused instance id-to-uuid function"
* Thu Aug 23 2012 Yun Mao <yunmao@gmail.com>
- Fix deallocate_fixed_ip() call by unifying signature
* Thu Aug 23 2012 Jenkins <jenkins@review.openstack.org>
- Merge "Allow generate_sample.sh to be run from toplevel dir"
* Thu Aug 23 2012 Jenkins <jenkins@review.openstack.org>
- Merge "Let admin list instances in vm_states.DELETED"
* Thu Aug 23 2012 Jenkins <jenkins@review.openstack.org>
- Merge "Re-work the handling of firewall_driver default"
* Thu Aug 23 2012 Yun Mao <yunmao@gmail.com>
- Make instance_update_and_get_original() atomic
* Thu Aug 23 2012 Jenkins <jenkins@review.openstack.org>
- Merge "Provide a hint for missing EC2 image ids"
* Thu Aug 23 2012 Jenkins <jenkins@review.openstack.org>
- Merge "Allows libvirt to set a serial number for a volume"
* Thu Aug 23 2012 Jenkins <jenkins@review.openstack.org>
- Merge "Include CommonConfigOpts options in sample config"
* Thu Aug 23 2012 Jenkins <jenkins@review.openstack.org>
- Merge "Re-generate nova.conf.sample"
* Thu Aug 23 2012 Jenkins <jenkins@review.openstack.org>
- Merge "Ignoring *.sw[op] files"
* Thu Aug 23 2012 Jenkins <jenkins@review.openstack.org>
- Merge "continue deleting instance even if quantum port delete fails"
* Thu Aug 23 2012 Yun Mao <yunmao@gmail.com>
- Remove test_instance_update_with_instance_id test
* Thu Aug 23 2012 Mark McLoughlin <markmc@redhat.com>
- Remove unused instance id-to-uuid function
* Thu Aug 23 2012 Mark McLoughlin <markmc@redhat.com>
- Re-work the handling of firewall_driver default
* Thu Aug 23 2012 Mark McLoughlin <markmc@redhat.com>
- Include CommonConfigOpts options in sample config
* Thu Aug 23 2012 Mark McLoughlin <markmc@redhat.com>
- Re-generate nova.conf.sample
* Thu Aug 23 2012 Mark McLoughlin <markmc@redhat.com>
- Ensure log formats are quoted in sample conf
* Thu Aug 23 2012 Mark McLoughlin <markmc@redhat.com>
- Don't include hostname and IP in generated sample conf
* Thu Aug 23 2012 Mark McLoughlin <markmc@redhat.com>
- Allow generate_sample.sh to be run from toplevel dir
* Thu Aug 23 2012 Michael Still <mikal@stillhq.com>
- Return actual availability zones
* Thu Aug 23 2012 Michael Still <mikal@stillhq.com>
- Provide a hint for missing EC2 image ids
* Thu Aug 23 2012 Jenkins <jenkins@review.openstack.org>
- Merge "Update sqlite to use PoolEvents for regexp."
* Thu Aug 23 2012 Jenkins <jenkins@review.openstack.org>
- Merge "add availability_zone to openstack metadata"
* Thu Aug 23 2012 Jenkins <jenkins@review.openstack.org>
- Merge "Adds support for serial to libvirt config disks."
* Thu Aug 23 2012 Jenkins <jenkins@review.openstack.org>
- Merge "Typo fix: existant => existent"
* Thu Aug 23 2012 Tom Fifield <fifieldt@unimelb.edu.au>
- Add two prereq pkgs to nova devref env guide
* Wed Aug 22 2012 Joe Gordon <jogo@cloudscaling.com>
- Remove unused flags
* Wed Aug 22 2012 Rafi Khardalian <rafi@metacloud.com>
- Re-define libvirt domain on "not found" exception
* Wed Aug 22 2012 Jenkins <jenkins@review.openstack.org>
- Merge "Fix hyperv Cfgs: StrOpt to IntOpt"
* Wed Aug 22 2012 Jenkins <jenkins@review.openstack.org>
- Merge "Remove unused _create_network_filters()"
* Tue Aug 21 2012 Lianhao Lu <lianhao.lu@intel.com>
- Check association when removing floating ip.
* Mon Aug 20 2012 Vishvananda Ishaya <vishvananda@gmail.com>
- Returns hypervisor_hostname in xml of extension
* Thu Aug 16 2012 Jian Wen <wenjianhn@gmail.com>
- Let admin list instances in vm_states.DELETED
* Wed Aug 15 2012 Yun Mao <yunmao@gmail.com>
- Add lintstack error checker based on pylint
* Mon Aug 13 2012 unicell <unicell@gmail.com>
- Implement project specific flavors API
* Sun Aug 12 2012 Vishvananda Ishaya <vishvananda@gmail.com>
- Adds integration testing for api samples
* Tue Aug 07 2012 Justin Shepherd <jshepher@rackspace.com>
- Adding indexes to frequently joined database columns.

View File

@ -1 +1,141 @@
$ lsb_release -a
LSB Version: :core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Distributor ID: RedHatEnterpriseServer
Description: Red Hat Enterprise Linux Server release 6.2 (Santiago)
Release: 6.2
Codename: Santiago
$ sudo ./smithy --version
anvil v2012.2-dev
$ sudo ./smithy -a package
INFO: @anvil.distro : Matched distro rhel for platform Linux-2.6.32-220.4.2.el6.YAHOO.20120217.x86_64-x86_64-with-redhat-6.2-Santiago
_ ___ ___ _ __ ___ _____ _ __ _
,' \ / o |/ _/ / |/ /,' _//_ _/.' \ ,'_/ / //7
/ o |/ _,'/ _/ / || /_\ `. / / / o // /_ / ,'
|_,'/_/ /___//_/|_//___,' /_/ /_n_/ |__//_/\\
Anvil: | 2012.2-dev |
And now for something completely different!
-----------------Action Runner------------------
INFO: @anvil : Starting action package on Mon, 27 Aug 2012 23:48:44 for distro: rhel
INFO: @anvil : Using persona: conf/personas/in-a-box/basic.yaml
INFO: @anvil : In root directory: /home/harlowja/openstack
INFO: @anvil.action : Processing components for action package.
INFO: @anvil.action : Activating in the following order:
INFO: @anvil.action : |-- general
INFO: @anvil.action : |-- db
INFO: @anvil.action : |-- rabbit-mq
INFO: @anvil.action : |-- keystone
INFO: @anvil.action : |-- keystone-client
INFO: @anvil.action : |-- glance
INFO: @anvil.action : |-- glance-client
INFO: @anvil.action : |-- nova
INFO: @anvil.action : |-- nova-client
INFO: @anvil.action : |-- openstack-client
INFO: @anvil.action : Booting up your components.
INFO: @anvil.action : Updated passwords to be used from 1 files:
INFO: @anvil.action : |-- /home/harlowja/anvil/passwords.yaml
INFO: @anvil.action : Verifying that the components are ready to rock-n-roll.
INFO: @anvil.action : Warming up component configurations.
INFO: @anvil.action : Updated/created 1 password files:
INFO: @anvil.action : |-- /home/harlowja/anvil/passwords.yaml
INFO: @anvil.actions.package : Creating a package for component general.
INFO: @anvil.actions.package : Package created at /home/harlowja/openstack/general/package for component general.
INFO: @anvil.actions.package : Creating a package for component db.
INFO: @anvil.actions.package : Package created at /home/harlowja/openstack/db/package for component db.
INFO: @anvil.actions.package : Creating a package for component rabbit-mq.
INFO: @anvil.actions.package : Package created at /home/harlowja/openstack/rabbit-mq/package for component rabbit-mq.
INFO: @anvil.actions.package : Creating a package for component keystone.
WARNING: @anvil.distros.rhel : Unable to package pip pam dependency in an rpm.
WARNING: @anvil.distros.rhel : Unable to package pip nosexcover dependency in an rpm.
WARNING: @anvil.distros.rhel : Unable to package pip webtest dependency in an rpm.
WARNING: @anvil.distros.rhel : Unable to package pip sqlalchemy dependency in an rpm.
WARNING: @anvil.distros.rhel : Unable to package pip sqlalchemy-migrate dependency in an rpm.
WARNING: @anvil.distros.rhel : Unable to package pip passlib dependency in an rpm.
WARNING: @anvil.distros.rhel : Unable to package pip coverage dependency in an rpm.
WARNING: @anvil.distros.rhel : Unable to package pip openstack.nose_plugin dependency in an rpm.
WARNING: @anvil.distros.rhel : Unable to package pip nosehtmloutput dependency in an rpm.
WARNING: @anvil.distros.rhel : Unable to package pip sphinx dependency in an rpm.
WARNING: @anvil.distros.rhel : Unable to package pip distribute dependency in an rpm.
INFO: @anvil.actions.package : Package created at /home/harlowja/openstack/keystone/package for component keystone.
INFO: @anvil.actions.package : Creating a package for component keystone-client.
WARNING: @anvil.distros.rhel : Unable to package pip prettytable dependency in an rpm.
WARNING: @anvil.distros.rhel : Unable to package pip distribute dependency in an rpm.
WARNING: @anvil.distros.rhel : Unable to package pip coverage dependency in an rpm.
WARNING: @anvil.distros.rhel : Unable to package pip nose-exclude dependency in an rpm.
WARNING: @anvil.distros.rhel : Unable to package pip openstack.nose_plugin dependency in an rpm.
WARNING: @anvil.distros.rhel : Unable to package pip nosehtmloutput dependency in an rpm.
WARNING: @anvil.distros.rhel : Unable to package pip sphinx dependency in an rpm.
INFO: @anvil.actions.package : Package created at /home/harlowja/openstack/keystone-client/package for component keystone-client.
INFO: @anvil.actions.package : Creating a package for component glance.
WARNING: @anvil.distros.rhel : Unable to package pip boto dependency in an rpm.
WARNING: @anvil.distros.rhel : Unable to package pip wsgiref dependency in an rpm.
WARNING: @anvil.distros.rhel : Unable to package pip xattr dependency in an rpm.
WARNING: @anvil.distros.rhel : Unable to package pip jsonschema dependency in an rpm.
WARNING: @anvil.distros.rhel : Unable to package pip sqlalchemy dependency in an rpm.
WARNING: @anvil.distros.rhel : Unable to package pip sqlalchemy-migrate dependency in an rpm.
WARNING: @anvil.distros.rhel : Unable to package pip pycrypto dependency in an rpm.
WARNING: @anvil.distros.rhel : Unable to package pip passlib dependency in an rpm.
WARNING: @anvil.distros.rhel : Unable to package pip distribute dependency in an rpm.
WARNING: @anvil.distros.rhel : Unable to package pip coverage dependency in an rpm.
WARNING: @anvil.distros.rhel : Unable to package pip nose-exclude dependency in an rpm.
WARNING: @anvil.distros.rhel : Unable to package pip openstack.nose_plugin dependency in an rpm.
WARNING: @anvil.distros.rhel : Unable to package pip nosehtmloutput dependency in an rpm.
WARNING: @anvil.distros.rhel : Unable to package pip sphinx dependency in an rpm.
WARNING: @anvil.distros.rhel : Unable to package pip requests dependency in an rpm.
INFO: @anvil.actions.package : Package created at /home/harlowja/openstack/glance/package for component glance.
INFO: @anvil.actions.package : Creating a package for component glance-client.
WARNING: @anvil.distros.rhel : Unable to package pip nosexcover dependency in an rpm.
WARNING: @anvil.distros.rhel : Unable to package pip setuptools-git dependency in an rpm.
WARNING: @anvil.distros.rhel : Unable to package pip warlock dependency in an rpm.
WARNING: @anvil.distros.rhel : Unable to package pip prettytable dependency in an rpm.
WARNING: @anvil.distros.rhel : Unable to package pip distribute dependency in an rpm.
WARNING: @anvil.distros.rhel : Unable to package pip nose-exclude dependency in an rpm.
WARNING: @anvil.distros.rhel : Unable to package pip openstack.nose_plugin dependency in an rpm.
WARNING: @anvil.distros.rhel : Unable to package pip nosehtmloutput dependency in an rpm.
WARNING: @anvil.distros.rhel : Unable to package pip sphinx dependency in an rpm.
INFO: @anvil.actions.package : Package created at /home/harlowja/openstack/glance-client/package for component glance-client.
INFO: @anvil.actions.package : Creating a package for component nova.
WARNING: @anvil.distros.rhel : Unable to package pip Cheetah dependency in an rpm.
WARNING: @anvil.distros.rhel : Unable to package pip python-daemon dependency in an rpm.
WARNING: @anvil.distros.rhel : Unable to package pip sqlalchemy dependency in an rpm.
WARNING: @anvil.distros.rhel : Unable to package pip boto dependency in an rpm.
WARNING: @anvil.distros.rhel : Unable to package pip sqlalchemy-migrate dependency in an rpm.
WARNING: @anvil.distros.rhel : Unable to package pip setuptools-git dependency in an rpm.
WARNING: @anvil.distros.rhel : Unable to package pip distribute dependency in an rpm.
WARNING: @anvil.distros.rhel : Unable to package pip coverage dependency in an rpm.
WARNING: @anvil.distros.rhel : Unable to package pip openstack.nose_plugin dependency in an rpm.
WARNING: @anvil.distros.rhel : Unable to package pip nosehtmloutput dependency in an rpm.
WARNING: @anvil.distros.rhel : Unable to package pip sphinx dependency in an rpm.
INFO: @anvil.actions.package : Package created at /home/harlowja/openstack/nova/package for component nova.
INFO: @anvil.actions.package : Creating a package for component nova-client.
WARNING: @anvil.distros.rhel : Unable to package pip prettytable dependency in an rpm.
WARNING: @anvil.distros.rhel : Unable to package pip distribute dependency in an rpm.
WARNING: @anvil.distros.rhel : Unable to package pip nose-exclude dependency in an rpm.
WARNING: @anvil.distros.rhel : Unable to package pip nosexcover dependency in an rpm.
WARNING: @anvil.distros.rhel : Unable to package pip openstack.nose_plugin dependency in an rpm.
WARNING: @anvil.distros.rhel : Unable to package pip nosehtmloutput dependency in an rpm.
WARNING: @anvil.distros.rhel : Unable to package pip sphinx dependency in an rpm.
INFO: @anvil.actions.package : Package created at /home/harlowja/openstack/nova-client/package for component nova-client.
INFO: @anvil.actions.package : Creating a package for component openstack-client.
WARNING: @anvil.distros.rhel : Unable to package pip cliff dependency in an rpm.
WARNING: @anvil.distros.rhel : Unable to package pip prettytable dependency in an rpm.
WARNING: @anvil.distros.rhel : Unable to package pip pycrypto dependency in an rpm.
WARNING: @anvil.distros.rhel : Unable to package pip distribute dependency in an rpm.
WARNING: @anvil.distros.rhel : Unable to package pip coverage dependency in an rpm.
WARNING: @anvil.distros.rhel : Unable to package pip nose-exclude dependency in an rpm.
WARNING: @anvil.distros.rhel : Unable to package pip nosexcover dependency in an rpm.
WARNING: @anvil.distros.rhel : Unable to package pip openstack.nose_plugin dependency in an rpm.
WARNING: @anvil.distros.rhel : Unable to package pip nosehtmloutput dependency in an rpm.
WARNING: @anvil.distros.rhel : Unable to package pip sphinx dependency in an rpm.
INFO: @anvil.actions.package : Package created at /home/harlowja/openstack/openstack-client/package for component openstack-client.
INFO: @anvil.action : Tearing down your components.
INFO: @anvil.action : Updated/created 1 password files:
INFO: @anvil.action : |-- /home/harlowja/anvil/passwords.yaml
INFO: @anvil : It took 55.166 seconds or 0.92 minutes to complete action package.
__________
< Success! >
----------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||

View File

@ -2,42 +2,54 @@
Features
========
- Multi distribution installs via a single tool
- Multi distribution *actions* via a single tool
- A set of configuration files (in yaml format) that shows common/component/distribution configurations
- Supports the following *actions* on the various of `OpenStack`_ components.
#. **Installing**: downloading, installing dependencies (`pypi`_ and apt/yum packaging specifics), establishing the
needed configuration files, symlinks, adjustments, tweaks (and so on...)
#. **Starting**: starting of the components sub-programs with
the needed configuration via the common `daemon`_ model (with a ``pid``, ``stderr`` and ``stdout`` file set)
#. **Stopping**: stopping of the previously started components
#. **Uninstalling**: removing installed configuration, undoing of installed files/directories,
and removing of packaging to get back to an initial 'clean' state
#. **Testing**: running each components unit tests (and in the future performing a simple set of integration tests)
#. **Packaging**: creating a basic set of packages for the desired distributions
#. **Status**: checking the status of the running components sub-programs
* **Installing**: downloading, installing dependencies (`pypi`_ and apt/yum packaging specifics), establishing the
needed configuration files, symlinks, adjustments, tweaks (and so on...)
* **Starting**: starting of the components sub-programs with
the needed configuration via the common `daemon`_ model (with a ``pid``, ``stderr`` and ``stdout`` file set)
* **Stopping**: stopping of the previously started components
* **Uninstalling**: removing installed configuration, undoing of installed files/directories,
and removing of packaging to get back to an initial 'clean' state
* **Testing**: running each components unit tests (and in the future performing a simple set of integration tests)
* **Packaging**: creating a basic set of packages for the desired distributions
- Supports automatic injection of dependencies, creation of change log from git history...
* **Status**: checking the status of the running components sub-programs
- Supports dry-run mode (to see what *would* happen)
- Tracking of all actions taken by a component via tracking like files (mainly for uninstall, but useful for analysis)
- Written in python so it matches the style of other `OpenStack`_ components.
- Code decoupling (thus encouraging re-use by others)
#. Components/actions are isolated as individual classes (and so on). This
decouples component installation from the action and decoupling of the
commands/packages/pips the component will use to install itself from the
component...
#. Supports installation *personas* that define what is to be installed, thus
decoupling the 'what' from the 'how'.
* Components/actions are isolated as individual classes (and so on). This
decouples component installation from the action and decoupling of the
commands/packages/pips the component will use to install itself from the
component...
* Supports installation *personas* that define what is to be installed, thus
decoupling the 'what' from the 'how'.
- Extensively documented distribution specifics (also decoupled)
#. See the ``conf/distros`` directory for examples
- Progress resuming so that when you install you can ``ctrl+c`` ``./smithy`` and resume later (where applicable).
* See the ``conf/distros`` directory for examples
- Install/start/stop... resumption so that when you install you can ``ctrl+c`` ``./smithy`` and resume later (where applicable).
- Extensive logging (and debug mode)
#. All commands ran are logged, all configuration files read/write...
* All commands ran are logged, all configuration files read/write...
- Package/pip tracking
#. Each components ``pip-requires`` and ``test-requires`` are mapped to (and checked against) the distribution package
or a pip package which can provide that requirement.
#. This allows for installations to use the distributions native packages (when applicable)
as well as provides a list of pips which should be packaged by that distribution before the given `OpenStack`_ release
is stabilized.
#. This also allows for releases anvil to track exactly how (and what packages and what mapping) is needed for a given
anvil release tag (which will map to a given `OpenStack`_ release tag), thus freezing what is needed for that release.
* Each components ``pip-requires`` and ``test-requires`` are mapped to (and checked against) the distribution package
or a pip package which can provide that requirement.
* This allows for installations to use the distributions native packages (when applicable)
as well as provides a list of pips which should be packaged by that distribution before the given `OpenStack`_ release
is stabilized.
* This also allows for releases anvil to track exactly how (and what packages and what mapping) is needed for a given
anvil release tag (which will map to a given `OpenStack`_ release tag), thus freezing what is needed for that release.
.. _epel: http://fedoraproject.org/wiki/EPEL
.. _forking: http://users.telenet.be/bartl/classicperl/fork/all.html