94 Commits

Author SHA1 Message Date
Dave Chen
9bc7708c80 Update the enabled service on compute nodes
Change the service from 'n-network' to 'q-agt' since
Nova network is not supported by default.

Change-Id: I085aac75d4c1b721498afa568c8ecfd5abc7b20c
2017-03-10 05:34:21 +08:00
Vincent Untz
09698d0e0e Fix typo in commands to enable nested KVM with kvm-amd
Change-Id: Ie3c6df2409385d9c6bbc50b3b1f8b20689478466
2017-01-06 11:25:46 +01:00
Jenkins
e8c9e72389 Merge "lib/lvm: don't use $VOLUME_GROUP variable anymore" 2016-11-28 19:30:45 +00:00
Jenkins
6771207a70 Merge "Improve Live Migration section in multinode-lab.rst" 2016-11-22 08:38:46 +00:00
Hidekazu Nakamura
541617b15e Improve Live Migration section in multinode-lab.rst
Added root user login check to ensure SSH keys exchanged.


Change-Id: I8513bc883ac273af8dcc2f61562a838d33b45a82
2016-11-21 15:42:14 +00:00
Jordan Pittier
f5069f35a1 lib/lvm: don't use $VOLUME_GROUP variable anymore
We should be using $VOLUME_GROUP_NAME instead since Icehouse.
$VOLUME_GROUP_NAME has been introduced in
I93b8ef32832269d730c76a6dc24ddb4f20c6d9df and $VOLUME_GROUP is nowadays
only use as a fallback to $VOLUME_GROUP_NAME.

As a code comment in lib/lvm says it we kept the $VOLUME_GROUP around as
"for compatibility with icehouse-generation Grenade". Icehouse is long
gone so now seems a good time to remove any usage of $VOLUME_GROUP.

Change-Id: Id3051b5a196c45266c39fde4f08401aaacf0f6bd
2016-11-17 17:05:49 +00:00
Kevin Benton
4bfbc291ee Derive IP ranges from new ADDRS_SAFE_TO_USE vars
The switch to using subnetpools caused quite a bit of confusion
because it didn't respect the value of FIXED_RANGE. This caused
conflicts in the gate with it's default IPv4 value of 10.0.0.0/8.

This patch does a few things to address the issue:
* It introduces the IPV4_ADDRS_SAFE_TO_USE and IPV6_ADDRS_SAFE_TO_USE
  values and adjusts all of the FIXED_RANGE and SUBNETPOOL_PREFIX values
  to dervive from them by default.
  * This addresses the concern that was raised about implying that
    SUBNETPOOL_PREFIX and FIXED_RANGE are equivalent when setting
    SUBNETPOOL_PREFIX=FIXED_RANGE by default. Now we have a new value
    for the operator specify a chunk of addresses that are safe to
    use for private networks without implementation implications.
  * Backwards compatibility is maintained by alloing users to override
    override all of these values.
* The default for IPV4_ADDRS_SAFE_TO_USE uses /22 instead of /24
  * Because we want to be able to use subnetpools for auto allocated
    topologies and we want to be able to have a large chunk of
    instances on each network, we needed a little more breathing room
    in the default v4 network size.
* SUBNET_POOL_SIZE_V4 default is changed from 24 to 26
  * In conjuction with this change and the one above, the default
    subnetpool will support up to 16 64-address allocations.
  * This should be enough to cover any regular gate scenarios.
  * If someone wants a bigger/smaller subnet, they can ask for that
    in the API request, change this value themselves, or use a different
    network entirely.
* FIXED_RANGE_V6 defaults to a max prefix of /64 from IPV6_ADDRS_SAFE_TO_USE
  * This avoids the private subnet in the non-subnetpool case from being
    larger than /64 to avoid issues identified in rfc 7421.
  * Users can still explicitly set this value to whatever they want.
    This 'max' behavior is only for the default.
  * This allows IPV6_ADDRS_SAFE_TO_USE to default to a /56, which leaves
    tons of room for v6 subnetpools.

Closes-Bug: #1629133
Change-Id: I7b32804d47bec743c0b13e434e6a7958728896ea
2016-11-16 05:26:03 +00:00
Armando Migliaccio
4f11ff30cf Adopt openstack client for neutron commands
The neutron client is going to be deprecated during the
Ocata timeframe, so it is time to start switching to the
openstack client to invoke networking commands.

use of neutron client in neutron-legacy has been left as is.

The command for setting the router gateway is left as follow up.

Change-Id: I0a63e03d7d4a08ad6c27f2729fc298322baab397
2016-11-03 10:37:58 -07:00
Jenkins
fab7a04de8 Merge "Neutron L3 subnetpool creation should be optional" 2016-10-11 19:45:27 +00:00
Mike Perez
c271b3ea1f Update OpenStackClient role list commands
This command is deprecated. The new command is role assignment list.

