1800 Commits

Author SHA1 Message Date
Jenkins
0416f332fd Merge "enable testing of openvz guests" 2012-08-07 17:37:10 +00:00
Sascha Peilicke
5da67fe42f Use right service name when stopping tgt in unstack.sh
On non-deb systems, 'tgt' is 'tgtd'.

Change-Id: I357b47cf117a5e615eb4af9603b7c5670e5cff1c
2012-08-07 09:47:28 +02:00
Vincent Untz
d1804b32fb Add Vincent Untz to AUTHORS
Several of my patches are in already.

Change-Id: I0b96f4d262205346e112ec8ac23dd7d5a0f252dd
2012-08-07 09:43:22 +02:00
Jenkins
3d42cdc766 Merge "q-dhcp: When q-dhcp is enabled, dangling dnsmasq needs to be killed like n-net" 2012-08-07 03:34:37 +00:00
Jenkins
ecb9036fda Merge "Do not pass -U to useradd" 2012-08-07 03:12:32 +00:00
Gary Kotton
f71bf1929c Enable cinder to work with qpid
Fixes bug 1033544

Change-Id: I015f61e8eb3612f970b4acfa3930a2f61c6c216c
2012-08-06 11:16:16 -04:00
Isaku Yamahata
6f85ab3583 q-dhcp: When q-dhcp is enabled, dangling dnsmasq needs to be killed like n-net
fixes bug 1033428
Kill dnsmasq processes on startup like n-net case.

q-dhcp(quantum dhcp agent) forks dns-masq child processes.
But those dns-masq processes are not killed on initialization unlike n-net.
So non-first run of q-dhcp fails due to stale dns-masq process.

Change-Id: I15f464e527a5258f88da573facfa2eef4c03f753
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2012-08-06 16:58:23 +09:00
Devananda van der Veen
c0c6f00698 enable testing of openvz guests
This patch adds several options to allow using OpenVZ virt layer.
- modifies stack.sh and stackrc to recognize a new VIRT_TYPE option
- set IMAGE_URLS to an openvz image, if VIRT_TYPE == openvz

It also makes a few changes to some tests so that some implicit
defaults (such as the guest user account) can be overridden.

Change-Id: I0dde2dffbf3848fac1dd27eb37af84c0ac73d9aa
2012-08-03 18:15:01 -07:00
Jenkins
43278a3cb5 Merge "Ensure that we have access to sbin binaries through sudo" 2012-08-03 22:25:16 +00:00
Brian Waldon
2163aa1857 Change glance client flag --public to --is-public
The --public flag is deprecated. Let's not use it.

Change-Id: Ic6785ec2d1d5d3f7ab7cf2f584010ac38e339e0a
2012-08-03 12:57:22 -07:00
John Garbutt
b6c8714408 Install XenServer tools from the iso on XenServer
Fixes bug 1032122 by ensuring, where possible, we use the tools
shipped with XenServer rather than downloading the tools from
images.ansolabs.com

Change-Id: I4592eca315b4700e73097d678309d00323923c8b
2012-08-03 17:57:41 +01:00
Vincent Untz
f2a25b776b Ensure that we have access to sbin binaries through sudo
We need to add the sbin paths to the secure path in sudoers for the user
running the script, to make sure that running sbin binaries from sudo
will work.

Change-Id: I7942407df768bfa8dd035f15fa8b43ba05319779
2012-08-03 16:18:01 +02:00
Jay Pipes
4ba6eeb53a Adds compute whitebox configuration options
Adds the following options to the tempest configuration
file:

COMPUTE_CONFIG_PATH
COMPUTE_SOURCE_DIR
COMPUTE_WHITEBOX_ENABLED
COMPUTE_PATH_TO_PRIVATE_KEY
COMPUTE_DB_URI
COMPUTE_BIN_DIR

These options are used in an upcoming Tempest patchset

Change-Id: I50409d03255b92f154112b57e96ad71f8542ac96
2012-08-03 09:56:16 -04:00
John Garbutt
d8f1a87a45 Make it easier to use Precise or Oneric with XenServer DevStack
This is a partial fix for bug 1009937

