| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|