Change-Id: I8dba0be21d5af6751bea13d8ff29cd4b7589ab3e
2016-10-03 16:50:27 -07:00
rajinir
c58a15575d Neutron L3 subnetpool creation should be optional
Added an option to make subnetpools to be optional
as it ignores the public network specified in
FIXED_RANGE.

DocImpact
Change-Id: Ic89ceca76afda67da5545111972c3348011f294f
Closes-Bug: #1628267
2016-09-30 11:46:38 -05:00
Hironori Shiina
aa7ec81fd7 Fix typo in documentation
This patch just removes a duplicate 'the'.

Change-Id: I3393a51d55ba8ec1639c2548781f8972f0d5c9d0
2016-09-28 20:21:57 +09:00
Jan Stodt
7eb672d1a9 Update doc to reflect neutron became devstack default
Removing the explicit enablment of Neutron services, as with [1] they are configured as defaults in stackrc.

[1] https://review.openstack.org/#/c/350750/

Change-Id: Ic8910cd28fe37842f7d824e68bd2ea705e7e52de
2016-08-24 16:10:47 +02:00
Jenkins
b43352e4dc Merge "Docs for devstack MacVTap agent setup" 2016-06-15 08:58:13 +00:00
Andreas Scheuring
28128e2f7a Docs for devstack MacVTap agent setup
MacVTap mechanism driver and agent have been added during
Mitaka [1][2]. Now adding the related doc to run a
multinode devstack with MacVTap compute nodes.

[1] https://review.openstack.org/209538
[2] https://review.openstack.org/275306

Depends-On: I0dd4c0d34d5f1c35b397e5e392ce107fb984b0ba
Change-Id: Ie743a207a5faeab2e2a7274fda503699f3072e98
2016-06-15 08:31:42 +02:00
bhargavaregalla
69d3b79e03 Wrong container name in devstack "All-In-One Single LXC Container" manual.
Wrong container name in devstack "All-In-One Single LXC Container" manual.

Link: http://docs.openstack.org/developer/devstack/guides/lxc.html

After creating "devstack" container with below command
sudo lxc-create -n devstack -t ubuntu -f devstack-lxc.conf -- --packages=bsdmainutils,git

The name should be 'devstack' instead of 'p2' in the below command
ssh ubuntu@$(sudo lxc-info -n p2 | awk '/IP/ { print $2 }')).

Change-Id: I7a84b97b03b2dd4338f1d946b7eafb8ec6e3767d
Closes-bug: #1582248
2016-05-17 09:34:26 +01:00
vsaienko
d894221457 Replace Q_L3_ENABLED by is_service_enabled q-l3
This patch replaces Q_L3_ENABLED with is_service_enabled q-l3.
Both of them idicates wherever Neutron L3 agent is enabled or not.

Change-Id: I33f0f5a6174d1d170bc2ac1c2e3a096d88d17cc1
2016-05-13 16:04:30 -04:00
Sean Dague
db48db1cf0 update docs to reference project not tenant
Change-Id: Iad66e14fa33609ea6d2a115469e054762051b964
2016-04-06 08:09:31 -04:00
Jenkins
5df5bd602b Merge "Neutron: MTU settings are now sane, so remove from DevStack" 2016-04-01 01:23:04 +00:00
Sean M. Collins
087ed52cb5 Neutron: MTU settings are now sane, so remove from DevStack
Neutron had a lot of work done during the Mitaka cycle to fix MTU
issues, so let's see if Neutron can stand on its own.

This commit reverts 06cfce37560243d22cd05b2c620be6702528a0b1

Neutron patches:
I6ffc8973c9b8f46cc19922ff04fdd2d23646b878
I4096a3e7704032fa4aa5c3aa8bcaec4e38d0d06d
I6a10c4dfc1f2198667f3d02528e2ca8020cb5bb8
Ic091fa78dfd133179c71cbc847bf955a06cb248a
Idf6221fee2c7da86123b330ad3c235ecc6868242
I6859ebdde1f7e3a8163b49d705620e522ada606a

Change-Id: Ie88c7ebb29adadde530217c95e2f38aacb119dc8
2016-03-31 18:28:20 +00:00
Jenkins
a1f3be8036 Merge "Tip for single interface runs that are started remotely" 2016-03-30 23:39:50 +00:00
Balagopal
7ed812c6cd Change "secrete" to "secret"
Apparently this is intentional as a joke on devstack leaking
passwords, but the dual meaning of the word confuses people.  Let's
change it before we get yet another review fixing it.

