2344 Commits

Author SHA1 Message Date
Jenkins
24015ed40b Merge "Change default PUBLIC_NETWORK_NAME/DEFAULT_FLOATING_POOL name" 2013-04-02 11:43:25 +00:00
Jenkins
ab9d33866b Merge "Add Quantum NEC OpenFlow plugin support" 2013-04-02 11:43:23 +00:00
Jenkins
2dcfd62fb3 Merge "Allow a plugin specific interface_driver config in q-lbaas" 2013-04-02 11:42:21 +00:00
Jenkins
bd6ea6dda7 Merge "Correctly source .stackenv" 2013-04-02 11:41:40 +00:00
Jenkins
9071917738 Merge "Move setup_develop call" 2013-04-02 11:41:35 +00:00
Jenkins
0435d392e8 Merge "Use sudo to remove packages" 2013-04-02 07:47:24 +00:00
Dean Troyer
253a1a351b Move setup_develop call
Move setup_develop() call into the install_XXX() function as the
distinction has no real purpose.  This eliminates the configure_XXXclient()
function for Nova and Swift.

Also create install_cinderclient() as we will need it to handle dependencies
in a followup patch.

Chasing down another #$^%&&^^^$%%#$ prettytable version pin

Change-Id: I61d761bc57a31caf2ed0ade326ab236eb2bb7358
2013-04-02 01:40:53 -05:00
Ian Wienand
2c678ccf63 Use sudo to remove packages
yum and others need root to remove packages

Change-Id: I556505636c41296f9188c248dff13b85616c667c
2013-04-02 13:47:05 +11:00
Jenkins
ec613d0404 Merge "Clean up Nova API prereq" 2013-04-02 00:47:30 +00:00
Sean Dague
1b4b4be78c change configure/install split
make it so setup_develop happens in install instead of configure
to ensure that we can handle config file generation by itself.

Change-Id: I4801d7a0bc6642de2db5b78df1750666895f0aa3
2013-04-01 16:44:31 -04:00
Sean Dague
4bf9d7a74a change the install/configure split
make setup_develop part of install so that configure is only about
config file setup.

Change-Id: I1ed58011e41c550d3ab2ba33b38cfe16adb3dde4
2013-04-01 16:41:39 -04:00
Sean Dague
e4f0cd7eed refactor the install/configure split
configure remains just to generate configs, install now
gets the setup_develop in addition to the git clone. This lets
use remove configure_glanceclient as a function

Change-Id: I68e3e3973d15dc0b4f534662a4f57a9f38f69784
2013-04-01 15:58:22 -04:00
Jenkins
fb71f7dea9 Merge "Make Swift *_PORT_BASE configurable" 2013-03-29 20:52:52 +00:00
Dean Troyer
1151d6ff61 Make Swift *_PORT_BASE configurable
DevStack's Swift port defaults changed in the Grizzly cycle, we need to
put it back to complete the upgrade without going through the ring build process.

Change-Id: I30c09839690ad7ba9bb3fdffa3f05aedfc47559e
2013-03-29 14:13:45 -05:00
Sean Dague
584d90ec56 add emacs shell-script tagging
for files that don't start with a #! or end in .sh, the added tags
are nice for emacs users to automatically switch to the right mode.

Change-Id: If4b93e106191bc744ccad8420cef20e751cdf902
2013-03-29 14:36:49 -04:00
Jenkins
a173376ea1 Merge "Split disk creation out of configure_swift()" 2013-03-29 18:22:04 +00:00
Dean Troyer
1c6c112519 Split disk creation out of configure_swift()
Grenade needs to be able to configure Swift without initializing the
backing disk files.  Move it into create_swift_disk() and call
from init_swift().

Also move start of n-obj (if swift3 is not enabled) to start_nova().

Change-Id: Id33939182d84eeff10ba4139eeced2c1bc532f0f
2013-03-29 11:14:13 -05:00
Dean Troyer
c77b932e16 Move glace's swift config to lib/glance
Change-Id: Icbb355c15bfffe17725ea5cc64cfa5e76c1e74e6
2013-03-29 10:51:01 -05:00
Dean Troyer
e9e80f9bfa Clean up Nova API prereq
Bug 980966

Change-Id: If5bbcc094b54a2de96151d69653e57e0e540d6de
2013-03-29 10:36:00 -05:00
Dean Troyer
3ac95355bc Correctly source .stackenv
Specifically to recall HOST_IP and SERVICE_HOST for the current DevStack configuration.

