summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python
Commit message (Collapse)AuthorAgeFilesLines
...
* Keystone: package service/user additionsAndy Ning2014-07-309-18/+240
| | | | | | | | | | | 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>
* keystone: Add script to change backend to hybridAmy Fong2014-07-304-10/+56
| | | | | | | | | 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>
* keystone: enable openLDAP authenticationAmy Fong2014-07-301-0/+46
| | | | | | | | | 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>
* keystone: package python-keystone-hybrid-backendAmy Fong2014-07-301-0/+22
| | | | | | | 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>
* openstack initscript: add resetAmy Fong2014-07-2517-34/+361
| | | | | | | | 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>
* glance: update to 2014-07-24 snapshotBruce Ashfield2014-07-251-1/+2
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* eventlet: update to 0.15Bruce Ashfield2014-07-221-2/+2
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* glance: update to july 21 snapshotBruce Ashfield2014-07-221-1/+1
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* clients: update barbican, ceilo, cinder, glance, heat, keystone and swiftBruce Ashfield2014-07-217-13/+13
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* ceilometer: package and deploy api_paste.iniBruce Ashfield2014-07-212-0/+4
| | | | | | | | Ceilometer now requires api_paste.ini for the API to start and be functionaly. So we add it to our core package, and update the .conf file with the name. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* neutronclient: update to 2014 latestBruce Ashfield2014-07-211-2/+2
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* novaclient: update to 2014.x latestBruce Ashfield2014-07-213-43/+42
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* barbican: bump to juno latestBruce Ashfield2014-07-211-1/+1
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* swift: update to juno release candidateBruce Ashfield2014-07-211-3/+3
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* horizon: update to juno releaseBruce Ashfield2014-07-211-3/+9
| | | | | | | Updating horizon to the juno release branch. New required packages have been added to support this integration. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* saharaclient: introduce saharaclient for horizon (juno) requirementsBruce Ashfield2014-07-211-0/+25
| | | | | | | Introducing the saharaclient, without full sahara support, to meet the client requirements of horizon. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* pyscss: introduce to meet horizon (juno) dependenciesBruce Ashfield2014-07-212-0/+56
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xstatic-jquery: introduce to meet horizon (juno) dependenciesBruce Ashfield2014-07-211-0/+27
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* xstatic: introduce to meet horizon (juno) dependenciesBruce Ashfield2014-07-211-0/+27
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* ceilometer: update to junoBruce Ashfield2014-07-213-106/+54
| | | | | | | | Updating the ceilometer project to the juno release branches. With this update, we can drop one patch that isno longer needed, and refresh another for juno. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* 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>
* 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: 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>
* 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>
* 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>
* python-lxml: fix bad license checksumBruce Ashfield2014-06-251-1/+1
| | | | 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>