summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* heat: update to Juno release branchesBruce Ashfield2014-07-211-3/+3
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* glance: update to juno release candidatesBruce Ashfield2014-07-211-3/+5
| | | | | | | | Updating glance to the latest juno development branch. The only significant changes are the introduction of new requirement packages on the rdepends. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* oslo.i18n: introduce glance dependenciesBruce Ashfield2014-07-211-0/+28
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-i18n: introduce to meet glance requirementsBruce Ashfield2014-07-211-0/+28
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* cinder: uprev to junoBruce Ashfield2014-07-182-5/+5
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* neutron: uprev to juno releaseBruce Ashfield2014-07-182-16/+13
| | | | | | | Updating neutron to the juno branches. No configuration or startup changes were required. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* rabbitmq: make HOME configurableBruce Ashfield2014-07-182-1/+3
| | | | | | | | | | | 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>
* pycadf: introduce to meet juno requirementsBruce Ashfield2014-07-181-0/+33
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* posix-ipc: introduce to meet juno requirementsBruce Ashfield2014-07-181-0/+27
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* oslo.db: add oslo.db to satisfy juno requirementsBruce Ashfield2014-07-181-0/+32
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* keystonemiddleware: introduce for juno compatibilityBruce Ashfield2014-07-181-0/+27
| | | | | | | | To integrate with the default nova auth token support in juno, we introduce the keystone middleware split. This was formerly part of keystoneclient, but is now a standalone package/repository. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* keystoneclient: update to 0.9.0Bruce Ashfield2014-07-181-2/+2
| | | | | | Updating keystone client to 0.9.0 in preparation for juno compability. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* keystone: uprev to junoBruce Ashfield2014-07-183-28/+25
| | | | | | | | | | Updating keystone to the juno release candidate. Also adding new dependencies. Note: also ensure that the new keystoneclient and keystonemiddleware are used. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* nova: update to juno development branchesBruce Ashfield2014-07-181-3/+6
| | | | | | | | | Updating nova to the juno development branches. We also add new dependencies that the update brings. Note: keystone must also be on Juno for a workable nova service. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* rally add readme docVu Tran2014-07-171-0/+335
| | | | | Signed-off-by: Vu Tran <vu.tran@windriver.com>
* introduce benchmarking packagegroupVu Tran2014-07-172-0/+16
| | | | | | | | | | | | | | | | | | | 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>
* rally: verification subunit2json fail to open result fileVu Tran2014-07-172-0/+37
| | | | | | | | | | | | | | | | | | 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>
* rally: sqlalchemy-db missing name for ENUMVu Tran2014-07-172-0/+26
| | | | | | | | | | | 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>
* Rally verification to use existing tempestVu Tran2014-07-173-0/+127
| | | | | | | | | | | | | | | | | | | | | | | | | 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>
* rally: remove ironic supportVu Tran2014-07-172-0/+88
| | | | | | | OpenStack ironic is not currently supported, so remove any code in rally that invokes ironicclient. Signed-off-by: Vu Tran <vu.tran@windriver.com>
* introduce openstack Rally componentVu Tran2014-07-175-0/+712
| | | | | | | | | | * 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>
* add python-oslotest bb 1.0.0 fileVu Tran2014-07-171-0/+29
| | | | | | | OpenStack Rally requires oslotest. Signed-off-by: Vu Tran <vu.tran@windriver.com>
* tempest missing tools and testr configVu Tran2014-07-171-1/+2
| | | | | | | | | | 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>
* glance test config use latest cirros imageVu Tran2014-07-171-1/+2
| | | | | | | | | | 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>
* neutron: uuid whitespace check fixAmy Fong2014-07-171-2/+2
| | | | | | The uuid candidate may be none, need to check for this. Signed-off-by: Amy Fong <amy.fong@windriver.com>
* neutron test: nec plugin extensions locationVu Tran2014-07-172-0/+27
| | | | | | | | | | | 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>
* postgres: fix xml configuration errorBruce Ashfield2014-07-161-0/+2
| | | | | | | Not only must postgres depend on libxml for xml support, we need to point at the sysroot/staging area for the header files to be found. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* busybox: ensure that WHICH is availbleBruce Ashfield2014-07-102-0/+6
| | | | | | | | horizon (among other services) requires which to be available to locate the python interpreter. Rather than relying on defconfigs, we add an explicit fragment to ensure this is always available. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* linux-yocto: add nat/conntrack options to netfilterBruce Ashfield2014-07-103-0/+9
| | | | | | | | | | | iptables save/restore looks for the nat module, and if not present, it fails to restore tables. This failure code causes nova-api to not start .. and hence have no scheduler services. We add a configuration fragment to ensure that the right modules are built, and on the rootfs. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* neutronclient: use csv flag instead of jsonKeith Holman2014-06-252-1/+69
| | | | | | | | | | | | | 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>
* qemu: add attr and cap-ng dependenciesKeith Holman2014-06-251-1/+1
| | | | | | | | | | | | | 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>
* python-lxml: fix bad license checksumBruce Ashfield2014-06-251-1/+1
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* packagegroup controller,compute - Add module softdogAmy Fong2014-06-242-0/+2
| | | | | | | | | | | | | | 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>
* dhcp: add dhcp classless static route supportAndy Ning2014-06-242-0/+108
| | | | | | | | | | | | | | 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>
* keystoneclient: fix keystoneclient-test packageKeith Holman2014-06-241-1/+1
| | | | | | | | | | | 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>
* neutron: update uuid check error messageAmy Fong2014-06-242-0/+36
| | | | | | | | | 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> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* add python-pysnmp 4.2.5 bb fileVu Tran2014-06-232-0/+23
| | | | | | | 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>
* add python-pecan 0.5.0 bb fileVu Tran2014-06-232-17/+25
| | | | | | | | | | | | | | | | | | | | | | | | 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>
* add python-logutils 0.3.3 bb fileVu Tran2014-06-231-0/+23
| | | | | | | New version of python-pecan (e.g pecan 0.5.0) requires python logutils. Signed-off-by: Vu Tran <vu.tran@windriver.com>
* ceilometer builtin skip failed unsupported db testsVu Tran2014-06-233-86/+52
| | | | | | | | | | | | | | | | 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>
* ceilometer builtin tests Use known protocol schemeVu Tran2014-06-232-0/+86
| | | | | | | | | | | | | Commit e5b7606eaa94033256eb1aca5f6a6eed4f9e54a0 from https://github.com/openstack/ceilometer.git master With the recent introduction of the identity_uri in keystoneclient, there is a small backward incompatible change which means that weird protocols like the ones we use during tests aren't support properly anymore. The patch replaces "foottp" and "barttp" by "file" hopefully keeping testing coverage the same. Signed-off-by: Vu Tran <vu.tran@windriver.com>
* ceilometer builtin tests config locationVu Tran2014-06-232-0/+131
| | | | | | | | | | Many ceilometer built-in testcases failed because they can not find ceilometer configuration file, as these tests use relative paths to find these configuration files. So forcing these failure testcases to look for these configuration file using absolute path. Signed-off-by: Vu Tran <vu.tran@windriver.com>
* cinder builtin tests config locationVu Tran2014-06-232-0/+29
| | | | | | | | | | | Many cinder built-in testcases failed because they can not find cinder configuration file, as these testcases assume that they are run at python site-packages dir. So forcing these failure testcases to look for these configuration file using absolute path. Signed-off-by: Vu Tran <vu.tran@windriver.com>
* glance builtin tests config location and missing packagesVu Tran2014-06-232-0/+96
| | | | | | | | | | | | | | | | Many glance built-in testcases failed because they can not find glance configuration files, as these testcases assume that they are run at python site-packages dir. So forcing these failure testcases to look for these confiugration file using absolute path. Also some tests fail because of missing two packages: python-psutil and qpid-python. So add these packages into glance-tests RDEPENDS Signed-off-by: Vu Tran <vu.tran@windriver.com>
* httpretty: create recipe for packageKeith Holman2014-06-232-1/+31
| | | | | | | | | Keystoneclient tests require the package httpretty be available on the system in order to run. This fix includes a recipe file for obtaining and building httpretty. The fix also adds httpretty as a dependency of keystoneclient. Signed-off-by: Keith Holman <Keith.Holman@windriver.com>
* keystoneclient: add example test certificatesKeith Holman2014-06-232-1/+40
| | | | | | | | | The tests included with keystoneclient require the use of example certificates. This fix copies the example certificates that are found in the source to the target system. It also patches the test files to find the certificates in the correct location. Signed-off-by: Keith Holman <Keith.Holman@windriver.com>
* nova: package plugin directory and fix its pathKeith Holman2014-06-232-0/+34
| | | | | | | | | | The tests included with nova require some files that are within the "plugin" directory. This fix includes the "plugin" directory on the target system as part of the recipe. This fix also includes a patch that updates the tests to find the "plugin" directory where it is installed on the target system. Signed-off-by: Keith Holman <Keith.Holman@windriver.com>
* nova: package doc directory and fix its pathKeith Holman2014-06-232-0/+49
| | | | | | | | | | The tests included with nova require some setup and configuration files that are within the "doc" directory. This fix includes the doc directory on the target system as part of the recipe. This fix also includes a patch that updates the tests to find the "doc" directory where it is installed on the target system. Signed-off-by: Keith Holman <Keith.Holman@windriver.com>
* nova: use absolute path to api-paste.ini fileKeith Holman2014-06-232-0/+34
| | | | | | | | | | The api-paste.ini file shipped with nova is installed into the /etc/nova directory on a target system. The tests included with nova expect the file to be relative to the location of the tests within the source tree. This fix sets the absolute path to the api-paste.ini file as it exists on the system. Signed-off-by: Keith Holman <Keith.Holman@windriver.com>
* coverage: add recipe for coverage tool and dependencyKeith Holman2014-06-232-0/+30
| | | | | | | | | Nova requires the python-coverage to be available in order for the unit tests supplied to pass. This fix adds a recipe in order to build the coverage tool. It also adds the dependency to the new package to the recipe to build nova. Signed-off-by: Keith Holman <Keith.Holman@windriver.com>