390 Commits

Author SHA1 Message Date
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
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
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
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
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
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
d70346263c Merge "Enable multi-agent support" 2013-03-20 16:46:25 +00: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
Brad Topol
0c2c3fc20e Explicitly add cosine and inetorgperson schemas on Fedora
Fixes Bug1156651

Change-Id: I957a8cdc562a887b0def7bc07c6bb434ce0a0437
2013-03-19 15:58:59 -05:00
Tim Miller
9a3ba4b3e1 Fix typo in baremetal header comment.
Change-Id: I553c37581c92dcdc13e0d8dcdb9c8be7309deaa1
2013-03-18 18:09:07 -07:00
Dirk Mueller
13aab25d3d Accept Quantums rootwrap.conf in etc/quantum/rootwrap.conf
As part of the review request
https://review.openstack.org/#/c/24615/
the Quantum rootwrap.conf is moving to etc/quantum subdir.
Prefer the new location.

Change-Id: I2a893c7b21e252543372854ba511f61cd1fde02f
2013-03-18 18:57:55 +01:00
Dean Troyer
b3236914f1 Mova nova configuration initialization
* Move shared volume configuration from stack.sh to stackrc
* Move Nova network and vnc/spice configuration settings from stack.sh
  into lib/nova
* Rename NET_MAN to NETOWRK_MANAGER to match nova.conf attribute name

Change-Id: I9bd2955def553499aa832eda1f0959afe494206a
2013-03-18 11:16:38 -05:00
Chmouel Boudjnah
bc3a3394e8 Use default swift pipeline and add extras.
- By default use the default pipeline as shipped with swift.
- Add option SWIFT_EXTRAS_MIDDLEWARE which by default include tempurl
  formpost staticweb bulk to enable extra featuress.
- Clean pids in cleanup_swift Fix bug 1140364.

Rebased

Change-Id: Ida537ae8d3e319a5b84546f82ebf00615f070be1
2013-03-15 14:32:31 -05:00
Jenkins
6d843c513f Merge "Fix Swift config dir variable name" 2013-03-15 19:26:58 +00:00
Dean Troyer
6ec72fab12 Fix Swift config dir variable name
Change SWIFT_CONFIG_DIR to SWIFT_CONF_DIR to be consistent with all other projects.

Change-Id: I52b7d08f038c28a16caa669d7d1aa5248fbe7789
2013-03-15 10:39:50 -05:00
Dean Troyer
995eb927f7 Add clean.sh
clean.sh gets rid of all residue of running DevStack except installed
packages and pip modules.

And it eradicates rabbitmq-server and ts erlang dependencies as well as
the other RPC backends and databases.

Change-Id: I2b9a251a0a151c012bae85a5a2f9c2f72e7700be
2013-03-15 10:30:37 -05:00
Jenkins
08fd641a19 Merge "Enable swift by default." 2013-03-15 14:41:54 +00:00
Jenkins
4f620187a6 Merge "Deprecate use of fixed_range flag in nova conf" 2013-03-15 14:38:31 +00:00
Mate Lakat
a6601a51eb Multi-node setup: Fix keystone host
Fixes bug 1154587.

Use KEYSTONE_AUTH_HOST instead of SERVICE_HOST when setting nova auth
parameters. Also use KEYSTONE_AUTH_PROTOCOL instead of SERVICE_PROTOCOL.

Change-Id: I54f7f31f6b795833b38968f6beea68e429f01d55
2013-03-15 08:55:22 +00:00
Jenkins
e7f0c7be6d Merge "Support for separate Keystone paste.deploy configuration" 2013-03-14 23:08:06 +00:00
Jenkins
475ef00b52 Merge "Configures horizon lbaas dashboard" 2013-03-14 22:04:55 +00:00
Jenkins
a268bf9ba4 Merge "Support MultiStrOpt options in configuration file." 2013-03-14 22:03:00 +00:00
Jenkins
e632a5b549 Merge "Add policy_file option to quantum.conf" 2013-03-14 21:15:52 +00:00
Jenkins
c3c04fdba4 Merge "Make openSUSE port up-to-date" 2013-03-14 21:15:31 +00:00
Jenkins
59d907cf77 Merge "restart memcached for swift." 2013-03-14 21:12:28 +00:00
Jenkins
820467f20f Merge "Simplify database_connection_url" 2013-03-14 21:12:18 +00:00