aboutsummaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools
AgeCommit message (Collapse)Author
2014-11-11core: add juno (2014.2) dependenciesBruce Ashfield
Updating components and support utilities for the juno 2014.2 update. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-11-10trove: update core package and dependencies to juno -rc2Bruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-11-05nova: allow empty schemes at python 2.7.3Bruce Ashfield
The upstream project is concerned with a bug in empty schemes with 2.7.3. But since Yocto is 2.7.3 and we get an empty scheme via websockify, no VNC consoles are possible. Rather than upreving python (big change), we aren't being hit by the referenced bug, so we simply make sure that the condition can never be true. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-11-05websockify: update to 0.6.0Bruce Ashfield
Juno nova requires 0.6.x for websockify, so we do the update. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-10-27neutron: move from OVS unified to OVS ml2 pluginBruce Ashfield
Juno removes support for the unified OVS and linuxbridge plugins. So we switch to the ml2 OVS plugin. This involves configuration and packaging changes. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-10-21keystone: update for Juno rc1Bruce Ashfield
We have three changes in a single commit: - A runtime substition fix controller IP values - When the substitions were moved for chef integration, the chef disabled path wasn't tested. This meant that %CONTROLLER_IP% remained in the final config files, and broke keystone startup. - The addition of oathlib to keystone depedencies - oauthlib is a juno dependency - A temporary patch to the apache httpd front end modules - At times keystone would fail to load via apache due to the inability to load localcontext from oslo. To work around these sporadic failures, an explicit import was added to the http front end module. This will be removed in the future. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-10-21horizon/libs: introduce jquery-ui for juno requirementsBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-10-21cinder/libs: add rtslib-fbBruce Ashfield
To support iscsi backends, cinder uses rtslib-fb. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-10-21keystone/libs: introduce oauthlibBruce Ashfield
In the juno release, keystone depends on oauthlib, so we introduce the recipe. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-10-21oslo: add rootwrapBruce Ashfield
Integrate oslo.rootwrap to meet juno dependencies for core projects Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-10-21nova/cinder/ceilometer: adding missing oslo dependenciesBruce Ashfield
oslo rootwrap was missing from the DEPENDS of these core projects. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-10-21horizon: reorder and update dependenciesBruce Ashfield
Horizon had a rather large set of duplicated DEPENDS, to work around bitbake evaluation order issues. We can now unify the DEPENDS into a single list, and leave RDEPENDS to deal with arch specific differences. We also add missing horizon juno dependencies. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-10-21horizon: update dependencies for juno rc2Bruce Ashfield
Updating the horizon dependent packages to the juno-rc2 required versions Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-10-17clients: update to juno release candidate versionsBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-10-17horizon: update to juno -rc1 candidateBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-10-17bootstrap-scss: introduce to meet horizon juno dependenciesBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-10-17core: update to juno-rc1 candidate releaseBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@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-29ceilometer: update to juno dependenciesBruce Ashfield
Ceilometer requires oslo.serialization and kazoo (plus its depdencies), so we add them here, and ceilometer-api works again. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-09-29keystone:Bruce Ashfield
keystone: move initscript install to before fixups There are sed operations being performed on the sysvinit script .. but the script wasn't being installed until after that block of code. We relocate the install of the script to above any fixups, and everything works again. Signed-off-by: Bruce Ashfield <bruce.ashfield@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-26cinder/glance/neutron: support for openstackchef classMustapha Lansana
Openstackchef enables us to recreate configuration files for services in an openstack installation. It does this by creating template file(s) out of openstack services' configuration file(s) exposed to it. The following services are inheriting the openstack class and then exposing a set of configuration files to the class. The configuration files are assumed to have been installed in the image in the service's WORKDIR and are exposed to openstackchef by assigning them to the variable CHEF_SERVICES_CONF_FILES. For legacy reasons, the string OPENSTACKCHEF_ENABLED is defined in openstackchef class, but it can be overwritten to an empty string in a .bb, .class, .bbapend or local.conf file when openstackchef support is not desired. This enables all of these services to be built without openstackchef support. In addition, it prevents the recipes for these sevices from substituting the placeholders in their configuration files when inheriting openstackchef. However, since services like python-glance and python-cinder install some of their configuration files to the image directory during the substitution, it means that these files at not installed when the substitutions are not required. Therefore, we have taken the liberty to install those missing configuration files before the check for whether or not substitutions should be made, without having any side effect on when the substitutions are required. 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. In making template files out of configuration files, openstackchef makes a simple placeholder/value substitution in the configuration files. However, it provides a mechanism for services inheriting the class to define a special shell callback function which can do more than a simple placeholder/value substitution. This special callback function is exposed to openstackchef by assigning it to the variable CHEF_SERVICES_SPECIAL_FUNC. And the name of the file passed back to the shell callback function as an argument is set to the variable CHEF_SERVICES_FILE_NAME by openstackchef. In this patch set, only python-neutron and python-glance recipe files makes special substitutions. 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-26chef: resolve mismatch between branch name and SRCREVMustapha Lansana
Maintainer's of the upstream git trees for these packages have branched the repos from which these packages were fetched. This creates a mismatch between the SRCREV and branch name in the recipe files. Specify the branch name to resolve the error or update the SRCREV to match a commit id found on master. Signed-off-by: Mustapha Lansana <Mustapha.Lansana@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-22python-keystone: Add apache vhost server.Liam R. Howlett
This patch set configures an apache vhost server on port 8081 which will serve as the main authentication method and documents the change in README.keystone. 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-09-16python-keystone: Fix recipe whitespace.Liam R. Howlett
Conform as much as possible to the bitbake coding standard. (80 or less chars/line, 4x space indent). Signed-off-by: Liam R. Howlett <Liam.Howlett@WindRiver.com>
2014-09-16clients: update clients to juno b3 sync pointBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-09-16core: update core projects to juno b3 releaseBruce Ashfield
Along with this update, we also fix a bug with nova and neutron port types. this patch will be removed once it is fixed in the upstream project. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-09-16horizon: introduce xstatic-bootstrap-datepicker and xstatic-font-awesomeBruce Ashfield
Introducing Juno B3 horizon dependencies to the build. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-09-16glancestore: introduce glancestore projectBruce Ashfield
The storage backends have been factored out of the core glance repository. So we introduce glancestore to meet the backend requirements of glance. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-09-04python-horizon: Fix whitespace in recipe.Liam R. Howlett
The horizon recipe had lines running well over 80 characters and indentation that was not a multiple of 4. This patch fixes those issues. Signed-off-by: Liam R. Howlett <Liam.Howlett@WindRiver.com>
2014-09-04python-horizon: Fix path usage to bitbake defined paths.Liam R. Howlett
The horizon recipe had references to paths defined as variables for recipe use. This patch converts those paths into the variable version for easier portability. Signed-off-by: Liam R. Howlett <Liam.Howlett@WindRiver.com>
2014-09-04python-nova: Remove duplicate line from conf file.Liam R. Howlett
Removed duplicate dhcpbridge_flagfile from the nova.conf file. Signed-off-by: Liam R. Howlett <Liam.Howlett@WindRiver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-09-04horizon: add juno dependenciesBruce Ashfield
Update the horizon recipe to have all the juno dependencies. We also introduce the recipes to build those dependencies. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-09-03nova: update to juno configuration requirementsBruce Ashfield
To boot a nested guest in juno, we need to relocate the virtualization type config setting into the [libvirt] section. With this, we can sucessfully launch a guest. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-09-02nova: add oslo.i18n to dependency listBruce Ashfield
nova-compute needs oslo.i18n, so we add it to the dependency list. 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-29support packages: uprev to juno 2014.2-b2 versionsBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-08-27Keystone: package service/user addition sstate vardepsMark Asselstine
Several packages utilize the keystone package service/user addition services recently added. The data passed to this service depends on the value assigned to CONTROLLER_IP (used as KEYSTONE_HOST), however, bitbake is not able to automatically determine this dependency so several tasks which should be rerun to create updated package postinst scripts are not run when CONTROLLER_IP is modified. Adding the necessary vardeps ensure these tasks are rerun and now adjustments made to CONTROLLER_IP are reflected in the generated packages. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-08-26oslo.messaging: update to 1.4.0.0a4Bruce 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-20nova: fix FILESEXTRAPATHS warningBruce Ashfield
convert FILESEXTRAPATHS to FILESEXTRAPATHS_append to avoid warnings from the latest oe-core. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-08-20glance: update API and client to Juno latestBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-08-20osprofiler: add os profiling python supportBruce Ashfield
osprofiler is part of the juno glance pipelien processing. So to meet the requirements of glance-api, we introduce the recipe. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-08-20eventlet: uprev to 0.15.1Bruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-07-31python-keystone: Remove openrc file and bb references.Liam R. Howlett
This patch removes the openrc file from the keystone package and references to openrc in the python-kystone_git.bb file. Signed-off-by: Liam R. Howlett <Liam.Howlett@WindRiver.com>