Bug 2074821

Summary: [OSP17]OVN migration fails on "stop and disable dhcp services and healthchecks" task
Product: Red Hat OpenStack Reporter: Roman Safronov <rsafrono>
Component: openstack-neutronAssignee: Arnau Verdaguer <averdagu>
Status: CLOSED ERRATA QA Contact: Roman Safronov <rsafrono>
Severity: high Docs Contact:
Priority: high    
Version: 17.0 (Wallaby)CC: apevec, averdagu, chrisw, jlibosva, jschluet, lhh, majopela, scohen
Target Milestone: betaKeywords: AutomationBlocker, Triaged
Target Release: 17.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-neutron-18.4.1-0.20220629010510.949942c.el9ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-09-21 12:20:36 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Roman Safronov 2022-04-13 07:42:11 UTC
Description of problem:
OVN migration fails on "stop and disable dhcp services and healthchecks" task.
It seems like some items not exist in OSP17.

TASK [stop-agents : stop and disable dhcp services and healthchecks] *************************************************************************************************************************
task path: /home/stack/ovn_migration/playbooks/roles/stop-agents/tasks/cleanup.yml:2                                                                                                          
Tuesday 12 April 2022  14:25:40 +0000 (0:00:00.655)       0:00:07.856 *********                                                                                                               
failed: [compute-1] (item=tripleo_neutron_dhcp_healthcheck.timer) => {"ansible_loop_var": "item", "changed": false, "item": "tripleo_neutron_dhcp_healthcheck.timer", "msg": "Could not find t
he requested service tripleo_neutron_dhcp_healthcheck.timer: host"}                                                                                                                           
failed: [controller-2] (item=tripleo_neutron_dhcp_healthcheck.timer) => {"ansible_loop_var": "item", "changed": false, "item": "tripleo_neutron_dhcp_healthcheck.timer", "msg": "Could not fin
d the requested service tripleo_neutron_dhcp_healthcheck.timer: host"}                                                                                                                        
failed: [controller-1] (item=tripleo_neutron_dhcp_healthcheck.timer) => {"ansible_loop_var": "item", "changed": false, "item": "tripleo_neutron_dhcp_healthcheck.timer", "msg": "Could not fin
d the requested service tripleo_neutron_dhcp_healthcheck.timer: host"}                                                                                                                        
failed: [compute-0] (item=tripleo_neutron_dhcp_healthcheck.timer) => {"ansible_loop_var": "item", "changed": false, "item": "tripleo_neutron_dhcp_healthcheck.timer", "msg": "Could not find t
he requested service tripleo_neutron_dhcp_healthcheck.timer: host"}                                                                                                                           
failed: [controller-0] (item=tripleo_neutron_dhcp_healthcheck.timer) => {"ansible_loop_var": "item", "changed": false, "item": "tripleo_neutron_dhcp_healthcheck.timer", "msg": "Could not fin
d the requested service tripleo_neutron_dhcp_healthcheck.timer: host"}                                                                                                                        
failed: [compute-1] (item=tripleo_neutron_dhcp_healthcheck.service) => {"ansible_loop_var": "item", "changed": false, "item": "tripleo_neutron_dhcp_healthcheck.service", "msg": "Could not fi
nd the requested service tripleo_neutron_dhcp_healthcheck.service: host"}                                                                                                                     
failed: [compute-0] (item=tripleo_neutron_dhcp_healthcheck.service) => {"ansible_loop_var": "item", "changed": false, "item": "tripleo_neutron_dhcp_healthcheck.service", "msg": "Could not fi
nd the requested service tripleo_neutron_dhcp_healthcheck.service: host"}                                                                                                                     
failed: [controller-1] (item=tripleo_neutron_dhcp_healthcheck.service) => {"ansible_loop_var": "item", "changed": false, "item": "tripleo_neutron_dhcp_healthcheck.service", "msg": "Could not
 find the requested service tripleo_neutron_dhcp_healthcheck.service: host"}                                                                                                                  
failed: [controller-2] (item=tripleo_neutron_dhcp_healthcheck.service) => {"ansible_loop_var": "item", "changed": false, "item": "tripleo_neutron_dhcp_healthcheck.service", "msg": "Could not
 find the requested service tripleo_neutron_dhcp_healthcheck.service: host"}                                                                                                                  
failed: [controller-0] (item=tripleo_neutron_dhcp_healthcheck.service) => {"ansible_loop_var": "item", "changed": false, "item": "tripleo_neutron_dhcp_healthcheck.service", "msg": "Could not
 find the requested service tripleo_neutron_dhcp_healthcheck.service: host"}                                                                                                                  
failed: [compute-1] (item=tripleo_neutron_dhcp.service) => {"ansible_loop_var": "item", "changed": false, "item": "tripleo_neutron_dhcp.service", "msg": "Could not find the requested service
 tripleo_neutron_dhcp.service: host"}                                                                                                                                                         
failed: [compute-0] (item=tripleo_neutron_dhcp.service) => {"ansible_loop_var": "item", "changed": false, "item": "tripleo_neutron_dhcp.service", "msg": "Could not find the requested service
 tripleo_neutron_dhcp.service: host"}                                            


Version-Release number of selected component (if applicable):
RHOS-17.0-RHEL-9-20220401.n.1 

How reproducible:
100%

Steps to Reproduce:
1. Deploy a HA environment (3 controllers + 2 compute nodes) with ML2/OVS neutron backend.
2. Install openstack-neutron-ovn-migration-tool and apply changes from https://review.opendev.org/c/openstack/neutron/+/834925/ in order to avoid hitting BZ2035814 and BZ2035808
3. Try to run OVN migration according to instructions from the official documentation 


Actual results:
Migration fails on "stop and disable dhcp services and healthchecks" task due to missing healthchecks

Expected results:
Migration proceeds

Additional info:

Comment 1 Roman Safronov 2022-04-13 08:12:55 UTC
seems like a similar bug for 16.2 is https://bugzilla.redhat.com/show_bug.cgi?id=2058415

Comment 14 Roman Safronov 2022-07-06 08:22:03 UTC
Verified on RHOS-17.0-RHEL-9-20220701.n.1 with  openstack-neutron-ovn-migration-tool-18.4.1-0.20220629010510.949942c.el9ost.noarch.rpm
Verified that "stop and disable dhcp services and healthchecks" task does not fail and migration proceeds.

Comment 19 errata-xmlrpc 2022-09-21 12:20:36 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 (Release of components for Red Hat OpenStack Platform 17.0 (Wallaby)), 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-2022:6543