summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python
Commit message (Collapse)AuthorAgeFilesLines
...
* swift: separate proxy server configVu Tran2014-04-112-2/+499
| | | | | | | | | | 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>
* swift: change services config filesVu Tran2014-04-111-1/+19
| | | | | | | | | 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>
* swift: include dnspythonVu Tran2014-04-111-1/+2
| | | | | | | Swift depends on dnspython Signed-off-by: Vu Tran <vu.tran@windriver.com>
* introduce python-dnspython packageVu Tran2014-04-111-0/+22
| | | | | | | | | 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>
* python-horizon: apache mod_wsgi path errorAmy Fong2014-04-112-1/+2
| | | | | | | openstack-dashboard-apache hardcoded libdir, modify this to %LIBDIR% and substitude in the install phase... Signed-off-by: Amy Fong <amy.fong@windriver.com>
* python-horizon init scriptsAmy Fong2014-04-102-7/+6
| | | | | | | 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>
* Enable python-horizon to run from apache.Amy Fong2014-04-104-2/+543
| | | | | | | | | | | | | | | - 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>
* Package python-memcachedAmy Fong2014-04-101-0/+18
| | | | | | | 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>
* 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>