91 Commits

Author SHA1 Message Date
Jenkins
47e7a14319 Merge "Remove external attribute from the Provider Network" 2014-06-19 22:06:41 +00:00
Gary Kotton
13d385e402 Neutron: start to use nova's neutron configuration section
Commit 5cacad3508570ce70b1f9ef620e0508169687fda added support
of a neutron section. This updates the code to make use of
that section.

Change-Id: I86119476fde5066182d3aadcee5985019202647a
2014-06-17 23:26:44 -07:00
Sean M. Collins
21e6c62c15 Remove external attribute from the Provider Network
Co-Authored-By: Sridhar Gaddam <sridhar.gaddam@enovance.com>

Related-Bug: #1284718
Change-Id: Iad2f051a2b7b0a324dff4e716b8d2469a4f20895
2014-06-16 11:24:04 -04:00
Jamie Lennox
3561d7f9ed Use identity_uri instead of auth fragments
auth_token middleware now accepts a standard URL string as the parameter
identity_uri instead of specifying protocol etc individually. Change the
services over to use this.

Also changes over some other places in which the auth fragments are used
individually to the new variables and fixes up some misconfigurations of
auth_token.

identity_uri option was release in keystoneclient 0.8.0

Change-Id: Iac13bc3d08c524a6a0f39cdfbc1009e2f5c45c2a
2014-06-16 15:16:48 +10:00
Jenkins
14916d4c54 Merge "Create an IPv6 network that uses an external router for IPv6" 2014-05-30 18:16:36 +00:00
Jenkins
ced4ba63cd Merge "Add support for creating provider networks" 2014-05-30 03:49:00 +00:00
Sean M. Collins
e13fd6006d Create an IPv6 network that uses an external router for IPv6
Change-Id: Id1498d74db816b3edbb8376ca5acb7cc5792ea5c
2014-05-22 11:47:00 -04:00
Sean M. Collins
5ec6f8f15d Add support for creating provider networks
Implements blueprint neutron-provider-networking

Change-Id: I4bad9483b92875ea5e143b0e11652e01faed35a4
2014-05-22 11:47:00 -04:00
Terry Wilson
f06c4434f5 Fix notify_nova options
This patch fixes various typos that prevent the neutron nova
notification options from working.

Change-Id: Ia3fb1e02008b338e2d08e927346397292be4e398
Closes-Bug: #1321347
2014-05-20 10:56:48 -05:00
Gary Kotton
51c681d605 Add support for deprecated configuration vars in Juno
Just like the beginning of every other release, remove the deprecated
config option aliases that were marked as deprecated in Icehouse.

Nova patch - https://review.openstack.org/#/c/88456/

Change-Id: Idd051c516002030e8e191c7b8d31f1ff408e1c7d
2014-04-26 01:45:27 -07:00
Adam Gandelman
cf1ef23b72 Also pass FWAAS conf to VPN agent if enabled
If q-vpn is enabled, the Neutron neutron-vpn-agent is started
instead of the neutron-l3-agent, but only neutron-l3-agent receives
the fwaas_driver config when q-fwaas is enabled.  This ensures the FW driver
config is passed to either so that a properly configured agent is running
when the FWAAS extensions are enabled.

Closes-bug: #1310858

Change-Id: I237d2831a6b87ae46dfef047d3dc0b85fa6423d3
2014-04-21 17:35:22 -07:00
Jenkins
1593db2422 Merge "Devstack support for Neutron VPNaaS" 2014-04-17 21:09:08 +00:00
Paul Michali
746dceeb68 Devstack support for Neutron VPNaaS
Includes two enhancements to support VPNaaS and allow other
vendor implementation support. Goal is to provide a solution
for VPN .ini files until a more general solution can be defined
to handle all reference and vendor .ini files.

First, the /opt/stack/neutron/etc/vpn_agent.ini file is copied
to /etc/neutron, to allow the selected device drivers for agent
to be specified. Both reference and vendor implementations can
be uncommented in this file, prior to stacking.