Change-Id: I1fc7059cd812bce1539a5050f60717db4cbd81ef
2012-08-03 12:44:08 +01:00
Jenkins
6836977582 Merge "Add bridge-utils to deps for Ubuntu and Fedora." 2012-08-02 19:05:45 +00:00
Jenkins
d77db29673 Merge "Optionally install all pip into a global venv." 2012-08-02 18:37:58 +00:00
Jenkins
68b5a6a397 Merge "Add ability to override base git location." 2012-08-02 18:33:19 +00:00
Jenkins
ce469841c6 Merge "Set a valid / unique SECRET_KEY others than the empty default." 2012-08-02 17:59:31 +00:00
Jenkins
89ff452ad9 Merge "Adds parameter interpolation for Tempest config" 2012-08-02 17:59:30 +00:00
Jenkins
13b7c22053 Merge "Define DEST in stackrc" 2012-08-02 01:34:15 +00:00
Dean Troyer
05530caf2c Source functions before stackrc
The enable_service() and disable_service() functions in
https://review.openstack.org/9407 require the functions
file be sourced before stackrc.

* exercise.sh
* samples/local.sh (this will require manual addition to the user's
  local.sh if they based it on the sample)
* tools/build_bm.sh

Change-Id: I1bed687867e870bef5748289d712376435a776af
2012-08-01 20:03:01 -05:00
Dean Troyer
32c520f46d Add bridge-utils to deps for Ubuntu and Fedora.
They don't always get installed via dependencies any more.

Change-Id: I46f333c79ecccca9e10170d06039611fad5813dc
2012-08-01 19:57:34 -05:00
Joe Gordon
b7ef539b12 Improve exercises/aggregates.sh
* Update for blueprint general-host-aggregates
* Test for add/remove hosts
* Now uses nova host-list

Change-Id: Id6fef649c13032cf9148d7152fa2b28654717892
2012-08-01 17:18:39 -07:00
Jenkins
3256b8d651 Merge "Setup tgtd configuration files" 2012-08-01 23:58:34 +00:00
Jenkins
2d604cd320 Merge "Removing python-cmd2 at it is not available on Ubuntu 11.10" 2012-08-01 18:40:04 +00:00
John Garbutt
2ee1fd1e82 Removing python-cmd2 at it is not available on Ubuntu 11.10
This fixes bug 1030899

Ubuntu 11.10 is used by the XenAPI devstack install because
of issues running Ubuntu 12.04 on XenServer 6.0.2 and ea11.10

Change-Id: I35bca1f484e0caea8316e78ca6543d3b7af49088
2012-08-01 10:29:19 +01:00
Chuck Short
3f603d93c8 Setup tgtd configuration files
Setup devstack to use tgtd confiuration files.

Change-Id: Icb2a1a0c5ca517604f9a3930e7c89e3be9a36b0c
Signed-off-by: Chuck Short <chuck.short@canonical.com>
2012-07-31 15:50:58 -05:00
Rohit Karajgi
5ef9047593 Adds parameter interpolation for Tempest config
Adds Tempest variable for Volume catalog Type

Change-Id: I4ab968f30146bd9e40533d67dba49114649f029d
2012-07-31 06:22:29 -07:00
Osamu Habuka
7abe4f24a3 support no_proxy environment variable
Change-Id: I5175f9752abe358cca0d2e3e5cf6d94605df451a
2012-07-31 13:49:34 +09:00
Vishvananda Ishaya
c9ad14bd38 Use default route to find HOST_IP
When running devstack, nova moves the host ip from eth0 onto the
bridge. This causes devstack to fail on the second run unless you
explicitly set HOST_IP in localrc.

This patch searches for an ip on the interface that is used for
the default route. This will be eth0 (or en0) in most cases, but
it will search br100 instead if nova has moved the ip, since it
moves the default route as well.

It also will filter out ips from the potential list that are part
of the fixed range and floating range if the netaddr library is
installed. This allows us to find the proper ip even if we have
accidentally left a floating ip or fixed ip on the bridge.

Change-Id: I13288e53ee2786c5ae0edb3f9ab457be8303f1f6
2012-07-30 15:28:41 -07:00
Akihiro MOTOKI
1a4166ca66 Enables keystone-enabled Quantum in devstack.
Fixes bug 1028075.

Whether keystone is enabled for Quantum is determined according to Q_AUTH_STRATEGY.
* 'keystone' (default): Enables authN with keystone for Quantum
* 'noauth': No authN used by Quantum.

