Bug 1934431
| Summary: | Creating listener with default edited timeout_* of something other than 50000 configured in octavia.conf does not work as expected. | |||
|---|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Gregory Thiemonge <gthiemon> | |
| Component: | openstack-octavia | Assignee: | Gregory Thiemonge <gthiemon> | |
| Status: | CLOSED ERRATA | QA Contact: | Bruna Bonguardo <bbonguar> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | medium | |||
| Version: | 16.2 (Train) | CC: | bbonguar, bshephar, chrisbro, gthiemon, ihrachys, lpeer, mahmad, majopela, rbarrott, scohen | |
| Target Milestone: | beta | Keywords: | Triaged | |
| Target Release: | 16.2 (Train on RHEL 8.4) | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | openstack-octavia-5.1.1-2.20210304164955.ec60849.el8ost | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | 1933251 | |||
| : | 1934436 (view as bug list) | Environment: | ||
| Last Closed: | 2021-09-15 07:12:30 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: | ||||
| Bug Blocks: | 1934436 | |||
|
Description
Gregory Thiemonge
2021-03-03 09:05:02 UTC
Verified in: [2021-07-20 06:26:39] (tester) [stack@undercloud-0 ~]$ cat /var/lib/rhos-release/latest-installed 16.2 -p RHOS-16.2-RHEL-8-20210713.n.0 Before change: [root@controller-0 ~]# cat /var/lib/config-data/puppet-generated/octavia/etc/octavia/octavia.conf | grep timeout_ timeout_client_data=50000 timeout_member_connect=5000 timeout_member_data=50000 timeout_tcp_inspect=0 [root@controller-0 ~]# 1.Configure the `timeout_client_data` to 200000 (20 mins) in `/var/lib/config-data/puppet-generated/octavia/etc/octavia/octavia.conf` on the all controllers: [root@controller-0 ~]# cat /var/lib/config-data/puppet-generated/octavia/etc/octavia/octavia.conf | grep timeout_ timeout_client_data=200000 timeout_member_connect=5000 timeout_member_data=50000 timeout_tcp_inspect=0 2.Restart all the octavia containers: [root@controller-0 ~]# podman restart octavia_api octavia_driver_agent octavia_health_manager octavia_housekeeping octavia_worker 6da5018eb557df95285553d6f3a9395f857b47dba25b2faa39c32aa1e294513e 0f819f219d6021bedb8b91c869dd422889150d1256a58bdbf4b7d8e46d168c8a 0d3372544eb10be60ff4a1d7f4ce452c00d4e37ae6501d735cc5b82620a35437 311edc315a7b4408f47d22356ac60012809304f7e9d92d7544eceae93cc345e1 8bd81ba5b2eb63a7afee704b179fb11e315626fa68b766e934dab67736b0c5eb [root@controller-0 ~]# podman ps | grep octavia 6da5018eb557 undercloud-0.ctlplane.redhat.local:8787/rh-osbs/rhosp16-openstack-octavia-api:16.2_20210713.1 kolla_start 16 hours ago Up About a minute ago octavia_api 0f819f219d60 undercloud-0.ctlplane.redhat.local:8787/rh-osbs/rhosp16-openstack-octavia-api:16.2_20210713.1 kolla_start 16 hours ago Up About a minute ago octavia_driver_agent 0d3372544eb1 undercloud-0.ctlplane.redhat.local:8787/rh-osbs/rhosp16-openstack-octavia-health-manager:16.2_20210713.1 kolla_start 16 hours ago Up About a minute ago octavia_health_manager 311edc315a7b undercloud-0.ctlplane.redhat.local:8787/rh-osbs/rhosp16-openstack-octavia-housekeeping:16.2_20210713.1 kolla_start 16 hours ago Up About a minute ago octavia_housekeeping 8bd81ba5b2eb undercloud-0.ctlplane.redhat.local:8787/rh-osbs/rhosp16-openstack-octavia-worker:16.2_20210713.1 kolla_start 16 hours ago Up 37 seconds ago octavia_worker [root@controller-0 ~]# 3.Create a LB: [2021-07-20 06:14:22] (tester) [stack@undercloud-0 ~]$ openstack loadbalancer create --name lb1 --vip-subnet-id subnet_ipv4_1 +---------------------+--------------------------------------+ | Field | Value | +---------------------+--------------------------------------+ | admin_state_up | True | | created_at | 2021-07-20T10:14:31 | | description | | | flavor_id | None | | id | e37e71a0-e78e-4a43-8f39-640bb729de00 | | listeners | | | name | lb1 | | operating_status | OFFLINE | | pools | | | project_id | 52237d051296475d9455ca1f654e5f77 | | provider | amphora | | provisioning_status | PENDING_CREATE | | updated_at | None | | vip_address | 10.0.1.45 | | vip_network_id | a10602b1-14fb-4f68-8a3d-3394593d5f03 | | vip_port_id | 79bd0909-f6be-4c49-b73a-bbe4e62e178c | | vip_qos_policy_id | None | | vip_subnet_id | 652e2454-8e03-4fc1-8c8f-b06d44029b6b | +---------------------+--------------------------------------+ [2021-07-20 06:14:32] (tester) [stack@undercloud-0 ~]$ openstack loadbalancer list +--------------------------------------+------+----------------------------------+-------------+---------------------+----------+ | id | name | project_id | vip_address | provisioning_status | provider | +--------------------------------------+------+----------------------------------+-------------+---------------------+----------+ | e37e71a0-e78e-4a43-8f39-640bb729de00 | lb1 | 52237d051296475d9455ca1f654e5f77 | 10.0.1.45 | ACTIVE | amphora | +--------------------------------------+------+----------------------------------+-------------+---------------------+----------+ [2021-07-20 06:21:44] (tester) [stack@undercloud-0 ~]$ openstack loadbalancer show lb1 +---------------------+--------------------------------------+ | Field | Value | +---------------------+--------------------------------------+ | admin_state_up | True | | created_at | 2021-07-20T10:14:31 | | description | | | flavor_id | None | | id | e37e71a0-e78e-4a43-8f39-640bb729de00 | | listeners | | | name | lb1 | | operating_status | ONLINE | | pools | | | project_id | 52237d051296475d9455ca1f654e5f77 | | provider | amphora | | provisioning_status | ACTIVE | | updated_at | 2021-07-20T10:16:16 | | vip_address | 10.0.1.45 | | vip_network_id | a10602b1-14fb-4f68-8a3d-3394593d5f03 | | vip_port_id | 79bd0909-f6be-4c49-b73a-bbe4e62e178c | | vip_qos_policy_id | None | | vip_subnet_id | 652e2454-8e03-4fc1-8c8f-b06d44029b6b | +---------------------+--------------------------------------+ 4.Create listener: [2021-07-20 06:21:59] (tester) [stack@undercloud-0 ~]$ openstack loadbalancer listener create --name listener1 --protocol HTTP --protocol-port 80 lb1 +-----------------------------+--------------------------------------+ | Field | Value | +-----------------------------+--------------------------------------+ | admin_state_up | True | | connection_limit | -1 | | created_at | 2021-07-20T10:24:06 | | default_pool_id | None | | default_tls_container_ref | None | | description | | | id | 14ae52a6-8204-4545-9f1b-e0f75005b049 | | insert_headers | None | | l7policies | | | loadbalancers | e37e71a0-e78e-4a43-8f39-640bb729de00 | | name | listener1 | | operating_status | OFFLINE | | project_id | 52237d051296475d9455ca1f654e5f77 | | protocol | HTTP | | protocol_port | 80 | | provisioning_status | PENDING_CREATE | | sni_container_refs | [] | | timeout_client_data | 200000 | | timeout_member_connect | 5000 | | timeout_member_data | 50000 | | timeout_tcp_inspect | 0 | | updated_at | None | | client_ca_tls_container_ref | None | | client_authentication | NONE | | client_crl_container_ref | None | | allowed_cidrs | None | +-----------------------------+--------------------------------------+ [2021-07-20 06:26:25] (tester) [stack@undercloud-0 ~]$ openstack loadbalancer listener show listener1 +-----------------------------+--------------------------------------+ | Field | Value | +-----------------------------+--------------------------------------+ | admin_state_up | True | | connection_limit | -1 | | created_at | 2021-07-20T10:24:06 | | default_pool_id | None | | default_tls_container_ref | None | | description | | | id | 14ae52a6-8204-4545-9f1b-e0f75005b049 | | insert_headers | None | | l7policies | | | loadbalancers | e37e71a0-e78e-4a43-8f39-640bb729de00 | | name | listener1 | | operating_status | ONLINE | | project_id | 52237d051296475d9455ca1f654e5f77 | | protocol | HTTP | | protocol_port | 80 | | provisioning_status | ACTIVE | | sni_container_refs | [] | | timeout_client_data | 200000 | | timeout_member_connect | 5000 | | timeout_member_data | 50000 | | timeout_tcp_inspect | 0 | | updated_at | 2021-07-20T10:24:15 | | client_ca_tls_container_ref | None | | client_authentication | NONE | | client_crl_container_ref | None | | allowed_cidrs | None | +-----------------------------+--------------------------------------+ We can see that the listener is created with timeout_client_data of 200000 as expected. Moving the bug to VERIFIED. 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 (Red Hat OpenStack Platform (RHOSP) 16.2 enhancement 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/RHEA-2021:3483 |