Second, to allow vendor VPN implementations to provide an .ini
file to the agent at start-up time, an environment variable is
defined and can be set in the localrc to specify one or more
.ini files. The desire is NOT to include vendor settings in the
global vpn_agent.ini.

Change-Id: Ia8250db660216a5296cb6ba2af1538b8c90d187c
Closes-Bug: 1301552
2014-04-10 11:29:20 +00:00
Mark McClain
5cd250f11e Revert "Devstack support for Neutron VPNaaS"
This reverts commit 8450a92a4d0299fff89717e665ce31d54731d3f0.

Change-Id: I6dd0f44a1a57735de292bc4ed4eaa929dc308297
2014-04-09 16:42:54 -04:00
Jenkins
9ddac47be9 Merge "Devstack support for Neutron VPNaaS" 2014-04-09 17:54:49 +00:00
Dirk Mueller
5ca261aada Fix typo in nova_admin_username
The last parameter is unneeded, the value is always
set to "nova".

Change-Id: I7167d3559e8dfdb51ac8264e274f7ba167c18dfe
2014-04-04 22:48:02 +02:00
Paul Michali
8450a92a4d Devstack support for Neutron VPNaaS
Includes two enhancements to support VPNaaS and allow other
vendor implementation support. Goal is to provide a solution
for VPN .ini files until a more general solution can be defined
to handle all reference and vendor .ini files.

First, the /opt/stack/neutron/etc/vpn_agent.ini file is copied
to /etc/neutron, to allow the selected device drivers for agent
to be specified. Both reference and vendor implementations can
be uncommented in this file, prior to stacking.

Second, to allow vendor VPN implementations to provide an .ini
file to the agent at start-up time, an environment variable is
defined and can be set in the localrc to specify one or more
.ini files. The desire is NOT to include vendor settings in the
global vpn_agent.ini.

Change-Id: I5370ee57bbe326eff505a53055da4fddc0838de4
Closes-Bug: 1301552
2014-04-03 14:26:42 +00:00
Stephen Ma
9b38eb2392 Neutron.conf is not setup unless q-svc is enabled
In a multi-node environment, a node may have the neutron-
openvswitch-agent running but not the neutron API server.
The agent uses neutron.conf as one of the configuration
files. Devstack sets up neutron.conf only when q-svc is
enabled. Neutron.conf also needs to be configured when
q-agt is enabled.

Change-Id: I3d454caff0b49a61ee1a78f68b1bca98e29f21de
Closes-Bug: 1184064
2014-04-02 04:25:05 +00:00
Jakub Libosvar
815782de27 Fix typo in setting neutron to notify nova about port change
Change-Id: I4d1c8076c5943359088e3cd5226adb8fcaa683e7
2014-03-21 16:53:19 +01:00
Aaron Rosen
cea32b1f86 Configuration needed for neutron nova callback
Change-Id: I07cb476f5e87e967cd6fbbfc82881e8a147453b4
2014-03-10 12:14:38 -07:00
Jenkins
9f935cbd4a Merge "devstack (stack.sh) fails when extra config files are specified" 2014-03-04 01:13:06 +00:00
Jenkins
f07a209ce0 Merge "Fix Neutron enabled check" 2014-02-28 07:33:34 +00:00
sukhdev
c03f975150 devstack (stack.sh) fails when extra config files are specified
Latest merge of https://review.openstack.org/#/c/71996/ exposes an issue
in stack.sh which did not surface before.

Please see the details of the issue in the bug description.

Closes bug: 1285884

Change-Id: Ie231c9835497c2a418a61d339dfd5df1aab9e3d7
2014-02-27 14:27:07 -08:00
Dean Troyer
e2907b4838 Fix Neutron enabled check
* Remove the check for neutron enabled on a block of variable settings, there
  is no conflict and serves no purpose.
* Also floating_ips.sh and volume.sh needed to properly source lib/neutron
  for do ping_check() to work properly.

