Bug 1949398 - FFU tripleo-transfer role syncs a partial list of files creating an inconsistent database leading to mariadb segfaulting
Summary: FFU tripleo-transfer role syncs a partial list of files creating an inconsist...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: tripleo-ansible
Version: 16.1 (Train)
Hardware: Unspecified
OS: Unspecified
high
urgent
Target Milestone: z6
: 16.1 (Train on RHEL 8.2)
Assignee: Michele Baldessari
QA Contact: Jose Luis Franco
URL:
Whiteboard:
: 1950325 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-04-14 08:01 UTC by Michele Baldessari
Modified: 2022-08-02 13:55 UTC (History)
7 users (show)

Fixed In Version: tripleo-ansible-0.5.1-1.20210323173505.el8ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-05-26 11:43:47 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1923898 0 None None None 2021-04-14 19:48:14 UTC
OpenStack gerrit 786320 0 None MERGED Use --ignore-times when transferring files via rsync 2021-04-16 10:57:06 UTC
Red Hat Issue Tracker OSP-2948 0 None None None 2022-08-02 13:55:16 UTC
Red Hat Product Errata RHSA-2021:2119 0 None None None 2021-05-26 11:44:24 UTC

Comment 5 Michele Baldessari 2021-04-16 13:07:48 UTC
*** Bug 1950325 has been marked as a duplicate of this bug. ***

Comment 15 Jose Luis Franco 2021-05-05 14:22:29 UTC
Validated in: https://rhos-ci-jenkins.lab.eng.tlv2.redhat.com/view/DFG/view/upgrades/view/ffu/job/DFG-upgrades-ffu-ffu-upgrade-13-16.1_director-rhel-virthost-3cont_2comp_3ceph-ipv4-vxlan-HA/140

http://rhos-ci-logs.lab.eng.tlv2.redhat.com/logs/rcj/DFG-upgrades-ffu-ffu-upgrade-13-16.1_director-rhel-virthost-3cont_2comp_3ceph-ipv4-vxlan-HA/140/undercloud-0/home/stack/overcloud_upgrade_run-ceph-0,controller-0.log.gz

We can observe the --ignore-times flag when invoking rsync to synchronize both directories:


2021-05-04 13:36:08 | TASK [tripleo-transfer : synchronize both directories] *************************
2021-05-04 13:36:08 | Tuesday 04 May 2021  13:35:54 +0000 (0:00:00.399)       0:03:19.094 *********** 
2021-05-04 13:36:08 | changed: [undercloud -> 192.168.24.22] => {"changed": true, "cmd": "/usr/bin/rsync -v --delay-updates -F --ignore-times --compress --archive --delete --rsync-path='sudo rsync' --rsh='ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i ~/transfer_key' /var/lib/mysql/ tripleo-admin.24.24:/var/lib/mysql", "delta": "0:00:13.465667", "end": "2021-05-04 13:36:08.538203", "rc": 0, "start": "2021-05-04 13:35:55.072536", "stderr": "Warning: Permanently added '192.168.24.24' (ECDSA) to the list of known hosts.", "stderr_lines": ["Warning: Permanently added '192.168.24.24' (ECDSA) to the list of known hosts."], "stdout": "building file list ... done\n./\naria_log.00000001\naria_log_control\ngalera.cache\ngrastate.dat\nib_logfile0\nib_logfile1\nibdata1\nmulti-master.info\naodh/alarm.frm\naodh
......................................................................................................
"panko/trait_int.frm", "panko/trait_int.ibd", "panko/trait_text.frm", "panko/trait_text.ibd", "performance_schema/", "performance_schema/db.opt", "", "sent 26,566,966 bytes  received 1,007,006 bytes  2,042,516.44 bytes/sec", "total size is 425,033,003  speedup is 15.41"]}
2021-05-04 13:36:11 | 

PACKAGES:
http://rhos-ci-logs.lab.eng.tlv2.redhat.com/logs/rcj/DFG-upgrades-ffu-ffu-upgrade-13-16.1_director-rhel-virthost-3cont_2comp_3ceph-ipv4-vxlan-HA/140/undercloud-0/var/log/dnf.rpm.log.gz

2021-05-04T11:48:15Z SUBDEBUG Installed: tripleo-ansible-0.5.1-1.20210323173506.el8ost.noarch
2021-05-04T11:48:15Z SUBDEBUG Installed: openstack-tripleo-heat-templates-11.3.2-1.20210408163452.el8ost.noarch

Comment 21 errata-xmlrpc 2021-05-26 11:43:47 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 (Important: Red Hat OpenStack Platform 16.1.6 (tripleo-ansible) security update), 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/RHSA-2021:2119


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