1602 Commits

Author SHA1 Message Date
elajkat
58082a8232 Doc: Refresh NDP proxy doc
Actualize NDP proxy command for merged OSC, and rewrite some sentences.

Change-Id: I92ea4b63984fee1197dcda19d6ecc5608c0f650f
2022-09-08 09:54:28 +00:00
yangjianfeng
d600b3d433 Forbid enable ndp proxy when external netwrok has no IPv6 address scope
In neutron, user can create multiple ports with same IPv6 address if
the network has no IPv6 address scope. This maybe result in some
security issues.

This can be exploited by a malicious tenant via creating a subnet with
a prefix that covers an address that is already in use and take over
(part of) the traffic flowing towards that address. The success of the
attack depends on winning the race of who answers the NDP query first,
but still a 50% chance of capturing traffic seems dangerous. The attack
works not only against other addresses served by NDP proxy, but also
against other hosts that may exist, potentially even the gateway for
the external network.

So, we should use `IPv6 address scope` to ensure the IPv6 address is
unique when we want to use `ndp proxy` feature.

Depends-on: https://review.opendev.org/#/c/855997
Closes-Bug: #1987410
Change-Id: I0fa431a91a7679e409386a357a01c31ec5ad0cfd
2022-09-06 18:45:45 +08:00
Zuul
4b83bf462d Merge "Migration revert plan" 2022-08-31 16:40:35 +00:00
Zuul
7dfe41ab8f Merge "Update NDP proxy documentation" 2022-08-26 20:51:50 +00:00
Dr. Jens Harbott
7587d0dede Update NDP proxy documentation
- Use only the documentation prefix in examples
- Update some formatting and wording
- Add a reference in the OVN gaps document

Signed-off-by: Dr. Jens Harbott <harbott@osism.tech>
Change-Id: I2acf762008ce44b6a792c615c153071e1c10e0b3
2022-08-26 12:09:20 +02:00
Zuul
67aab582dc Merge "Script to remove duplicated port bindings" 2022-08-24 00:54:47 +00:00
Rodolfo Alonso Hernandez
c5b76a8393 Script to remove duplicated port bindings
A new script to remove the duplicated port bindings was added. This
script will list all ``ml2_port_bindings`` records in the database,
finding those ones with the same port ID. Then the script removes
those ones with status=INACTIVE. This script is useful to remove
those leftovers that remain in the database after a failed live
migration.

"dry_run" mode is possible if selected in "[cli_script] dry_run"
boolean config option. The duplicated port bindings are printed in
the shell but not deleted.

Related-Bug: #1979072

Change-Id: I0de5fbb70eb852f82bd311616557985d1ce89bbf
2022-08-18 08:13:56 +00:00
elajkat
e2ccc12489 Doc: New bug tags: pyroute2 and stable
Change-Id: I27b76daa4bbbad09eee6891fbd63692c1977c431
2022-08-18 09:30:53 +02:00
Arnau Verdaguer
7003817b69 Migration revert plan
As a failsave the migration code can create a backup of
the controllers to use in case that the migration fails
and leaves the environment on a unusable state.

The revert plan has two stages:
1- Backup stage: included on the current ovn-migration.yml.
   Can be configured using the env variable CREATE_BACKUP
   (True by default). This stage will run the new ansible
   role, recovery-backup.
   It will store the backup on `/ctl_plane_backup` on the host
   where the BACKUP_MIGRATION_IP belongs to (can be modified by
   modifing the env var).
   In order to restore the controllers, boot them using the iso created
   by ReaR (stored in /ctl_plane_backup) and perform `automatic recover`
2- Revert stage: this stage has its own ansible playbook (revert.yml)
   This playbook will clean the environment from all the OVN ressources
   that could had been created (breaking the data plane connectivity)
   to leave the environment in a stage where an overcloud deploy with
   the OVS templates can be run.

Note: If the user creates new resources after running the backup stage
and then performs the recovery of the controllers, those resources will
be lost.

Change-Id: I7093f6a5f282b06fb2267cf2c88c533c1eae685d
2022-07-29 13:25:01 +02:00
Zuul
1b9e9a6c2c Merge "Update the Ethernet card information" 2022-07-27 17:28:00 +00:00
renliang17
d0d484e41a Update the Ethernet card information
Mellanox series Ethernet card information,
update the address for
https://community.mellanox.com/s/article/HowTo-Configure-SR-IOV-for-ConnectX-4-ConnectX-5-ConnectX-6-with-KVM-Ethernet

Broadcom series Ethernet card information,
update the address for
https://www.broadcom.com/products/ethernet-connectivity/network-adapters

