Skip to content
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

Octavia data plane adoption #703

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs_user/assemblies/assembly_adopting-the-data-plane.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,7 @@ include::../modules/proc_performing-a-fast-forward-upgrade-on-compute-services.a

include::../modules/proc_adopting-networker-services-to-the-data-plane.adoc[leveloffset=+1]

include::../modules/proc_adopting-octavia-amphorae.adoc[leveloffset=+1]

ifdef::parent-context[:context: {parent-context}]
ifndef::parent-context[:!context:]
37 changes: 37 additions & 0 deletions docs_user/modules/proc_adopting-octavia-amphorae.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
[id="adopting-octavia-amphorae_{context}"]

= {loadbalancer_service} data plane adoption
At this point all services on the new control plane should be running except
the {loadbalancer_service} services

== Clean up old neutron ports
This deletes the old management port.

[source,bash]
----
HM_PORTID="$(openstack port list --device-owner Octavia:health-mgr -f value -c ID)"
openstack port delete "$HM_PORTID"
----

== Enabling the {loadbalancer_service} in OpenShift
Run the following command in order to enable the {loadbalancer_service} CR
and to finish the adoption process for {loadbalancer_service}.

[source,bash]
----
oc patch openstackcontrolplane openstack --type=merge --patch '
spec:
octavia:
enabled: true
template: {}
'
----

[NOTE]
====
Because no heartbeats from the amphorae were recorded in the database since
the {loadbalancer_service} services were stopped at the beginning of
the adoption process all amphorae will get failed over by the new control
plane. This process ensures that amphorae get updated to using the new
amphora image.
====
16 changes: 4 additions & 12 deletions docs_user/modules/proc_adopting-the-loadbalancer-service.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,7 @@ These commands convert the existing single CA configuration into a dual CA confi
// == TODO: Other things
// TODO

== Enabling the {loadbalancer_service} in OpenShift
Run the following command in order to enable the {loadbalancer_service} CR.

[source,bash]
----
$ oc patch openstackcontrolplane openstack --type=merge --patch '
spec:
octavia:
enabled: true
template: {}
'
----
== Final steps
Octavia services must remain disabled until data plane adoption is finished in
order to avoid amphora failovers before the data plane adoption steps were
finished.
Loading