summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python
Commit message (Collapse)AuthorAgeFilesLines
...
* keystone: fix tabs in recipe according to style guideKeith Holman2014-06-091-15/+15
| | | | | | | | | | | | | | The bitbake recipe file for building Keystone is inconsistent with the use of tabs versus spaces. According to guidelines for the Yocto project (style guide), the tabs should be replaced with spaces in the case of indenting for lists. The style guide can be found at: https://wiki.yoctoproject.org/wiki/Recipe_&_Patch_Style_Guide This fix changes the Keystone recipe file to use spaces instead of tabs in list of files and package dependencies. Signed-off-by: Keith Holman <Keith.Holman@windriver.com>
* colorama: python package for terminal coloursKeith Holman2014-06-091-0/+26
| | | | | | | | | Colorama is a python interface for sending ASCII terminal codes to facilitate setting cursor locations and outputting color to terminal windows. This change provides a recipe for obtaining the colorama package. Signed-off-by: Keith Holman <Keith.Holman@windriver.com>
* termcolor: added recipe and dependencyKeith Holman2014-06-091-0/+26
| | | | | | | | Some packages require the termcolor package, which is used to generate colour output on terminal screens. This change provides a recipe for installing the termcolor package. Signed-off-by: Keith Holman <Keith.Holman@windriver.com>
* horizon: add full path to test directoriesKeith Holman2014-06-043-66/+41
| | | | | | | | | | | | | | The tests included Horizon expect all files to be in a single location in order to be run directly from the source tree. The recipe for installing Horizon on the system installs Horizon as a python site-package and puts files in different locations depending on the file type. In order to have the tests support this type of install we need to explicitly indicate the full path of the test files to exclude in order to have the tests run successfully. This fix adds the absolute path to the test locations allows the Horizon tests to pass as expected. Signed-off-by: Keith Holman <Keith.Holman@windriver.com>
* nose-exclude: add plugin for nose to exclude directoriesKeith Holman2014-06-042-0/+32
| | | | | | | | | | | Nose is a package to support unit testing of python source code. Node-exclude is a plugin extending Nose to specify directories to exclude from testing via the command line. Some packages require this plugin to be installed in order to run all the tests successfully. This fix creates recipe to install the node-exclude plugin on the target system. Signed-off-by: Keith Holman <Keith.Holman@windriver.com>
* django-nose: add recipe and dependencies for testingKeith Holman2014-06-042-0/+33
| | | | | | | | | | Horizon provides unit tests for testing its deployment in target environment. These tests make use of django-nose testing framework. This provides a recipe for building django-nose and adds a dependency from Horizon on this recipe. Signed-off-by: Keith Holman <Keith.Holman@windriver.com>
* horizon: patch test script to run without coverageKeith Holman2014-06-042-0/+66
| | | | | | | | | | | Currently, the run_tests.sh script provided by the horizon package requires the command "coverage" to be available even if the "-c" option (test with code coverage) is not specified on the command line. This fix patches the test script to remove the calls to the "coverage" tool and calls the test script directly if the "-c" option is not provided. Signed-off-by: Keith Holman <Keith.Holman@windriver.com>
* cephclient: add main library/client ReST APIsBruce Ashfield2014-06-041-0/+30
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* cephclient: add supporting library python-lxmlBruce Ashfield2014-06-041-0/+29
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* cephclient: add supporting library python-html5libBruce Ashfield2014-06-041-0/+27
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* cephclient: add supporting library python-cssselectBruce Ashfield2014-06-041-0/+27
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* barbicanclient: update github repositoryBruce Ashfield2014-06-021-1/+1
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* barbican: update repository to githubBruce Ashfield2014-06-021-1/+1
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* ceilometer: need to start ceilometer agent notificationVu Tran2014-05-301-2/+12
| | | | | | | | | There are some missing ceilometer meters (e.g. vcpu) which have origin from notification. This is due to ceilometer-agent-notification service is not started on controller node. Signed-off-by: Vu Tran <vu.tran@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* keystone add user for tempestVu Tran2014-05-261-0/+16
| | | | | | | | | | | | To support tempest, modify keystone identity.sh script to: * add user with username=alt_demo, tenant=alt_demo, and password=password into keystone. * add user "admin" into tenant "demo". Signed-off-by: Vu Tran <vu.tran@windriver.com>
* python-six: No generic license file exists for: UNKNOWN in any providerAmy Fong2014-05-241-2/+2
| | | | | | Change license to MIT Signed-off-by: Amy Fong <amy.fong@windriver.com>
* python-amqplib: No generic license file exists for: LGPL-3 in any providerAmy Fong2014-05-241-2/+2
| | | | | | Modifying license to LGPL-3.0 Signed-off-by: Amy Fong <amy.fong@windriver.com>
* barbican: increase uwsgi buffer-size to work with keystoneKeith Holman2014-05-233-1/+45
| | | | | | | | | | | | uWSGI defaults to a maximum packet size of 4096 bytes. This is too small to support working with PKI tokens that are now default in Keystone. The size of the packets within Barbican are dependent on both the size of the Keystone token and the size of the secret to be stored & retrieved. Increasing the buffer size to the maximum allowed by uWSGI allows Barbican to support the largest possible secrets. Signed-off-by: Keith Holman <Keith.Holman@windriver.com>
* barbican: output a log file for debugging purposesKeith Holman2014-05-231-3/+4
| | | | | | | | Currently, the /var/log/barbican directory is created but remains empty. This change outputs a Barbican log file for debugging communication problems that occur via uWSGI. Signed-off-by: Keith Holman <Keith.Holman@windriver.com>
* heat: change template version to 2013-05-23Bruce Ashfield2014-05-223-3/+3
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* heatclient: add heatclient-tests bbVu Tran2014-05-211-1/+7
| | | | | | | | Heatclient tests requires python-mox3 and python-testscenarios. Create additional heatclient-tests package when included into final image will also include these 2 packages into final image. Signed-off-by: Vu Tran <vu.tran@windriver.com>
* Add new python-mox3 bbVu Tran2014-05-211-0/+22
| | | | | | | mox3 package is required by heatclient tests, so pulling this package in. Signed-off-by: Vu Tran <vu.tran@windriver.com>
* Add new python-testscenarios bbVu Tran2014-05-211-0/+19
| | | | | | | testscenarios package is required by heatclient tests, so pulling this package in. Signed-off-by: Vu Tran <vu.tran@windriver.com>
* heat tests change project_dir pathVu Tran2014-05-212-0/+24
| | | | | | | | | | | By default, heat-tests sets project dir to /usr/<lib/lib64>/python2.7/site-packages/ which is the starting place for heat-tests to search for default environment setting file. However all the required file are in /etc/heat. So set project_dir to "/" Signed-off-by: Vu Tran <vu.tran@windriver.com>
* heat: add example hot templatesVu Tran2014-05-214-2/+211
| | | | | | | | Add 2 hot templates which can be used to create heat stack for demonstrating heat stack lifecycle management and autoscaling Signed-off-by: Vu Tran <vu.tran@windriver.com>
* heat change config file for autoscalingVu Tran2014-05-211-2/+2
| | | | | | | | Set heat_metadata_server_url, heat_waitcondition_server_url config options in heat.conf to allow Ceilometer to be able to invoke heat when resource alarm triggered. Signed-off-by: Vu Tran <vu.tran@windriver.com>
* ceilometer: need to filter meter-id when doing sql queryingVu Tran2014-05-211-8/+9
| | | | | | | | | | | | | | | Currently statistic values for all the meters are the same, for example, 2 commands: $ ceilometer statistics -m cpu_util $ ceilometer statistics -m cpu return the same statistic values, and this is incorrect. It needs to query Ceilometer database for samples for the correct meter-id to calculate statistic. Signed-off-by: Vu Tran <vu.tran@windriver.com>
* cinder: ensure log-dir is set correctlyVu Tran2014-05-212-2/+3
| | | | | | | | | Make sure all Cinder services have the right setting for log_dir in the init script as well as in the config setting in .conf file as we shouldn't only count on our init script launch to get logging right. Signed-off-by: Vu Tran <vu.tran@windriver.com>
* cinder log postinsts missing var-log-cinderVu Tran2014-05-211-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | By turning on "log_dir=/var/log/cinder" in /etc/cinder/cinder.conf all cinder services require folder /var/log/cinder exist to be able to start. This folder is created through startup scripts "/etc/init.d/cinder-xxxx" However, at very first boot, cinder postinst script invokes "cinder-manage db sync" without first creating folder /var/log/cinder which causes "cinder-manage db sync" to fail with the following errors: Tue May 20 18:26:59 2014: Running postinst /etc/rpm-postinsts/114... Tue May 20 18:26:59 2014: Starting postgres server...already running. Tue May 20 18:27:01 2014: Traceback (most recent call last): Tue May 20 18:27:01 2014: File "/usr/bin/cinder-manage", line 543, in <module> Tue May 20 18:27:01 2014: main() Tue May 20 18:27:01 2014: File "/usr/bin/cinder-manage", line 523, in main Tue May 20 18:27:01 2014: logging.setup("cinder") Tue May 20 18:27:01 2014: File "/usr/lib64/python2.7/site-packages/cinder/openstack/common/log.py", line 359, in setup Tue May 20 18:27:01 2014: _setup_logging_from_conf() Tue May 20 18:27:01 2014: File "/usr/lib64/python2.7/site-packages/cinder/openstack/common/log.py", line 406, in _setup_logging_from_conf Tue May 20 18:27:01 2014: filelog = logging.handlers.WatchedFileHandler(logpath) Tue May 20 18:27:01 2014: File "/usr/lib64/python2.7/logging/handlers.py", line 386, in __init__ Tue May 20 18:27:01 2014: logging.FileHandler.__init__(self, filename, mode, encoding, delay) Tue May 20 18:27:01 2014: File "/usr/lib64/python2.7/logging/__init__.py", line 893, in __init__ Tue May 20 18:27:01 2014: StreamHandler.__init__(self, self._open()) Tue May 20 18:27:01 2014: File "/usr/lib64/python2.7/logging/__init__.py", line 912, in _open Tue May 20 18:27:01 2014: stream = open(self.baseFilename, self.mode) Tue May 20 18:27:01 2014: IOError: [Errno 2] No such file or directory: '/var/log/cinder/cinder-manage.log' So make sure "/var/log/cinder" is created before "cinder-manage db sync" is invoked. Signed-off-by: Vu Tran <vu.tran@windriver.com>
* pycrypto: void src/build separationMark Asselstine2014-05-131-1/+1
| | | | | | | | distutils.bbclass does not work when there is a build/src separation so inherit autotools-brokensep so continue building in the src dir. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* keystone: allow ability to store tokens in UUID or PKI formatKeith Holman2014-05-122-1/+4
| | | | | | | | | | Since Grizzly release Keystone defaults to storing tokens in PKI format. Some software works better with keystone if tokens are in the older UUID format. This change allows a simple way to set the storage format within the bitbake receipes. The default is to use the newer PKI format. Signed-off-by: Keith Holman <Keith.Holman@windriver.com>
* barbican: package /usr/bin, even when emptyBruce Ashfield2014-05-091-0/+1
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* barbican: remove unneeded files from being packagedKeith Holman2014-05-091-0/+2
| | | | | | | | | | | | Issue: US-34303 Barbican source code comes with scripts that are intended to control the service. Added previously was a script for this same purpose that is placed into init.d that integrates more consistently with the system. This makes the need for these scripts redundant. This patch removes the scripts being put into the final system package. Signed-off-by: Keith Holman <Keith.Holman@windriver.com>
* keystone: CVE-2012-5483Amy Fong2014-05-081-1/+1
| | | | | | | | | | | | | tools/sample_data.sh in OpenStack Keystone 2012.1.3, when access to Amazon Elastic Compute Cloud (Amazon EC2) is configured, uses world-readable permissions for /etc/keystone/ec2rc, which allows local users to obtain access to EC2 services by reading administrative access and secret values from this file. Modify /etc/keystone to have permission 750 Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* cinder: add keyston auth sectionBruce Ashfield2014-05-072-0/+11
| | | | | | | To avoid SSL default communications, and quota/volume errors, we expicitly add a keystone configuration section to the cinder configuration. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* swift: update to icehouse releaseBruce Ashfield2014-05-071-3/+3
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* ceilometer: update to icehouse/stableBruce Ashfield2014-05-071-3/+3
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* glance: update to stable/icehouseBruce Ashfield2014-05-072-5/+46
| | | | | | | | | | | | | | | | | | | | | Updating glance to the icehouse release. Changes include: - patch glance to not load ALL backend modules, only the ones defined in the glance configuration. Without this patch, we must have support for all backends, even if we don't use them. To avoid including support for unused backends .. we prefer to only load used ones. - Add a variable GLANCE_KNOWN_STORES to the recipe, which will be copied into the glance configuration to enable the loading of supported options (as modifed by the first patch). - Change "sql_connection" to the new "connection" directive - Change the "notifier_strategy" to the new "notification_driver" Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* cinder: uprev to Icehouse releaseBruce Ashfield2014-04-301-3/+4
| | | | | | | | Introduce the uprev to the icehouse release. Outside of the core functionality and new dependencies, there are no recipe visible changes at the moment. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* cinder: add networkx dependencyBruce Ashfield2014-04-301-0/+27
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* cinder: introduce python-futures dependencyBruce Ashfield2014-04-301-0/+27
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* taskflow: easy, consistent, and reliable task executionBruce Ashfield2014-04-301-0/+33
| | | | | | | | | | | Introduce the OpenStack project "TaskFlow": https://wiki.openstack.org/wiki/TaskFlow To support the Icehouse cinder update (which is the only current user in meta-cloud-services). Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* heat: update to icehouse releaseBruce Ashfield2014-04-301-3/+3
| | | | | | | | | | No recipe-level changes required outside of the SRCREV bumps: python /usr/bin/heat-api --config-file /etc/heat/heat.conf --log-dir=/var/log/heat python /usr/bin/heat-api-cfn --config-file /etc/heat/heat.conf --log-dir=/var/log/heat python /usr/bin/heat-engine --config-file /etc/heat/heat.conf --log-dir=/var/log/heat Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* neutron: disable state reporting to novaBruce Ashfield2014-04-301-0/+6
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* barbican: introduce barbicanclientBruce Ashfield2014-04-302-0/+29
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* horizon: update to icehouse releaseBruce Ashfield2014-04-301-4/+5
| | | | | | | | Updating horizon to the icehouse release. Adding troveclient to the rdepends is the biggest recipe level change .. and even that isn't very big. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-troveclient: introduce trove clientBruce Ashfield2014-04-301-0/+31
| | | | | | | icehouse horizon looks for troveclient. So we introduce it (without full trove support), to keep it happy. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* neutron: update to icehouse/stableBruce Ashfield2014-04-302-3/+47
| | | | | | | | | | | Updating neutron to the icehouse/stable branch. As part of this change, we lay the ground work for better VIF reporting. The configuration files, which are slightly out of date, support basic operations, so we keep them the same .. for now. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* nova: uprev to icehouse/stable supportBruce Ashfield2014-04-302-5/+23
| | | | | | | | | | | Updating the recipe's branch and SRCREV to the icehouse/stable release branch. The configuration changes required for basic operation are limited, so we keep nearly everything the same, and will update the config in subsequent commits. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* linux-yocto: enable NBD and RTLINK supportBruce Ashfield2014-04-301-26/+0
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>