Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 2015222

Summary: [OVN migration] ovn_migration.sh script does not save the output of the Ansible playbooks as a log
Product: Red Hat OpenStack Reporter: Elvira <egarciar>
Component: python-networking-ovnAssignee: Elvira <egarciar>
Status: CLOSED ERRATA QA Contact: Eran Kuris <ekuris>
Severity: low Docs Contact:
Priority: medium    
Version: 16.2 (Train)CC: apevec, ddf-bot, lhh, majopela, pgrist, rsafrono, scohen
Target Milestone: z2Keywords: Triaged
Target Release: 16.2 (Train on RHEL 8.4)   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: python-networking-ovn-7.4.2-2.20220113214852.a2eba10.el8ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-03-23 22:12:19 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 Elvira 2021-10-18 16:42:43 UTC
Description of problem:
Current documentation [0] for OVN migration includes a command for saving the output of the ovn_migration.sh script on a file:


$ ovn_migration.sh start-migration  | sudo tee -a /var/log/ovn_migration_output.txt

This could be done directly using the Ansible Playbook configuration. Like that, we ensure the person always gets their output saved without the need of the tee command.


[0] https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/16.2/html/networking_with_open_virtual_network/migrating-ml2ovs-to-ovn#ml2-ovs-to-ovn-migration-migrate_migrating-ml2ovs-to-ovn

Version-Release number of selected component (if applicable):
16.2

Comment 3 James Smith 2021-11-09 14:21:12 UTC
*** Bug 2011863 has been marked as a duplicate of this bug. ***

Comment 8 Roman Safronov 2022-03-14 10:18:24 UTC
Verified on RHOS-16.2-RHEL-8-20220304.n.2 with python3-networking-ovn-migration-tool-7.4.2-2.20220113214853.el8ost.noarch.rpm.
Verified that ansible log is save to $HOME/ovn_migration_ansible.log

Comment 13 errata-xmlrpc 2022-03-23 22:12:19 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 16.2.2), 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:1001