Bug 1917891

Summary: Back up and Restore role failing to create a backup image
Product: Red Hat OpenStack Reporter: Jason Grosso <jgrosso>
Component: tripleo-ansibleAssignee: Juan Larriba <jlarriba>
Status: CLOSED ERRATA QA Contact: Eliad Cohen <elicohen>
Severity: medium Docs Contact:
Priority: medium    
Version: 16.1 (Train)CC: jbadiapa, nweinber
Target Milestone: z5Keywords: Triaged
Target Release: 16.1 (Train on RHEL 8.2)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tripleo-ansible-0.5.1-1.20201114030851.el8ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-26 11:43:47 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 Jason Grosso 2021-01-19 15:36:17 UTC
Description of problem:
Running ReaR on titan109.lab.eng.tlv2.redhat.com creating a back up fails it looks like a firewall issue 

/var/log/rear

2021-01-19 01:30:03.062481212 Relax-and-Recover 2.4 / Git
2021-01-19 01:30:03.063646062 Command line options: /usr/sbin/rear mkrescue
2021-01-19 01:30:03.064707445 Using log file: /var/log/rear/rear-undercloud-0.log
2021-01-19 01:30:03.066109134 Including /etc/rear/os.conf
2021-01-19 01:30:03.071675304 Including conf/Linux-i386.conf
2021-01-19 01:30:03.072860216 Including conf/GNU/Linux.conf
2021-01-19 01:30:03.081403445 Including /etc/rear/local.conf
2021-01-19 01:30:03.082676437 Including /etc/rear/rescue.conf
2021-01-19 01:30:03.084573438 ======================
2021-01-19 01:30:03.085861708 Running 'init' stage
2021-01-19 01:30:03.086724131 ======================
2021-01-19 01:30:03.102242663 Including init/default/005_verify_os_conf.sh
2021-01-19 01:30:03.106194922 Including init/default/010_set_drlm_env.sh
2021-01-19 01:30:03.110339042 Including init/default/030_update_recovery_system.sh
2021-01-19 01:30:03.116200676 Including init/default/050_check_rear_recover_mode.sh
2021-01-19 01:30:03.117336190 Finished running 'init' stage in 0 seconds
2021-01-19 01:30:03.125202561 Using build area '/tmp/rear.HltZtrO7J6uCBnJ'
2021-01-19 01:30:03.128718901 Running mkrescue workflow
2021-01-19 01:30:03.129818288 ======================
2021-01-19 01:30:03.130901025 Running 'prep' stage
2021-01-19 01:30:03.134252751 ======================
2021-01-19 01:30:03.141464850 Including prep/default/005_remove_workflow_conf.sh
2021-01-19 01:30:03.147275931 Including prep/default/020_translate_url.sh
2021-01-19 01:30:03.151060148 Including prep/default/030_translate_tape.sh
2021-01-19 01:30:03.156334864 Including prep/default/040_check_backup_and_output_scheme.sh
2021-01-19 01:30:03.163659553 Including prep/NETFS/default/040_inspect_configuration_files.sh
2021-01-19 01:30:03.169689271 Including prep/NETFS/default/050_check_NETFS_requirements.sh
2021-01-19 01:30:03.174469871 Skipping 'ping' test for host '192.168.24.254' in BACKUP_URL 'nfs://192.168.24.254/ctl_plane_backups'
2021-01-19 01:30:03.207009575 Including prep/default/050_check_keep_old_output_copy_var.sh
2021-01-19 01:30:03.212602526 Including prep/NETFS/default/060_mount_NETFS_path.sh
2021-01-19 01:30:03.223639921 Mounting with 'mount  -t nfs -o rw,noatime 192.168.24.254:/ctl_plane_backups /tmp/rear.HltZtrO7J6uCBnJ/outputfs'
mount.nfs: Connection refused
2021-01-19 01:32:08.333550220 ERROR: Mount command 'mount  -t nfs -o rw,noatime 192.168.24.254:/ctl_plane_backups /tmp/rear.HltZtrO7J6uCBnJ/outputfs' failed.
==== Stack trace ====
Trace 0: /usr/sbin/rear:547 main
Trace 1: /usr/share/rear/lib/mkrescue-workflow.sh:12 WORKFLOW_mkrescue
Trace 2: /usr/share/rear/lib/framework-functions.sh:101 SourceStage
Trace 3: /usr/share/rear/lib/framework-functions.sh:49 Source
Trace 4: /usr/share/rear/prep/NETFS/default/060_mount_NETFS_path.sh:11 source
Trace 5: /usr/share/rear/lib/global-functions.sh:441 mount_url
Trace 6: /usr/share/rear/lib/_input-output-functions.sh:372 StopIfError
Message: Mount command 'mount  -t nfs -o rw,noatime 192.168.24.254:/ctl_plane_backups /tmp/rear.HltZtrO7J6uCBnJ/outputfs' failed.
== End stack trace ==
2021-01-19 01:32:08.355845586 Exiting rear mkrescue (PID 512196) and its descendant processes
2021-01-19 01:32:09.462057184 rear,512196 /usr/sbin/rear mkrescue
  `-rear,515621 /usr/sbin/rear mkrescue
      `-pstree,515622 -Aplau 512196
/usr/share/rear/lib/_input-output-functions.sh: line 157: kill: (515625) - No such process
2021-01-19 01:32:09.508657767 Running exit tasks
2021-01-19 01:32:09.515613301 Finished in 127 seconds
2021-01-19 01:32:09.519665968 Removing build area /tmp/rear.HltZtrO7J6uCBnJ
2021-01-19 01:32:09.541474960 End of program reached


Version-Release number of selected component (if applicable):
RHOS-16.2-RHEL-8-20201215.n.1

How reproducible:
Run rear from titan109.lab.eng.tlv2.redhat.com 



Additional info:

titan109.lab.eng.tlv2.redhat.com root\12345678

Comment 17 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