summaryrefslogtreecommitdiffstats
path: root/meta-openstack
Commit message (Collapse)AuthorAgeFilesLines
...
* cloud-extras: introduce extras package groupBruce Ashfield2014-03-271-0/+16
| | | | | | | | Introducing the "extras" package group that hold non-essential, but packages that increase the usability of the cloud userspace. These increase the size of the image, but we value usability over small size at this point. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openstack: add debug packagegroupBruce Ashfield2014-03-271-0/+13
| | | | | | | | | | Add a package group which contains tools and utilities for debugging a cloud system. This currently only contains the core-tools packagegroup, but cloud specific utilities will be added over time. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xterm: depend on freetype-nativeBruce Ashfield2014-03-271-0/+1
| | | | | | | | xterm's configure uses freetype, but there is no dependency on it in the recipe. This is a race condition that leads to host contamination and QA failures if the host's freetype-config is used. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* rabbitmq-server: start failedAmy Fong2014-03-262-3/+3
| | | | | | | | | | | | | | | | | | Starting : FAILED - check /var/log/rabbitmq/startup_{log, _err} rabbitmq-server status also shows an error message: Status of node rabbit@controller ... Error: unable to connect to node rabbit@controller: nodedown <snip> There's a problem with erlang cookie synchronization. rabbitmq's home directory is created and is used as the location for the cookie. Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* tgtd init script needs to update its usage infoAmy Fong2014-03-261-1/+1
| | | | | | | tgtd implements status and reload, need to add this to the usage info Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* docs: add README.tempestBruce Ashfield2014-03-261-0/+55
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* docs: Add README.spiceAmy Fong2014-03-261-0/+82
| | | | | | | Create a README.spice and document and special consideration, usage.... Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* qemu: inhibit spice dependency for native and native-sdk buildsBruce Ashfield2014-03-261-0/+2
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* README: add meta-cloud-services to reference layer listBruce Ashfield2014-03-251-0/+1
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* qemu: enable spice for qemu console accessBruce Ashfield2014-03-251-0/+3
| | | | 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>
* spice: change RDEPENDS to RDPENDS_Bruce Ashfield2014-03-251-1/+1
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@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-246-4/+163
| | | | | | | | | | | | 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-245-0/+192
| | | | | | | | | | | | | 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-243-2/+23
| | | | | | | | 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-243-5/+20
| | | | | | | Add ceph rbd backend into multi-backend cinder-volume support. Signed-off-by: Vu Tran <vu.tran@windriver.com>
* controller: bump default image size to 5GBruce Ashfield2014-03-241-1/+1
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* images: rename packagegroup-core-basicMark Asselstine2014-03-222-2/+2
| | | | | | | | | Commit 91c372f287732cdedbd7c1204c6ba5f34e5b93f6 [core-image-basic / packagegroup-core-basic: rename to *-full-cmdline] in yocto renamed these tasks so we need to reflect that change here. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* lvm2: fix compilation with latest readline versionMark Asselstine2014-03-223-1/+56
| | | | | | | | | | Commit 0460bd62663d6db4c9b6aed5edd73fb0d052ffb2 [lvm2: allow compiles to use latest readline] forced us to use an old version of readline. Here we backport an upstream lvm2 commit which allows us to use new readline and drop the PREFERRED_VERSION_ for readline. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: match meta-virtualization move to v1.2.2Mark Asselstine2014-03-221-0/+0
| | | | | | | | In order for our bbappends to be effective we need version match with what is in meta-virtualization. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@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-1714-53/+281
| | | | | | | | | 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>
* openstack: add open-isci from git://github.com/DFE/HIPOSBruce Ashfield2014-03-178-0/+216
| | | | | | | | | | To support the cinder iscsi backend, we need iscsi-* recipes. The HIPOS layer contains a reference implementation, but has distro bindings that we must avoid. So for now, we make a copy and reference the other layer. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openstack: add meta-filesystem to layer dependsBruce Ashfield2014-03-171-0/+1
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openstack: force readline 5.xBruce Ashfield2014-03-171-0/+1
| | | | | | | readline 6.x triggers build errors with LVM2, so we need to set our preferred version to 5.x. 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-179-8/+36
| | | | | | | | | | | | | | 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-176-3/+46
| | | | | | | | | | | | | | 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-175-4/+51
| | | | | | | | | | 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: enable lvm-iscsi backendVu Tran2014-03-172-0/+14
| | | | | | | | Currently compute-note does not have initiator iscsi working which is required to mount cinder block device over iscsi. 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-volume: creating volume based on glance imageVu Tran2014-03-171-0/+1
| | | | | | | | | | On controller node, cinder requires qemu-img util to create a volume based on glance image (for qcow2 disk-format). So this patch adds qemu package into the controller image. Signed-off-by: Vu Tran <vu.tran@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* linux-yocto_3.10: to include iscsi-tcp cfgVu Tran2014-03-173-0/+13
| | | | | | | | | | | | In order for Libvirt compute node to be able to mount Cinder LVM backend driver volume (hosted by Cinder Volume service) over iscsi, the initiator iscsi kernel-module is needed. This patch simplies to add kernel cfg for turning on iscsi-tcp kernel config. 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>
* controller image: make image extra space configurableVu Tran2014-03-171-1/+1
| | | | | | | | Allow the final controller node image rootfs extra space to be configurable. Signed-off-by: Vu Tran <vu.tran@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* Add bbappend for open-iscsi-user_2.0-871Vu Tran2014-03-171-0/+37
| | | | | | | | | | | This patch creates bbappend for this bb file git://github.com/DFE/HIPOS/meta-hidav/recipes-connectivity/open-iscsi/open-iscsi-user_2.0-871.bb To build iscsi initiator (open-isisc) usable by openstack Cinder. Signed-off-by: Vu Tran <vu.tran@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* Add the glusterfs packageVu Tran2014-03-176-0/+339
| | | | | | | Adding new recipe for glusterfs package. Signed-off-by: Donn Seeley <donn.seeley@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* Add iscsi-initiator-utils recipeVu Tran2014-03-175-0/+501
| | | | | | | | | | | | | | | | | | | | | | This patch instroduces iscsi-initiator-utils bitbake for building iscsi initiator open-iscsi version 2.0-873 This bitbake iscsi-initiator-utils is based on openembedded: git://github.com/DFE/HIPOS/meta-hidav/recipes-connectivity/open-iscsi * Add hook do_configure for utils/open-isns to support cross compiling. * Follow fedora to install apps to /sbin but not /usr/sbin, to change init.d file to iscsid and change the script's log_daemon_msg to echo as it is not defined by lsb/init-functions. * Completely override default install as bugs in original source's Makefile * Add Fedora patch for changing app's state files from /etc/iscsi to /var/lib/iscsi * Add Fedora patch "dont-use-static". Signed-off-by: Yao Zhao <yao.zhao@windriver.com> Singed-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: Fix postgresql file permissionsAmy Fong2014-03-153-13/+23
| | | | | | | | | | - make database directory to be configurable, defaulting to /var/lib/postgres/data - modify init scripts to create database's data directory if it doesn't exist Signed-off-by: Amy Fong <Amy.Fong@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>
* rabbitmq-server: add missing DEPENDSMark Asselstine2014-03-121-1/+1
| | | | | | | | | | | Add libxslt-native otherwise you will get the error: | /bin/sh: 1: /bin/sh: 1: xsltproc: not foundxsltproc: not found Add unzip otherwise you will get the error: | make[3]: unzip: Command not found Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* qpid: Fix some issues with do_configure and do_compileMark Asselstine2014-03-122-2/+93
| | | | | | | | | There were some fundamental issues preventing this package from compiling. Make some necessary updates to the recipe and pull in an upstream patch to allow the package to properly configure and compile. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* qpid: qpid-python: update fetch URLs to use apache archiveMark Asselstine2014-03-122-2/+2
| | | | | | | | | The old URLs are no longer valid so update the URLs to point to a valid download location. The checksums remain the same so the packages are unchanged. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>