aboutsummaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-support
AgeCommit message (Collapse)Author
2017-08-22cyrus-sasl: drop bbappendMark Asselstine
The change implemented in the bbappend is now part of the main recipe file. See commit a97ab8e018d86461a4701625dc16b09370fad21f [cyrus-sasl: inherit autotools-brokensep] in meta-openembedded. Signed-off-by: Mark Asselstine <mark.asselstine@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-09tgt: ensure build LDFLAGS apply to all executablesMark Asselstine
Some of the tgt executables were not being built with the gnu-hash causing a QA error. There is no apparent reason to have differences in how the tgt executables are built so ensure they all use the LDFLAGS. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2017-01-09mod-wsgi: uprev to use git and latest releaseMark Asselstine
Apache2 was just uprev'd to the latest release in meta-oe so we should really matching this. Additionally the version we are replacing had build issue with the latest gcc, so the uprev solves these as well. 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-12-18salt: upgrade to 2016.11Alejandro del Castillo
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-09-19tgt: 1.0.63 -> 1.0.67Wang Xin
1) Upgrade tgt from 1.0.63 to 1.0.67. 2) Modify one patch, since the data has been changed. 0001-Correct-the-path-of-header-files-check-in-Yocto-buil.patch Signed-off-by: Wang Xin <wangxin2015.fnst@cn.fujitsu.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-07-21salt-tests: Disable staticdev QAWarningCollin Richards
The salt-test package uses files with .a extensions in it's tests. These are used in tests that inspect the tree structure of the file system and have nothing to do with static libraries. This triggers an OE QAWarning. Skip the staticdev check for this package to disable this warning. Signed-off-by: Collin Richards <collin.richards@ni.com> Natinst-ReviewBoard-ID: 145293 Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-06-21salt: Add the salt test suiteCollin Richards
* Add salt-tests - package for salt test suite The salt test suite can be run from: /usr/lib/python2.7/site-packages/salt-tests/tests/runtests.py Signed-off-by: Collin Richards <collin.richards@ni.com> Natinst-ReviewBoard-ID: 142234 Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-06-17salt: upgrade to 2016.3Alejandro del Castillo
* Update conffiles * Add PKGCONFIG options for zeromq and TCP transports. Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-04-28nss-pam-ldapd: move from meta-openstack to base layerLiang Li
To prepare enable nss-pam-ldapd reuseable by other layer/addons. Signed-off-by: Liang Li <liang.li@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-03-21tgt: pass required CFLAGSMark Asselstine
The tgt Makefile has several CFLAGS (defines) that need to be set. Since we overwrite the CFLAGS by exporting CFLAGS and passing '-e' to make, we need to include these in our defined CFLAGS. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-02-09salt: add python-futures to RRECOMMENDS for salt-commonJosh Cartwright
The TCP transport mechanism has a dependency on the python-futures module. Document this in the form of an RRECOMMENDS. Signed-off-by: Josh Cartwright <joshc@ni.com> Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-02-09iproute2: update 3.% -> 4.%Ioan-Adrian Ratiu
Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-02-09fuse: remove bbappend (2.9.3)Ioan-Adrian Ratiu
meta-oe master has upgraded to v2.9.4 which builds fine with B != S. Since this bbappend only makes the recipe inherit autotools-brokensep, we can remove it altogether. Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.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-10-02salt: upgrade to 2015.8Alejandro del Castillo
Follow Debian dependencies from official salt repo at repo.saltstack.com Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-09-17openldap/initscript: make sure data_dir existNam Ninh
Signed-off-by: Nam Ninh <nam.ninh@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-09-17openldap: fix various build failuresNam Ninh
Fix wrong hard-coded OPENLDAP_LIBEXECDIR that causes the following build failure: mv: cannot stat `<build_dir>/bitbake_build/tmp/work/core2-64-wrs-linux/openldap/2.4.39-r0/image/usr/lib64/openldap/slapd': No such file or directory The base openldat bb installs slapd under ${sbindir}, so LIBEXEC should be replaced with sbindir instead of OPENLDAP_LIBEXECDIR. The "run" directory is already removed in the base bb, so removing the second time causes this build failure: rmdir: failed to remove `<build_dir>/bitbake_build/tmp/work/core2-64-wrs-linux/openldap/2.4.39-r0/image/var/run': No such file or directory Finally, ops-base.ldif is needed in the initscript, so we also include it in the package. Signed-off-by: Nam Ninh <nam.ninh@windriver.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-09-16dnsmasq: move bbappend to use a wilcardMark Asselstine
To facilitate future support and to simplify using meta-cloud-services with other branches we prefer to use a wildcard. In making this move the content of the bbappend has been audited and most of the content is now no longer needed (it is found in dnsmasq.inc for some time now) and so we are removing these parts. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-08-20puppet: move to base layerMark Asselstine
Puppet can be used by many 'cloud services', it is not openstack specific, so moving puppet and puppet related recipes to the meta-cloud-services base layer. This allows either internal sub-layers found in meta-cloud-services or external layers to include meta-cloud-services without being burdened by bbappends and configs found in meta-openstack. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-08-20Add the ruby-shadow recipe for the puppet toolGuojian Zhou
The puppet could not add or change the user's password automatically, because the puppet tool requires the "libshadow" to implement this feature. Failure information without the "libshadow" feature: ================================================================== Debug: /User[username]: Provider useradd does not support features manages_passwords; not managing attribute password Signed-off-by: Guojian Zhou <guojian.zhou@windriver.com> Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-08-20Add the puppet.conf for the puppet agentGuojian Zhou
The puppet agent requires the /etc/puppet/puppet.conf. Signed-off-by: Guojian Zhou <guojian.zhou@windriver.com> Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-08-20Fix the puppet run failure issueGuojian Zhou
The puppet's execution depends on the facter, so add the required RDEPENDS in the bb file. The puppet tool run failure information: ============================================== root@# puppet help /usr/lib64/ruby/rubygems/custom_require.rb:36:in `require': cannot load such file -- facter (LoadError) from /usr/lib64/ruby/rubygems/custom_require.rb:36:in `require' from /usr/lib64/ruby/gems/1.9.1/gems/puppet-3.7.3/lib/puppet.rb:6:in `<top (required)>' from /usr/lib64/ruby/rubygems/custom_require.rb:36:in `require' from /usr/lib64/ruby/rubygems/custom_require.rb:36:in `require' from /usr/lib64/ruby/gems/1.9.1/gems/puppet-3.7.3/lib/puppet/util/command_line.rb:12:in `<top (required)>' from /usr/lib64/ruby/rubygems/custom_require.rb:36:in `require' from /usr/lib64/ruby/rubygems/custom_require.rb:36:in `require' from /usr/lib64/ruby/gems/1.9.1/gems/puppet-3.7.3/bin/puppet:7:in `<top (required)>' from /usr/bin/puppet:23:in `load' from /usr/bin/puppet:23:in `<main>' Signed-off-by: Guojian Zhou <guojian.zhou@windriver.com> Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-08-10chef: upgrade 11.12.4->12.4.1Lei Maohui
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.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: remove unneeded dangling bbappendsMark Asselstine
Several bbappends are now dangling as the base recipes have moved to different versions. These specific danglers have been reviewed and don't have any demonstrable purpose any longer and can therefor be removed. For example the busybox default config now enables CONFIG_WHICH so there is no reason to continue to 'patch' this config setting. For recipes which used brokensep in order to work around S != B build issues the fact that the bbappend was dangling and the recipe was building successfully is enough to demonstrate that the bbappend was no longer needed. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-07-31nss-pam-ldapd: upgrade 0.9.4 -> 0.9.6Li xin
Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-07-29tgt: upgrade 1.0.36 -> 1.0.60Li xin
Add 0001-usr-Makefile-WARNING-fix.patch to avoid build WARNING. Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com>
2015-07-14tgt: update to v1.0.37Bruce Ashfield
Signed-off-by: Daniel Badea <daniel.badea@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-06-01salt: upgrade to 2015.5Alejandro del Castillo
python-request is now only a dependency of salt-cloud. Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-05-13salt: add recipe for saltAlejandro del Castillo
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-03-10nss-pam-ldapd: Identify CONFFILESRob Woolley
Some package formats explicitly track which files are configuration files so that they are not overwritten on updates. Explicitly list the configuration file. Signed-off by: Rob Woolley <rob.woolley@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-03-10tgt: Identify CONFFILESRob Woolley
Some package formats explicitly track which files are configuration files so that they are not overwritten on updates. Explicitly list the configuration file. Signed-off by: Rob Woolley <rob.woolley@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-03-03support-libs: refresh round1Bruce Ashfield
Refreshing the support libraries to prepare for kilo uprevs of the core components. 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-20iproute2: remove patch already appliedTudor Florea
Remove the patch 0003-Don-t-enforce-that-dev-already-exists.patch as the similar patch exist in poky git repo added by commit 673bb3cffc1fdedb7c25178233c8699650194545 Author: Roy.Li <rongqing.li@windriver.com> Date: Wed Oct 29 14:01:07 2014 +0800 Signed-off-by: Tudor Florea <tudor.florea@enea.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-02-20bbappend: rsync to oe-core master round2Bruce Ashfield
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-12-18hiera: add recipe for hiera 1.3.4YangHaibo
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-12-18facter: add recipe for facter 2.3.0YangHaibo
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-12-18puppet: add recipe for puppet 3.7.3YangHaibo
A simple demo is added Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-09-26deploychef: use /etc/init.d/run-postinsts to execute scriptsMustapha Lansana
With changes made to the identity class, the postinstall scripts no longer register users and services with keystone. Instead, the registration is put inside the file /etc/keystone/service-user-setup by the postinstall scripts. Executing /etc/keystone/service-user-setup then registers the users and services with keystone through /etc/keystone/identity.sh. Therefore, executing just the postinstall scripts is not enough enough to properly bring up the stack. However, executing /etc/init.d/run-postinsts does both. In addition, we are executing scripts within run-deploy in the current shell environment so that the user can see all the updates to the databases on the terminal. 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-26deploychef: result of adapting deploychef to openstackchef classMustapha Lansana
The functionality the following files provide are now implemented in openstackchef class, they are no longer needed in the deploychef package. Signed-off-by: Mustapha Lansana <Mustapha.Lansana@windriver.com>
2014-09-26deploychef: non functional changes to deploychef packageMustapha Lansana
Spelling mistake correction and sentence restructuring to the header section in recipe file. Signed-off-by: Mustapha Lansana <Mustapha.Lansana@windriver.com>
2014-09-26deploychef: adaptation of deploychef to support openstackchefMustapha Lansana
The deploychef package has been adapted to implement the run-time functionality required by decentralized openstackchef class. It does this by executing a script (deploychef) which instruct chef-solo to recreate configuration files from all template files placed at /opt/deploychef/cookbooks/openstack/templates/default by openstackchef class at build-time. The deploychef init script run-level is lower than run-postinsts script, which runs all openstack post-install scripts at first boot. The deploychef script makes a call to run-chefsolo script, which then creates openstack configuration files from all template files mentioned above as directed by a recipe file. This enables us to reconfigure an openstack image on first-boot, thereby, updating the image with environment variables like IP address. Like the template files above, there is a list of all default variables used by the services in an openstack installation. These variables, like the templates files above are created by the openstackchef class and saved to a file under deploychef directory at: /opt/deploychef/cookbooks/openstack/attributes/default.rb Whenever it's desired to reconfigure an openstack deployment with an updated value of any of the variables in the attributes file above, the script file run-deploychef should be executed to reconfigure the stack as shown below. cd /opt/deploychef ./run-deploychef Signed-off-by: Mustapha Lansana <Mustapha.Lansana@windriver.com>
2014-09-26deploychef: make chef-solo templates for openstack servicesMustapha Lansana
The deploychef package enables us to reconfigure an openstack installation at run-time. It does this with the help of chef-solo, by first creating a set of template files from openstack services' configuration files. The template files are then passed on to chef-solo at run-time. Finally, chef-solo recreates the services' configuration files from the template files at run-time; this enables us to reconfigure openstack services with dynamic run-time environment variables. This patch set consist of files with helper functions which enables deploychef to recreate the template files for the respective openstack services. Later on in this commit series, the files in this patch set will be deleted, because the functionality they provide will be provided by openstackchef class. Signed-off-by: Mustapha Lansana <Mustapha.Lansana@windriver.com>