The current error in check-devstack-dsvm-neutron is not related to this fix.

Change-Id: I1c458aaa787ffb98c945aefc3afa80c6861a405f
2014-02-27 15:37:11 -06:00
Ian Wienand
aee18c749b Enforce function declaration format in bash8
Check that function calls look like ^function foo {$ in bash8, and fix
all existing failures of that check.  Add a note to HACKING.rst

Change-Id: Ic19eecb39e0b20273d1bcd551a42fe400d54e938
2014-02-28 07:59:03 +11:00
Steve Martinelli
19685428e3 Change most keystoneclient commands to openstacklient in libs
migrated most keystoneclient commands from the following libs:
 ceilometer
 cinder
 ironic
 keystone
 marconi
 neutron
 nova
 savanna
 swift
 trove

Also need to set and unset openstackclient specific environment
variables from stack.sh

Change-Id: I725f30bc08e1df5a4c5770576c19ad1ddaeb843a
2014-02-14 21:30:57 -06:00
Dean Troyer
e4fa721322 Begin is_service_enabled() cleanup
This converts the special cases in the is_service_enabled() function to call
individual functions declared by the projects.  This allows projects that
are not in the DevStack repo and called via the extras.d plugin to handle
an equivalent service alias.

* Ceilometer
* Cinder
* Glance
* Neutron
* Nova
* Swift

TODO: remove the tests from is_service_enabled() after a transition period

Patch Set 2: Rebased

Change-Id: Ic78be433f93a9dd5f46be548bdbd4c984e0da6e7
2014-02-07 10:06:21 -06:00
Jenkins
e0ed8ea038 Merge "Generate Tempest service list rather than hard-code it" 2014-01-30 14:38:12 +00:00
Dean Troyer
4237f590b7 Generate Tempest service list rather than hard-code it
The list of services that Tempest used to set its 'service_available'
config values was hard-coded. To be plugin-friendly have each
service (project) add its name to the TEMPEST_SERVICES variable
and use that for setting the 'service_avilable' values.

Change-Id: I208efd7fd0798b18ac2e6353ee70b773e84a2683
2014-01-29 17:25:45 -06:00
Jakub Libosvar
1f76328027 Stop all neutron-ns-metadata-proxy with stop_neutron
Process name is actually python therefore neutron-ns-metadata-proxy
pattern didn't match wanted process.

Closes-bug: #1269982
Change-Id: Ib4439b0d32f103253b461841fa903c65763ff280
2014-01-28 23:02:29 +01:00
Jenkins
e9d4079e4e Merge "Remove old DEFAULT.root_helper setting" 2014-01-25 16:45:48 +00:00
Jenkins
83d56a2ab7 Merge "Typo: funstions=>functions" 2014-01-25 09:28:44 +00:00
Jakub Libosvar
cf903938ec Added missing sudo when killing ns-metadata
Closes-bug: #1269982
Change-Id: Ib6b641a8d5c92fb4a8aaed6b5d7b63e66acd6bd9
2014-01-21 12:40:37 +01:00
Jenkins
3f5250fff3 Merge "Fix stop_neutron metadata agent function" 2014-01-19 05:23:37 +00:00
Emilien Macchi
04f6dc24a7 Fix stop_neutron metadata agent function
Currently, stop_neutron fails in Jenkins because it kills itself.
This patch ensure we kill only neutron metadata agent, and not the awk
process in itself.

Change-Id: I25d1d90e002fa9eb3c5bc366cc74cb70a2daa69f
Closes-bug: #1269982
Signed-off-by: Emilien Macchi <emilien.macchi@enovance.com>
2014-01-17 00:17:31 -05:00
Joe Gordon
14daa57d67 Remove old DEFAULT.root_helper setting
root_helper is now under the agent group and not DEFAULT

Change-Id: I11867f7ceff1f3b8b0bc2ef8aa508b6ecee653fc
2014-01-15 21:43:25 +00:00
Joe Gordon
2394605a63 Typo: funstions=>functions
Change-Id: I59caf62b049d09450ce3236648cf1ede2f48e7f5
2014-01-15 21:42:32 +00:00
armando-migliaccio
ef1e08022b Add sanity check framework to verify neutron server/backend integration
Some Neutron plugins require controllers and multiple backend services
to operate correctly. This patch adds the framework for third party
plugins to run sanity checks after Neutron Server has started.

This simple addition may reveal potential configuration pitfalls
much earlier in the dev/test cycle, thus speeding up the build
churn process.

The first plugin that uses this framework is the VMware NSX one.

Closes-bug: #1265671

Change-Id: I17f9c5c8e828316ff03f0eff42ae4ae6c6c58733
2014-01-14 08:14:25 -08:00
Dirk Mueller
25049cd23d Use --tenant-id, not --tenant_id
Change-Id: I0e3d65d5b69ac82cbf7ee6ffc41ead369af8c126
2014-01-09 13:55:28 +01:00
Jenkins
15d2526db9 Merge "Neutron: Define a utility function to add neutron service class" 2014-01-01 13:28:32 +00:00
Isaku Yamahata
9e136b4ade Neutron: Define a utility function to add neutron service class
When enabling neutron service (i.e. enable_service q-xxx), related code
unconditionally adds a necessary plugin class to Q_SERVICE_PLUGIN_CLASSES.
Which may cause duplication in Q_SERVICE_PLUGIN_CLASSES when
Q_SERVICE_PLUGIN_CLASSES is explicitly specified in localrc.
As a result, neutron server fails to start.

This patch introduces a utility function to add service class,
and check duplication.

Closes-Bug: #1261291
Change-Id: Id2880c7647babfccc3e8d9fc60dd93c4b3997ed9
2013-12-19 17:37:35 +09:00
Jenkins
fedaf6f246 Merge "Stop Neutron advanced service external processes" 2013-12-18 00:04:07 +00:00
Jenkins
5fc612bbf2 Merge "Default to /24 prefix for floating IP range with neutron" 2013-12-17 09:08:59 +00:00
Akihiro Motoki
edddb1fddf Stop Neutron advanced service external processes
Some of Neutron advanced services (LBaaS, VPNaaS, ....) creates
external processes and they should be stopped in unstack.
This commit defines neutron_<XaaS>_stop functions for all services
and implements the cleanup logics if necessary.

Also cleanup_neutron removes netns used by LBaaS haproxy.

Change-Id: Ied3a2c374ffcb6b59ecaf1027fb6e6083eded2ae
2013-12-16 17:23:40 +09:00
Salvatore Orlando
90234ac4b0 Default to /24 prefix for floating IP range with neutron
When running Tempest parallel tests with neutron, several long-running
tests might create routers and floating IPs, which will result in
IP allocations over the public network.

Increasing the public network size should ensure tests do not fail
due to IP address shortage; this patch also updates the public network
gateway IP address.

Related-Bug: 1253966

Change-Id: Ie075b3c4d14a07b06c42fd29b09770dd1972aa45
2013-12-15 04:25:20 -08:00
Jenkins
adc9fd18e5 Merge "Make tempest L3 capable plugin aware." 2013-12-09 02:32:39 +00:00
Jenkins
02ef0dbfb0 Merge "add assertions for blind grep" 2013-12-05 00:19:49 +00:00
Jenkins
8c57e28813 Merge "Fix neutron log format with colorization" 2013-12-02 01:12:34 +00:00
Salvatore Orlando
bc7f643bb7 Fix neutron log format with colorization
Closes-Bug: #1254817

Change-Id: I6de17ef15c18e2f8ab246934461a2b7c6ae4f95f
2013-11-27 06:14:45 -08:00
Tomoe Sugihara
afbc631cb8 Make tempest L3 capable plugin aware.
With this patch, the public network config in tempest.conf will be
done for the plugins that support L3.

Change-Id: I820fe300fac45ff92d1281ff0c43ebc137783210
2013-11-27 14:57:00 +09:00