4471 Commits

Author SHA1 Message Date
Dean Troyer
3ef23bceec Clean up local variable usage - Backends
Combines cleanup for mysql, postgresql and rpc

Change-Id: I37b928a669146671c946fc1ccb8e3ef1a27a3891
2014-07-25 16:24:00 -05:00
Gael Chamoulaud
d3121f649d Fixes some typos in stack.sh
Change-Id: Ia627d1793c6db76590844d51854dce35a87206b7
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
2014-07-24 23:53:02 +02:00
Jenkins
b13ebee873 Merge "Remove unfubar_setuptools" 2014-07-24 20:08:07 +00:00
Jenkins
d8b04c2a74 Merge "Add SERVICE_TOKEN to the sample local.conf" 2014-07-24 12:01:58 +00:00
Jenkins
dbcffa7497 Merge "Add DVR support to DevStack" 2014-07-24 09:59:06 +00:00
Jenkins
703f17e536 Merge "Fixed NO_UPDATE_REPOS variable usage" 2014-07-24 04:25:16 +00:00
Sean Dague
4f3b66f538 add is_keystone_enabled
This is missing, and makes logic much harder for the grenade use
case.

Change-Id: Ib6670096d190e69273256b87e6a67e2b46945a0d
2014-07-23 16:45:12 -04:00
Sean Dague
f0bd8dbe37 stop leaking service as a global var
the tls code was leaking out $service as a global variable, which
was causing all manner of confusing errors in grenade trying to
use that variable name. All lower case vars should be localize.

Change-Id: I74fa597f20ee7c714cab83490b42d874ea93db02
2014-07-23 15:14:07 -04:00
Jenkins
27eefd8729 Merge "Remove output filter on rabbitmq install" 2014-07-23 15:06:11 +00:00
Jenkins
9f8bf58ba3 Merge "Add conntrack-tools to nova dependencies" 2014-07-23 15:06:07 +00:00
Jenkins
1ecd43da54 Merge "Users in service group should not have email addresses" 2014-07-23 14:06:50 +00:00
Jenkins
cd8da9307e Merge "Fix install_ceilometer and install_ceilometerclient" 2014-07-23 13:03:19 +00:00
Ian Wienand
7ccf4e025a Remove output filter on rabbitmq install
The original workaround was for an init script that grabbed stdout.
This was some time ago and I think it's safe to remove.

It can be a problem on Fedora; out-of-the-box some old F20 images can
have a broken dependency when rabbitmq installs.  With this in place,
all helpful output goes into the temp log file, but it is never shown
because the install_packages function exits the script.  Thus things
just stop and you have no idea why.

Change-Id: I2f5b934492a8c9d7b93e89fdcfa776bf15f25cb8
2014-07-23 14:24:11 +10:00
Joe Gordon
13344bd975 Fix install_ceilometer and install_ceilometerclient
Other projects do a setup_develop in install_*. This standard is used by
grenade to do installations. Currently grenade uses install ceilometer
as part of the upgrade script, but this doesn't actually install the new
ceilometer.

Change-Id: I4e44bec6574e6a4fcfc252418bc267191aef28fb
Closes-Bug: #1347178
2014-07-22 14:26:05 -07:00
Jenkins
f16ebbe085 Merge "Fix trivial typo in HACKING.rst: tec. -> etc." 2014-07-22 16:37:14 +00:00
Gael Chamoulaud
6dd8a8bee4 Users in service group should not have email addresses
Change-Id: Ieed9dffce5cf1e735e482dd3494ac1e103b50955
Closes-Bug: 1185201
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
2014-07-22 17:29:04 +02:00
Jenkins
2bb05fdb84 Merge "Promote libffi-dev as a general dependency" 2014-07-22 14:38:24 +00:00
Roger Luethi
c21cfc9286 Fix trivial typo in HACKING.rst: tec. -> etc.
Change-Id: Ibdb119249b53e95bdf963ce349703c79611e0720
2014-07-22 15:35:02 +02:00
Attila Fazekas
40f4438f9b Add conntrack-tools to nova dependencies
'Error deleting conntrack entries' appears in all
n-net. Adding conntrack-tools/conntrack as nova dependency,
in order to eliminate this issue.

Change-Id: Ief9deeb3349a07e22fb365e58f3368c847f845ef
2014-07-22 14:31:03 +02:00
Georges Dubus
5753eb8e26 Add SERVICE_TOKEN to the sample local.conf
I expect the sample local.conf file to contain all the required
variables. However, after copying samples/local.conf, the stack.sh
script still asks for SERVICE_TOKEN.

