aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2014-09-29housekeeping: Add a non-numeric PR prefix to allow PRINC in bbappendsicehouseMark 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-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-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-29housekeeping: remove 3.4 kernel bbappendBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-08-29bbapends: resync bbappends to oe-core/meta-oe versionsBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-08-29recipes-dangling: remove all dangling bbappendsBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-08-27apache2: restore mistakely removed bbappendBruce 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-27dhcp: fix double 'request' in dhclient.confMark Asselstine
commit 43e2b093040734d4c4b28db96a634cd2a5f3271b [dhcp: add dhcp classless static route support] had a flaw in one of do_install_append() sed expressions in the dhcp recipe that caused a duplicate 'request' keyword to be inserted in to the dhclient.conf file. The result was that results returned for the request were not as expected and the resolv.conf would be empty. Fixing up the sed expression removes the duplicate and allows things to function properly. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
2014-08-22apache: resync to oe-core latestBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-08-22kernel: enable NFSv 4.1 functionalityBruce Ashfield
Ensure that NFS client 4.1 functionality is enabled, since cinder requires this level of support. 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-19lxc: resync bbappend to meta-virtualizationBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-08-19memcached: re-sync to meta-networking versionBruce Ashfield
To avoid configuration errors, we need to get the latest meta-networking changes. This recipe will be dropped eventually, but will stay a bit longer for migration purposes. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-08-18README: add meta-python dependencyBruce 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>
2014-07-31qemu: add qemu 2.0.0 bbappendBruce Ashfield
Adding a qemu 2.0.0 bbappend to sync with oe-core master. 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-31rabbitmq: make HOME configurableBruce Ashfield
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>
2014-07-31identity.bbclass: update where to find run-postinsts scriptAmy Fong
It's now 99, not 98 Signed-off-by: Amy Fong <amy.fong@windriver.com>
2014-07-31openldap: Fix pathsAmy Fong
Explicitly set the libexec dir to /usr/libexec for openstack Signed-off-by: Amy Fong <amy.fong@windriver.com>
2014-07-31cirros: make root home configurableBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-07-30keystone: package openLDAP 2.4.39Amy Fong
The patches are taken from Debian. Signed-off-by: Amy Fong <amy.fong@windriver.com>
2014-07-30keystone: set default backend to ldapAmy Fong
Signed-off-by: Amy Fong <amy.fong@windriver.com>
2014-07-30aio: add support for identity.bbclassAmy Fong
Signed-off-by: Amy Fong <amy.fong@windriver.com>
2014-07-30Keystone: implement incremental/programatic 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 keystone identities by itself in its own postinstall. The existing identity.sh has been re-written to be a utility that takes parameters, and the service postinstall calls identity.sh to create its own keystone identities. The identity.sh can also be used as a tool to manually create keystone identities at run time. Signed-off-by: Andy Ning <andy.ning@windriver.com>
2014-07-30Keystone: build time incremental/programatic 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 keystone identities by itself in its own postinstall. The exiting identity.bbclass has been re-written so that each of the individual postinstalls will queue up keystone identity creation in /etc/keystone/service-user-setup at runtime. And service-user-setup will be run as the last postinstall to create keytstone identities for all the services. Signed-off-by: Andy Ning <andy.ning@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-30OpenLDAP READMEAmy Fong
Add a README file pertaining to the openldap/keystone/pam usage. Signed-off-by: Amy Fong <amy.fong@windriver.com>
2014-07-30keystone: Add script to change backend to hybridAmy Fong
Adding /etc/keystone/hybrid-backend-setup and convert_keystone_backend.py to set the backend for keystone to hybrid and starts openldap and restarts keystone. Signed-off-by: Amy Fong <amy.fong@windriver.com>
2014-07-30keystone: enable openLDAP authenticationAmy Fong
Modify python-keystone to use openldap. keystone's identity and assignment backends are configured to utilitze the hybrid backend for keystone. This backend uses the SQL backend by default and goes to the ldap database if the user doesn't exist. Signed-off-by: Amy Fong <amy.fong@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>
2014-07-30keystone: package python-keystone-hybrid-backendAmy Fong
This project provides two alternative backends for Keystone: hybrid SQL and LDAP backends for OpenStack Keystone Signed-off-by: Amy Fong <amy.fong@windriver.com>
2014-07-30ldap/pam authentication: package nss-pam-ldapdAmy Fong
Package nss-pam-ldapd, this is a daemon enabling pam/ldap authentication. Signed-off-by: Amy Fong <amy.fong@windriver.com>
2014-07-30keystone: openldap packagingAmy Fong
Add openstack specific parts of openldap. openldap's init script initializes the data with the basic tree structures needed for keystone - the Group, User and Role tree. Additionally, we add two variables which can be set in local.conf, LDAP_DN - default DN for ldap default: "dc=my-domain,dc=com" LDAP_DATADIR - default directory for ldap's data directory default: "/etc/openldap-data/" Signed-off-by: Amy Fong <amy.fong@windriver.com>
2014-07-30README: add meta-pythonBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-07-29rally to include into aio imageVu Tran
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>
2014-07-29uwsgi: remove floating yajl dependencyBruce Ashfield
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>
2014-07-25openstack initscript: add resetAmy Fong
Some of the openstack data is associated with external resources (ie glance may have external files), we explicitly invoke the delete commands on those in additional to dropping and recreating the databases. Signed-off-by: Amy Fong <amy.fong@windriver.com>
2014-07-17rally add readme docVu Tran
Signed-off-by: Vu Tran <vu.tran@windriver.com>
2014-07-17introduce benchmarking packagegroupVu Tran
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>
2014-07-17rally: verification subunit2json fail to open result fileVu Tran
Command "rally verify start" gives the following error: TRACE rally File "/usr/lib64/python2.7/site-packages/rally/verification/verifiers/tempest/subunit2json.py", line 113, in stopTestRun TRACE rally with open(self.results_file, 'wb') as results_file: TRACE rally TypeError: coercing to Unicode: need string or buffer, int found For Python 2.x, open() requires a string but not file descriptor number. However for Python 3.x, open() can either accept a string file name of a file descriptor number. So modify code to pass in open() string file name. This should work for both Python 2.x and 3.x Signed-off-by: Vu Tran <vu.tran@windriver.com>
2014-07-17rally: sqlalchemy-db missing name for ENUMVu Tran
Command "rally-manage db recreate" gives the following error: TRACE rally File "/usr/lib64/python2.7/site-packages/sqlalchemy/dialects/postgresql/base.py", line 898, in format_type TRACE rally raise exc.CompileError("Postgresql ENUM type requires a name.") TRACE rally CompileError: Postgresql ENUM type requires a name. Signed-off-by: Vu Tran <vu.tran@windriver.com>
2014-07-17Rally verification to use existing tempestVu Tran
By default, Rally verification requires to do following things: * git clone tempest source from upstream * setup virtualenv for this tempest * setup testr environment with virtualenv above * create tempest.conf for this tempest If tempest is already installed/configured in rootfs then force Rally to use this existing tempest. A new introduced option "existing_tempest_config" in /etc/rally/rally.conf can be used to configure Rally to either use the existing tempest or to download from upstream. If the option "existing_tempest_config" is not set then follows the default path. If existing_tempest_config is set to absolute path of tempest config folder (which contains tempest "tools" and .testr.conf) then Rally uses this existing tempest. Signed-off-by: Vu Tran <vu.tran@windriver.com>
2014-07-17rally: remove ironic supportVu Tran
OpenStack ironic is not currently supported, so remove any code in rally that invokes ironicclient. Signed-off-by: Vu Tran <vu.tran@windriver.com>
2014-07-17introduce openstack Rally componentVu Tran
* Add Rally bb file * Add Rally deployment json config for existing deployment * Add task example * To use custom Rally config file Signed-off-by: Vu Tran <vu.tran@windriver.com>
2014-07-17add python-oslotest bb 1.0.0 fileVu Tran
OpenStack Rally requires oslotest. Signed-off-by: Vu Tran <vu.tran@windriver.com>