aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2014-09-29housekeeping: Add a non-numeric PR prefix to allow PRINC in bbappendshavanaMark 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-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-22core: update core components to latest havana/stable releasesVu Tran
The patch CVE-2014-0006-swift-1265665.patch is already in the latest Swift havana/stable release, so dropping it. Signed-off-by: Vu Tran <vu.tran@windriver.com> 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-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-19README: 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-31cirros: make root home configurableBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@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-31keystone: set default backend to ldapAmy Fong
Signed-off-by: Amy Fong <amy.fong@windriver.com>
2014-07-31aio: add support for identity.bbclassAmy Fong
Signed-off-by: Amy Fong <amy.fong@windriver.com>
2014-07-31Keystone: 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-31Keystone: 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-31Keystone: 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-31OpenLDAP READMEAmy Fong
Add a README file pertaining to the openldap/keystone/pam usage. Signed-off-by: Amy Fong <amy.fong@windriver.com>
2014-07-31keystone: 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-31keystone: 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-31ldap/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-31keystone: 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-31keystone: 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-31ldap/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-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>
2014-07-17tempest missing tools and testr configVu Tran
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>
2014-07-17glance test config use latest cirros imageVu Tran
cirros image installed at /root/images/ can be upgraded to different version. Instead of hardcoding cirros image name, let find cirros image at runtime as glance test config is not bounded to a specific cirros image. Signed-off-by: Vu Tran <vu.tran@windriver.com>
2014-07-17neutron: uuid whitespace check fixAmy Fong
The uuid candidate may be none, need to check for this. Signed-off-by: Amy Fong <amy.fong@windriver.com>
2014-07-17neutron test: nec plugin extensions locationVu Tran
Some of the neutron built-in testcases failed because they can not find nec plugin extensions based on the given relative path. So forcing these failure testcases to look for these extensions using absolute path. Signed-off-by: Vu Tran <vu.tran@windriver.com>
2014-06-25neutronclient: use csv flag instead of jsonKeith Holman
The tests included with neutronclient are calling neutron commands agents-list and net-list with the "-f" flag set to "json". This isn't supported and throws an exception during the test. The exception is unexpected and fails to free the resources allocated by the mox testing library causing the following tests to fail. This fix applies a patch that prevents the exception from being thrown by calling the commands with the "-f" flag set to "csv", which is supported. Signed-off-by: Keith Holman <Keith.Holman@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-06-25qemu: add attr and cap-ng dependenciesKeith Holman
In qemu, the virtfs configuration option requires attr and cap-ng. Adding "attr" to a PACKAGECONFIG[virtfs] doesn't work because this only adds "attr" as a package dependency but doesn't set the configuration option for generating the correct configure command line. This fix explicitly adds the two required configuration options to the configuration line since virtfs is already specified as a desired configuration option. Signed-off-by: Keith Holman <Keith.Holman@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-06-24packagegroup controller,compute - Add module softdogAmy Fong
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>
2014-06-24dhcp: add dhcp classless static route supportAndy Ning
dhclient needs to be configured to request classess static routes (option code 121) from dhcp server. And dhclient-script will call dhclient-exit-hooks which will parse and add the static routes received from dhcp server into the routing table. The support are built into both controller image and usb guest image, but only guest image makes use of it to add static route for instance to access metadata. Signed-off-by: Andy Ning <andy.ning@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-06-24keystoneclient: fix keystoneclient-test packageKeith Holman
The keystoneclient-test package (created in the keystoneclient recipe) is currently being generated with no files. This is causing a build error. The path to the files to include in this package specify the "${D}" variable at the beginning of the path, which isn't needed. Removing this variable from the line fixes the problem. Signed-off-by: Keith Holman <Keith.Holman@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-06-24neutron: update uuid check error messageAmy Fong
If the uuid specified has trailing whitespace, update the error message to suggest that this is the case. (ie give a more useful error message) Signed-off-by: Amy Fong <amy.fong@windriver.com>
2014-06-23add python-pysnmp 4.2.5 bb fileVu Tran
Ceilometer ceilometer/hardware/inspector/snmp.py and some some ceilometer builtin tests require python pysnmp package. Signed-off-by: Vu Tran <vu.tran@windriver.com>
2014-06-23add python-pecan 0.5.0 bb fileVu Tran
One of the ceilometer builtin test ceilometer.tests.api.v2.test_list_events_scenarios.TestListEvents.test_all_trailing_slash failed as it tries to test with trailing slash. The root cause is in pecan package, and the following two upstream commits fix the issue: Upstream 0e18b1f7d490695f4988d92c83bf239cf2937bf6 from https://github.com/stackforge/pecan.git branch master Upstream 573846e01209327030db146909de03e97cd8a858 from https://github.com/stackforge/pecan.git branch master Instead of back porting these commits, it's better to uprev python-pecan to 0.5.0 version which also contains these commits. Also remove meta-openstack/recipes-devtools/python/python-pecan_0.4.2.bb Signed-off-by: Vu Tran <vu.tran@windriver.com>
2014-06-23add python-logutils 0.3.3 bb fileVu Tran
New version of python-pecan (e.g pecan 0.5.0) requires python logutils. Signed-off-by: Vu Tran <vu.tran@windriver.com>
2014-06-23ceilometer builtin skip failed unsupported db testsVu Tran
ceilometer tests against various databases: mongodb, db2, sqlalchemy, hbase. For mongodb and db2, tests use environment variables: CEILOMETER_TEST_MONGODB_URL and CEILOMETER_TEST_DB2_URL for supplying URL database connection into tests. As we do not support mangodb or db2, by not setting or setting bogus URLs to these two environment variables will cause tests to fail. These tests should be skipped as prerequisite is not satisfied. Therefore we modify ceilometer testcases for mongodb and db2 to be skipped instead of failed if CEILOMETER_TEST_MONGODB_URL and CEILOMETER_TEST_DB2_URL are not set. Signed-off-by: Vu Tran <vu.tran@windriver.com>