aboutsummaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python
AgeCommit message (Collapse)Author
2014-04-24pysqlite: fix license specification to Zlib (versus zlib)Bruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-04-23python-neutron: the openvswitch agent requires iproute2Mark Asselstine
We need iproute2 or the agent will fail to start as 'ip' from busybox is not capable enough. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-04-23cleanup: leave source config files pristineMark Asselstine
Editing the files in ${WORKDIR} using sed or similar tools as part of do_install means they can only be edited once. Supplying a modified CONTROLLER_IP in local.conf and building the image again will not result in the CONTROLLER_IP being properly updated since the substitution placeholders will no longer exist. We therefore simply swap the other of things, installing the configuration files first, then editing them to swap the placeholders. This means we can run the do_install again and again and get the results we expect. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-04-23barbican: ReST API designed for the secure storage, provisioning and ↵Bruce Ashfield
management of secrets Introduce the barbican package: https://wiki.openstack.org/wiki/Barbican, to support the management of keys and secrets on an OpenStack system. The barbican api service can be started with the packaged initscript, and has been validated against the barbican quick start guide. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-04-23keystone: add barbican users, roles and endpointsBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-04-23wsgi: WSGI (PEP 333) Reference LibraryBruce Ashfield
barbican uses the standalone wsgi reference library. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-04-23pysqlite: Python interface to SQLite 3Bruce Ashfield
barbican uses sqlite for its database, and uses pysqlite to access data. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-04-23oslo.messaging: Oslo Messaging APIBruce Ashfield
Barbican uses the standalone oslo.messaging API, so we introduce the pypi version. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-04-23falcon: An unladen web framework for building APIs and app backendsBruce Ashfield
To support Barbican, we introduce the recipe for falcon. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-04-15python-neutron: openvswitch plugin read config filesMark Asselstine
Currently the openvswitch plugin doesn't read any config files so we are unable to configure it properly. Have the init script pass in the config files we are already installing. The config needs local_ip set otherwise it will fail to run. We can't just tack rabbit_host on the end of the conf file as it is in the wrong section, so change this to a substitution. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
2014-04-15python-neutron: cleanup dhcp agent packagingMark Asselstine
Cleanup packaging to get the necessary .ini and related files into the dhcp-agent package. Add a cron job to keep things clean. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
2014-04-15python-neutron: get the l3-agent properly packagedMark Asselstine
The recipe had the initial groundwork established to create the l3-agent package but some aspects were incomplete. Add the necessary .ini file and create the initscript necessary to launch the l3-agent at boot time. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
2014-04-15python-neutron: don't install the empty log directoryMark Asselstine
Commit 984c2d69f51824a4c1e7b3a448fe24759e594026 [OpenStack: sysvinit scripts - enable logging] added the necessary code to create the log directories in the init scripts start() functions. In addition this directory exists in the 'volatiles' so this code was doing nothing. Removing this to avoid possible confusion around the creating of this directory. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
2014-04-15python-neutron: remove greedy FILES_Mark Asselstine
We need to use specific filenames instead of a glob to prevent the linuxbridge and openvswitch ini files from being bundled as part of the main package as opposed to their respective packages. Without this change the FILES_ rules for the sub-packages are not effective and the resulting packages are not being populated as expected. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
2014-04-15python-ipaddr: setup.py for this pkg uses distutilsMark Asselstine
Examining the setup.py we find "from distutils.core import setup" we therefor need to inherit distutils, not setuptools. Having the wrong inherit was under certain circumstances causing the do_install to fail with: | error: option --single-version-externally-managed not recognized | ERROR: python setup.py install execution failed. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
2014-04-15glanceclient: use BPN instead of PNMark Asselstine
BPN should be used in this case and this also prevents confusing the fetcher code and getting a "The SRCREV_FORMAT variable must be set wh en multiple SCMs are used." error. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
2014-04-11glance: enable swift backendVu Tran
Modify glance config file to allow it to be able to use Swift as backend driver. Signed-off-by: Vu Tran <vu.tran@windriver.com>
2014-04-11cinder-backup: enable swift backendVu Tran
Modify cinder config file allows cinder-backup to be able to use swift as backend for storing cinder backup volume on Swift cluster. Also add variable CINDER_BACKUP_BACKEND_DRIVER which allows setting default cinder backup backend driver. Right now set it to Swift. Signed-off-by: Vu Tran <vu.tran@windriver.com>
2014-04-11keystone: to support swiftVu Tran
Modify Keystone identity.sh to add Swift user, service, and service endpoints into Keystone. Signed-off-by: Vu Tran <vu.tran@windriver.com>
2014-04-11swiftclient: add testsVu Tran
Introduce swiftclient test package which contains all Swiftclient unit tests. Swiftclient unit tests can be run as: $ cd /usr/lib64/python2.7/site-packages/swiftclient $ nosetests -v tests Signed-off-by: Vu Tran <vu.tran@windriver.com>
2014-04-11swift: add setup packageVu Tran
Introduce swift setup package. At boot time, this package setups a simple swift cluster including: * 3 zones * each zone has 1 storage device which are based on loopback devices which the backing files size is controlled by variable SWIFT_BACKING_FILE_SIZE The script /etc/swift/swift_setup.sh is also provided to ease the task of setting up a complicated Swift cluster. It reads a cluster config file, which describes what storage devices are included in what rings, and constructs the cluster. For details of how to use swift_setup.sh and the format of Swift cluster config file please refer to the script's help: $ swift_setup.sh Signed-off-by: Vu Tran <vu.tran@windriver.com>
2014-04-11swift: add testsVu Tran
Introduce swift test package which contains all Swift unit tests. Swift unit tests can be run as: $ cd /usr/lib64/python2.7/site-packages/swift $ nosetests -v test Signed-off-by: Vu Tran <vu.tran@windriver.com>
2014-04-11swift: separate dispersion configVu Tran
There are many changes required for proxy-dispersion config file. So instead of having sed to replace all little details, it's cleaner to add new config file that contains the changes Signed-off-by: Vu Tran <vu.tran@windriver.com>
2014-04-11swift: separate proxy server configVu Tran
There are many changes required for proxy-server config file. So instead of having sed to replace all little details, it's cleaner to add new config file that contains the changes Signed-off-by: Vu Tran <vu.tran@windriver.com>
2014-04-11swift: change services config filesVu Tran
Modify config files of the following Swift services: contains-server, account-server, and object-server in order for these services are able to start correctly. Signed-off-by: Vu Tran <vu.tran@windriver.com>
2014-04-11swift: include dnspythonVu Tran
Swift depends on dnspython Signed-off-by: Vu Tran <vu.tran@windriver.com>
2014-04-11introduce python-dnspython packageVu Tran
python-dnspython is DNS toolkit for Python (http://www.dnspython.org/) which is required by python-swift, so introduce it here. Signed-off-by: Vu Tran <vu.tran@windriver.com>
2014-04-11python-horizon: apache mod_wsgi path errorAmy Fong
openstack-dashboard-apache hardcoded libdir, modify this to %LIBDIR% and substitude in the install phase... Signed-off-by: Amy Fong <amy.fong@windriver.com>
2014-04-10python-horizon init scriptsAmy Fong
Split out a new package horizon-standalone that just contains the init script for the built in webserver. Signed-off-by: Amy Fong <amy.fong@windriver.com>
2014-04-10Enable python-horizon to run from apache.Amy Fong
- modify python-horizon to install files needed for horizon/apache - add apache configuration file (openstack-dashboard-apache.conf) to setup a virtual host running from port 80 to run the mod_wsgi/openstack-dashboard app - add horizon-apache and apache2 to controller task list - Note: local_settings.py differs from the one in examples in two ways: 1. LOCAL_PATH = "/usr/share/openstack-dashboard/openstack_dashboard/static" since the apache app runs as daemon, we neeed to specify a path where daemon has write permissions 2. configure python-horizon/apache to use memcached. (see CACHES) Signed-off-by: Amy Fong <amy.fong@windriver.com>
2014-04-10Package python-memcachedAmy Fong
Provide python-memcached; this uses memcached; openstack-dashboard can be configured to use this for performance benefits. Signed-off-by: Amy Fong <amy.fong@windriver.com>
2014-04-09tox: introduce the tox framework and dependenciesBruce Ashfield
To enabled OpenStack unit testing: https://wiki.openstack.org/wiki/Testing#Unit_Testing_with_Tox We introduce tox and its depedencies. Adding it to the tempest RDEPENDS ensures that it is installed along with the rest of the test frameworks. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-04-07ceilometer: update to icehouse-rc1Bruce Ashfield
Updating to the icehouse ceilometer, which has more functionality and features than the havana version. Also, we have to fix the resource query for postgres versus mysql. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-04-07horizon: refresh to the latest havana/stable contentBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-04-07havana/stable:ceilometer: update and introduce package for havana/stableBruce Ashfield
The havana stable and icehouse ceilometer required two new packages and updated wsme and stevedore. So we update them here. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-04-07python-iso: update to 0.1.10Bruce Ashfield
ceilometer requires > 0.1.9, so we update to 0.1.10 and metering returns! Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-04-07python-six: update to 1.6.1Bruce Ashfield
For compatibility with opnestack icehouse and more python3 compatible applications, updating to python-six 1.6.1. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-04-04glance/keystone/neutron/nova: update to latest havana/stableBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-04-03clients: update to the latest client codeBruce Ashfield
Updating to the latest clients as of April 3, 2014. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-04-03clients: add bash-completion supportBruce Ashfield
Package and enable the bash completion suppor that comes with the various client packages. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-03-31Memory leak from timingsAmy Fong
Memory leak happens when the dynamic list times grows without anything to reset it. In ceilometer and cinder configuration files, the new option is created: [nova_client] max_timing_buffer=<value> In all clients found that uses extends the HTTPClient and uses the times list, we limit the size of the list by popping off the oldest item in the list to maintain a maximum size. A default size of 200 is chosen, configurable by the above configuration option. Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-03-28OpenStack: sysvinit scripts - enable loggingAmy Fong
Explicitly enable --log-dir to enable logging where available Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-03-28python-nova: drop python-argparse dependencyBruce Ashfield
argparse is part of python 2.7+, so there's no need to install the .egg version of argparse. Nova was pulling in this requirement, which doesn't cause a problem until another python app includes both argparse and the built in one. That results in the following: UserWarning: Module argparse was already imported from /usr/lib/python2.7/argparse.pyc, but /usr/lib/python2.7/site-packages is being added to sys.path So we drop the argparse dependency, everything still works and we no longer have the warning. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-03-27nova-consoleauth :redundant "status" in helpAmy Fong
Usage info for initrd script says status twice, cleaning up. Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-03-25OpenStack: modify controller to be able to talk to both consoleAmy Fong
We modify the controller so that both vnc and spice html5 proxies are running. Since in the current recipe, both controller and compute share the same nova.conf file, in the compute, both vnc and spice html5 are set to enabled and in this configuration, vnc is chosen (in source: vnc is chosen because it's better tested). To change to spice, only change required is on the compute side. The controller (since the default console_type is auto) will try to talk to both and run whichever is available. Signed-off-by: Amy Fong <amy.fong@windriver.com>
2014-03-24OpenStack: nova-novncproxy:can't stop this serviceAmy Fong
nova-novncproxy and nova-spicehtml5proxy both do not check to see if the process specified in PIDFILE exists before firing off a new one. Both initrd files can actually use nova.init (used for the many other nova-* daemons) nova-consoleauth also has this issue, we add a check in start to see if the process in PIDFILE exists and exits if it does. Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-03-24OpenStack: add SPICE console supportAmy Fong
Package spice-html5 Modify python-nova to add infrastructure for nova-spicehtml5proxy support. Note: spice is the default Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-03-24glance: make default_store configurableVu Tran
The "default_store" option in /etc/glance/glance-api.conf controls how glance store images. Make this option configurable through variable GLANCE_DEFAULT_STORE. Signed-off-by: Vu Tran <vu.tran@windriver.com>
2014-03-24cinder: add script for creating volume typeVu Tran
Add a convenient script for creating Cinder volume types which are currently supported. Signed-off-by: Vu Tran <vu.tran@windriver.com>
2014-03-24nova-compute: enable to use cephVu Tran
Enable nova-compute to: * use cinder volume stored in a ceph pool as a block device * store glance image into a ceph pool. Also port 2 patches from https://github.com/openstack/nova branch master into Havana branch. Signed-off-by: Vu Tran <vu.tran@windriver.com>