summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-extended
Commit message (Collapse)AuthorAgeFilesLines
* Remove the duplicated recipe of iscsi-initiator-utilsKevin Hao2016-06-105-501/+0
| | | | | | | | | | The iscsi-initiator-utils recipe has already been integrated into meta-networking layer. We have no reason to keep a duplicated one in meta-cloud-services layer. It also kill two QA warnings caused by this recipe. Signed-off-by: Kevin Hao <kexin.hao@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* cloud-init: fix installed-vs-shipped issue by creating a separate packageXulin Sun2016-05-201-0/+4
| | | | | | | | | | | | | | | | | | | This solves the following issue by creating a separate package to put the below files: QA Issue: cloud-init: Files/directories were installed but not shipped in any package: /lib /lib/systemd /lib/systemd/system /lib/systemd/system/cloud-init.service /lib/systemd/system/cloud-config.target /lib/systemd/system/cloud-config.service /lib/systemd/system/cloud-init-local.service /lib/systemd/system/cloud-final.service Signed-off-by: Xulin Sun <xulin.sun@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* packagegroup-cloud-extras: include xterm only if x11 in DISTRO_FEATURESJosep Puigdemont2016-02-191-1/+1
| | | | | Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* housekeeping: remove references to openvswitch-controllerMark Asselstine2016-02-051-1/+0
| | | | | | | | | | | | Per 5181ec2259eba5f4d3ec8516ea693bbc94481cf3 [openvswitch: rename openvswitch-controller] and f7dcf5bce94064d32e6d07f9385fbff02e2a86f2 [openvswitch: enable systemd support] on meta-virtualization we remove references to openvswitch-controller. This was never intended to be something that should be installed. So removing this from the packagegroup and chef. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openvswitch: add as RRECOMMENDS for compute and controllerMark Asselstine2015-11-162-0/+2
| | | | | | | | | We use openvswitch throughout the openstack images so we need to make sure the kernel module is available by adding it to the list of RRECOMMENDS packages. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* qpid: inherit pkgconfig classArnold Csorvasi2015-09-291-1/+2
| | | | | | | Also add -Wno-unused-function to prevent build from failing. Signed-off-by: Arnold Csorvasi <arnold.csorvasi@ni.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* housekeeping: switch more bbappends to use wildcardsMark Asselstine2015-09-161-0/+0
| | | | | | | | | | | In order to avoid future danglers move more bbappends to use wildcards. This also helps when folks are using meta-cloud-services with other branches then master. These are trivial in that they are not being modified and have been audited and shown to be still applicable. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: remove sanlock from PACKAGECONFIGMark Asselstine2015-08-101-1/+1
| | | | | | | | | There exists no recipe for sanlock and the libvirt recipe doesn't have a sanlock PACKAGECONFIG so removing sanlock from the set of PACKAGECONFIGs. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* meta-openstack: fix dangling bbappends by adding wildcardMark Asselstine2015-08-061-0/+0
| | | | | | | | | | | | | | | | Several bbappends were raising 'dangling' warnings since the base recipe version has changed without a similar change being made in this repo. The following are renames that include a wildcard to broaden the versions to which these bbappends will be applied to. This will address the 'dangling' warnings while ensuring the changes made in this repo are properly applied to the associated recipes. For the most part the files remain unchanged, in the case of postgresql the 'brokensep' has been removed as there exists no more S != B issues in the base recipe. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* meta-openstack: add wildcard to lighttpd bbappendMark Asselstine2015-08-061-0/+0
| | | | | | | | | | | This is currently a dangling bbappend as lighttpd is now version 1.4.36. The changes found in this bbappend only apply to the sysvinit scripts and should most likely be replicated in systemd. For the sake of keeping this series focused on dealing with dangling bbappends I am simply renaming the bbappend for now, without modifying its content. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* meta-openstack: add wildcard to libvirt bbappendMark Asselstine2015-08-061-0/+0
| | | | | | | | | | | This is currently a dangling bbappend as libvirt is now version 1.2.15. The content of the file appears to still be relevant so simply renaming this bbappend to apply to a range of releases. This will throw a warning as no 'sanlock' PKGCONFIG currently exists in the base recipe, a commit will be sent for meta-virtualizaiton to add this. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* meta-openstack: gptfdisk: Remove recipeIoan-Adrian Ratiu2015-07-222-49/+0
| | | | | | | | A gptfdisk recipe has been added to openembedded-core by commit 8c219e making this one unecessary. Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* cloud-init: fix 64bit librarieswruser2015-04-231-1/+1
| | | | | | | | We need to ensure that the cloud-init to install in the correct location (/usr/lib64) Signed-off-by: Eddy Raineri <eddy.raineri@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* cloud-init: update to 0.7.6Bruce Ashfield2015-04-141-2/+2
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* controller: add package management by defaultBruce Ashfield2015-03-021-1/+1
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* support-libs: fix clean issuesBruce Ashfield2015-02-241-0/+3
| | | | | | | | | | | | | With recent changes to oe-core make clean is run during the configuration phase of python packages. For some packages, this causes breakage as 'make clean' is not supported. To keep the build going, we mark them as brokenclean to avoid the issue. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* QA: fix build and runtime warningsBruce Ashfield2015-02-211-0/+1
| | | | | | | oe-core now warns on detected missing runtime and build time warnings. So we update our recipes to have these missingn deps (largely bash). Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* bbappends: resync to oe-core versionsBruce Ashfield2015-02-202-0/+0
| | | | | | Updating the bbappends to match the oe-core versions ~commit 530565c6cb77319f4cc49edeea6fec6be997415d Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: update bbappend to meta-virtualization latestBruce Ashfield2014-10-141-0/+0
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* add monitoring packagegroup into openstack buildVu Tran2014-09-303-1/+23
| | | | | | | | | | | | | | | | | | | Include monitoring packagegroups into various openstack packagegroups. Monitoring feature can be turned on by including the following in local.conf OPENSTACK_EXTRA_FEATURES += "monitoring" There are various different system monitoring recipes (e.g. Nagios or Monasca) provide packagegroup-monitoring-xxxxx. To choose what system monitoring to use set the following in local.conf PREFERRED_PROVIDER_virtual/monitoring = "packagegroup-nagios-monitoring" Signed-off-by: Vu Tran <vu.tran@windriver.com>
* add generic monitor frameworkVu Tran2014-09-303-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | Instead of having a central file or group of files to describe what data resources should be monitored. The content of these files will depend on what core system monitoring is used ((e.g. Nagios or Monasca). It's desirable to have each recipe describes what it wants be monitored in generic way such that various system monitors can understand and convert these into their format. If a recipe wishes to register itself to system monitor, it inherits monitor bbclass and use MONITOR_SERVICE_PACKAGES and MONITOR_SERVICE_<package name> to indicate what processes should should be monitored. Also MONITOR_CHECKS_<package name> variale can be used to pass list of scripts which will be run on target and if any of these scripts fail then will report. Eventually monitor.bbclass will be expanded to allow recipe to describe more complicated information passed down to system monitor (e.g. Nagios or Monasca) Signed-off-by: Vu Tran <vu.tran@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* housekeeping: Add a non-numeric PR prefix to allow PRINC in bbappendsMark Asselstine2014-09-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | Although the use of PRINC is deprecated in later versions of Yocto it may still be used and if you are using this layer with older Yocto it is recommended for use in bbappends. It is therefore expected to work. PRINC expects a non-numeric prefix followed by a numeric value, as can be seen in base.bbclass pr_prefix = re.search("\D+",pr) prval = re.search("\d+",pr) if pr_prefix is None or prval is None: bb.error("Unable to analyse format of PR variable: %s" % pr) Failing to stick to this convention yields a parsing error when you attempt to use PRINC: ERROR: Unable to analyse format of PR variable Adding the non-numeric prefix allows PRINC use in bbappends to function correctly. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
* openstack: restart daemons exposed by the following services in openstackMustapha Lansana2014-09-262-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | Openstackchef class provides the framework to reconfigure openstack at run-time. These services are inheriting openstackchef so that script file(s), specified in the respective recipe file, using the variables below are restarted by the decentralized openstackchef class framework when reconfiguring openstack: INITSCRIPT_PACKAGES: The list of init-scripts to start/stop when reconfiguring openstack. INITSCIPT_NAME_x: The name of the init-script mentioned above. INITSCRIPT_PARAMS_X: This parameter defines the run-level and priority for the init-script. However, the only parameter in this variable that is of interest to openstackchef class is the priority of the init-script. Changes to none of the above variables is shown by this patch set, however, it's to point out that openstackchef makes the assumption that these variables are set in the service's recipe file. Failure to set these variables, could lead to the service not working properly after the stack is re-configured. Signed-off-by: Mustapha Lansana <Mustapha.Lansana@windriver.com>
* openstack: add support for openstackchef class to servicesMustapha Lansana2014-09-261-4/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Openstackchef enables us to recreate configuration files for services in an openstack installation. It does this by creating template file(s) out of configuration file(s) exposed to the class by services. The following services are inheriting the openstack class and then exposing a set of configuration files to the class. These services expose their configuration files to openstackchef by assigning them to the variable CHEF_SERVICES_CONF_FILES. The files are assumend to have been installed in the image directory under the service's WORKDIR. At build-time, openstackchef makes chef-solo templates out of the registered files. And at run-time, the deploychef package makes a call to chef-solo, which in-turn use the template files to recreate the registered configuration files. For legacy reasons, the string OPENSTACKCHEF_ENABLED is defined in openstackchef class, but it can be overwritten in a .bb, .class, .bbappend or local.conf file to an empty string when openstackchef support is not desired. This enables all of these services to be built without openstackchef support. In addition, it prevents the recipes from substituting the placeholders in their configuration files when inheriting openstackchef. Signed-off-by: Mustapha Lansana <Mustapha.Lansana@windriver.com>
* update to use new packagegroup-cephVu Tran2014-09-242-2/+2
| | | | | | | | | "task-ceph" package group is renamed to "packagegroup-ceph" so update any file in meta-cloud-services layer that uses "task-ceph" Signed-off-by: Vu Tran <vu.tran@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* keystone: Change packages configuration to use apache keystone.Liam R. Howlett2014-09-221-2/+2
| | | | | | | | | | This commit changes all required configurations to use keystone running on apache. The following packages configurations were modified for keystone running on apache: python-neutron, python-nova, tempest, python-swift, python-rally, python-heat, python-glance, python-cinder, python-ceilmoeter, python-horizon. Signed-off-by: Liam R. Howlett <Liam.Howlett@WindRiver.com>
* troveclient: Split troveclient into separate packages.Liam R. Howlett2014-09-171-0/+1
| | | | | | | | Update troveclient to newer git commit to support postgresql and split the package into a meta-package, the python package, bin package, and test package. Add the meta-package to the compute image & trove RDEPENDS. Signed-off-by: Liam R. Howlett <Liam.Howlett@WindRiver.com>
* 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>