summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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-155-13/+25
| | | | | | | | | | - 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>
* 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>
* controller/compute: add cloud-init to image typesBruce Ashfield2014-03-112-0/+2
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* cloud-init: create skeleton packageBruce Ashfield2014-03-114-0/+244
| | | | | | | | | | | This creates a basic/skeleton cloud-init package that has the following properties: - working sysvinit scripts - Wind River distro definition - baseline cloud.cfg with no data source and "hands off" configuration Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* initscripts: add new functionsBruce Ashfield2014-03-101-0/+10
| | | | | | | | Some scripts are looking for additional functions than are provided by the initscripts lsb routeines available from the core. So we bbappend and add them here. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* rabbitmq-server: add missing zip-native DEPENDSMark Asselstine2014-03-031-1/+1
| | | | | | | | | | | | | | | As part of the build there is an attempt to package rabbit_common-0.0.0.ez using zip. If zip isn't present on the build host this will cause an error: | cp ../rabbitmq-server/include/*.hrl dist/rabbit_common-0.0.0/include/ | (cd dist; zip -q -r rabbit_common-0.0.0.ez rabbit_common-0.0.0) | /bin/sh: 1: zip: not found Adding zip-native in the DEPENDS avoids making the assumption that zip is installed on the build host. 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>
* controller: add heat-cfntools and openstackclient to default imageBruce Ashfield2014-03-031-0/+2
| | | | 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>
* README: clarify image location, add Notes sectionBruce Ashfield2014-02-101-1/+12
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* setuptools 1.4: move to danglingBruce Ashfield2014-02-101-0/+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>
* cloud-controller: add keystone token expiration cronjobBruce Ashfield2014-02-051-0/+1
| | | | | | | to prevent tokens from consuming database resources, by default we add a cronjob which expires and removes old tokens. 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-0219-0/+164
| | | | | | | | | | | | | | | 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>