summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools
Commit message (Collapse)AuthorAgeFilesLines
...
* 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>
* erlang-native: add missing ncurses-native DEPENDSMark Asselstine2014-03-171-0/+2
| | | | | | | | | | | | | We require a DEPENDS for ncurses-native or else we can fail with: configure:18108: error: No curses library functions found when building erlang-native. This is another attempt at the failed commit 8cabf90bcc1d648511dc9f33adf5ef30e539c682 [erlang: add missing DEPENDS for -native build], ensuring we don't break non-native builds. Signed-off-by: Mark Asselstine <mark.asselstine@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>
* Revert "erlang: add missing DEPENDS for -native build"Bruce Ashfield2014-03-152-2/+2
| | | | This reverts commit 8cabf90bcc1d648511dc9f33adf5ef30e539c682.
* 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>
* erlang: add missing DEPENDS for -native buildMark Asselstine2014-03-122-2/+2
| | | | | | | | | | | | | We require a DEPENDS for ncurses-native or else we can fail with: configure:18108: error: No curses library functions found when building erlang-native. Since there is already a DEPENDS for ncurses-native in the non -native recipe we move this into the .inc so it is used for both non -native and -native builds. Signed-off-by: Mark Asselstine <mark.asselstine@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>
* ceilometer: fix postgresql query errorsBruce Ashfield2014-01-192-0/+36
| | | | | | | | | | | | | | | From the patch: sqlalchemy: fix ceilometer resource query Implement the abandoned ceilometer fix from: https://review.openstack.org/#/c/59204/ [Fix for get_statistics with postgresql] Without this fix, the ceilometer resource tab in horizon returns an error due to badly formed SQL and a database backend error. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* horizon: update to stable/havana latestBruce Ashfield2014-01-191-1/+1
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* glance: add ceilometer configurationBruce Ashfield2014-01-191-0/+4
| | | | | | | We change the notification channel to rabbit in order to send statistics for ceilometer use. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* ceilometer: update to stable/havana latestBruce Ashfield2014-01-193-6/+7
| | | | | | | | | | | | | Updating the ceilometer component to the latest havana stable updates. Of note in the update is the removel of the old global statistics table for ceilometer. To properly display metering statistics after this update the keystone credentials need to be udpated in keystone (add ceilometer with an admin role) and ceilometer to use the proper username/password to authenticate. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* ceilometer_client: update to latest master revisionBruce Ashfield2014-01-191-1/+1
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* networking: add dhcp-* runtime dependenciesBruce Ashfield2014-01-151-1/+1
| | | | | | | neutron and the cloud-network package group should pull in dhcp-server and dhcp-client packages, since they are leveraged by the frameworks. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* ceilometer: set libvirt_type to KVM, but allow modification for nested virtBruce Ashfield2014-01-151-1/+1
| | | | | | | | We expose the libvirt_type config setting with a default value of 'kvm', but for nested virtualization configurations, we also provide a bbappend that will modify the value to 'qemu' automatically. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* ceilometer: postgresql fixesBruce Ashfield2014-01-153-0/+457
| | | | | | | | | | Cherry picking two ceilometer master changes to address postgresql database issues: https://bugs.launchpad.net/ceilometer/+bug/1241526 https://review.openstack.org/#/c/49456/ Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* ceilometer: create alarm-notifier and evaluator packaging and initscriptsBruce Ashfield2014-01-151-3/+23
| | | | | | | | | Create and package initscripts from alarm-notifier and alarm-evaluator. These are added as dependencies of the controller package, so the functional mix at runtime doesn't change, with the exception that the agents are started on boot of the controller. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-flask: correct LICENSEPaul Eggleton2014-01-061-1/+1
| | | | | | | BSD-3-Clause is the license specified upstream. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-itsdangerous: correct LICENSEPaul Eggleton2014-01-061-1/+1
| | | | | | | BSD-3-Clause is the license specified upstream. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>