aboutsummaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-extended
AgeCommit message (Collapse)Author
2017-11-07rabbitmq-server: add missing depends on coreutils-nativeMark Asselstine
With the move to RSS this missing dependency became a build issue, previously hidden by some other package fullfilling the dependency before this package was built. With RSS we need to ensure all first level dependencies are listed to avoid build failures. The build requires the 'fold' command which is provided by coreutils-native. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2017-09-15packagegroups: fix invalid license fileJackie Huang
Use '${COMMON_LICENSE_DIR}/MIT' for MIT License to fix the warning: | WARNING: packagegroup-cloud-compute do_populate_lic: ${COREBASE}/LICENSE is not a valid license file, please use '${COMMON_LICENSE_DIR}/MIT' for a MIT License file in LIC_FILES_CHKSUM. This will become an error in the future Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2017-08-24uwsgi: fixups for gcc 7.xMark Asselstine
Apply several upstream patches to fixup fallthrough switch statements. This fixes build failures such as: | core/hash.c:44:13: error: this statement may fall through [-Werror=implicit-fallthrough=] | h ^= key[2] << 16; | ~~^~~~~~~~~~~~~~~ | core/hash.c:45:7: note: here | case 2: | ^~~~ Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2017-08-17rabbitmq-server: add systemd supportShrikant Bobade
add systemd support to bring-up out of box rabbitmq-server support. rabbitmq-server-setup: essential setup required by rabbitmq-server rabbitmq-server.service: systemd support service file Signed-off-by: Shrikant Bobade <shrikant_bobade@mentor.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2017-06-29glusterfs: Move from meta-openstack to meta-cloud-servicesHe Zhe
It's not an openstack specific package. Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2017-06-01openstack-image-*: Remove ROOTFS_PKGMANAGE_BOOTSTRAPAdrian Dudau
run-postinsts is now installed by default in image.bbclass, so no need to include it in each image. Reference: OE-core rev 529244ee212fe14019e35a5f163fab705ddbf141 Signed-off-by: Adrian Dudau <adrian.dudau@enea.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2017-03-13qpid: fix the wrong python dir issuefli
qpid used the wrong python path and thus cannot package the files installed. This commit will fix the following warning issue: WARNING: QA Issue: qpid: Files/directories were installed but not shipped in any package: /usr/lib/python2.7/site-packages/qmfengine.py /usr/lib/python2.7/site-packages/qmf.py /usr/lib/python2.7/site-packages/_qmfengine.so /usr/lib/python2.7/site-packages/_qmfengine.la /usr/lib/python2.7/site-packages/qmfengine.pyo /usr/lib/python2.7/site-packages/qmf.pyo /usr/lib/python2.7/site-packages/cqpid.py /usr/lib/python2.7/site-packages/_cqpid.so /usr/lib/python2.7/site-packages/_cqpid.la /usr/lib/python2.7/site-packages/cqpid.pyo /usr/lib/python2.7/site-packages/qmf2.py /usr/lib/python2.7/site-packages/cqmf2.py /usr/lib/python2.7/site-packages/_cqmf2.so /usr/lib/python2.7/site-packages/_cqmf2.la /usr/lib/python2.7/site-packages/qmf2.pyo /usr/lib/python2.7/site-packages/cqmf2.pyo /usr/lib/python2.7/site-packages/qmfgen /usr/lib/python2.7/site-packages/qmfgen/__init__.py /usr/lib/python2.7/site-packages/qmfgen/generate.py /usr/lib/python2.7/site-packages/qmfgen/schema.py /usr/lib/python2.7/site-packages/qmfgen/management-types.xml /usr/lib/python2.7/site-packages/qmfgen/__init__.pyo /usr/lib/python2.7/site-packages/qmfgen/generate.pyo /usr/lib/python2.7/site-packages/qmfgen/schema.pyo /usr/lib/python2.7/site-packages/qmfgen/templates /usr/lib/python2.7/site-packages/qmfgen/templates/Args.h /usr/lib/python2.7/site-packages/qmfgen/templates/Class.cpp /usr/lib/python2.7/site-packages/qmfgen/templates/Class.h /usr/lib/python2.7/site-packages/qmfgen/templates/CMakeLists.cmake /usr/lib/python2.7/site-packages/qmfgen/templates/Event.cpp /usr/lib/python2.7/site-packages/qmfgen/templates/Event.h /usr/lib/python2.7/site-packages/qmfgen/templates/Makefile.mk /usr/lib/python2.7/site-packages/qmfgen/templates/Package.cpp /usr/lib/python2.7/site-packages/qmfgen/templates/Package.h /usr/lib/python2.7/site-packages/qmfgen/templates/V2Package.cpp /usr/lib/python2.7/site-packages/qmfgen/templates/V2Package.h Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. qpid: 36 installed and not shipped files. [installed-vs-shipped] Signed-off-by: fli <fupan.li@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2017-01-09chef: remove the use of chefMark Asselstine
The use of chef was never complete, had isses with updating binary database files and had a cumbersome implementation. Since we are using Ansible in meta-overc we are dropping the use of chef here and will look to being at par with meta-overc by using Ansible if/when we get time to look at runtime configuration in meta-cloud-services. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2017-01-09uwsgi: uprev to the latestMark Asselstine
The current version fails to build with the latest gcc, additionally apache2 in meta-oe has been updated so we should use the latest to match. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2017-01-06housekeeping: update Poky LICENSE checksumMark Asselstine
The Poky LICENSE file was updated at the beginning of 2014 and we have yet to update the md5 to reflect this. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-12-25housekeeping: rename bbappends to match the recipe versionsMark Asselstine
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-12-21housekeeping: replace deprecated base_containsMark Asselstine
Fixes: base_contains is deprecated, please use bb.utils.contains instead. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-06-10Remove the duplicated recipe of iscsi-initiator-utilsKevin Hao
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>
2016-05-20cloud-init: fix installed-vs-shipped issue by creating a separate packageXulin Sun
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>
2016-02-19packagegroup-cloud-extras: include xterm only if x11 in DISTRO_FEATURESJosep Puigdemont
Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-02-05housekeeping: remove references to openvswitch-controllerMark Asselstine
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>
2015-11-16openvswitch: add as RRECOMMENDS for compute and controllerMark Asselstine
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>
2015-09-29qpid: inherit pkgconfig classArnold Csorvasi
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>
2015-09-16housekeeping: switch more bbappends to use wildcardsMark Asselstine
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>
2015-08-10libvirt: remove sanlock from PACKAGECONFIGMark Asselstine
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>
2015-08-06meta-openstack: fix dangling bbappends by adding wildcardMark Asselstine
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>
2015-08-06meta-openstack: add wildcard to lighttpd bbappendMark Asselstine
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>
2015-08-06meta-openstack: add wildcard to libvirt bbappendMark Asselstine
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>
2015-07-22meta-openstack: gptfdisk: Remove recipeIoan-Adrian Ratiu
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>
2015-04-23cloud-init: fix 64bit librarieswruser
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>
2015-04-14cloud-init: update to 0.7.6Bruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-03-02controller: add package management by defaultBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-02-24support-libs: fix clean issuesBruce Ashfield
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>
2015-02-21QA: fix build and runtime warningsBruce Ashfield
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>
2015-02-20bbappends: resync to oe-core versionsBruce Ashfield
Updating the bbappends to match the oe-core versions ~commit 530565c6cb77319f4cc49edeea6fec6be997415d Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-10-14libvirt: update bbappend to meta-virtualization latestBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-09-30add monitoring packagegroup into openstack buildVu Tran
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>
2014-09-30add generic monitor frameworkVu Tran
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>
2014-09-29housekeeping: Add a non-numeric PR prefix to allow PRINC in bbappendsMark Asselstine
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>
2014-09-26openstack: restart daemons exposed by the following services in openstackMustapha Lansana
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>
2014-09-26openstack: add support for openstackchef class to servicesMustapha Lansana
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>
2014-09-24update to use new packagegroup-cephVu Tran
"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>
2014-09-22keystone: Change packages configuration to use apache keystone.Liam R. Howlett
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>
2014-09-17troveclient: Split troveclient into separate packages.Liam R. Howlett
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>
2014-09-17trove: Add trove recipe and add the package to controller.Liam R. Howlett
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>
2014-08-29housekeeping: remove PRINC from recipesBruce Ashfield
Removing PRINC from recipes to silence the bitbake warning about it being a depreciated variable. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-08-29core: update core projects to juno 2014.2-b2 versionsBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-08-25bbappends: resync bbappends to oe-core/meta-oe latestBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-08-22apache: resync to oe-core latestBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-07-31cloud-compute: add veth kernel moduleBruce Ashfield
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>
2014-07-31cirros: make root home configurableBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-07-30aio: add support for identity.bbclassAmy Fong
Signed-off-by: Amy Fong <amy.fong@windriver.com>
2014-07-30Keystone: package service/user additionsAndy Ning
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>
2014-07-30ldap/pam: enable pam/ldap authenticationAmy Fong
- 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>
2014-07-30keystone: Add packages to controller task for openldap/pam/keystoneAmy Fong
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>