Change-Id: I3bee03612f6ea197362aab04a37f81043f77f235
2016-03-17 14:53:03 +11:00
Sean M. Collins
54d16f706a Revert "Automate OVS bridge creation for multiple mappings"
After reviewing I5b1d49be8d9e3e331826e30182fba70f099b5e7f and
I161a157895b4ed0c9ea5a7a00302e30f4ad75ed3 - I have come to the
determination that this really should be in a DevStack plugin.

If both of the patches under review were to merge, we would be blessed
with at least the following variables:

OVS_NICS_FROM_BRIDGES
OVS_NIC_MAPPINGS
OVS_BRIDGE_MAPPINGS
OVS_PHYSICAL_BRIDGE
PHYSICAL_NETWORK
PUBLIC_PHYSICAL_NETWORK

Which really is not good. Let's just push this into a plugin, I don't
want to deal with it.

This reverts commit 3095ff51320291b3622cacc3bf2fb1043bff8d31.

Change-Id: I746022f5db93d3333101a014692fbdcd790a0004
2016-03-15 15:24:53 -04:00
Sean M. Collins
6b1f49910e Tip for single interface runs that are started remotely
Change-Id: I6e2870b5c409dd81a34cd9934f540d9558642f91
2016-03-10 13:19:05 -05:00
Sean M. Collins
f0e5d23043 Neutron guide: Add missing newline for code block
Change-Id: I4eb5ec05d9db525158d47c7b16bef04fb3965f1a
2016-03-09 13:02:25 -05:00
Jenkins
886410eade Merge "Add guide on running devstack in lxc container" 2016-02-17 15:10:00 +00:00
Cody A.W. Somerville
baa35d06e1 Add guide on running devstack in lxc container
Running OpenStack in a container can be a useful workflow for developers.
The primary benefits are faster performance and lower memory overhead
while still providing a suitable level of isolation.

The guide walks the user through procedure for configuring an LXC container
and deploying OpenStack in it using devstack. It also discusses the limitations
of this setup - particularly related to cinder.

Change-Id: I2e0921fd118cfe98cef86ba110a94b3edccf9a29
2016-02-11 01:37:21 -05:00
Jenkins
b7f7f33c22 Merge "Automate OVS bridge creation for multiple mappings" 2016-02-11 00:55:16 +00:00
Igor Duarte Cardoso
3095ff5132 Automate OVS bridge creation for multiple mappings
Allows the definition of the global variable OVS_BRIDGE_MAPPINGS (e.g.
in local.conf) to automatically trigger the creation of multiple OVS
bridges. For example:

OVS_BRIDGE_MAPPINGS=physnet1:br-br-enp0s20f1,physnet2:br-enp0s20f2

should automatically yield the creation of two bridges, respectively
associated to the two physical networks declared,
by simply running DevStack with the OVS agent enabled.

Documentation has also been added to doc/source/guides/neutron.rst.

Change-Id: I79dc0213c9d70ba628621c4c0f65481783590085
Closes-Bug: #1535835
2016-02-02 18:54:08 +00:00
Sean M. Collins
f81ae88c55 docs: Neutron - add required newline for code formatting
Otherwise it doesn't render it as the correct HTML tag.

Change-Id: Ibc5c846824c7248c64473512e9dcfe5dd4205924
2016-02-01 14:00:20 -05:00
Jenkins
3c92590101 Merge "Add notes on live migration configuration" 2016-01-28 00:22:19 +00:00
Jenkins
06cf524655 Merge "docs: Linux Bridge configuration for Neutron" 2016-01-28 00:22:10 +00:00
Sean M. Collins
2977b30013 docs: Linux Bridge configuration for Neutron
Add a section for single interface networking with Linux Bridge.
Change-Id: I595bc539297bf02182db5a33eeb44360e9eef9a3
2016-01-27 21:43:33 +00:00
Zhenzan Zhou
e1f87963b1 Add notes on live migration configuration
Live migration will not currently work with a multi-node DevStack
environment due to the libvirtd process running as root and the compute
process trying to use the stack user's SSH keys with the default live
migration URI.

The multi-node documentation is updated to outline how to configure the
SSH keys between the source and destination stack and root users so that
live migration will work as expected.

Co-Authored-By: Taylor Peoples <tpeoples@us.ibm.com>
Change-Id: Ifed7e95cd5ba43a05a4099a3664cbefde3e0a749
Closes-Bug: #1487262
2016-01-27 15:25:19 +01:00
Mike Spreitzer
4baa4ce2b3 Document using Q_ML2_PLUGIN_PATH_MTU
I tested it, and it works!