Bug 930274

Change-Id: I299d94101ab93faccc88917503409e0afaa0a523
2013-03-29 10:17:55 -05:00
Akihiro MOTOKI
c07112a203 Allow a plugin specific interface_driver config in q-lbaas
Previously interface_driver for q-lbaas is hardcoded and q-lbaas does
not work when quantum plugin requires additional configuration (like
ovs_use_veth=True). This commit set up interface_driver using
quantum_plugin_setup_interface_driver function.

This commit also moves a script related Quantum service plugin to
lib/quantum_plugins/services/

Change-Id: Iad11c1b31071dfb580843be18be78c83feb91f10
2013-03-29 16:14:45 +09:00
Jenkins
9cb8e57482 Merge "Don't clobber all iSCSI connections during nova cleanup" 2013-03-28 23:25:54 +00:00
Dan Smith
c0fad2b6a1 Don't clobber all iSCSI connections during nova cleanup
The existing cleanup_nova() code inadvertently logs out of all iSCSI
connections on the machine because it does not pass the target name
as the -T parameter. This patch changes it to step through the targets
that match the pattern, logging out of each individually, and following
up with a delete op to cleanup the database.

Change-Id: I26c14acbe0e8de18f0e3bf7ad83b37379503e199
2013-03-28 12:24:38 -07:00
Akihiro MOTOKI
7104ab406a Use example settings in horizon repo as local_settings.py
The current horizon_settings.py in devstack is out-of-date and we
tend to forget to update this file. This commit changes devstack
to use the example settings in horizon repo.

Change-Id: I0bb6af21a806a72ed59f31b094dd21da85ca335e
2013-03-29 03:01:50 +09:00
Jenkins
40ef624e36 Merge "Add support for iso files as glance images" 2013-03-28 12:36:12 +00:00
Monty Taylor
e542883c89 Only start zeromq-receiver when we're using zeromq.
Change-Id: Ibd3e6a74f1098e330be0fcbbb83b9188e51202ad
2013-03-27 23:40:59 +01:00
Jenkins
941f03ce92 Merge "xenapi: Extract plugin installation functions" 2013-03-27 13:08:33 +00:00
Jonathan Michalon
0680204b1f Add support for iso files as glance images
Change-Id: Id1731c1a0a579fab44bb3944d2369b3feecf15d2
2013-03-27 14:05:30 +01:00
Aaron Rosen
640f1e4c8d Change default PUBLIC_NETWORK_NAME/DEFAULT_FLOATING_POOL name
This patch changes the default network name/floating pool from nova
to pubic as the name public makes more sense than nova for a public
network.

Change-Id: I4153750c08d1510dbad3051681e8c142a79fe1a1
2013-03-26 22:39:11 -07:00
Jenkins
a2ae90fa02 Merge "Add comments on how to run devstack with Quantum" 2013-03-26 20:34:27 +00:00
Doug Hellmann
cf9eef8597 Make sure the NOVA_INSTANCES_PATH is created
Under some conditions when NOVA_STATE_PATH is set
the NOVA_INSTANCES_PATH directory under it is removed
but then not correctly recreated if the parent directory
is owned by root instead of the current user running
devstack. This change fixes that problem by creating
the NOVA_INSTANCES_PATH as root, and then chowning it
to the correct user.

Change-Id: I7fb724787b5e915bae9bd058454d2aa38991364e
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
2013-03-25 19:34:48 -04:00
Jenkins
b6a86dbe0f Merge "Multi-node setup: Fix keystone host" 2013-03-25 16:21:13 +00:00
Mate Lakat
57e3da9b76 xenapi: Extract plugin installation functions
This change extracts the plugin installation functions, and covers the
extracted functions with tests. Use:

    ./test_funtions.sh run_tests

to run the tests.

Change-Id: I1d78d9e8cc4d52ee2df83d07e4c74dda4805f21a
2013-03-25 15:12:58 +00:00
Oleg Bondarev
1f11f9ac8f Add comments on how to run devstack with Quantum
Fixes bug 1077826

