6035 Commits

Author SHA1 Message Date
Jenkins
f9cca57ea0 Merge "Set live_migrate_paused_instances=True in tempest.conf" 2015-05-07 21:41:30 +00:00
Matthew Gilliard
1b5a49829e Set live_migrate_paused_instances=True in tempest.conf
Live migration of paused instances is a new Nova feature in Kilo, and will not
be backported.  The compute_feature_enabled.live_migrate_paused_instances flag
defaults to False for this reason, but can be set to True here. The tempest
config option and this change can both be removed at Juno-EOL.

The related Tempest change: I5c6fd3de7ea45d1851bb40037c64ad7fb5e6dc48

Change-Id: I3a83e43d252b88c234438a224e2fbebc0a81eaff
Related-Bug: #1305062
2015-05-07 19:54:39 +00:00
Sean Dague
168b7c226c dump iptables in the worlddump
If we fail during devstack / grenade runs, it would be nice to have
the map of iptables that are currently active as well. This makes it
handy to start figuring out what's going on when test servers don't
ping.

Change-Id: Ia31736ef2cb0221586d30c089473dfdc1db90e23
2015-05-07 08:57:28 -04:00
Jenkins
641dd9ff23 Merge "Fix negated services with common prefix" 2015-05-07 02:48:20 +00:00
Jenkins
5ed2ba896f Merge "cinder setup now refers to CINDER_VOLUME_CLEAR and volume_clear" 2015-05-06 17:45:22 +00:00
Jenkins
872cdf62ce Merge "Set local_ip only when TENANT_TUNNELS are enabled" 2015-05-06 17:34:53 +00:00
Gregory Haynes
ee3d2a8ece Import xattr with sudo early on
xattr fails to import due to being unable to build cffi bindings unless
it is imported as root beforehand.

Depends-On: I6a9d64277974933ae9b7bbe2a40b8a0eb0fa8c6a

Change-Id: I835e55bbafc7e0640987e6f3c8ee0c873f875ee0
Closes-Bug: #1451992
2015-05-06 00:08:15 +00:00
Jenkins
e210d26a19 Merge "clean up logging around run_process" 2015-05-04 19:18:50 +00:00
Joe D'Andrea
dfcc3871c0 cinder setup now refers to CINDER_VOLUME_CLEAR and volume_clear
CINDER_SECURE_DELETE previously iniset volume_clear to none as a
side effect, however secure_delete is not documented in cinder.
Now using CINDER_VOLUME_CLEAR outright. CINDER_SECURE_DELETE is
supported but now deprecated.

Change-Id: Ic8694cf16654c23b27d23853a9f06ddf1050fa93
Closes-Bug: #1450159
2015-05-04 14:15:41 -04:00
sridhargaddam
8d558c8c27 Set local_ip only when TENANT_TUNNELS are enabled
In an installation with VLAN tenant networks, devstack should
not configure the local_ip (which is applicable only when
tenant_tunnels are used). This is causing failures in Neutron
for an IPv6 only setup. This patch addresses this issue, but
configuring the local_ip only when TENANT_TUNNELS are enabled.

Related-Bug: #1447693
Change-Id: I0e2a2d8b6ce0ad87f6c0d318ac522dbab50d44ee
2015-05-04 14:07:21 +00:00
Jenkins
4e41fd83b6 Merge "Add /usr/local/bin to exec_dirs in rootwrap.conf" 2015-05-04 03:28:38 +00:00
Sean Dague
6e137abbfe clean up logging around run_process
We do a bunch of exec magic unwind in run_process that leads to a lot
of confusing lines in the logs under xtrace. Instead, disable xtrace
through these parts to ensure that the flow at the end of the day
makes more sense.

Change-Id: I91e02465240e704a1a0c0036f5073c0295be018e
2015-05-04 12:15:14 +10:00
Jenkins
5270144030 Merge "don't source openrc" 2015-04-30 18:15:39 +00:00
Jenkins
459c793060 Merge "Add n-cauth into defalut services" 2015-04-29 12:36:49 +00:00
Jenkins
43dcab990f Merge "fix warn function" 2015-04-28 21:31:58 +00:00
Jenkins
6d45e29bbb Merge "Set DevStack to dual stack by default in Kilo+" 2015-04-28 19:36:30 +00:00
Sean Dague
7efba991f7 don't source openrc
There is actually no reason why we need openrc for these tests, don't
source it as it prevents some ip math errors from randomly killing
tests.

