Bug 1829840

Summary: OCP/OSP install (v16.1/v4.3.10) using kuryr to deploy octavia results in listeners starting in disabled state
Product: OpenShift Container Platform Reporter: Pablo Alonso Rodriguez <palonsor>
Component: NetworkingAssignee: Luis Tomas Bolivar <ltomasbo>
Networking sub component: kuryr QA Contact: GenadiC <gcheresh>
Status: CLOSED ERRATA Docs Contact:
Severity: urgent    
Priority: urgent CC: bbennett, ealcaniz, fsilva, gcheresh, juriarte, mdemaced, mleonard, openshift-bugs-escalate, openshift-bugzilla-robot, palonsor, rlobillo
Version: 4.3.z   
Target Milestone: ---   
Target Release: 4.3.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: 1824258 Environment:
Last Closed: 2020-05-27 17:00:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1826820, 1839835    
Bug Blocks:    

Comment 3 Luis Tomas Bolivar 2020-05-06 12:45:25 UTC
*** Bug 1832128 has been marked as a duplicate of this bug. ***

Comment 8 rlobillo 2020-05-18 14:43:26 UTC
Verified on openshift_puddle: 4.3.0-0.nightly-2020-05-18-043018 

# with OSP16 RHOS_TRUNK-16.0-RHEL-8-20200506.n.2 with OVN.

Installation OK:
(overcloud) [stack@undercloud-0 ~]$ tail ostest/.openshift_install.log 
time="2020-05-18T09:49:05Z" level=debug msg="Still waiting for the cluster to initialize: Working towards 4.3.0-0.nightly-2020-05-18-043018: 100% complete, waiting on monitoring"
time="2020-05-18T09:49:31Z" level=debug msg="Cluster is initialized"
time="2020-05-18T09:49:31Z" level=info msg="Waiting up to 10m0s for the openshift-console route to be created..."
time="2020-05-18T09:49:31Z" level=debug msg="Route found in openshift-console namespace: console"
time="2020-05-18T09:49:31Z" level=debug msg="Route found in openshift-console namespace: downloads"
time="2020-05-18T09:49:31Z" level=debug msg="OpenShift console route is created"
time="2020-05-18T09:49:31Z" level=info msg="Install complete!"
time="2020-05-18T09:49:31Z" level=info msg="To access the cluster as the system:admin user when using 'oc', run 'export KUBECONFIG=/home/stack/ostest/auth/kubeconfig'"
time="2020-05-18T09:49:31Z" level=info msg="Access the OpenShift web-console here: https://console-openshift-console.apps.ostest.shiftstack.com"

openshift-kuryr OK:
(overcloud) [stack@undercloud-0 ~]$ oc get pods -n openshift-kuryr
NAME                                READY   STATUS    RESTARTS   AGE
kuryr-cni-5fvlm                     1/1     Running   0          4h38m
kuryr-cni-6gszl                     1/1     Running   0          4h21m
kuryr-cni-gvpwd                     1/1     Running   0          4h38m
kuryr-cni-mchmr                     1/1     Running   0          4h16m
kuryr-cni-q6pzb                     1/1     Running   0          4h38m
kuryr-cni-rqjmh                     1/1     Running   0          4h26m
kuryr-controller-597c96d4fc-dwh9g   1/1     Running   1          4h38m

amphora provider is used on OCP4.3:
(overcloud) [stack@undercloud-0 ~]$ openstack loadbalancer provider list
+---------+-------------------------------------------------+
| name    | description                                     |
+---------+-------------------------------------------------+
| amphora | The Octavia Amphora driver.                     |
| octavia | Deprecated alias of the Octavia Amphora driver. |
| ovn     | Octavia OVN driver.                             |
+---------+-------------------------------------------------+

no disabled loadbalancers:
(overcloud) [stack@undercloud-0 ~]$ openstack loadbalancer listener list --disable -f value | wc -l
0


all loadbalancers enabled:
(overcloud) [stack@undercloud-0 ~]$ openstack loadbalancer listener list --enable -f value | wc -l
53



# with OSP13 core_puddle_version: 2020-04-01.3

Installation OK:
(overcloud) [stack@undercloud-0 ~]$ tail ostest/.openshift_install.log 
time="2020-05-18T05:43:31-04:00" level=debug msg="Still waiting for the cluster to initialize: Working towards 4.3.0-0.nightly-2020-05-18-043018: 100% complete, waiting on authentication"
time="2020-05-18T05:43:43-04:00" level=debug msg="Cluster is initialized"
time="2020-05-18T05:43:43-04:00" level=info msg="Waiting up to 10m0s for the openshift-console route to be created..."
time="2020-05-18T05:43:43-04:00" level=debug msg="Route found in openshift-console namespace: console"
time="2020-05-18T05:43:43-04:00" level=debug msg="Route found in openshift-console namespace: downloads"
time="2020-05-18T05:43:43-04:00" level=debug msg="OpenShift console route is created"
time="2020-05-18T05:43:43-04:00" level=info msg="Install complete!"
time="2020-05-18T05:43:43-04:00" level=info msg="To access the cluster as the system:admin user when using 'oc', run 'export KUBECONFIG=/home/stack/ostest/auth/kubeconfig'"
time="2020-05-18T05:43:43-04:00" level=info msg="Access the OpenShift web-console here: https://console-openshift-console.apps.ostest.shiftstack.com"

openshift-kuryr OK:
(overcloud) [stack@undercloud-0 ~]$ oc get pods -n openshift-kuryr
NAME                                   READY   STATUS    RESTARTS   AGE
kuryr-cni-2cdz6                        1/1     Running   0          5h24m
kuryr-cni-8g9tq                        1/1     Running   0          5h1m
kuryr-cni-c8jgq                        1/1     Running   0          5h6m
kuryr-cni-hfjdc                        1/1     Running   0          5h24m
kuryr-cni-jth8f                        1/1     Running   0          5h24m
kuryr-cni-vjdqg                        1/1     Running   0          5h4m
kuryr-controller-597c96d4fc-9kwfd      1/1     Running   1          5h24m
kuryr-dns-admission-controller-67slt   1/1     Running   0          5h24m
kuryr-dns-admission-controller-rgjqf   1/1     Running   0          5h24m
kuryr-dns-admission-controller-vwklh   1/1     Running   0          5h24m


no disabled loadbalancers:
(overcloud) [stack@undercloud-0 ~]$ openstack loadbalancer listener list --disable -f value | wc -l
0

all loadbalancers enabled:
(overcloud) [stack@undercloud-0 ~]$ openstack loadbalancer listener list --enable -f value | wc -l
50

Comment 10 errata-xmlrpc 2020-05-27 17:00:46 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:2184