This commit adds the SERVICE_TOKEN definition to local.conf so that a
new user can just copy samples/local.conf, edit it, and have a running
stack.sh without the mild annoyance of having more variables to set.

Change-Id: Ifb163c7f67c80037d8b10458f2df458a20da4667
2014-07-22 09:50:10 +00:00
Jenkins
89a8a15ebe Merge "XenAPI: Always add latest Cirros euc image" 2014-07-22 01:14:19 +00:00
Jenkins
2ebcd3817f Merge "XenAPI: Use GUEST_PASSWORD when installing DomU" 2014-07-22 00:42:47 +00:00
Jenkins
01450acf55 Merge "Do a proper tls/ca cleanup in unstack" 2014-07-22 00:42:43 +00:00
Jenkins
035742cdfd Merge "Fix default_volume_type for Cinder multi backend" 2014-07-21 22:12:41 +00:00
Jenkins
15ae2101ba Merge "XenAPI: Fix race condition on tailing stack.log" 2014-07-21 22:12:33 +00:00
Jenkins
8304ba6928 Merge "Add WSGISocketPrefix to apache keystone config" 2014-07-21 21:58:48 +00:00
Jenkins
2983291bd9 Merge "Add argparse for RHEL6" 2014-07-21 00:58:39 +00:00
Jenkins
24729ab388 Merge "Lower default IRONIC_VM_SPECS_RAM" 2014-07-19 01:43:03 +00:00
Jenkins
290b62d7ba Merge "Added Oracle Linux distribution support" 2014-07-18 22:34:22 +00:00
Ian Wienand
dcdcb5ace8 Add WSGISocketPrefix to apache keystone config
I think since probably fdf1cffbd5d2a7b47d5bdadbc0755fcb2ff6d52f
devstack on RHEL6 fails and it comes down to:

---
2014-07-17 05:05:49.235 | +++ openstack role create admin -f value -c id
2014-07-17 05:05:49.615 | ERROR: cliff.app Service Unavailable (HTTP 503)

[Thu Jul 17 15:05:46 2014] [error] [client 10.0.2.15]
  (13)Permission denied: mod_wsgi (pid=30125): Unable to connect to WSGI
   daemon process 'keystone-public' on
   '/etc/httpd/logs/wsgi.30098.0.1.sock' after multiple attempts.
---

The apache user doesn't have permissons to this directory.  Adding
WSGISocketPath to /var/run solves it

Change-Id: If4b74019b6bd389b576fc981154bb1b3aa471c9b
2014-07-18 17:52:11 +10:00
Jenkins
828e382e23 Merge "Make apache restarts a little more forgiving" 2014-07-18 02:25:07 +00:00
anju Tiwari
6c639c9dd7 Added Oracle Linux distribution support
Enabled devstack to support oracle Linux Server

Change-Id: I1749cd3c7756a9903d2a0b0ab19606f87a4937d4
2014-07-18 09:59:59 +10:00
Ian Wienand
f565bf2d3a Add argparse for RHEL6
python2.6 doesn't have argparse, required by outfilter.py.  This
package is a dependency on cloud-init, so this problem is often masked
in many testing environments.

Change-Id: Ia564f1b8a7b540faa7bbdbd1a1a290c591901682
2014-07-17 14:50:29 +10:00
Monty Taylor
72ab17b830 Remove unfubar_setuptools
It is no longer used for anything, nor does it seem to be
needed in the modern world of get-pip.py.

Change-Id: I5554514dd862a2004454daf295abbcf9cf9f2bfb
2014-07-17 05:56:59 +02:00
Sébastien Han
7062b12b9b Fix default_volume_type for Cinder multi backend
The default_volume_type option doesn't support comma separated
arguments. We can only select one default volume type.
We have a variable that contains the default volume type, so we simply use it.

Closes-Bug: 1342569

Change-Id: Ibd080442f00f3d446ec374fc5906f0778d449007
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2014-07-16 15:36:49 +02:00
Bob Ball
5c64a463d8 XenAPI: Always add latest Cirros euc image
Some tests, such as test_minimum_basic_scenario, assume qcow and if
a qcow image does not exit, falls back to the euc image.
This change ensures these tests work in the stock XenServer environment.