Change-Id: I077c686310638081198acea81e8a26bcbd5cd934
2022-07-19 13:48:12 +08:00
Rodolfo Alonso Hernandez
82d14eee61 QoS minimum bandwidth documentation: OVN backend
Updated documentation about minimum guaranteed bandwidth support
for OVN backend. This mech driver is capable of informing the
Placement API about the bandwidth resources of each chassis and
schedule a port depending on the minimum bandwidth rules applied.

This patch also updates the document pointing to the new
``resource_requeste`` blob passed to Nova with the information of
the requested resources of each port.

Related-Bug: #1578989
Change-Id: I75401fa64e1ccd814aa485a74b38092849ff2a18
2022-07-09 17:50:06 +00:00
Rajesh Tailor
8ab5ee1d17 Fix remaining typos in comments and tests
Change-Id: I872422cffd1f9a2e59b5e18a86695e5cb6edc2cd
2022-07-06 21:20:27 +05:30
Zuul
ac0f247352 Merge "update the nova host aggregates links" 2022-07-06 06:05:07 +00:00
Zuul
3dcf0eefa7 Merge "Fix requirements for doc build" 2022-07-05 09:31:49 +00:00
Dr. Jens Harbott
62568cf307 Fix requirements for doc build
The doc build needs WebTest, which used to be imported as a transitive
requirement via pecan, but the latest release of pecan dropped this
dependency. So make this requirement explicit.

Change-Id: Ib3f3318440c79909090616b9d480b8dbf55e7b81
2022-07-05 10:26:08 +02:00
Zuul
7c2896963f Merge "Implement experimental features framework" 2022-07-04 15:54:25 +00:00
renliang17
210f5297f5 update the nova host aggregates links
https://docs.openstack.org/nova/latest/admin/aggregates.html link failure,
From openstack U version, this link is not in the user directory. Currently, only the latest version has been changed.
You are advised to change all the links

Change-Id: Ic3b5a0ac7d832b162848b363396264ed0bfc4a25
2022-07-04 14:13:30 +08:00
Miguel Lavalle
7f0413c84c Implement experimental features framework
During the Zed PTG it was decided to handle unsupported features in
Neutron as experimental. See section titled "When we say something is
not supported?", day 2 in [1]. The agreement was:

"We keep existing jobs for linuxbridge driver for example, but when the
tests start to fail we skip them and finally we stop the job also.
To make it clear for operators we add warning logs highlighting that the
given feature/driver is experimental, and introduce cfg option to enable
such features explicitly."

This commit implements this agreement, initially with Linuxbridge

Depends-On: https://review.opendev.org/c/openstack/neutron-tempest-plugin/+/845646

[1] https://lists.openstack.org/pipermail/openstack-discuss/2022-April/028164.html

Change-Id: Ib18efa3f472736b58c8967847b1061da0e3897d7
2022-06-30 17:59:49 -05:00
renliang17
1e5d43a2f3 Mellanox_eth.img url expires, remove the mellanox_eth.img node
Mellanox_eth. Img download link failure,
delete the http://www.mellanox.com/repository/solutions/openstack/images/mellanox_eth.img node

Change-Id: I984dad79505b85822ffdd9a088a04b6ed5a14f27
2022-06-29 17:54:34 +08:00
wangkuntian
b1f4890102 Modify the url of OVN tutorial
Original url leads user to a markdown file, I think it's better to
use official html document rather than a markdown file.

Change-Id: Ib3ee4c6bccbb98a6469e2d7e9cde652288bbb163
2022-06-27 06:09:56 +00:00
Zuul
6a7bb5d0fa Merge "[OVN] Document baremetal provisioning with ML2/OVN" 2022-06-22 15:01:06 +00:00
chenwei
3e1223f5ca Change vlan max value in intro-basic-networking.rst
Cloesed bug: #1978389

Change-Id: I23d2ec86bb719c89886c24186745f04c17d8964c
2022-06-13 07:45:04 +08:00
Lucas Alvares Gomes
402a976820 [OVN] Document baremetal provisioning with ML2/OVN
This patch adds documentation for baremetal provisioning with ML2/OVN.

This patch also splits the section about external ports to a different
document so it can be shared between baremetal and SR-IOV as both
features uses the same feature from core OVN.

Change-Id: I48cbd73c3c0fcf0393e31356c081ab1561eecc79
Signed-off-by: Lucas Alvares Gomes <lucasagomes@gmail.com>
2022-06-08 13:39:28 +01:00
Zuul
9026dfd130 Merge "Documentation about transaction contexts" 2022-06-06 22:12:34 +00:00
Zuul
75b95ad1c4 Merge "[OVN] Add baremetal support without Neutron DHCP agent for IPv4" 2022-06-02 13:55:11 +00:00
Slawek Kaplonski
4fe128d7e3 Update ci jobs docs
Patch [1] dropped neutron-tempest-plugin-api job and combined it with
the scenario jobs.
This patch updates documentation accordingly.

