-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Kuryr: Add information about amphora to ovn-octavia upgrades #22878
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 7 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
afa2c60
Kuryr: Add information about amphora to ovn-octavia upgrades
luis5tb 1a07f9e
Merge branch 'master' into octavia-upgrades
luis5tb 34e8a3d
Editing pass
maxwelldb a77739f
Changes from dev comments
maxwelldb 2a5d089
Dev feedback tweak
maxwelldb fef0d7c
Some rewording, then moving content to Networking
maxwelldb a4af1a0
Reshuffling and relabeling
maxwelldb c582b35
Addressing peer review feedback
maxwelldb File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,99 @@ | ||
| // Module included in the following assemblies: | ||
| // | ||
| // * networking/openstack/load-balancing-openstack.adoc | ||
|
|
||
| [id="installation-osp-kuryr-octavia-configure_{context}"] | ||
| = Using the Octavia OVN load balancer provider driver with Kuryr SDN | ||
|
|
||
| If your {product-title} cluster uses Kuryr and was installed on a {rh-openstack-first} 13 cloud | ||
| that was later upgraded to {rh-openstack} 16, you can configure it to use the Octavia OVN provider driver. | ||
|
|
||
| [CAUTION] | ||
|
maxwelldb marked this conversation as resolved.
Outdated
|
||
| ==== | ||
| Kuryr replaces existing load balancers after you change provider drivers. This process | ||
| results in some downtime. | ||
| ==== | ||
|
|
||
| .Prerequisites | ||
|
|
||
| * Install the {rh-openstack} CLI, `openstack`. | ||
|
|
||
| * Install the {product-title} CLI, `oc`. | ||
|
|
||
| * Verify that the Octavia OVN driver on {rh-openstack} is enabled. | ||
| + | ||
| [TIP] | ||
|
maxwelldb marked this conversation as resolved.
|
||
| ==== | ||
| To view a list of available Octavia drivers, on a command line, enter link:https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/16.0/html/command_line_interface_reference/loadbalancer#loadbalancer_provider_list[`openstack loadbalancer provider list`]. | ||
|
maxwelldb marked this conversation as resolved.
Outdated
|
||
|
|
||
| You should see the `ovn` driver in the command's output. | ||
|
maxwelldb marked this conversation as resolved.
Outdated
|
||
| ==== | ||
|
|
||
| .Procedure | ||
|
|
||
| To change from the Octavia Amphora provider driver to Octavia OVN: | ||
|
|
||
| . Open the `kuryr-config` ConfigMap. On a command line, enter: | ||
| + | ||
| ---- | ||
| $ oc -n openshift-kuryr edit cm kuryr-config | ||
| ---- | ||
|
|
||
| . In the ConfigMap, delete the line that contains `kuryr-octavia-provider: default`. For example: | ||
| + | ||
| ---- | ||
| ... | ||
| kind: ConfigMap | ||
| metadata: | ||
| annotations: | ||
| networkoperator.openshift.io/kuryr-octavia-provider: default <1> | ||
| ... | ||
| ---- | ||
| <1> Delete this line. The cluster will regenerate it with `ovn` as the value. | ||
| + | ||
| Wait for the Cluster Network Operator detects the modification and redeploys the `kuryr-controller` and `kuryr-cni` pods. This process may take several minutes. | ||
|
maxwelldb marked this conversation as resolved.
Outdated
|
||
|
|
||
| . Verify that the `kuryr-config` ConfigMap annotation is present with `ovn` as its value. On a command line, enter: | ||
| + | ||
| ---- | ||
| $ oc -n openshift-kuryr edit cm kuryr-config | ||
| ---- | ||
| + | ||
| The `ovn` provider value should be present in the output: | ||
|
maxwelldb marked this conversation as resolved.
Outdated
|
||
| + | ||
| ---- | ||
| ... | ||
| kind: ConfigMap | ||
| metadata: | ||
| annotations: | ||
| networkoperator.openshift.io/kuryr-octavia-provider: ovn | ||
| ... | ||
| ---- | ||
|
|
||
| . Verify that {rh-openstack} recreated its load balancers. | ||
|
|
||
| .. On a command line, type: | ||
|
maxwelldb marked this conversation as resolved.
Outdated
|
||
| + | ||
| ---- | ||
| $ openstack loadbalancer list | grep amphora | ||
| ---- | ||
| + | ||
| You should see a single Amphora load balancer. For example: | ||
|
maxwelldb marked this conversation as resolved.
Outdated
|
||
| + | ||
| ---- | ||
| a4db683b-2b7b-4988-a582-c39daaad7981 | ostest-7mbj6-kuryr-api-loadbalancer | 84c99c906edd475ba19478a9a6690efd | 172.30.0.1 | ACTIVE | amphora | ||
| ---- | ||
|
|
||
| .. Then, type: | ||
|
maxwelldb marked this conversation as resolved.
Outdated
|
||
| + | ||
| ---- | ||
| $ openstack loadbalancer list | grep ovn | ||
| ---- | ||
| + | ||
| The remaining load balancers should be the `ovn` type. For example: | ||
|
maxwelldb marked this conversation as resolved.
Outdated
|
||
| + | ||
| ---- | ||
| 2dffe783-98ae-4048-98d0-32aa684664cc | openshift-apiserver-operator/metrics | 84c99c906edd475ba19478a9a6690efd | 172.30.167.119 | ACTIVE | ovn | ||
| 0b1b2193-251f-4243-af39-2f99b29d18c5 | openshift-etcd/etcd | 84c99c906edd475ba19478a9a6690efd | 172.30.143.226 | ACTIVE | ovn | ||
| f05b07fc-01b7-4673-bd4d-adaa4391458e | openshift-dns-operator/metrics | 84c99c906edd475ba19478a9a6690efd | 172.30.152.27 | ACTIVE | ovn | ||
| ---- | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| [id="load-balancing-openstack"] | ||
| = Load balancing on {rh-openstack} | ||
| include::modules/common-attributes.adoc[] | ||
| :context: load-balancing-openstack | ||
|
|
||
| toc::[] | ||
|
|
||
| include::modules/installation-osp-kuryr-octavia-upgrade.adoc[leveloffset=+1] |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.