Change-Id: Iface7c21898d92e14e840379938b25844cd85565
2015-04-28 13:15:22 -04:00
Sean Dague
e4af92987a fix warn function
The warn function was putting content into a side log file which made
it kind of hard to keep an eye on when warnings were actually being
issued. Let's just get this into the main output stream.

The calling of the warn function in git_timed was also incorrect, so
the output would not have been what we expected. This solves that as
well.

This will hopefully give us trackable data about how often we need to
recover from git clone errors.

Change-Id: Iee0d2df7fb788a4d34044d29ab10afdcafb9bb5a
2015-04-28 08:57:57 -04:00
Jenkins
c9197f6c72 Merge "Acknowledge API_WORKERS in glance-registry" 2015-04-24 20:25:23 +00:00
Jenkins
a3f0fbc62c Merge "testr requires python's gdbm" 2015-04-24 13:51:13 +00:00
Jenkins
f0267d3faa Merge "Set policy_file in the oslo_policy group" 2015-04-24 13:12:31 +00:00
Jenkins
2d603a3c5c Merge "Remove the lvm.conf filter during cleanup" 2015-04-24 13:10:29 +00:00
Yalei Wang
2443c37c1d Add n-cauth into defalut services
n-cauth work with n-novnc to provide the vnc service for VMs.

Change-Id: Ia5c53aaaf7fe4f881d525a31b097b167fdb8e5c8
Closes-Bug: #1447774
2015-04-24 10:58:52 +08:00
Dan Smith
6cdb2e0f1a Remove the lvm.conf filter during cleanup
This avoids us leaving the filter in the global lvm config. Without cleaning
this up, we can hit some failures to run stack.sh because devices are excluded
that we need to be able to see. This resets it to what it was before when
we do a cleanup.

Also, do this before we add the line, so we don't add multiple lines on
successive runs.

Closes-bug: #1437998
Change-Id: Idbf8a06b723f79ef16a7c175ee77a8c25f813244
2015-04-23 22:12:15 +00:00
Jenkins
5ea9fb1305 Merge "Fix issue with ml2 plugin on using provider network" 2015-04-23 17:45:49 +00:00
Robert Li
2c5d462d91 Add /usr/local/bin to exec_dirs in rootwrap.conf
devstack installs neutron utilities into /usr/local/bin such as
neutron-keepalived-state-change and neutron-ns-metadata-proxy.
In stead of adding individual filters to allow them to run from that
directory, this patch adds /usr/local/bin into exec_dirs.

Please also refer to I3abd1c173121dc8abb5738d1879db8ac9a98b690 for
discussion on the approach to fix the bug.

Change-Id: Iade8b5b09bb53018485c85f8372fb94dbc2ad2da
Closes-Bug: 1435971
2015-04-23 09:34:14 -04:00
Ian Wienand
2796a82ab4 Fix negated services with common prefix
The current sed matching mixes up common-prefix matching;
e.g. "-q-lbaas,q-lbaasv2" is changed into just "v2"

This is more verbose, but I think more reliable.  See also
Ib50f782824f89ae4eb9787f11d42416704babd90.

Change-Id: I3faad0841834e24acc811c05015625cf7f848b19
2015-04-23 15:10:25 +10:00
Jenkins
cd7655cbfc Merge "made several changes to guides to comply to doc conventions" 2015-04-23 04:04:58 +00:00
Chris Dent
74a85b0f29 Set policy_file in the oslo_policy group
policy_file in DEFAULT is deprecated

Change-Id: I6698a810d5e6c395a18aed8066e61f8c4bae2408
2015-04-22 18:02:39 +00:00
Sean Dague
fad7b43abe testr requires python's gdbm
Debian/Ubuntu have *helpfully* removed gdbm from the base python
package and put it into another package, which is not dragged in by
installing python. Testr doesn't function without this.

We should ensure this always gets installed.

Depends-On: If48a8444b02ee1e105bc1d9ce78a0489ea0c405b

