93d09c24e35611cc7fc1ef8e6796d177d460fecc
Commit Graph

5930 Commits

This Branch
This Branch
All Branches
Author SHA1 Message Date
Davanum Srinivas
93d09c24e3 Setting LOGFILE to a file in root directory wipes everything
clean.sh picks the parent of LOGFILE and wipes it clean! So if you
set it to a log file in the users root directory, you lose everything
We should delete just the LOGFILE and cleanup LOGDIR and SCREEN_LOGDIR if
they are explicitly set.
Change-Id: I45745427dcaed3dcf0b78cc9ed680833d9d555e8
2015年04月11日 18:45:17 -04:00
Jenkins
10f832e3ad Merge "Specify network UUID for network create with cells" 2015年04月10日 15:31:46 +00:00
melanie witt
d394e59b5c Specify network UUID for network create with cells
When the n-cell service is enabled, we create networks in both the
API cell and the child cell. Recent changes to tempest have tests
querying networks from the API and passing them for a server create.
In order for this to work in cells, the UUIDs for the network in
the API cell and the child cell must match, else the network won't
be found in the child.
This change adds the --uuid option to the nova-manage network create
command for cells only.
Related-Bug: #1441931
Depends-On: Ib29e632b09905f557a7a6910d58207ed91cdc047
Change-Id: Ib5933b1405c0761ff727e04cda0c502a826c8eaf
2015年04月09日 21:49:05 +00:00
Jenkins
72bdc8c271 Merge "Make screen sleep time configurable" 2015年04月09日 13:15:47 +00:00
Sean Dague
4d7ee095a1 Make screen sleep time configurable
the sleep 3 in screen_it was added to make devstack pass in the gate
with exceptionally slow test cloud nodes. In the gate we now bypass
the screen path entirely. However the sleep 3 remains and can add a
couple minutes delay into local development runs.
We're not sure yet how low this can safely be tuned, so step 1 is to
make it configurable, then get devstack team members to try various
options to see what works.
Change-Id: I0e6476176fc8589efc4e40e78c2231f704d14e45
2015年04月09日 07:21:27 -04:00
Amrith Kumar
9860876f5d perform install_infra sooner in stack.sh
The install_infra() call needs to be done earlier since
pip_install_gr() depends on it. Also the fact that python module names
are supposed to be lower case but some use camel case is a problem
(for example with XenAPI).
Change-Id: I7012d77134fa0d9c746d87e837934e7dcb337e5c
Closes-Bug: #1441820 
2015年04月08日 16:28:34 -04:00
Sean Dague
60996b1b60 introduce pip_install_gr
This creates a new pip_install_gr that installs from global
requirements allowed versions. Now that stable branches are getting
capped all of devstack needs to be fixed to do things like this.
Change-Id: I8fd0ef2bfc544ca2576fab09d3018f760b8848fe
2015年04月08日 10:28:17 -04:00
Jenkins
d1549d624d Merge "Creates SWIFT_DATA_DIR if it does not exist" 2015年04月07日 00:21:20 +00:00
Jenkins
4a640c6847 Merge "Add pluggability for matchmaker-redis" 2015年04月06日 23:40:05 +00:00
Jenkins
a333ce2b18 Merge "Update qemu package name for Ubuntu aarch64" 2015年04月06日 16:59:25 +00:00
Jenkins
628a21e1b2 Merge "install euca2ools for tempest preparation" 2015年04月06日 13:35:30 +00:00
Andrew McDermott
bcef63ed43 Update qemu package name for Ubuntu aarch64
The qemu-system package, and not qemu-kvm, should be installed on either
trusty- or utopic-based ARMv8 (aarch64) Ubuntu releases. Additionally,
libguestfs is not available so that is not installed.
No changes are required for vivid.
Change-Id: Id9dc1fc465bd7acab17c991c292fb531016758ad
Signed-off-by: Andrew McDermott <andrew.mcdermott@linaro.org>
2015年04月05日 17:10:32 +00:00
Jenkins
75e0f99461 Merge "Use ec2 and s3 urls from keystone catalog" 2015年04月04日 09:00:15 +00:00
Jenkins
0f173a4821 Merge "Update libvirt cpu map before starting nova" 2015年04月03日 20:21:21 +00:00
Jenkins
7061dd5204 Merge "fix bashate target" 2015年04月03日 16:49:04 +00:00
Jenkins
ecdb788362 Merge "Fixes devstack stackrc" 2015年04月03日 16:28:35 +00:00
Jenkins
9e63b59a8e Merge "Add inc/rootwrap" 2015年04月03日 16:25:00 +00:00
Jenkins
67ca2d5004 Merge "Add basic Makefile" 2015年04月03日 16:24:49 +00:00
Jenkins
7eb65492cf Merge "Add a target for, and link to, minimal config docs" 2015年04月03日 16:19:08 +00:00
Jenkins
12909c0a76 Merge "If cells enabled create a fixed network in the API cell" 2015年04月03日 16:18:46 +00:00
Jenkins
ca84e85157 Merge "Fixes ovs-vsctl add port issue" 2015年04月03日 16:18:41 +00:00
Jenkins
9942db6d87 Merge "Add roles when we create groups" 2015年04月03日 16:18:30 +00:00
Jenkins
70843539a4 Merge "Set qcow image file location with right cirros version" 2015年04月03日 16:18:23 +00:00
Jenkins
6aabbbf47f Merge "iptables rule for heat pip mirror" 2015年04月03日 16:18:14 +00:00
Jenkins
2ab5f94628 Merge "Swift PyEClib build requires 'make'" 2015年04月03日 16:16:40 +00:00
Jenkins
d64fbaa2a0 Merge "functions-libvirt: Enable DEBUG_LIBVIRT config attribute by default" 2015年04月03日 14:29:08 +00:00
Sean Dague
5e5a29cc8c fix bashate target
there was a missing -or which meant we weren't running this on most of
the files in the repository.
Change-Id: If926afc8f12f6beb80d7a9af7c787b3dcc360a89
2015年04月03日 08:52:29 -04:00
Sushil Kumar
72a3312904 Fixes devstack stackrc
One of the earlier patchset while updating stackrc
missed on adding "+=" while adding multiple services.
Closes-Bug: #1439983
Change-Id: I74f788e15b7da05a93fc8d99c562e51386b65053
2015年04月03日 09:33:22 +00:00
Raman Budny
db02bbf107 Fixes ovs-vsctl add port issue
Setup of OVS may fail, if ports that are added,
are already exist. Add "--may-exist" directive to OVS
add-port command to prevent this behaviour.
Change-Id: I2280be9a63a4a6fbc747b5e32b602697b555ffa8
Closes-Bug: #1394162 
2015年04月03日 11:44:08 +03:00
Andrew Laski
b58e22d170 If cells enabled create a fixed network in the API cell
Now that tempest is querying for a network before making server create
calls the fixed network needs to be known by the API cell. Server
creates should work for networks defined in both databases, but defining
a new network via the API will continue to not work.
Change-Id: I32461add0d20940a55385c8b34cd493e2561615e
2015年04月02日 17:56:43 -04:00
Jenkins
113991b58c Merge "remove extraneous +x bits from lib files" 2015年04月02日 19:56:44 +00:00
Jenkins
53ded8ceda Merge "minimize the default services" 2015年04月02日 19:56:37 +00:00
Jenkins
b56031ead1 Merge "Prepare devstack for Ironic cleaning testing" 2015年04月02日 19:55:39 +00:00
Andrey Pavlov
40e652af0e Use ec2 and s3 urls from keystone catalog
In current implemetation these two urls are defined from Nova
definitions. And urls point to nova. But standalone EC2API
project has another urls that are defined in keystone catalog
in plugin setup.
I suggest to use urls from catalog to be able to test
stackforge/ec2-api by current tempest.
Change-Id: Ibec8c36a8c2fc7ea3d8fab57819adae5f7378045
2015年04月02日 22:39:59 +03:00
Andrey Pavlov
7cc3907ff1 install euca2ools for tempest preparation
euca-bundle-image can be run only if euca2ools is installed.
but now it doesn't installed and several tests for EC2 doesn't run.
Change-Id: Ib3824052d5f4155d3cb5c0ef6fe334d44de5153c
2015年04月02日 22:33:43 +03:00
Matthew Treinish
d2cb234be4 Set qcow image file location with right cirros version
This commit ensures we also set the qcow image location in the
tempest config when we update qcow version. The tempest config has
a default value for img_file (which is incorrect) but before we can
remove the defaults in tempest we need to ensure devstack is using
it properly first. The only reason the tests weren't failing here is
because tempest falls back to using uec images (which devstack was
correctly setting config for) if qcow isn't found. The img_dir was
also hardcoded assuming a uec image, however if qcow is intended to be
used you'll need to be able to override that, which is added as
part of this commit.
Change-Id: I05af346b3c9be9560dc8846dd1f437cfbb2d5005
2015年04月02日 12:28:24 -04:00
Jenkins
5cb3d6b7ee Merge "Install packaged pyOpenSSL" 2015年04月02日 11:39:40 +00:00
Jay Faulkner
6c0da09b00 Prepare devstack for Ironic cleaning testing
This patch changes the two config options required for Ironic to
successfully test cleaning in devstack.
First, we disable erase_devices clean step. Erase devices in VMs
ends up running shred on the drives for the agent driver, which is
incredibly slow and completely unneeded in devstack.
Additionally, we allow Ironic more time to complete the unprovision
after the nova instance is deleted. This time is spend in the CLEANING
state to clean up the node.
This is related to the Ironic blueprint "implement-cleaning-states".
Change-Id: I77081165a80491da3e66d8a4554b6d71fc3d9353
2015年04月01日 09:52:15 -07:00
Sean Dague
ba1c56bf5e remove extraneous +x bits from lib files
2 files had execute bits set on them, fix as a cleanup. These files
should not be directly executed.
Change-Id: Ic0fdb85d77a3b47ef777524faf4fcdb0d8cedece
2015年04月01日 07:40:10 -04:00
Sean Dague
279cfe7519 minimize the default services
This changes the default service list in devstack to minimize what is
running out of the box, so that it's likelihood of working in a 4G vm
is much higher.
This removes heat from the default enabled service list.
It drops the ec2 only needed n-obj and n-crt services.
It drops all the alternative consoles (xvnc, consoleauth). novnc is
fine for libvirt which is the default.
It adds dstat, because that's turned out to be so useful in debugging
things.
Change-Id: I84457260dff6f42a5c6ebcc2c60fb6e01aec9567
2015年04月01日 07:33:55 -04:00
Kashyap Chamarthy
d3cfb82c65 functions-libvirt: Enable DEBUG_LIBVIRT config attribute by default
Enabling it by default because:
 - This allows you to get the relevant logs right away when something
 in the libvirt code path fails, without having to submit another
 change and keep doing a 'recheck' to re-run the CI check/gate jobs
 until you hit the bug.
 - The libvirt log filters specified in the function
 'configure_libvirt' are much more _selective_ and not a catch-all
 debug option where you end up with the unhelpful situation of having
 to find a "specific piece of hay in a haystack"[1].