Change-Id: I718f178f7e5e0fa4eebd17a49caf5254124092e3
2014-07-16 13:14:11 +01:00
Jenkins
5e93727a23 Merge "FAQ: Clarification - Devstack is a gating project" 2014-07-16 02:55:37 +00:00
Jenkins
df2cc34db6 Merge "Fix Neutron configuration if Ceilometer is enabled" 2014-07-15 21:03:39 +00:00
Jenkins
95764eb0fd Merge "Support multiple Cinder backend types" 2014-07-15 19:33:02 +00:00
Brian Haley
eea7621d23 Add DVR support to DevStack
This patch introduces a new Neutron  config option: Q_DVR_MODE.

The possible values are:

- legacy  : No DVR functionality
- dvr_snat: Controller/single node DVR
- dvr     : Compute node in multi-node DVR

When DVR is enabled the following configuration changes will be
in place:

- neutron.conf
  - router_distributed=True

- l3_agent.ini
  - agent_mode=$Q_DVR_MODE

- ovs_neutron_plugin.ini:
  - enable_distributed_routing=True
  - l2_population=True
  - tunnel_types=vxlan

Supports-blueprint: neutron-ovs-dvr

Change-Id: I669e054a8489fe7ac7f5c00df6535349d477e8c4
2014-07-15 12:07:21 -07:00
Jenkins
faa46f0014 Merge "Add a Tunnel end-point variable for Neutron configuration" 2014-07-15 18:29:58 +00:00
Morgan Fainberg
2df0046fa7 Make apache restarts a little more forgiving
Apache sometimes is slow to release the port (from the kernel's
perspective) which can cause restarts of apache to fail due to the
requested port already being bound. This fix introduces a small sleep
between the stop and start to help make apache deployments a bit
more resilient.

Change-Id: I9697d71f3cb2d8d5da8fe7ffa8b3e1ade9d52afd
Closes-Bug: #1342256
2014-07-15 11:06:36 -07:00
Bob Ball
d6b43a09c4 XenAPI: Fix race condition on tailing stack.log
Stack.log is created by stack.sh, which is started by run.sh.  Using
the pid from run.sh doesn't mean that stack.log has been created yet
so wait for the log to be created before tailing

Change-Id: I86e563478949cb7bbe0d1afd80b790ba70328e3a
2014-07-15 17:45:47 +01:00
Dean Troyer
097183356e Support multiple Cinder backend types
This is the first step in supporting multiple Cinder backend types at
once.  It initially converts the existing hard-coded multi-lvm support
to a new cinder_backends driver form.  Eventually the cinder_plugins
will be converted to this form so they can be enabled more than just
one at a time using CINDER_ENABLED_BACKENDS.

The default configuration should be identical to the previous defaults,
including for both True and False values of CINDER_MULTI_LVM_BACKEND.

The existing cinder_plugins are expected to be removed when this is
complete. They should continue to work until they have been converted.

Add wait for c-api to ensure it is started before continuing.

Change-Id: I93b8ef32832269d730c76a6dc24ddb4f20c6d9df
2014-07-15 16:03:42 +02:00
Sean Dague
0ae54daa4a add python-mock to testonly package list
Python-mock is needed by most of OpenStack for testability. Add
this is a testonly package. This should fix current issues with
functional tests in OpenStack that use devstack, but not tox to
run their tests.

Closes-Bug: #1341507

Change-Id: I26cbe42ace75554bae993a6d849c3b4ac649c78e
2014-07-15 10:37:14 +02:00
Gilles Dubreuil
a216254a13 FAQ: Clarification - Devstack is a gating project
Change-Id: I52fdfc5c865e864939df49fecb71b8e615a28cbf
2014-07-15 14:30:26 +10:00
Bob Ball
105eaee2c0 XenAPI: Use GUEST_PASSWORD when installing DomU
We know what the GUEST_PASSWORD will be, so set it during DomU
installation; therefore if the installation fails for any reason
we have a correct GUEST_PASSWORD set rather than the obscure and
undocumented 'r00tme'

Change-Id: I684646a74f2cede43667a40556e247955e042ae4
2014-07-14 15:21:07 +01:00
Paul Linchpiner
9e17974a62 Fixed NO_UPDATE_REPOS variable usage
Change-Id: I50a2fd73f30321e97c99947b62fb1729870a2c14
2014-07-13 22:23:00 -07:00
Jenkins
f29569db7a Merge "Add pre-install phase for extras.d plugins" 2014-07-13 19:02:40 +00:00
Jenkins
c856f51ed7 Merge "Fix Swift config for Ceilometer usage" 2014-07-13 15:09:51 +00:00