Change-Id: Icfc77089e085b43e97601869d9c61c9f4da1164b
2012-07-29 17:38:09 +09:00
Jenkins
14ab37eb41 Merge "Enable Quantum agents and plugins to use more than one config file" 2012-07-27 23:10:38 +00:00
Jenkins
e57f409906 Merge "Add python-cmd2 install for openstackclient." 2012-07-27 22:07:35 +00:00
Jenkins
fabf5924e0 Merge "Change default volume service to Cinder" 2012-07-27 22:06:32 +00:00
Gary Kotton
8301f1475b Enable Quantum agents and plugins to use more than one config file
Change-Id: I039101471d264c84f6e05cc3f33073932e71f788
2012-07-27 06:55:47 -04:00
Monty Taylor
e9659e503e Add python-cmd2 install for openstackclient.
Change-Id: I5cf6772c6fa1c813efa4993bd0461c45bbaae4ea
2012-07-26 13:22:42 -05:00
Monty Taylor
47f02060ad Optionally install all pip into a global venv.
This is useful for tracking what pip is causing to be
installed over and beyond os pacakges.

In support of this, move all package installation to before
the section where we install via pip. Leave the deferred configuration
until later though.

Change-Id: I89677fd54635e82b10ab674ddeb9ffb3f1a755f0
2012-07-26 13:18:40 -05:00
Monty Taylor
d5b18ecb72 Add ability to override base git location.
Change-Id: I823cf5ac467e903677783aee082785ec85c36186
2012-07-26 11:15:24 -05:00
John Griffith
d586e1c2b9 Change default volume service to Cinder
* Modifies stackrc to load Cinder instead of n-vol by default
  * Depends on https://review.openstack.org/#/c/9746/
  * Depends on https://review.openstack.org/#/c/9747/

Change-Id: I1fcb4bd274311d048dee54826b6408e5abb493d2
2012-07-25 14:10:01 -06:00
David Kranz
686f98ea10 Add flag for availablility of change password API.
Change-Id: Ic63754050ef4a5838144edd1d24a2e9206cc0fa5
2012-07-24 09:17:20 -04:00
John Griffith
4e823ff4ad Add Cinder to ROOTWRAP_SUDOERS
* Perform operations in lib/cinder
 * Use specific cidner-rootwrap file
 * Add root_helper to cinder.conf

Change-Id: Ibcae8bae2d06c9cbb4c41c39791e8dbdc8bbb0ac
2012-07-20 15:06:27 -06:00
Jenkins
51f5f88f10 Merge "Use c-api for service when creating cinder user." 2012-07-20 19:16:25 +00:00
Jenkins
3492c941c8 Merge "Use latin1 character set when creating the nova database" 2012-07-20 18:46:24 +00:00
Jenkins
20435d7de4 Merge "Allow wget to handle Non-English output" 2012-07-20 18:16:04 +00:00
Chmouel Boudjnah
d55509d46e Use c-api for service when creating cinder user.
- cinder is not a service but c-api is.

Change-Id: I580fe91216d3fa066120dc774811bfe08119ca02
2012-07-20 15:00:02 +00:00
Jenkins
f4d5780d64 Merge "Ensure that dnsmasq is terminated when running unstack.sh" 2012-07-19 17:02:55 +00:00
Jenkins
026f85bb84 Merge "2.5x increase in default volume backing file size" 2012-07-19 16:54:40 +00:00
Vincent Untz
6a57f2649d Use latin1 character set when creating the nova database
Nova expects the latin1 character set to be used in its database by
default and then alters the database to utf8 when upgrading the
database (in 082_essex.py).

Nova works this way to work around bug 829209 ("Specified key was too
long" errors) that will be hit with the dns_domains table.

Change-Id: I81e6ed476e8a310fe01809e9afcc2c8d5360e9df
2012-07-19 14:22:27 +02:00
Eoghan Glynn
9cb1776a92 2.5x increase in default volume backing file size
The current default volume backing file size of ~2Gb seem unfeasibly
small and precludes running exercises that require multiple volumes
and/or snapshots to be created.

We increase this to ~5Gb.

Change-Id: Id6b8d122be919d1b0041288e81b735af21958ff7
2012-07-19 12:40:16 +01:00
Zhang Hua
91b0acdeff Allow wget to handle Non-English output
The stack.sh has a loop to wait for keystone to start. But the output of wget tool has been globalized
which means it won't return the English word 'refused' on Non-English environment even the keystone is
not up. So the script will assume the keystone has been started and continue. The command of keystone
tenant-create always failed immediately after skipping this loop since it require keystone to be started
to authenticate. That's why you can see authentication error in the log because the tenant information
was not correctly set up.

Fix bug 1019942

Change-Id: Icc2bd9551e235173683e3677880c2641faee62a9
2012-07-19 18:01:42 +08:00