[1] https://review.opendev.org/c/openstack/neutron-tempest-plugin/+/836912

Change-Id: I96af21382d04aa8bff63885c891992555e82c0ba
2022-05-27 15:59:25 +02:00
Zuul
aefcaf4944 Merge "Revert "doc: Remove fwaas references from docs"" 2022-05-27 11:20:30 +00:00
Lucas Alvares Gomes
e73a85f3dd [OVN] Add baremetal support without Neutron DHCP agent for IPv4
This patch adds support for deploying baremetal nodes with OVN's
built-in DHCP server for IPv4.

Since Neutron API's for setting DHCP options is mostly a pass-thru,
Ironic uses a dnsmasq syntax for setting the baremetal options [0].
Since this syntax is unlikely to change and it's only a tiny subset of
what dnsmasq can offer this patch does translate that syntax used by
Ironic and convert it to OVN's equivalent options. In this way we do not
need to re-design Neutron's DHCP options API nor change Ironic to use it
with ML2/OVN.

This option also adds a new configuration option called
"disable_ovn_dhcp_for_baremetal_ports". PXE booting nodes can be very
sensitive and operators may prefer to use a fully-fledged DHCP server to
do it (even Ironic makes DHCP pluggable). So if operators wish to
disable OVN's built-in DHCP server for baremetal provisioning they can
do so by setting this new option to True. It defaults to False.

This change has been tested with real hardware and it does work. That
said, we found a problem in core OVN itself [1] while testing it that
can affect PXE from reaching the TFTP server, we already communicated
this with the core OVN folks and we hope it can be fixed soon. The
change in core OVN should not affect the Neutron change tho.

Not that the "server-ip-address" DHCP Option now points to the
"next_server" option in OVN instead of the "tftp_server_address". The
previous behavior was wrong, the "server-ip-address" should set the
"siaddr" in the DHCP header and this has been introduced in OVN [2] as
an option called "next_server".

[0]
49113385e8/ironic/common/pxe_utils.py (L523-L538)
[1]
https://mail.openvswitch.org/pipermail/ovs-discuss/2022-May/051821.html
[2]
https://patchwork.ozlabs.org/project/ovn/patch/20220511142757.168196-1-lmartins@redhat.com/

Partial-Bug: #1971431
Change-Id: Ia041f640293ba26abf9f70af915817e9861e8ffc
Signed-off-by: Lucas Alvares Gomes <lucasagomes@gmail.com>
2022-05-25 10:14:46 +01:00
Zuul
5c6eff7e15 Merge "Update OVN gaps document" 2022-05-18 17:28:17 +00:00
Zuul
7035f2c1f6 Merge "[OVS] Add "Open Flow processing considerations" doc section" 2022-05-18 17:17:20 +00:00
Slawek Kaplonski
76a1206888 Update OVN gaps document
Recently we closed some of the gaps between ML2/OVS and ML2/OVN,
like for example:

* Support for the QoS DSCP,
* Support for the Layer 3 IPs QoS,
* Fix bugs [1] and [2] related to the OVN DNS resolution.

This patch updates documented gaps by removing those points from the
gaps list.
It also adds some links to the WIP patches for other of the gaps on that
list.

[1] https://bugs.launchpad.net/neutron/+bug/1951816
[2] https://bugs.launchpad.net/neutron/+bug/1950686

Change-Id: I0e670ef0a87300182ba83f350a84d28bf8d31eb9
2022-05-18 12:27:16 +02:00
Rodolfo Alonso Hernandez
7c9244ad15 Documentation about transaction contexts
Added new documentation about database transaction contexts, usage
examples and retry decorators.

Change-Id: I88fe0d33803b325a05780ed118fe0407844a42af
2022-05-17 22:56:07 +00:00
Lajos Katona
7c4f273ed9 Revert "doc: Remove fwaas references from docs"
This reverts commit bce27811dfea634118fdb609289ac70c8d4a6854.

Reason for revert: neutron-fwaas has maintainers so the documentation should be available.

Due to changes since the original deletion commit the following changes
were added:
* Add note that OVN is not yet supported
* Remove note that Horizon support is not available