FWIW, I always have it enabled in local test environments, and I don't
see the resulting libvirtd.log growing beyond a couple of MB for
three-four days of usage.
[1] http://lists.openstack.org/pipermail/openstack-dev/2014-January/024414.html
Change-Id: I5e0b35446075b419fe473e1db8d0bfedd7009741
2015年04月01日 12:05:07 +02:00
Jenkins
b0e3733cb3 Merge "functions-libvirt: Enable 'qemu_monitor' logging filter for libvirt" 2015年03月31日 23:00:24 +00:00
Clark Boylan
edd6048168 Update libvirt cpu map before starting nova
We are trying to get a working 64bit qemu cpu model in the gate for nova
live migration testing. It appears that we need to make this change
prior to nova starting.
Make the change in configure_libvirt() to handle this along with the
other libvirt config updates. This allows us to restart the libvirt
service once. This function calls a python tool which parses and updates
the XML if necessary.
Change-Id: I00667713bfba67ab8cedbcb1660ff94d4f4bcc07
2015年03月31日 15:06:30 -07:00
Kashyap Chamarthy
ae7b4f9b9e functions-libvirt: Enable 'qemu_monitor' logging filter for libvirt
A lot of libvirt interactions with QEMU are via the QEMU monitor
console, which allows you to either query or modify the state of a
virtual machine. Spefici examples include: querying the status of live
block operations, live snapshot operations, live migration, etc.
Enabling the 'qemu_monitor' log filter allows us to capture precisely
what commands libvirt is sending to QEMU.
Note that the log level was intentionally set to '1' (i.e. debug) for
this specific filter, because (a) it's not extremely verbose, (b) when
something breaks, it's helpful to have the exact sequence of
interactions between libvirt and QEMU.
Change-Id: Iba95b6bd7c9f197c8d48c7d978f538e50d4e31fa
2015年03月31日 21:35:05 +02:00
Dean Troyer
f3d52335e7 Add basic Makefile
There are a couple of targets in here that some might find useful in
doing DevStack testing in multiple remote VMs.
There are some of the usual boring targets too, like stack and unstack,
that do exactly what you would expect.
Change-Id: I7974cac4cc527bacf6f183ac1f344428b05f2fdc
2015年03月31日 11:16:36 -05:00
Adam Gandelman
84ee55b3ee Set fixed_network_name in Tempest config
This previously defatuled to 'private' and aligned with devstack's
defaults but it has since been updated to 'None'. This sets the config
value according to devstack's.
Change-Id: I3f480d5480521a93992bedfe602eb20a4999263d
Closes-bug: #1438415 
2015年03月30日 14:25:27 -07:00
Sean Dague
206c596d69 add back python-guestfs
This is needed otherwise we fall back to the nbd code path which is
super hacky. This shouldn't have been deleted for the venv path.
Change-Id: If5cb6cb4944bd0ed3548d53c98443b76725d1c0c
2015年03月30日 13:56:11 -04:00
Jenkins
f46945495d Merge "Remove symlink for lib/neutron compat" 2015年03月30日 17:40:06 +00:00
Jordan Pittier
0c04c12b3f Swift PyEClib build requires 'make'
PyEClib was introduced recently to swift-master. It tries
to build liberasurecode which requires the `make` binary.
Change-Id: I8acfed4f7b46a29eac36f6acbe1d66e7fff800db
2015年03月30日 18:15:25 +02:00
Jenkins
d7c874bca6 Merge "Move back isset to the functions-common" 2015年03月30日 15:05:59 +00:00