390 Commits

Author SHA1 Message Date
Mark McLoughlin
7ddbea25c4 Don't directly pip install tempest pip-requires
This code:

    # Tempest doesn't satisfy its dependencies on its own, so
    # install them here instead.
    pip_install -r $TEMPEST_DIR/tools/pip-requires

causes us to do:

    Found existing installation: oslo.config 1.1.0
     Uninstalling oslo.config:

so rather than 1.1.0 installed, we end up with 1.1.0b1 and everything
goes kabloomy.

It looks like this comment came from a time (commit 9a352daf) before
tempest included proper install_requires (tempest commit 5abb253c3).

It should be safe to delete this and allow setup_develop() do all the
work just like the other projects.

Change-Id: I869f727900bb08c72e5e8f4e84858a9c77049715
2013-03-13 06:57:19 +00:00
mathrock
27c06950cd Deprecate use of fixed_range flag in nova conf
Since a3786b4b8aa47cf19b9dc2babb4df85f578a1280 merged into nova we
now can default to setting fixed_range in nova.conf to "". This will
cause nova to do automatic NAT set up based on the networks
configured rather than relying on the user to set fixed_range to the
largest subnet that includes the networks they've configured.

Leave the stack.sh default value of $FIXED_RANGE alone because it is
used for creating the networks, etc.

Change-Id: Iad13588af3dcf22ce81823de301b73b05cf2aae9
2013-03-13 01:36:47 -04:00
Jenkins
f69ce0bce5 Merge "Quantum: use generic VIF driver" 2013-03-12 23:58:34 +00:00
Vincent Untz
3f34d9af71 Make openSUSE port up-to-date
Several changes didn't properly deal with openSUSE, so fix this.

Change-Id: Icc9c894031a8a693d9c41e2ec5717bd76f618342
2013-03-12 18:02:55 +01:00
Jenkins
8738759663 Merge "Set debug to True in cinder.conf" 2013-03-12 16:19:11 +00:00
Salvatore Orlando
3de02e8b9a Add policy_file option to quantum.conf
Bug 1154102

Ensure /etc/quantum/policy.json is the one used by quantum when
deployed through devstack.

Change-Id: Ib4e324911d1ba631d411eb3be78355eee09c39f0
2013-03-12 15:20:05 +01:00
Chmouel Boudjnah
8ecbb38d79 restart memcached for swift.
- (re)start memcached to make sure we have a clean memcache.

Change-Id: Idad8d58e2500156c4170af04f880a074c8ce7943
2013-03-12 12:15:49 +01:00
Alan Pevec
e0bb447244 Support for separate Keystone paste.deploy configuration
Support for Keystone change https://review.openstack.org/24126
while keeping the backward compatiblity with mixed cfg/paste.deploy
configuration file.

Also remove insertion of s3 extension which was merged in
b2aa620bc9

Change-Id: Ib7e2913ebb507f882dcd71b1142bcdb4b040ae6b
2013-03-12 11:22:38 +01:00
Eugene Nikanorov
b663b33f51 Configures horizon lbaas dashboard
fixes bug 1151865

Change-Id: I1f2c7f7f11170571fe37a9cf5444d26c1c8de959
2013-03-12 13:34:48 +04:00
Jenkins
c3b658c8df Merge "Allow mongod service to launch on Fedora" 2013-03-11 17:35:04 +00:00
Gary Kotton
4d8c5b0aca Quantum: use generic VIF driver
For plugins that support VIF bindings, make use of the
LibvirtGenericVIFDriver libvirt vif driver. The plugin
returns the VIF type to Nova which inturn "knows" what
to do.

Change-Id: I82982a9f1324db878439aa6bbee38bd205f073d0
2013-03-07 13:04:56 +00:00
Eoghan Glynn
285c75e7a4 Allow mongod service to launch on Fedora
Fixes bug 1144907

Previously, the mongod service may fail to launch, if the eager
filesystem freespace check trips over an SELinux AVC or finds
a lack of freespace (depending on the up-to-datedness of the
selinux-policy-targeted package and the disk size/usage in the
hosting instance).

We work around these issues by ensuring the selinux-policy-targeted
package is up-to-date when ceilometer is enabled on Fedora, and
also setting the --smallfiles option.