Change-Id: I1a739ee045b49e9b44283c28f95b1accc8a1e37f
2022-05-17 12:01:55 +02:00
Stefan Schmidt
a163832697 doc: BGP dynamic routing guide: replaced deprecated bgp speaker show dragents with new dragent list --bgp-speaker
Change-Id: Ia55757ab6dfb9eca3296b09dd0e5b2afab5811f5
2022-05-10 13:07:49 +02:00
Rodolfo Alonso Hernandez
430c220d05 [OVS] Add "Open Flow processing considerations" doc section
Added "Open Flow processing considerations" in the OVS firewall
driver page. This section describes the [OVS] configuration option
"openflow_processed_per_port". A script to meassure the Open Flow
rule processing time is provided.

Related-Bug: #1934917

Change-Id: Id4936b6d36abb6edc250aaf1cbc7e9af3fd0fae5
2022-05-07 06:22:09 +00:00
elajkat
5126c0adc7 Doc: Add note for IPv6 port update special cases
Change-Id: I85e17719eb4420a6cfd82ee54e60dd23ccfa0e95
Related-Bug: #1719806
2022-05-05 15:16:49 +02:00
Zuul
4f0fc0f74e Merge "doc: update peering network BGP guide" 2022-05-02 16:18:43 +00:00
Zuul
2951d71c5c Merge "[Doc] packet rate limit user workflow and notes" 2022-05-02 11:12:22 +00:00
LIU Yulong
76d0839db8 [Doc] packet rate limit user workflow and notes
Adds some notes and CLI examples for users to use the
packet rate limit to a port.

Change-Id: I7ad81d4a9028d88251c9dcfe07969dd2dd398592
2022-04-29 16:04:57 -05:00
Zuul
75e609f3ed Merge "doc: point to relevant nova config in routed networks guide" 2022-04-29 16:34:14 +00:00
Stefan Schmidt
c13fbf1d23 doc: update peering network BGP guide
The existing example had an implicit overlap between the host network
and some tenant network, use a different network for the host.

Peering network resized to /24 because usually we would have several
network nodes on it instead of creating each their own transfer/peering
network.

Diagrams adjusted accordingly with omnigraffle.
PNGs reexported with 160% size to approximate the previous ones.
Router IPs in Diagrams adjusted to reflect documentation.
Peering Network IPs added to Peering Session Box.

Change-Id: I8778df02330196a8999afd3bbf9a3b87f0e14f7b
2022-04-29 17:56:00 +02:00
Nurmatov Mamatisa
a9b8253db4 Update bug triage documentation
logstash.openstack.org is deprecated
On os discuss was anounced new service - OpenSearch [1]

1)
http://lists.openstack.org/pipermail/openstack-discuss/2022-April/028346.html

Change-Id: Id0ca10e959f47c857e673ec621a18e56835e3440
2022-04-29 10:37:26 +03:00
Andrew Bonney
9b4dec3a16 doc: point to relevant nova config in routed networks guide
While the focus of the routed provider networks documentation
is on the Neutron side of things, this document provides a useful
location to point at relevant Nova configuration.

This reference relates to the Nova scheduler and ensuring that
instance move operations don't result in instances being scheduled
to hosts which do not have access to the required network(s).

Change-Id: Idd7382bd38d70383107d2997205ff880bede8d96
2022-04-27 10:39:39 +01:00
Zuul
720a1c3de9 Merge "ovn migration: Turn validations off by default" 2022-04-25 12:54:39 +00:00
Miguel Lavalle
64bc2c214e Make the recheck policy more prominently visible
It has been suggested in the Neutron CI meeting to include a section in
the documentation advicing against blind rechecks. It turns out that
such section already exists. What this change does is to move the
section to the first level of the contributors guide, to make it more
visible. This change also improves some wording and adds some examples
of proper recheck comments.

Change-Id: Ib0a00d13a28f98b0a0f26c7233365d04453db4e0
2022-04-22 17:13:41 -05:00
Zuul
6679115a7e Merge "Doc: Add warning for not supported Prefix Delegation" 2022-04-21 10:53:40 +00:00
Zuul
1a111b5e04 Merge "Remove "allow_overlapping_ips" config option" 2022-04-19 11:54:07 +00:00
Slawek Kaplonski
fde91e8059 Remove "allow_overlapping_ips" config option
It was deprecated in Yoga by patch [1]. Now it's time to remove it.

[1] https://review.opendev.org/c/openstack/neutron/+/807848

Closes-Bug: #1942294
Change-Id: I95555395c8adcec70459d5f438e1080da358c4d4
2022-04-12 16:29:21 +02:00
yangjianfeng
ad3171c538 [docs] L3 router support ndp proxy
Change-Id: I2b8642b6830d3e1e1ef86c779c55e9ac1d0f7568
Partial-Bug: #1877301
2022-04-09 10:26:30 +08:00