Bug 1917891 - Back up and Restore role failing to create a backup image
Summary: Back up and Restore role failing to create a backup image
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: tripleo-ansible
Version: 16.1 (Train)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: z5
: 16.1 (Train on RHEL 8.2)
Assignee: Juan Larriba
QA Contact: Eliad Cohen
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-01-19 15:36 UTC by Jason Grosso
Modified: 2022-08-30 11:53 UTC (History)
2 users (show)

Fixed In Version: tripleo-ansible-0.5.1-1.20201114030851.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
OpenStack gerrit 771478 0 None MERGED Opens ports to NFS server's firewalld 2021-02-17 12:27:05 UTC
OpenStack gerrit 772227 0 None MERGED Opens ports to NFS server's firewalld 2021-02-17 12:27:05 UTC
OpenStack gerrit 772228 0 None MERGED Opens ports to NFS server's firewalld 2021-02-17 12:27:05 UTC
OpenStack gerrit 772405 0 None MERGED Opens ports to NFS server's firewalld 2021-02-17 12:27:06 UTC
Red Hat Issue Tracker OSP-1875 0 None None None 2022-08-30 11:53:49 UTC
Red Hat Product Errata RHSA-2021:2119 0 None None None 2021-05-26 11:44:24 UTC

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


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