Change-Id: I74f21662aedf9cc07b9a335d22b833a8a80dfce2
2013-03-07 12:58:34 +00:00
Salvatore Orlando
d1742febe8 Set allow_overlapping_ips to True by default
Bug 1152141

Change-Id: I36b3a91ac9c52ea8371df3adc7fcd0f55ad27a58
2013-03-07 13:34:57 +01:00
Jenkins
fd6aa547f0 Merge "Implements blueprint quantum-lbaas-plugin-support" 2013-03-06 22:58:27 +00:00
Jenkins
de3f9d3faa Merge "Fix minor typo in IPMI virt driver" 2013-03-06 19:15:26 +00:00
Jenkins
35a90d7fc0 Merge "Stash baremetal deploy image IDs in a namespace." 2013-03-06 19:09:13 +00:00
Eugene Nikanorov
b7d8284271 Implements blueprint quantum-lbaas-plugin-support
Add support for quantum lbaas plugin.
Configure service_plugins and lbaas agent
in case q-lbaas service is enabled in localrc

Change-Id: Iebaa1ed6a7209175504230faf802a94dc841392f
2013-03-06 18:05:23 +04:00
Chmouel Boudjnah
0c3a5584c6 Enable swift by default.
- Set by default SWIFT_REPLICAS to 1 since this is the most common use
  case when using it in devstack.
- If we have swift_replicas to 1 launch the object container account and
  proxy servers in foreground in screen.
- Allow any s- services if we have just 'swift' in service enabled
  instead of having to specify all s- services to enable swift. This will be
  removed in the future.
- Set object server starting at 6013 instead of 6010 to not conflict
  with remote ssh x11 forwarding.

Change-Id: I890b6953b70283bfa0927fff0cf5e92f3c08455b
2013-03-06 13:16:37 +01:00
Ghe Rivero
cc404a481a Fix minor typo in IPMI virt driver
The correct driver to use is:
    nova.virt.baremetal.ipmi.IPMI
instead of:
    nova.virt.baremetal.ipmi.Ipmi

Change-Id: I2bf11a3acb72f7c2ba37f1a03efe09f50dc9d239
2013-03-06 11:50:40 +01:00
Lianhao Lu
239f3246ad Support MultiStrOpt options in configuration file.
Fixed bug #1136964.

1. Added 3 ini functions to support MultiStrOpt:
  Function "iniset_multiline config-file section option value1 value2
value3 ..." sets a MultiStrOpt option in an ini file.

  Function "iniget_multiline config-file section option" gets the
MultiStrOpt option values.

  Function "iniadd config-file section option value1 value2 value3..."
appends an option without relacing the old values, which would result
the option to be MultiStrOpt.

2. Modified the nova configuation to correctly enable notification for
ceilometer.

Change-Id: I1c27db1a6e58b35bc4428e761f40627988f69e37
2013-03-06 09:42:14 +08:00
John Griffith
997c10306e Set debug to True in cinder.conf
Adds a line to lib/cinder to turn on debug logging
by default in Cinder.

Change-Id: I9cc7d78b97eea40fc787ca68721b58fc7a00faf4
2013-03-05 23:03:25 +00:00
Jenkins
f54e9912d8 Merge "Quantum PLUMgrid Plugin Support" 2013-03-05 13:59:53 +00:00
Sean Dague
f3fd44c4be Revert "Enable swift by default."
This reverts commit 5a5cbf7274a6a50bb766ec590cf885430ed5c5d0.

This breaks on a default openstack install on Ubuntu 12.10,
revert for now until this can be cleaned up to work out of the
box.

Change-Id: I185509cc30bd28e920cdab60fc92129949bd6b0d
2013-03-04 17:52:03 -05:00
Devananda van der Veen
2920b7decc Stash baremetal deploy image IDs in a namespace.
Baremetal PXE driver should read deploy_kernel_id & deploy_ramdisk_id
from the 'baremetal:' namespace within instance_type['extra_specs']
so that it doesn't conflict with ComputeCapabilitiesFilter any more.

This allows nova-compute to use ComputeCapabilitiesFilter with baremetal
again. For this filter to properly match the baremetal ndoe's RAM,
we need to tune two other Nova options for physical hardware.

