summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-extended
Commit message (Collapse)AuthorAgeFilesLines
...
* trove: Add trove recipe and add the package to controller.Liam R. Howlett2014-09-171-0/+1
| | | | | | | | Create the OpenStack Database as a service recipe and add it to the controller image. The recipe includes the init script and initial setup to use postgres. Signed-off-by: Liam R. Howlett <Liam.Howlett@WindRiver.com>
* housekeeping: remove PRINC from recipesBruce Ashfield2014-08-293-6/+0
| | | | | | | Removing PRINC from recipes to silence the bitbake warning about it being a depreciated variable. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* core: update core projects to juno 2014.2-b2 versionsBruce Ashfield2014-08-291-1/+1
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* bbappends: resync bbappends to oe-core/meta-oe latestBruce Ashfield2014-08-251-0/+0
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* apache: resync to oe-core latestBruce Ashfield2014-08-221-15/+0
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* cloud-compute: add veth kernel moduleBruce Ashfield2014-07-311-0/+1
| | | | | | | when launching guests, libvirt may create veth links, without having the veth module on the target this fails, and no guests can be launched. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* cirros: make root home configurableBruce Ashfield2014-07-311-3/+3
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* aio: add support for identity.bbclassAmy Fong2014-07-301-0/+3
| | | | Signed-off-by: Amy Fong <amy.fong@windriver.com>
* Keystone: package service/user additionsAndy Ning2014-07-302-1/+58
| | | | | | | | | | | Instead of creating tenant/user/role and service/endpoint for all openstack services in keystone postinstall, now each of the services creates its own keystone identities by queueing them up in its postinstall to a file /etc/keystone/service-user-setup. service-user-setup script, when run as the last postinstall, calls identity.sh with keystone identity parameters to create necessary identities for the services. Signed-off-by: Andy Ning <andy.ning@windriver.com>
* ldap/pam: enable pam/ldap authenticationAmy Fong2014-07-306-0/+141
| | | | | | | | - modify pam configuration files to use ldap - modify sshd to enable pam - modify nsswitch.conf to use ldap Signed-off-by: Amy Fong <amy.fong@windriver.com>
* keystone: Add packages to controller task for openldap/pam/keystoneAmy Fong2014-07-301-0/+1
| | | | | | | | | | | Enabling OpenLDAP support in keystone and the controller as a distro feature Add packages openldap python-ldap nss-pam-ldapd, libsasl2-modules, python-keystone-hybrid-backend, pam-plugin-mkhomedir and cyrus-sasl to the controller task Signed-off-by: Amy Fong <amy.fong@windriver.com>
* rally to include into aio imageVu Tran2014-07-291-0/+1
| | | | | | | | Include Rally benchmarking feature into all-in-one image when OPENSTACK_EXTRA_FEATURES variable includes "benchmarking" feature. Signed-off-by: Vu Tran <vu.tran@windriver.com>
* uwsgi: remove floating yajl dependencyBruce Ashfield2014-07-291-1/+5
| | | | | | | | | | | | | | | uwsgi is using pkg-config to detect whether or not yajl is present in the build. We do want to use yajl, so we add an explicit dependency and pkgconfig inherit. Without this, build errors may occur, since the build paths that don't use yajl are not supported. And finally, to prevent the searching of host include paths, we set UWSGI_REMOVE_INCLUDES and purge local directories. This ensures that only the sysroot and package config settings are used. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* tempest: update to juno latestBruce Ashfield2014-07-211-1/+1
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* rabbitmq: make HOME configurableBruce Ashfield2014-07-182-1/+3
| | | | | | | | | | | Since rabbitmq uses HOME as the location for the erlang cookie, rabbitmq will fail to start if that directory is not on the system. To ensure that this is configurable, we use the bitbake variable ROOT_HOME and replace a placeholder in the initscript. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* introduce benchmarking packagegroupVu Tran2014-07-172-0/+16
| | | | | | | | | | | | | | | | | | | Create new benchmarking packagegroup bb. Benchmarking packagegroup can be included into final image to include all required packages for benchmarking OpenStack at scale. Currently OpenStack benchmarking is provided by OpenStack component Rally. Also introducing new Yocto variable OPENSTACK_EXTRA_FEATURES which can be used to inform what feature should be included in meta-cloud-services OpenStack final image. To include benchmarking packagegroup in local.conf have OPENSTACK_EXTRA_FEATURES += " benchmarking" Signed-off-by: Vu Tran <vu.tran@windriver.com>
* tempest missing tools and testr configVu Tran2014-07-171-1/+2
| | | | | | | | | | OpenStack Rally requires "tools" from tempest. Also modify tempest ".testr.conf" to allow testr to run tempest from any location. Signed-off-by: Vu Tran <vu.tran@windriver.com>
* packagegroup controller,compute - Add module softdogAmy Fong2014-06-242-0/+2
| | | | | | | | | | | | | | On system bootup, the softdog kernel module gets modprobed from the package sanlock-wdmd-init, but because it didn't exist, we get: Loading the softdog kernel module: FATAL: Module softdog not found. Failure Add the package kernel-module-softdog to add the kernel module softdog to the rootfs Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* Add metadata service support to controller nodeAndy Ning2014-06-181-0/+1
| | | | | | | | | | | | | | | | | | The metadata service is working as the following: - metadata is being served by nova-api on controller at port 8775. - VM instance requests metadata by 169.254.169.254 (eg, curl http://169.254.169.254/latest/meta-data) - metadata request comes to neutron-ns-metadata-proxy on controller in dhcp network name space. - neutron-ns-metadata-proxy forwards the request to neutron-metadata-agent through a unix domain socket (/var/lib/neutron/metadata_proxy). - neutron-metadata-agent sends the request to nova-api on port 8775 to be serviced. To support metadata service, neutron-ns-metadata-proxy is baked into the controller image. Also neutron-metadata-agent startup script (/etc/init.d/neutron-metadata-agent) and config file (/etc/neutron/metadata_agent.ini) are added to start up metadata agent at system initialization. dhcp_agent.ini and nova.conf are updated as well. A README.metadata is added in the Documentation/ directory. Signed-off-by: Andy Ning <andy.ning@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* Upgrade cirros guest image to 0.3.2Andy Ning2014-06-171-3/+4
| | | | | | | | | | | | | cirros 0.3.0 has a bug which ignores classless static routes passed by dhcp option 121. This static route is needed for the instance to access metadata service from 169.254.169.254. 0.3.2 has this bug fixed. Details about this bug can be found at: https://bugs.launchpad.net/cirros/+bug/1190372 Updated documents that reference specific version of cirros as well. Note: 0.3.2 download URI (SRC_URI) has been changed from "https://launchpad.net/cirros/trunk" to "http://download.cirros-cloud.net", since cirros binary downloads are all in the new URI. Signed-off-by: Andy Ning <andy.ning@windriver.com>
* gptdisk missing DEPENDS and base_prefix warningVu Tran2014-06-161-9/+8
| | | | | | | | | | | | | | | | | | | * Build failed with this error: | x86-64-wrswrap-linux-gnu-g++ -m64 --sysroot=/media/vtran/1-build/build_temp/build-ovp-1/bitbake_build/tmp/sysroots/intel-xeon-core -O2 -pipe -g -fvisibility-inlines-hidden -c -o gptpart.o gptpart.cc | In file included from guid.cc:22:0: | guid.h:29:23: fatal error: uuid/uuid.h: No such file or directory due to missing "util-linux" in DEPENDS. * Also got this warning: WARNING: QA Issue: gptfdisk: /sbin/cgdisk, installed in the base_prefix, requires a shared library under exec_prefix (/usr): libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00000000dead4000) Move binaries to /usr/sbin/ instead of /sbin/ Signed-off-by: Vu Tran <vu.tran@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* cloud-init: install to correct target directoryKeith Holman2014-06-161-0/+7
| | | | | | | | | | | | | The setup.py script that is included with the cloud-init code is setup to install files into the "/usr/lib" directory. On 64-bit machines the target directory should be "/usr/lib64". This generates a warning when using bitbake. This fix performs a search and replace on the setup.py file to set the correct output directory. This fix also adds a symbolic link to each script from the /etc/cloud directory to make the scripts available from a more obvious location. Signed-off-by: Keith Holman <Keith.Holman@windriver.com>
* meta-openstack/rabbitmq-server: QA Warning found-reference to /usrMustapha Lansana2014-06-091-1/+2
| | | | | | | | | | | | | | | | | | | | When populating the Openstack rootfs with rabbitmq-server package, you get the following warnings: WARNING: QA Issue: rabbitmq-server: Found a reference to /usr/ in rabbitmq-server-3.2.4-r2/packages-split/rabbitmq-server/sbin/rabbitmq-env WARNING: QA Issue: Shell scripts in base_bindir and base_sbindir should not reference anything in exec_prefix This patch silence the warning by telling the build system to not throw warnings if a script in base_[bindir | sbindir | libdir ] makes what it considers an unsafe reference to exec_prefix. The reference though to exec_prefix in this case is very safe, since it is only part of variable directing other scripts to rabbitmq-server's plugins directory. Signed-off-by: Mustapha Lansana <Mustapha.Lansana@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* introduce gptfdisk.bbVu Tran2014-06-092-0/+50
| | | | | | | | | | GPT fdisk (gptfdisk) is a disk partitioning tool loosely modeled on Linux fdisk, but used for modifying GUID Partition Table (GPT) disks. When prepare disk device for ceph with ceph-disk, it's required sgdisk util from gptfdisk to perform disk partition. So add gptfdisk.bb. Signed-off-by: Vu Tran <vu.tran@windriver.com>
* uwsgi: fix uuid/uuid.h build errorBruce Ashfield2014-06-021-0/+1
| | | | | | | | | | | | | | | | uwsgi needs uuid/uuid.h to be present, otherwise we get the following build error: | In file included from core/utils.c:1:0: | ./uwsgi.h:188:23: fatal error: uuid/uuid.h: No such file or directory | #include <uuid/uuid.h> | ^ | compilation terminated. Adding a e2fsprogs dependency gets the header file properly installed before the build starts. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* sysklogd: add syslog user and group and add dependencyKeith Holman2014-05-263-1/+20
| | | | | | | | | | | | | Some OpenStack components expect the system to contain a syslog user for logging purposes and fail if one doesn't exist. This fix adds the syslog user and group within the sysklogd package since it responsible for the system logging capabilities of the system. This fix also adds a dependency between the package requiring the syslog user to exist. Signed-off-by: Keith Holman <Keith.Holman@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* tempest: remove version fixesBruce Ashfield2014-05-262-111/+13
| | | | | | | | | The tempest fixes to prevent an explicit version from being added to urls was developed for havana and doesn't directly apply to icehouse. Removing the patches, and they will be examined in the future to see if they are applicable. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* tempest image client not specify versionVu Tran2014-05-263-1/+109
| | | | | | | | | | | | | | | | | | | | | | | Currently glance keystone endpoints URLs include "v2/" at the end (e.g. http://<glance server ip>:9292:v2/). This means glance should only be talked to using v2. For tempest image testcases, image_client.py gets URLs from keystones and appends additional version into these URL strings (e.g. htt://<glance server ip>:9292:v2/v2/images) which causes glance not to understand the command and return error: NotFound: Object not found Details: 404 Not Found The resource could not be found. In our case, we use the "v2" from URLs. We also disable v1 image testcases as it's not possible to test v1 with current glance endpoind URLs. Signed-off-by: Vu Tran <vu.tran@windriver.com>
* tempest: Stop auto-detecting glance API versionsVu Tran2014-05-263-3/+136
| | | | | | | | | | | | | commit 2b5287db8116ef8e3ed5e4fc211296e6293b5dcc upstream https://github.com/openstack/tempest.git This commit switches the image api tests from auto detecting which api versions are available to having them explicitly set in the config file. This is to make it explicit which tests are expected to be run instead of assuming that everything is expected to work. Signed-off-by: Vu Tran <vu.tran@windriver.com>
* tempest conf enable heatVu Tran2014-05-261-1/+1
| | | | | | | | As now Openstack Heat component is enabled, so allow tempest to test Heat as well. Signed-off-by: Vu Tran <vu.tran@windriver.com>
* tempest: enable cinder-volume multi-backend testsVu Tran2014-05-261-3/+3
| | | | | | | | | As cinder-volume supports multiple backend drivers: nfs, glusterfs, ceph, and lvm-iscsi, it's good to allow tempest to test cinder-volume multi-backend. Signed-off-by: Vu Tran <vu.tran@windriver.com>
* rabbitmq-server: the following files/directories were installed but not ↵Amy Fong2014-05-242-1/+16
| | | | | | | | | shipped in any package A number of license and installation files were installed to ${D}, move these to ${D}/usr/share/doc Signed-off-by: Amy Fong <amy.fong@windriver.com>
* bbappends: update bbappends to match oe-core, meta-oe and ↵Bruce Ashfield2014-05-213-5/+0
| | | | | | meta-virtualization versions Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: update bbappend to 1.2.4Bruce Ashfield2014-05-211-1/+1
| | | | | | | | Track the update of libvirt to 1.2.4 in meta-virtualization. We also move the 1.2.2 bbappend to dangling for layers and users that are not tracking the latest meta-virt. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* tempest: update to icehouse master revisionBruce Ashfield2014-05-071-3/+4
| | | | | | | | | | | | tempest no longer branches per-release and instead ensures that the single branch works for all releases. As such, we change to master and update the SRCREV to the latest. There is one new binary part of the package, so we add it to the default tempest package. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* controller: add barbican to default package listBruce Ashfield2014-04-231-0/+1
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* uwsgi: introduce application serverBruce Ashfield2014-04-231-0/+26
| | | | | | | | While other wsgi integrations are possible (apache, nginx), barbican is developed and supported via uwsgi. So we integrate uwsgi, with the default configuration capable of acting as a gateway for python applications. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* OpenStack: all-in-one nodeAmy Fong2014-04-152-0/+50
| | | | | | Introduce image openstack-image-aio, integrating both compute and controller functionality Signed-off-by: Amy Fong <amy.fong@windriver.com>
* add swift into final imageVu Tran2014-04-111-0/+2
| | | | | | | | Include Swift into final image so that it can be built and included into final rootfs Signed-off-by: Vu Tran <vu.tran@windriver.com>
* apache2: move 2.4.2 to danglingBruce Ashfield2014-04-111-5/+0
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* Apache2 changesAmy Fong2014-04-111-0/+15
| | | | | | | | | | | Configure apache's ServerName - modify apache2's configuration file for ServerName to 127.0.0.1:80 In 2.4.7, add symlinks for htdocs and log directory to maintain backward compat with older versions. Signed-off-by: Amy Fong <amy.fong@windriver.com>
* lighttpd change apply to 1.4.33Amy Fong2014-04-111-0/+5
| | | | | | Yocto has verion 1.4.33, add a bbappend for that verison (wrlinux uses 1.4.30) Signed-off-by: Amy Fong <amy.fong@windriver.com>
* python-horizon init scriptsAmy Fong2014-04-101-0/+1
| | | | | | | 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-101-0/+2
| | | | | | | | | | | | | | | - 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>
* Configure apache's ServerNameAmy Fong2014-04-101-0/+5
| | | | | | - modify apache2's configuration file for ServerName to 127.0.0.1:80 Signed-off-by: Amy Fong <amy.fong@windriver.com>
* Modify lighttpd startup behaviourAmy Fong2014-04-101-0/+5
| | | | | | modify lighttpd not to run if server.port isn't explicitly specified in /etc/lighttpd.conf Signed-off-by: Amy Fong <amy.fong@windriver.com>
* tempest: add tox as a REDEPENDSBruce Ashfield2014-04-091-0/+1
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* cloud-network: add ntp and ntpdate to default package groupBruce Ashfield2014-04-071-0/+2
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* controller: remove nova-client from packagegroupBruce Ashfield2014-04-031-1/+0
| | | | | | | The component clients are brought in via the component recipes. The nova client was the only one on the package list, and can be removed. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* rabbitmq cannot enable firehose tracerAmy Fong2014-04-011-1/+1
| | | | | | | Modify the erlang_cookie for root's home directory in the initrd script to enable the root user to run rabbitmq configuration options. Signed-off-by: Amy Fong <amy.fong@windriver.com>