Change-Id: I224db4e00e3c937f3106e9a099b79de789be1fc1
2013-03-25 05:38:48 -07:00
Jenkins
5e482c9ea2 Merge "Explicitly add cosine and inetorgperson schemas on Fedora" 2013-03-22 21:35:11 +00:00
Jenkins
341f9b3321 Merge "Fix FLAT_INTERFACE not working" 2013-03-22 21:35:08 +00:00
Jenkins
04a07c6d73 Merge "Support Quantum security group" 2013-03-22 21:29:43 +00:00
Jenkins
dbd556c40b Merge "Clean up stack.sh config" 2013-03-22 19:23:56 +00:00
Akihiro MOTOKI
f85fa089bb Add Quantum NEC OpenFlow plugin support
NEC OpenFlow plugin supports several OpenFlow controllers. This commit
also adds a third party script to support Trema Sliceable Switch,
one of open source OpenFlow controllers.

Change-Id: I5dddf04a25bc275c3119d751ca79b482e1875902
2013-03-22 14:19:08 +09:00
Davanum Srinivas
b93b74ca02 Fix FLAT_INTERFACE not working
add a missing colon

Fiex LP# 1158308

Change-Id: Ia873788fd5dd17be3c2942057168fbfddb32c14f
2013-03-21 21:25:05 -04:00
Akihiro MOTOKI
3452f8eb86 Support Quantum security group
Adds Q_USE_SECGROUP flag for quantum security group

- Added has_quantum_plugin_security_group method for each plugin.
- Set NOVA_VIF_DRIVER to the hybrid VIF driver for plugins with
  iptables based security group support.
- Specifying device_owner type on debug port in lib/quantum and
  quantum-adv-test.sh. This change makes apply quantum security
  group fro debug port

Change-Id: Ifd155798912247d85a9765ef73a2186b929237b4
2013-03-21 18:34:14 +09:00
Jenkins
1a5d0339d0 Merge "Accept Quantums rootwrap.conf in etc/quantum/rootwrap.conf" 2013-03-21 08:51:44 +00:00
Dean Troyer
b7490da972 Clean up stack.sh config
* Clean up interactive configuration
* Complete moving initialization of service-specific varialbes into the
  service lib/* files.
* Cosmetic cleanups

Change-Id: Iea14359bd224dd5533201d4c7cb1437d5382c4d1
2013-03-20 17:04:23 -05:00
Jenkins
71404ed5a4 Merge "Mova nova configuration initialization" 2013-03-20 21:36:05 +00:00
Jenkins
b28581baf8 Merge "Add run_process() to start services without screen" 2013-03-20 18:10:36 +00:00
Jenkins
d70346263c Merge "Enable multi-agent support" 2013-03-20 16:46:25 +00:00
Dean Troyer
681f3fddec Add run_process() to start services without screen
* USE_SCREEN defaults to True, set it to False to exec the services
  directly via bash.  SCREEN_DEV is still supported until the CI
  scripts get updated.
* The extra logging file descriptors are properly closed in the child process
  and stdout/stderr are redirected to the log files.
* The screen_rc() call is still present; this means that stack-screenrc will
  have a complete record of what was started and rejoin-stack.sh may be able
  to re-create the setup under screen.
* The python interpreter was unwilling to write to the log files without
  unbufering stdout by using PYTHONUNBUFFERED.  This feels hackish and should
  be investigated further.

Change-Id: I012ed049f2c8b185a2e6929d73edc29e167bc21f
2013-03-20 11:23:13 -05:00
Jenkins
37e86fab64 Merge "Force Quantum processes to run in a subshell" 2013-03-20 15:24:04 +00:00
mathieu-rohon
cf9c10d63a Enable multi-agent support
even when q-svc is disabled, i.e. on node without q-svc in multi-agent architecture,
state_path will be configured in quantum.conf so that agent doesn't crashs anymore

Bug 1156685

Change-Id: I28625e4b606fa61c35179248321632d3d797c547
2013-03-20 16:16:34 +01:00
Dean Troyer
58ab929de6 Force Quantum processes to run in a subshell
Force bash to evaluate the command line passed to screen_it so the
commands are executed in a subshell.  This seems to make a difference
when using run_service() when the server process is owned by init.

These Quantum services were the only ones in all of DevStack being
spawned in this manner.  This will allow the run_service() patch
https://review.openstack.org/#/c/23148/ to succesfully be merged
and the number of test failures due to screen should be reduced to 0.

Change-Id: I97d562adda51d39a5e7fa1dc4d945d4a396201cd
2013-03-19 16:46:33 -05:00