summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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>
* meta-openstack/rabbitmq-server: QA Warning found-reference to /usrMustapha Lansana2014-06-091-1/+2
| | | | | | | | | | | | | | | | | | | | When populating the Openstack rootfs with rabbitmq-server package, you get the following warnings: WARNING: QA Issue: rabbitmq-server: Found a reference to /usr/ in rabbitmq-server-3.2.4-r2/packages-split/rabbitmq-server/sbin/rabbitmq-env WARNING: QA Issue: Shell scripts in base_bindir and base_sbindir should not reference anything in exec_prefix This patch silence the warning by telling the build system to not throw warnings if a script in base_[bindir | sbindir | libdir ] makes what it considers an unsafe reference to exec_prefix. The reference though to exec_prefix in this case is very safe, since it is only part of variable directing other scripts to rabbitmq-server's plugins directory. Signed-off-by: Mustapha Lansana <Mustapha.Lansana@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* introduce gptfdisk.bbVu Tran2014-06-092-0/+50
| | | | | | | | | | GPT fdisk (gptfdisk) is a disk partitioning tool loosely modeled on Linux fdisk, but used for modifying GUID Partition Table (GPT) disks. When prepare disk device for ceph with ceph-disk, it's required sgdisk util from gptfdisk to perform disk partition. So add gptfdisk.bb. Signed-off-by: Vu Tran <vu.tran@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>
* uwsgi: fix uuid/uuid.h build errorBruce Ashfield2014-06-021-0/+1
| | | | | | | | | | | | | | | | uwsgi needs uuid/uuid.h to be present, otherwise we get the following build error: | In file included from core/utils.c:1:0: | ./uwsgi.h:188:23: fatal error: uuid/uuid.h: No such file or directory | #include <uuid/uuid.h> | ^ | compilation terminated. Adding a e2fsprogs dependency gets the header file properly installed before the build starts. 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>
* ruby: Use en_US instead of C localeMark Asselstine2014-05-271-1/+1
| | | | | | | | | | | | | | | | | If a builder doesn't have the C locale an error can occur: | DEBUG: Executing shell function do_compile | /bin/sh: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8) | ERROR: While executing gem ... (ArgumentError) | invalid byte sequence in US-ASCII | WARNING: ..../mime-types-1.25.1-r0/temp/do_compile/run.do_compile.5389:95 exit 1 from | LANG="C.UTF-8" LC_ALL="C.UTF-8" gem build $gem | ERROR: Function failed: do_compile (see ..../mime-types-1.25.1-r0/temp/do_compile/log.do_compile.5389 for further information) Use the en_US locale instead which tends to be more widely available and from the looks of things usually recommended. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
* sysklogd: add syslog user and group and add dependencyKeith Holman2014-05-263-1/+20
| | | | | | | | | | | | | Some OpenStack components expect the system to contain a syslog user for logging purposes and fail if one doesn't exist. This fix adds the syslog user and group within the sysklogd package since it responsible for the system logging capabilities of the system. This fix also adds a dependency between the package requiring the syslog user to exist. Signed-off-by: Keith Holman <Keith.Holman@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* ceph README missing test stepsVu Tran2014-05-261-5/+9
| | | | | | | | | | | | By default cinder-backup driver is swift. To test ceph cinder-backup driver, the backup_driver in cinder.conf must be set to ceph. Update README.ceph-openstack to reflect this. Also change "$" to "#" for test steps which are not commands. Signed-off-by: Vu Tran <vu.tran@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* tempest: remove version fixesBruce Ashfield2014-05-262-111/+13
| | | | | | | | | The tempest fixes to prevent an explicit version from being added to urls was developed for havana and doesn't directly apply to icehouse. Removing the patches, and they will be examined in the future to see if they are applicable. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* tgt: prevent service from being started multiple timesKeith Holman2014-05-261-0/+9
| | | | | | | | | | Using the /etc/init.d/tgtd script, allows the service be started multiple times, but only the last instance can be stopped using the script. This fix ensures that the service isn't running before attempting to start the service multiple times. Signed-off-by: Keith Holman <Keith.Holman@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* patch update-document-to-relect-new-layers.patchVu Tran2014-05-261-1/+3
|
* nova controller test configVu Tran2014-05-262-0/+80
| | | | | | | | | | | Tempest requires nova to be able to allocate floating ip from an default pool. So search for an existing floating ip pool and change default_floating_pool in nova.conf to this pool. Signed-off-by: Vu Tran <vu.tran@windriver.com>
* neutron controller test configVu Tran2014-05-262-0/+162
| | | | | | | | | | | Tempest requires a shared network to exist prior to start the tempest test. Change neutron settings to first search for an existing a shared network, if there is none then prepare a simple real flat network that is based on openvswith. Signed-off-by: Vu Tran <vu.tran@windriver.com>
* glance controller test configVu Tran2014-05-262-0/+82
| | | | | | | | | | | Tempest requires an Glance image exists prior to run the test. So add start up script to make sure an Glance image exists and change tempest.conf to reflect this image uuid. Signed-off-by: Vu Tran <vu.tran@windriver.com>
* cinder controller test configVu Tran2014-05-262-0/+55
| | | | | | | | | | | | | | | | | | Change cinder config to remove nfsdriver. For example testcase tempest.api.volume.test_volumes_snapshots.VolumesSnapshotTest.test_snapshot_create_get_list_update_delete fail because nfs volume doesn't support snapshot functions. If "cinder create" without providing volume type, cinder-scheduler will based on filter to pick out the most appropriate backend storage (which is the storage with most free space) and in our case nfs backend is chosen, and therefore this test will fail. Also to have startup script to make sure that the cinder volume types are added into Cinder Signed-off-by: Vu Tran <vu.tran@windriver.com>
* add new meta-openstack-controller-test-config layerVu Tran2014-05-262-0/+59
| | | | | | | | | | | There are some setting/configuring systems required before starting automatic testsuites such as tempest. Create new layer meta-openstack-controller-test-config as place holder for any changes on Controller side related to automatic testsuites. Signed-off-by: Vu Tran <vu.tran@windriver.com>
* neutron compute test configVu Tran2014-05-262-0/+77
| | | | | | | | Create startup script on Compute side to create a flat network that is required by tempest. Signed-off-by: Vu Tran <vu.tran@windriver.com>
* add new meta-openstack-compute-test-config layerVu Tran2014-05-262-0/+59
| | | | | | | | | | | There are some setting/configuring systems required before starting automatic testsuites such as tempest. Create new layer meta-openstack-compute-test-config as place holder for any changes on Compute side related to automatic testsuites. Signed-off-by: Vu Tran <vu.tran@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>
* tempest image client not specify versionVu Tran2014-05-263-1/+109
| | | | | | | | | | | | | | | | | | | | | | | Currently glance keystone endpoints URLs include "v2/" at the end (e.g. http://<glance server ip>:9292:v2/). This means glance should only be talked to using v2. For tempest image testcases, image_client.py gets URLs from keystones and appends additional version into these URL strings (e.g. htt://<glance server ip>:9292:v2/v2/images) which causes glance not to understand the command and return error: NotFound: Object not found Details: 404 Not Found The resource could not be found. In our case, we use the "v2" from URLs. We also disable v1 image testcases as it's not possible to test v1 with current glance endpoind URLs. Signed-off-by: Vu Tran <vu.tran@windriver.com>
* tempest: Stop auto-detecting glance API versionsVu Tran2014-05-263-3/+136
| | | | | | | | | | | | | commit 2b5287db8116ef8e3ed5e4fc211296e6293b5dcc upstream https://github.com/openstack/tempest.git This commit switches the image api tests from auto detecting which api versions are available to having them explicitly set in the config file. This is to make it explicit which tests are expected to be run instead of assuming that everything is expected to work. Signed-off-by: Vu Tran <vu.tran@windriver.com>
* tempest conf enable heatVu Tran2014-05-261-1/+1
| | | | | | | | As now Openstack Heat component is enabled, so allow tempest to test Heat as well. Signed-off-by: Vu Tran <vu.tran@windriver.com>
* tempest: enable cinder-volume multi-backend testsVu Tran2014-05-261-3/+3
| | | | | | | | | As cinder-volume supports multiple backend drivers: nfs, glusterfs, ceph, and lvm-iscsi, it's good to allow tempest to test cinder-volume multi-backend. Signed-off-by: Vu Tran <vu.tran@windriver.com>
* ruby.bbclass is incompatible with older pythonAmy Fong2014-05-241-7/+7
| | | | | | | | subprocess.check_output() doesn't exist in older python2.6* Rewriting as subprocess.Popen Signed-off-by: Amy Fong <amy.fong@windriver.com>
* Ruby/chef solo: fixesAmy Fong2014-05-2410-9/+19
| | | | | | | | | | | Make ruby binaries more accessible by creating symlinks from ${libdir}/ruby/gems/${ruby version}/bin/ to /usr/bin RDEPENDS needs to be package specific coderay needs to depends on yard Signed-off-by: Amy Fong <amy.fong@windriver.com>
* Ruby/chef solo: Add recipes-support/chef/chef_git.bbAmy Fong2014-05-241-0/+70
| | | | | | | | | Use chef-solo to help reconfigure and deployment of controller and compute nodes. Install script downloaded from this link (https://www.opscode.com/chef/install.sh) and the attached archives created from it. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Amy Fong <amy.fong@windriver.com>
* Ruby/chef solo: Add recipes-devtools/ruby/yard_git.bbAmy Fong2014-05-241-0/+28
| | | | | | | | | | | YARD is a documentation generation tool for the Ruby programming language. It enables the user to generate consistent, usable documentation that can be exported to a number of formats very easily, and also supports extending for custom Ruby constructs such as custom class level definitions. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Amy Fong <amy.fong@windriver.com>
* Ruby/chef solo: Add recipes-devtools/ruby/yajl-ruby_git.bbAmy Fong2014-05-241-0/+25
| | | | | | | | This gem is a C binding to the excellent YAJL JSON parsing and generation library. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Amy Fong <amy.fong@windriver.com>
* Ruby/chef solo: Add recipes-devtools/ruby/systemu_git.bbAmy Fong2014-05-241-0/+25
| | | | | | | | Universal capture of stdout and stderr and handling of child process pid for windows, *nix, etc. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Amy Fong <amy.fong@windriver.com>
* Ruby/chef solo: Add recipes-devtools/ruby/slop_git.bbAmy Fong2014-05-241-0/+24
| | | | | | | A simple option parser with an simple syntax and API. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Amy Fong <amy.fong@windriver.com>
* Ruby/chef solo: Add recipes-devtools/ruby/rest-client_git.bbAmy Fong2014-05-241-0/+30
| | | | | | | | | A simple HTTP and REST client for Ruby, inspired by the Sinatra's microframework style of specifying actions: get, put, post, delete. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Amy Fong <amy.fong@windriver.com>
* Ruby/chef solo: Add recipes-devtools/ruby/rack_git.bbAmy Fong2014-05-241-0/+28
| | | | | | | | | | | Provides a minimal, modular and adaptable interface for developing web applications in Ruby. By wrapping HTTP requests and responses in the simplest way possible, it unifies and distills the API for web servers, web frameworks, and software in between (the so-called middleware) into a single method call. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Amy Fong <amy.fong@windriver.com>
* Ruby/chef solo: Add recipes-devtools/ruby/pry_git.bbAmy Fong2014-05-242-0/+102
| | | | | | | | | Pry is a powerful alternative to the standard IRB shell for Ruby. It is written from scratch to provide a number of advanced features. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Amy Fong <amy.fong@windriver.com>
* Ruby/chef solo: Add recipes-devtools/ruby/ohai_git.bbAmy Fong2014-05-241-0/+39
| | | | | | | | | | | Ohai detects data about your operating system. It can be used standalone, but it's primary purpose is to provide node data to Chef. Ohai will print out a JSON data blob for all the known data about your system. When used with Chef, that data is reported back via node attributes. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Amy Fong <amy.fong@windriver.com>
* Ruby/chef solo: Add recipes-devtools/ruby/net-ssh_git.bbAmy Fong2014-05-242-0/+59
| | | | | | | | | Net::SSH is a pure-Ruby implementation of the SSH2 client protocol. It allows you to write programs that invoke and interact with processes on remote servers, via SSH2. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Amy Fong <amy.fong@windriver.com>
* Ruby/chef solo: Add recipes-devtools/ruby/net-ssh-multi_git.bbAmy Fong2014-05-242-0/+66
| | | | | | | | | | | A library for controlling multiple Net::SSH connections via a single interface. It exposes an API similar to that of Net::SSH::Connection::Session and Net::SSH::Connection::Channel, making it simpler to adapt programs designed for single connections to be used with multiple connections. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Amy Fong <amy.fong@windriver.com>
* Ruby/chef solo: Add recipes-devtools/ruby/net-ssh-gateway_git.bbAmy Fong2014-05-242-0/+65
| | | | | | | | | | | A library for programmatically tunnelling connections to servers via a single "gateway" host. It is useful for establishing Net::SSH connections to servers behind firewalls, but can also be used to forward ports and establish connections of other types, like HTTP, to servers with restricted access. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Amy Fong <amy.fong@windriver.com>
* Ruby/chef solo: Add recipes-devtools/ruby/mixlib-shellout_git.bbAmy Fong2014-05-241-0/+29
| | | | | | | | | | | Provides a simplified interface to shelling out yet still collecting both standard out and standard error and providing full control over environment, working directory, uid, gid, etc. No means for passing input to the subprocess is provided. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Amy Fong <amy.fong@windriver.com>
* Ruby/chef solo: Add recipes-devtools/ruby/mixlib-log_git.bbAmy Fong2014-05-241-0/+25
| | | | | | | | Provides a mixin for enabling a class based logger object, a-la Merb, Chef, and Nanite. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Amy Fong <amy.fong@windriver.com>