summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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>
* Ruby/chef solo: Add recipes-devtools/ruby/mixlib-config_git.bbAmy Fong2014-05-241-0/+25
| | | | | | | Provides a class-based configuration object, as used in Chef. 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-cli_git.bbAmy Fong2014-05-241-0/+25
| | | | | | | | Provides a class-based command line option parsing object, like the one used in Chef, Ohai and Relish. 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-authentication_git.bbAmy Fong2014-05-241-0/+29
| | | | | | | | Mixlib::Authentication provides a class-based header signing authentication object, like the one used in Chef 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/mime-types_git.bbAmy Fong2014-05-241-0/+27
| | | | | | | | | | The mime-types library provides a library and registry for information about MIME content type definitions. It can be used to determine defined filename extensions for MIME types, or to use filename extensions to look up the likely MIME type 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/method-source_git.bbAmy Fong2014-05-242-0/+57
| | | | | | | A utility to return a method's sourcecode as a Ruby string. 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/json_git.bbAmy Fong2014-05-241-0/+24
| | | | | | | An implementation of the JSON specification according to RFC 4627 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/ipaddress_git.bbAmy Fong2014-05-241-0/+28
| | | | | | | | | | IPAddress is a Ruby library designed to make the use of IPv4 and IPv6 addresses simple, powerful and enjoyable. It provides a complete set of methods to handle IP addresses for any need, from simple scripting to full network design. 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/highline_git.bbAmy Fong2014-05-241-0/+30
| | | | | | | | | | | | | HighLine was designed to ease the tedious tasks of doing console input and output with low-level methods like gets() and puts(). HighLine provides a robust system for requesting data from a user, without needing to code all the error checking and validation rules and without needing to convert the typed Strings into what your program really needs. Just tell HighLine what you're after, and let it do all the work. 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/hashie_git.bbAmy Fong2014-05-241-0/+24
| | | | | | | A collection of tools that extend Hashes and make them more useful. 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/erubis_git.bbAmy Fong2014-05-241-0/+32
| | | | | | | Erubis is an implementation of eRuby. 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/diff-lcs_git.bbAmy Fong2014-05-241-0/+27
| | | | | | | | | | Diff::LCS computes the difference between two Enumerable sequences using the McIlroy-Hunt longest common subsequence (LCS) algorithm. It includes utilities to create a simple HTML diff output format and a standard diff-like tool. 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/coderay_git.bbAmy Fong2014-05-241-0/+26
| | | | | | | CodeRay is a Ruby library for syntax highlighting. 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/chef-zero_git.bbAmy Fong2014-05-241-0/+39
| | | | | | | | | | | | | | Chef Zero is a simple, easy-install, in-memory Chef server that can be useful for Chef Client testing and chef-solo-like tasks that require a full Chef Server. It IS intended to be simple, Chef 11 compliant, easy to run and fast to start. It is NOT intended to be secure, scalable, performant or persistent. It does NO input validation, authentication or authorization (it will not throw a 400, 401 or 403). It does not save data, and will start up empty each time you start 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/bundler_git.bbAmy Fong2014-05-241-0/+33
| | | | | | | | | | | | | | | | Bundler makes sure Ruby applications run the same code on every machine. It does this by managing the gems that the application depends on. Given a list of gems, it can automatically download and install those gems, as well as any other gems needed by the gems that are listed. Before installing gems, it checks the versions of every gem to make sure that they are compatible, and can all be loaded at the same time. After the gems have been installed, Bundler can help you update some or all of them when new versions become available. Finally, it records the exact versions that have been installed, so that others can install the exact same gems. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Amy Fong <amy.fong@windriver.com>
* Ruby/chef solo: Add classes/ruby.bbclassAmy Fong2014-05-241-0/+119
| | | | | | | | | | | | In order to build chef we create a new ruby.bbclass to handle packaging ruby gems. The gem install technique we make use of avoids dependency issues which are not easily worked around yet care must be taken to ensure runtime dependencies are properly listed. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Amy Fong <amy.fong@windriver.com>
* Documentation update: add layersAmy Fong2014-05-241-0/+2
| | | | | | | | | The following 2 layers are now needed for the builds, adding to README.setup /meta-openembedded/meta-webserver /meta-openembedded/meta-ruby Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* rabbitmq-server: the following files/directories were installed but not ↵Amy Fong2014-05-242-1/+16
| | | | | | | | | shipped in any package A number of license and installation files were installed to ${D}, move these to ${D}/usr/share/doc Signed-off-by: Amy Fong <amy.fong@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>
* add readme about barbican security issuesKeith Holman2014-05-231-0/+69
| | | | | | | | | | | Using Barbican with Keystone authentication has some known problems. Specifically, the problme is that Keystone now uses PKI tokens, which are too long for the Barbican protocol to handle in its current configuration. This patch delivers a readme file to document these issues for the end-user. Signed-off-by: Keith Holman <Keith.Holman@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>