Change-Id: I85a0ffe5ee384e055e78fd3164c27d42a86bc39d
2015-04-21 22:59:51 +00:00
Shilla Saebi
2ed09d88fb made several changes to guides to comply to doc conventions
“Speed not required” is not a sentence
Gb should be GB
added a , after floating IPs
fixed sentence around “To implement a true multi-node test of Swift
since it did not make sense
removed extra underline line after Machines
removed capitalization of service names to comply with docs conventions
https://wiki.openstack.org/wiki/Documentation/Conventions
changed to DevStack for consistency throughout
Change-Id: I531bf6b2bad62fbf9d1417b2b1ce06de3715e0f0
2015-04-21 15:50:22 -04:00
Jenkins
4ab283fea1 Merge "Add response time to keystone access log" 2015-04-21 09:43:42 +00:00
Ramakrishnan G
8f5fe871a4 Fix issue with ml2 plugin on using provider network
This commit fixes the issue that ml2 plugin
sets 'flat_networks' in ml2 configuration file as
empty.  The value of 'flat_networks' need to be set 
as the name of the physical network that was specified 
in the localrc file (or it's default value).

Change-Id: Ib4c31f6576da57534b36aefebd1ca8cd397c6c1a
2015-04-21 04:57:55 +00:00
Jenkins
14d1cf90ed Merge "Add a peak memory tracker to dstat" 2015-04-20 19:16:58 +00:00
Morgan Fainberg
a80cb815ff Add response time to keystone access log
Add the response time to keystone's access log for each request. This
will be the last element in the log-line and will be represented in
microseconds.

Change-Id: I19204369af5cdf06df2237550c350dfb3ffc995d
2015-04-20 17:43:44 +00:00
Jenkins
c2a3d3f16b Merge "Clone external plugins before overriding defaults" 2015-04-20 17:12:55 +00:00
Ian Wienand
72a8be60cd Add a peak memory tracker to dstat
We can see at-a-glance memory usage during the run with dstat but we
have no way to break that down into an overview of where memory is
going.

This adds a peer-service to dstat that records snapshots of the system
during peak memory usage.  It checks periodically if there is less
memory available than before and, if so, records the running processes
and vm overview.

The intent is to add logic into the verify-pipeline jobs to use this
report and send statistics on peak memory usage to statsd [1].  We can
then build a picture of memory-usage growth over time.  This type of
report would have allowed better insight into issues such as
introduced by Idf3a3a914b54779172776822710b3e52e751b1d1 where
memory-usage jumped dramatically after switching to pip versions of
libraries.  Tracking details of memory usage is going to be an
important part of future development.

[1] http://graphite.openstack.org/

Change-Id: I4b0a8f382dcaa09331987ab84a68546ec29cbc18
2015-04-20 12:27:32 -04:00
Jenkins
db20059b76 Merge "Add logging config to cinder.conf" 2015-04-20 14:28:32 +00:00
Jenkins
e62ebd60b7 Merge "Catalog Index Service - glance devstack" 2015-04-20 14:27:25 +00:00
Jenkins
9aad1b99fd Merge "refactor ping_check" 2015-04-20 13:39:33 +00:00
Jenkins
c8305cd124 Merge "run dstat with run_process" 2015-04-20 11:34:53 +00:00
Jenkins
eb52c80ca6 Merge "Append command to screenrc after we update it" 2015-04-20 00:09:36 +00:00
John Griffith
95b994d548 Add logging config to cinder.conf
Part of the effort to clean up the Cinder logs is to use
the resource tag in the log format.  We also want to have
some consistency with other projects in how we do logging.

This change adds the logging format to cinder.conf similar to
what Nova and others use, and most importantly turns on the use
of the resource tag that's in olso_log.

We're slowly cleaning up the logging in Cinder by doing things
like replacing "Delete volume %(volume_id)s compoleted" with
("Delete volume completed successfully.", resource=volume)

It woudl be good to have these picked up as we transition so we're
not missing info.  Also, there's sure to be cases where "volume"
isn't a valid dbref and we find issues that need fixed.

Change-Id: I193637fea14d97183f6a9782f37d8edcf929e0c4
2015-04-18 16:30:47 -06:00
Jenkins
e52cfc5524 Merge "Create config file in merge_config_file" 2015-04-17 19:32:24 +00:00
Jenkins
d749518bf9 Merge "Remove old comment in run_tests.sh" 2015-04-17 19:32:18 +00:00
Jenkins
2112945dbc Merge "Convert test_functions.sh to use unittest helpers" 2015-04-17 19:32:09 +00:00
Jenkins
e5008e002b Merge "Fix die_if_not_set tests" 2015-04-17 19:32:01 +00:00
Jenkins
4593593ebe Merge "Move function.sh to test_functions.sh" 2015-04-17 19:31:52 +00:00
Jenkins
f1e2db756d Merge "Fix return of test_ini_config & test_meta_config" 2015-04-17 19:31:44 +00:00
Jenkins
739b24e78d Merge "Use unittest help in test_ip.sh" 2015-04-17 19:31:34 +00:00