summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python
Commit message (Collapse)AuthorAgeFilesLines
...
* tox: introduce the tox framework and dependenciesBruce Ashfield2014-04-094-0/+113
| | | | | | | | | | | 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>
* ceilometer: update to icehouse-rc1Bruce Ashfield2014-04-072-4/+46
| | | | | | | | | 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>
* horizon: refresh to the latest havana/stable contentBruce Ashfield2014-04-071-1/+1
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* havana/stable:ceilometer: update and introduce package for havana/stableBruce Ashfield2014-04-074-4/+55
| | | | | | | 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>
* python-iso: update to 0.1.10Bruce Ashfield2014-04-071-2/+2
| | | | | | | ceilometer requires > 0.1.9, so we update to 0.1.10 and metering returns! Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-six: update to 1.6.1Bruce Ashfield2014-04-071-4/+4
| | | | | | | 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>
* glance/keystone/neutron/nova: update to latest havana/stableBruce Ashfield2014-04-044-6/+4
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* clients: update to the latest client codeBruce Ashfield2014-04-038-9/+9
| | | | | | Updating to the latest clients as of April 3, 2014. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* clients: add bash-completion supportBruce Ashfield2014-04-039-22/+105
| | | | | | | Package and enable the bash completion suppor that comes with the various client packages. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* Memory leak from timingsAmy Fong2014-03-3118-7/+374
| | | | | | | | | | | | | | | | | 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>
* OpenStack: sysvinit scripts - enable loggingAmy Fong2014-03-2810-14/+45
| | | | | | | 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>
* python-nova: drop python-argparse dependencyBruce Ashfield2014-03-281-1/+0
| | | | | | | | | | | | | | | | | 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>
* nova-consoleauth :redundant "status" in helpAmy Fong2014-03-271-1/+1
| | | | | | | 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>
* OpenStack: modify controller to be able to talk to both consoleAmy Fong2014-03-255-139/+16
| | | | | | | | | | | | | | | 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>
* OpenStack: nova-novncproxy:can't stop this serviceAmy Fong2014-03-245-190/+146
| | | | | | | | | | | | 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>
* OpenStack: add SPICE console supportAmy Fong2014-03-245-4/+133
| | | | | | | | | | | | 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>
* glance: make default_store configurableVu Tran2014-03-241-0/+4
| | | | | | | | | 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>
* cinder: add script for creating volume typeVu Tran2014-03-242-0/+12
| | | | | | | | Add a convenient script for creating Cinder volume types which are currently supported. Signed-off-by: Vu Tran <vu.tran@windriver.com>
* nova-compute: enable to use cephVu Tran2014-03-244-0/+191
| | | | | | | | | | | | | 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>
* cinder: enable cinder-backup to use cephVu Tran2014-03-242-2/+22
| | | | | | | | Enable cinder-backup to use ceph as backend. It mainly changes cinder.conf and creates cinder-backup package. Signed-off-by: Vu Tran <vu.tran@windriver.com>
* cinder: enable ceph rbd volume backendVu Tran2014-03-241-1/+12
| | | | | | | Add ceph rbd backend into multi-backend cinder-volume support. Signed-off-by: Vu Tran <vu.tran@windriver.com>
* sql-alchemy: prefer the pypi versionBruce Ashfield2014-03-171-0/+5
| | | | | | | The sql-alchemy project page has remove the 0.7.9 tarball. So we switch to the pypi version. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* OpenStack: Add to missing functionality in sysvinit scriptsAmy Fong2014-03-1713-28/+220
| | | | | | | | | Add status/reload to sysvinit scripts Modify tgtd to make start/stop work better (borrowed from Debian's implementation) Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* cinder-volume: change lvm pv to be configured at runtimeVu Tran2014-03-173-10/+18
| | | | | | | | | By default lvm-iscsi uses loopdev as lvm physical volume. This patch makes it a bit easier to allow other layer to be able configure lvm physical volume. Signed-off-by: Vu Tran <vu.tran@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* Readjust the start level of openstack componentsVu Tran2014-03-178-8/+35
| | | | | | | | | | | | | | Currently all the openstack components have default start level of 20. There are other services such as glusterfs, rabbbitmq, database... are also starting at the same start level. On some platform, this can cause racing condition between services which in turn causes some of openstack components not started. By adjusting the openstack components start level to higher will ensure that system services start in the determistic way. Signed-off-by: Vu Tran <vu.tran@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* cinder: enable glusterfs backendVu Tran2014-03-173-1/+27
| | | | | | | | | | | | | | This patch adds glusterfs backend into multi-backend cinder support (total of lvm-iscsi, nfs, and glusterfs). This including changing cinder.conf, creating missing glusterfs_shares config file, and adding glusterfs-client into compute/controller node and gluster-server into controller node. Also meta-filesystems is included to pickup fuse filesytem which is needed by glusterfs. Signed-off-by: Vu Tran <vu.tran@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* cinder: enable nfs backendVu Tran2014-03-173-4/+32
| | | | | | | | | | This patch enables multi-backend support (lvm-iscsi and nfs) on cinder-volume. This including changing cinder.conf, creating missing nfs_shares config file, and adding mount.nfs into compute node image. Signed-off-by: Vu Tran <vu.tran@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* cinder-volume: active lvm vg at startupVu Tran2014-03-171-0/+1
| | | | | | | | | It's needed to implicitly activate the lvm logical group at startup. Otherwise, cinder lvm logical volume will not be created. Signed-off-by: Vu Tran <vu.tran@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* cinder-volume: to reuse loop devVu Tran2014-03-171-1/+4
| | | | | | | | | | Every time cinder-volume is restarted with "/etc/init.d/cinder-volume restart" a new loop dev is created for lvm volume backing file instead of reuse the existing loop dev Signed-off-by: Vu Tran <vu.tran@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* cinder: lvm backing file size configurableVu Tran2014-03-171-1/+3
| | | | | | | | Allow backing file size for LVM backend driver (for cinder volume serivce) to be configurable. Signed-off-by: Vu Tran <vu.tran@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-*: prevent setuptools from fetching required eggsMark Asselstine2014-03-1722-2/+141
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Several python packages require 'python-pbr' both at build and runtime, as listed in their respective setup.py files, yet this dependency is not included in their recipe. Adding python-pbr to the RDEPENDS to correct this. In addition this situation is complicated by the fact that the setuptools will actually fetch python-pip and python-pbr eggs, regardless of the value of BB_NO_NETWORK, if any of these packages are built before python-pip and python-pbr are in the sysroot. Most dramitically if you were to attempt to build any of these packages with no network connectivity the do_compile() task will fail with the following: | DEBUG: Executing shell function do_compile | Download error: [Errno 110] Connection timed out -- Some packages may not be found! | Couldn't find index page for 'pip' (maybe misspelled?) | Download error: [Errno 110] Connection timed out -- Some packages may not be found! | No local packages or download links found for pip>=1.0 | Traceback (most recent call last): | File "setup.py", line 21, in <module> | pbr=True) Adding the missing DEPENDS will ensure these packages are available without the need for setuptools to fetch them, and avoid possible build issues due to network connectivity. In order to test these modifications all of these packages have been built with a populated sstate cache and the network crippled using: iptables -A OUTPUT -p tcp --destination-port 80 -j DROP to ensure no extra fetches are taking place. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* OpenStack: Add to incomplete/misbehaving scriptsAmy Fong2014-03-151-1/+2
| | | | | | | | | | | | | Horizon's init script doesn't kill all of the horizon processes, a forked process is left dangling. (And you can still login and interact with horizon) We replace: start-stop-daemon --stop ... --pidfile with: pkill -TERM -P `cat $PIDFILE` Signed-off-by: Amy Fong <Amy.Fong@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* *client: updating the openstack client packages to their latest versionsBruce Ashfield2014-03-038-15/+15
| | | | | | Tested with a controller boot, compute boot and guest launch. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openstackclient: integrate universal openstack client wrapperBruce Ashfield2014-03-031-0/+17
| | | | | | | To provide flexibility and a level of abstraction for wrappers, we introduce the openstack client wrapper package openstackclient Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* heat-cfntools: introduce cfn support toolsBruce Ashfield2014-03-031-0/+17
| | | | | | | To assist in the bootstrapping of heat deployed images, we introduce the heat cloud formation tools. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* pbr: uprev to 0.6Bruce Ashfield2014-03-031-2/+2
| | | | | | | | ceilometer requires pbr >= 0.6, so we uprev it to this version. A check of the other components in the system shows no incompatibilities, so we also delete the old version. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* nova: update top_level.txt permissions in supporting packagesBruce Ashfield2014-02-263-0/+21
| | | | | | | | | | When starting nova as a non-root user, we need to be able to read the site-packages/egg-info top_level.txt file. These files are sometimes installed as root-read only. To ensure we are always capable of reading them, we'll change them to 644 in the post install rules. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* django: uprev openstack-auth and django-coreBruce Ashfield2014-02-262-6/+6
| | | | | | | | Horizon's Havana dependencies indicate that we should be using a 1.1.x openstack auth, and a newer django interface. Updating these two packages allows horizon to sucessfully add and modify users/roles, etc. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* keystone: fix tests ETCDIR locationVu Tran2014-02-102-0/+26
| | | | | | | | | | Tests in keystone/tests are failed because they looks for some config files at wrong location. Currently all the keystone config files are at /etc/keystone. Signed-off-by: Vu Tran <vu.tran@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* setuptools 1.4: move to danglingBruce Ashfield2014-02-101-4/+0
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-dogpile: core: update SRC_URI* sumsMark Asselstine2014-02-101-2/+2
| | | | | | | | | | | | | | | | | Attempting to build openstack-image-controller I was getting 'Fetcher failure ... /dogpile.core-0.4.1.tar.gz'. Checksum mismatch! Update the sums to match the expected values. Unfortunately upstream repackaged the tarball after updating some of the python egg files without bumping the package version or providing any details about the updates. The new tarball matches the md5 listed on the upstream website (https://pypi.python.org/pypi/dogpile.core) so the update does not seem to be malicious. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* pastedeploy: add SRC_URI checksumsBruce Ashfield2014-02-051-2/+2
| | | | | | | oe-core master (as of January 2014) errors on a missing SRC_URI, so we fill in this missing value. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* jsonpointer: fix SRC_URI typoBruce Ashfield2014-02-051-1/+1
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* keystone: add cronjob for flushing expired tokensVu Tran2014-02-031-1/+14
| | | | | | | | | | | | | By default expired keystone tokens are not removed out of the keystone table in keystone database. This will cause the keystone database to grow in size due. So this patch adds new package named keystone-cronjobs which will register a cronjob to invoke command "keystone-manage token_flush" for flushing out any expired token. Signed-off-by: Vu Tran <vu.tran@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* bbappends: move old appends to "dangling" and introduce new appendsBruce Ashfield2014-02-022-8/+0
| | | | | | | | | | | | | | | Syncing to oe-core, and meta-oe master of January 30th 2014. - introduced required new bbappends To keep compatiblity with older versions of oe-core and meta-oe, old bbappends are kept, but they are moved to the "dangling" recipe group. If any bbappend warnings show outside of the dangling recipes, they should be investigated. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* nova: add migrate.cfg to the manifestBruce Ashfield2014-01-302-0/+25
| | | | | | | | | To properly sync the nova database during boot, the migrate.cfg must be present in the rootfs. This wasn't currently being packaged, so we add it to the manifest. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* keystone: update default backend and timeout configurationBruce Ashfield2014-01-301-0/+2
| | | | | | | | | | Explicitly update the default keystone configuration file to indicate the sql token backend, and set the default timeout value to 3600 seconds. This both improves performance and ages out tokens sooner, keeping the token list and database smaller. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* ceilometer: uprev to 2014.1.x releaseBruce Ashfield2014-01-303-10/+49
| | | | | | | | The havana ceilometer postgres (sqlalchemy) support has significant issues. Rather that perform signficicant backports, we'll uprev and pick up the latest development stream, that addresses many issues out of the box. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* json/sqlalchemy-migrate/wsme: update and introduce packages to meet ↵Bruce Ashfield2014-01-303-6/+23
| | | | | | ceilometer requirements Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* meta-openstack: adding missing RDEPENDS for -setup packagesBruce Ashfield2014-01-207-0/+8
| | | | | | | | Installation from package feeds shows some missing REDPENDS for the -setup packages. Signed-off-by: Rob Wolley <Rob.Woolley@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>