Fixes bug 1129485.

Change-Id: I0aa1b0fef8ac59a06217577af8c747437d2d6bf5
2013-03-04 11:50:10 -08:00
Jenkins
f90b2740f7 Merge "Refactor error logging" 2013-03-04 14:12:10 +00:00
Edgar Magana
057a41bf3b Quantum PLUMgrid Plugin Support
The commit introduces devstack support for the Quantum PLUMgrid Plugin.

Change-Id: Idc4d97a65f9e7669075609aafe7ffc8286f0b94a
Implements: blueprint plumgrid-plugin
2013-03-03 18:53:28 +00:00
Attila Fazekas
7e79d9139f Simplify database_connection_url
* does not expects dynamic scoping.
* does not uses eval.

Change-Id: I5ba4e5b7ffaabbb3c2bddadf9e53a2875de8b7c0
2013-03-03 13:13:36 +01:00
Akihiro MOTOKI
09d6185b3f Set l3_agent_manager for ovs/linuxbridge plugin
related to quantum bug 1139726, L3NATAgentWithStateReport makes
no longer the default, as doing so broke DHCP for other plugins.

Quantum linuxbridge has the agent extension support. This commit also
set dhcp/l3_agent_manager to *AgentWithStateReport in linuxbridge plugin.

Change-Id: I4095f4276499468d02265169cc26bbd8489679bc
2013-03-03 16:56:32 +09:00
Jenkins
48053c791d Merge "ryu: minor updates for Ryu upstream change" 2013-03-02 14:36:51 +00:00
Jenkins
2a3102eef2 Merge "Allow qpid to be selected as AMQP provider on precise" 2013-03-02 14:36:48 +00:00
Jenkins
d30239a626 Merge "Enable swift by default." 2013-03-02 14:33:58 +00:00
Jenkins
8b5f131d92 Merge "Allow DATABASE_TYPE to be specified in localrc" 2013-03-02 03:10:37 +00:00
Bob Ball
3aa8887170 Allow DATABASE_TYPE to be specified in localrc
The use of DATABASE_TYPE without forcing it into ENABLED_SERVICES
seems to be the only way to set up a multi-host devstack installation.

Only deprecate use_database.
Changes functionality of use_database to be equivalent to specifying DATABASE_TYPE
This means that people with localrc's that only specify use_database used to have
a database service brought up, but now will not until they add it to ENABLED_SERVICES.

Change-Id: I4c6e8ee31f298004338ca46bfc330a3e3af288aa
Fixes: bug 1136028
2013-03-01 14:04:13 +00:00
Eoghan Glynn
8c11f5612b Allow qpid to be selected as AMQP provider on precise
Fixes bug 1137667

Previously the auth/sasl config for qpidd was broken, and the
openstack services using RPC were not properly configured.

Now we ensure that:

- the admin qpid_username/password are configured for all services
  (as the qpidd ACL config denies all access to non-admin users)

- the PLAIN sasl mechanism is configured for qpidd (otherwise the
  qpid_password is not propogated)

- the qpidd process has read permission on the sasl DB (otherwise
  thw admin user/apss cannot be verified even if set)

Change-Id: Id6bd675841884451b78f257afe786f494a03c0f7
2013-03-01 12:35:35 +00:00
Sean Dague
4a20f9a175 add quantum_available flag to tempest
this ensures that if we setup quantum, we are explicit about it
in tempest. This is important so that nova tests which require
quantum features have any idea if they should function.

Change-Id: I5e6be9ff325676f25b2c391430dd66ff64a7a833
2013-03-01 07:23:38 -05:00
Nachi Ueno
07115eb5c0 Refactor error logging
It is hard to grep errors in current log. so in this patch,
I'm updating die function which also writes log for
screen_log_dir/error.log.
In future, we may categolize negative fault by using
this error.log.

Change-Id: I70a8cfe67ed408284f5c88c762c6bb8acb8ecdb2
2013-02-28 11:54:24 -08:00
Jenkins
c9bda20963 Merge "Ensure that openvswitch is installed for Fedora" 2013-02-28 17:08:48 +00:00
Isaku Yamahata
2cef6fbd44 ryu: minor updates for Ryu upstream change
Since Ryu upstream changed configuration format, which is user visible.
Plus minor updates.

