[Satellite6] Satellite services are not restarted after the backup

Solution Unverified - Updated -

Issue

  • Satellite offline backup using lvm snapshop failed, Exit5:
D, [2020-09-26 04:42:21+1200 #10720] DEBUG -- : Invoking tar from /misc/backup/satellite6/online-daily
D, [2020-09-26 04:42:21+1200 #10720] DEBUG -- : Running command tar --selinux --create --file=/misc/backup/satellite6/online-daily/satellite-backup-2020-09-26-04-40-03/config_files.tar.gz --gzip --exclude=/var/lib/foreman/public/assets --listed-incremental=/misc/backup/satellite6/online-daily/satellite-backup-2020-09-26-04-40-03/.config.snar --ignore-failed-read 
:
I, [2020-09-26 05:10:42+1200 #10720]  INFO -- : --- Execution step 'Backup config files' finished ---
I, [2020-09-26 05:10:42+1200 #10720]  INFO -- : --- Execution step 'Create and mount snapshot of Mongo DB' [backup-snapshot-mount-mongo] started ---
D, [2020-09-26 05:10:42+1200 #10720] DEBUG -- : Running command hostname -f with stdin nil
D, [2020-09-26 05:10:42+1200 #10720] DEBUG -- : output of the command:
 prlsat03.nz.thenational.com
D, [2020-09-26 05:10:42+1200 #10720] DEBUG -- : Running command findmnt -n --target /var/lib/mongodb -o SOURCE,FSTYPE with stdin nil
D, [2020-09-26 05:10:42+1200 #10720] DEBUG -- : output of the command:
 /dev/mapper/vg_data_01-var_lib_mongodb xfs
D, [2020-09-26 05:10:42+1200 #10720] DEBUG -- : Running command lvcreate -nmongodb-snap -L2G -s /dev/mapper/vg_data_01-var_lib_mongodb with stdin nil
D, [2020-09-26 05:10:43+1200 #10720] DEBUG -- : output of the command:
 Logical Volume "mongodb-snap" already exists in volume group "vg_data_01"
E, [2020-09-26 05:10:43+1200 #10720] ERROR -- : Failed executing lvcreate -nmongodb-snap -L2G -s /dev/mapper/vg_data_01-var_lib_mongodb, exit status 5:
 Logical Volume "mongodb-snap" already exists in volume group "vg_data_01" (ForemanMaintain::Error::ExecutionError)
/usr/share/gems/gems/foreman_maintain-0.4.10/lib/foreman_maintain/utils/command_runner.rb:54:in `execution_error'
  • Logical volume snapshot backup is marked as invalid:
[Mon Sep 28 06:41:12 2020] device-mapper: snapshots: Snapshot is marked invalid.
[Mon Sep 28 06:41:12 2020] Buffer I/O error on dev dm-15, logical block 7602160, async page read

[Thu Oct  8 09:41:15 2020] Buffer I/O error on dev dm-11, logical block 275251184, async page read
[Thu Oct  8 09:41:15 2020] Buffer I/O error on dev dm-15, logical block 7602160, async page read
[Thu Oct  8 09:41:15 2020] Buffer I/O error on dev dm-19, logical block 26214384, async page read

lrwxrwxrwx. 1 root root       8 Sep 28 19:41 vg_data_01-pulp--snap -> ../dm-11
lrwxrwxrwx. 1 root root       8 Sep 28 19:41 vg_data_01-pgsql--snap -> ../dm-15
lrwxrwxrwx. 1 root root       8 Sep 28 19:41 vg_data_01-var_lib_pgsql -> ../dm-13

Environment

  • Red Hat Satellite 6.5

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content