Bug 2074821 - [OSP17]OVN migration fails on "stop and disable dhcp services and healthchecks" task
Summary: [OSP17]OVN migration fails on "stop and disable dhcp services and healthcheck...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-neutron
Version: 17.0 (Wallaby)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: beta
: 17.0
Assignee: Arnau Verdaguer
QA Contact: Roman Safronov
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-04-13 07:42 UTC by Roman Safronov
Modified: 2022-09-21 12:21 UTC (History)
8 users (show)

Fixed In Version: openstack-neutron-18.4.1-0.20220629010510.949942c.el9ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-09-21 12:20:36 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 844076 0 None stable/wallaby: MERGED neutron: [OVN][Migration] More robust checks on stop-agents (I94f0832d09d263837262ada109a567e864915a1a) 2022-06-23 14:28:45 UTC
Red Hat Issue Tracker OSP-14651 0 None Closed [RHEL8.4/PCP/Bug] pmcd upgrade (of rhel7) configuration not updated for python3 2022-05-11 00:53:14 UTC
Red Hat Product Errata RHEA-2022:6543 0 None None None 2022-09-21 12:21:18 UTC

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


Note You need to log in before you can comment on or make changes to this bug.