Bug 2078539
Summary: | Octavia cannot reload haproxy because of selinux policies | |||
---|---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Gregory Thiemonge <gthiemon> | |
Component: | openstack-octavia | Assignee: | Gregory Thiemonge <gthiemon> | |
Status: | CLOSED ERRATA | QA Contact: | Bruna Bonguardo <bbonguar> | |
Severity: | high | Docs Contact: | ||
Priority: | high | |||
Version: | 16.2 (Train) | CC: | bbonguar, cjeanner, ihrachys, jpichon, lhh, lpeer, lvrabec, majopela, njohnston, oschwart, scohen, slinaber, spower, wznoinsk | |
Target Milestone: | z3 | Keywords: | AutomationBlocker, Triaged | |
Target Release: | 16.2 (Train on RHEL 8.4) | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | openstack-octavia-5.1.3-2.20220328185156.el8ost | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | 2073491 | |||
: | 2136558 (view as bug list) | Environment: | ||
Last Closed: | 2022-06-22 16:06: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: | 2073491 | |||
Bug Blocks: | 2136558 |
Description
Gregory Thiemonge
2022-04-25 14:31:42 UTC
Verified on puddle RHOS-16.2-RHEL-8-20220427.n.3 (overcloud) [stack@undercloud-0 ~]$ cat /etc/rhosp-release Red Hat OpenStack Platform release 16.2.2 (Train) # Creating the LB (overcloud) [stack@undercloud-0 ~]$ openstack loadbalancer create --vip-subnet-id int_sub --enable --name BZ2078539_lb +---------------------+--------------------------------------+ | Field | Value | +---------------------+--------------------------------------+ | admin_state_up | True | | created_at | 2022-05-12T14:26:50 | | description | | | flavor_id | None | | id | acc4e9d7-52ba-48a8-ae49-4dd0b6551de2 | | listeners | | | name | BZ2078539_lb | | operating_status | OFFLINE | | pools | | | project_id | bf4831c9da594f0cb8935ea1f8f2bf75 | | provider | amphora | | provisioning_status | PENDING_CREATE | | updated_at | None | | vip_address | 192.168.1.224 | | vip_network_id | 322efa48-bfb6-416f-929b-81331ba33d7e | | vip_port_id | ad0c00f3-79a4-444f-b7ed-d7e37ec8c429 | | vip_qos_policy_id | None | | vip_subnet_id | 507742f2-990c-488c-9c1f-19f766687925 | +---------------------+--------------------------------------+ # Creating the pool (overcloud) [stack@undercloud-0 ~]$ openstack loadbalancer pool create --protocol HTTP --loadbalancer acc4e9d7-52ba-48a8-ae49-4dd0b6551de2 --lb-algorithm ROUND_ROBIN +----------------------+--------------------------------------+ | Field | Value | +----------------------+--------------------------------------+ | admin_state_up | True | | created_at | 2022-05-12T14:35:54 | | description | | | healthmonitor_id | | | id | 5b489459-1605-4082-95c2-71c359a15b3b | | lb_algorithm | ROUND_ROBIN | | listeners | | | loadbalancers | acc4e9d7-52ba-48a8-ae49-4dd0b6551de2 | | members | | | name | | | operating_status | OFFLINE | | project_id | bf4831c9da594f0cb8935ea1f8f2bf75 | | protocol | HTTP | | provisioning_status | PENDING_CREATE | | session_persistence | None | | updated_at | None | | tls_container_ref | None | | ca_tls_container_ref | None | | crl_container_ref | None | | tls_enabled | False | +----------------------+--------------------------------------+ # Verifying both the LB and the amphora provisioning_status/status are ACTIVE/ALLOCATED: (overcloud) [stack@undercloud-0 ~]$ openstack loadbalancer list | grep BZ | acc4e9d7-52ba-48a8-ae49-4dd0b6551de2 | BZ2078539_lb | bf4831c9da594f0cb8935ea1f8f2bf75 | 192.168.1.224 | ACTIVE | amphora | (overcloud) [stack@undercloud-0 ~]$ openstack loadbalancer amphora list | grep acc4e9d7-52ba-48a8-ae49-4dd0b6551de2 | 84ca3ff9-77e4-4e8d-a615-212109b665fc | acc4e9d7-52ba-48a8-ae49-4dd0b6551de2 | ALLOCATED | BACKUP | 172.24.3.240 | 192.168.1.224 | | aa22681e-b8cc-4d33-996c-1eeb2b326741 | acc4e9d7-52ba-48a8-ae49-4dd0b6551de2 | ALLOCATED | MASTER | 172.24.3.214 | 192.168.1.224 | Looks good to me, 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 (Release of components for Red Hat OpenStack Platform 16.2.3 (Train)), 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-2022:4793 |