Fixes bug #1132992
Change-Id: I531360f3e0470916144d2c409066f1a8c75ec26f
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2013-02-28 14:50:03 +09:00
Jenkins
38ddbe6d25 Merge "Add cinder multi backend support to devstack" 2013-02-28 05:44:59 +00:00
Gary Kotton
5452b18d23 Ensure that openvswitch is installed for Fedora
Fixes bug 1053537

Change-Id: I901aa5adf34f69f2bc0eee18dc426615240f273e
2013-02-26 15:33:57 +00:00
Jérôme Gallard
dda2b7afc7 Add cinder multi backend support to devstack
* add CINDER_MULTI_LVM_BACKEND parameter
* if CINDER_MULTI_LVM_BACKEND = True, creates 2 LVM volumes
    - Name : stack-volumes and stack-volumes2
    - Size : 5GB for each of them

Change-Id: I6e03b96e6b2aed0f0c166472300139fba9eaa68b
2013-02-26 09:44:34 +01:00
Akihiro MOTOKI
3c6e9a5ac2 Set state_path to quantum.conf
This change is required to make quantum security groups support of
OVS/LinuxBridge plugins work.

Previously state_path was configured in each agent config files in
Quantum, but it is moved to quantum.conf. This change follows it.

Change-Id: I290dc98878661375cf8a31a53d857433de0e5462
2013-02-26 14:56:19 +09:00
Dan Wendlandt
555ecd07b0 Devstack support for nicira plugin
Bug 1116847

Includes slight refactoring of L3 logic in main lib/quantum as previous
logic treated l3-agent as only way to do L3, whereas NVP has its own L3
support.

Change-Id: Ifd8c6864add5939432b544285cf027e52329dea2
2013-02-25 23:33:25 +01:00
Aaron Rosen
0ae742c3b9 Fix hard coded quantum url and port
Fixes bug 1131384

Change-Id: I88804808e9b2c2d181a3c74af82bd3fad05f63cc
2013-02-23 14:32:31 -08:00
Jenkins
64e5a01622 Merge "Support qpid as message provider for ceilometer" 2013-02-23 19:25:34 +00:00
Eoghan Glynn
d36268af07 Support qpid as message provider for ceilometer
Previously, the RPC backend was hardcoded to the appropriate
dirver for rabbitMQ only.

Now we allow qpid to be used as an alternative.

Note that ZeroMQ is not tested or supported as yet.

Change-Id: If9a69a4c52f046fc6e3530b47542d55438787cea
2013-02-22 22:02:31 +00:00
Brad Topol
f41024e4b0 Fixes Bug1130377 devstack ldap set values in keystone.conf
Addressed reviewers comments and added some extra properties
needed by latest version of keystone.
This fix sets some needed values in keystone.conf to ensure
that keystone can add entries to LDAP and remain schema
compliant.  It creates a new special role (_member_) that
is needed by the latest version of keystone and also
fixes tenant_id to be tenantId.

Change-Id: Ia2a1ebb7cbedb0af106c74aa9181843cc9739f5d
2013-02-22 14:41:54 -06:00
Jenkins
2299ebfc38 Merge "set dhcp_agent_manager for ovs plugin" 2013-02-22 18:04:51 +00:00
Chmouel Boudjnah
5a5cbf7274 Enable swift by default.
- Set by default SWIFT_REPLICAS to 1 since this is the most common use
  case when using it in devstack.
- If we have swift_replicas to 1 launch the object container account and
  proxy servers in foreground in screen.
- Allow any s- services if we have just 'swift' in service enabled
  instead of having to specify all s- services to enable swift. This will be
  removed in the future.

Change-Id: I496f79e14f99bd7e9f2c7deee12a4b6e935c3a5b
2013-02-22 18:50:08 +01:00
Stephen Mulcahy
67068ef415 Added cinder-backup service (not enabled by default)
cinder-backup service has been added to cinder. This fix adds the
cinder-backup service. To enable this service, c-bak must be added
to ENABLED_SERVICES in the users localrc. To actually perform a
backup the user must enable swift or another service.

Change-Id: If4ef8d78081be572987e7c38c76ff57e82b4f744
2013-02-22 15:45:56 +00:00