| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 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>
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|
|
|
|
| |
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|
|
|
|
| |
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|
|
|
|
| |
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|
|
|
|
| |
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
As now Openstack Heat component is enabled,
so allow tempest to test Heat as well.
Signed-off-by: Vu Tran <vu.tran@windriver.com>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
subprocess.check_output() doesn't exist in older python2.6*
Rewriting as subprocess.Popen
Signed-off-by: Amy Fong <amy.fong@windriver.com>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|