Change-Id: Ic345ededc37b2e0b7b5dbeb397aa55540d5c3bd8
Related-Bug: #1527675
2016-01-26 21:11:47 -05:00
Jenkins
a34ebd103d Merge "remove SERVICE_TOKEN from the docs" 2016-01-16 12:29:45 +00:00
Davanum Srinivas
4a974e61c8 Remove Nova object store service
As of I8bf7cbaa7015bb61656ab90ccc8f944aaeebb095, Nova
removed the n-obj service, so we should cleanup

Change-Id: I7db3796a6448decb4ac5e66d980f487c7d1f394e
2016-01-12 08:20:57 -05:00
Steve Martinelli
3567d6103a remove SERVICE_TOKEN from the docs
there are a few lingering instances of SERVICE_TOKEN in the docs
and some of the scripts in tools.

Change-Id: I9d2147eea6639db1f4ea15a259c147eecfc339ff
2016-01-10 01:29:39 +00:00
Jenkins
eff89ca89c Merge "docs: Add additional configuration in Neutron guide" 2015-12-27 00:40:13 +00:00
syed ahsan shamim zaidi
512be7de18 docs: Add additional configuration in Neutron guide
Adding NETWORK_GATEWAY to the docs

Change-Id: I67be468d9fbe5f323e21c81b673248d4b629c8ef
Closes-Bug:#1508195
2015-12-21 16:25:58 +00:00
John Kasperski
bdc0fa8ab1 Neutron: Clean up documentation typo
Remove duplicate SERVICE_HOST and MYSQL_HOST settings in the
examples.

Change-Id: I0e102b671f03ccb183d30ec6a762d00ebcf1e4b5
2015-11-23 12:05:44 -06:00
Jenkins
51c5498eab Merge "doc: Update LBaaS v2 setup for Liberty" 2015-11-18 01:12:57 +00:00
Jenkins
d36c1f3187 Merge "Cleanup ReST format issues" 2015-11-16 04:48:05 +00:00
Richard Theis
7e55068297 doc: Update LBaaS v2 setup for Liberty
- Updated LBaaS v2 setup to use Octavia.
- Removed the old cirros image URL, the default should be sufficient.
- Fixed nova boot commands based on Liberty DevStack.
- Added sleeps to LBaaS v2 commands since most commands
  can take a few seconds to complete.
- Added wait to load balancer creation since it can take
  a few minutes to complete.
- Wrapped long lines in the descriptions.

Change-Id: Ib4a3f02ebc2606e3e16591ae3a23676cb0a6cd64
2015-11-10 16:37:32 -06:00
Sean M. Collins
1650166c25 docs: Add more networking details to single interface section
Add complete localrcs, and also add a section for additional compute
nodes, to help demonstrate the OVS layout and how traffic flows over
VXLAN tunnels from compute nodes, to the L3 node, and out onto the
wire.

Closes-Bug: #1506733

Change-Id: Ibb5fd454bdcb8c13400c1e11f640c2aafc0f73ca
2015-11-10 15:09:35 -05:00
Markus Zoeller
c30657d7de Cleanup ReST format issues
* ReST doesn't allow monospace in italic sections.
      bash$ grep -R \`\` doc/build/html/ --include "*.html"
* The code-block section "::" needed an empty line before the code,
  otherwise it gets shown in the HTML output.
      bash$ egrep -R "<dt>::" doc/build/html/ --include "*.html"
* Monospaced font incorrectly marked with a single back tick
      bash$ egrep -nR '\w`(\s|[\.,;:])' doc/source/ --include "*.rst"

Change-Id: I66c3f685f33851c3f3f0f859996037fc24930246
2015-11-02 11:27:46 +01:00
Sean M. Collins
887f182fa1 docs: merge multiple interface sections with provider network section
In this guide, multiple interfaces in DevStack is only used when doing
provider networking, so let's go ahead and just put the information
inside the provider network section. That way it won't be confusing.

Change-Id: I66f58ffb936230e72ac4cf8c04668e25dac5b17a
2015-10-12 16:57:13 +00:00
Jenkins
0914d04343 Merge "docs: Move tip about Extension Drivers into misc section" 2015-10-12 03:04:02 +00:00
Sean M. Collins
611cab4b48 docs: Add IPs to provider net node configurations
Also remove variable definitions from compute node localrc that is only
applicable on the control node.

Change-Id: I37b00611ff08d8973f21af7db340d287b1deb4af
2015-10-09 16:17:18 -04:00
Sean M. Collins
4696db94a9 docs: Add network diagram for provider net section
Change-Id: Id39aaab5a7eadfa3fc09ba3d30c48b452d685904
2015-10-09 16:38:48 +00:00