Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-17390

ReaR fails to recover with NetBackup

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Undefined Undefined
    • rhel-9.4
    • rhel-9.3.0
    • rear
    • rear-2.6-22.el9
    • Normal
    • OtherQA
    • sst_cs_system_management
    • ssg_core_services
    • 24
    • 26
    • 3
    • False
    • Hide


    • No
    • Red Hat Enterprise Linux
    • None
    • Unspecified Release Note Type - Unknown
    • None

      What were you trying to do that didn't work?

      A customer using NetBackup fails to recover the system.
      It's unclear at this point if the issue is specific to NetBackup or applies to NetBackup in general.
      Digging into this, we could find out that the ReaR ISO was missing "proxy_peers" and "nbrntd_peers" directories, as seen in the strace:

      15741 14:59:45.048352 openat(AT_FDCWD</root>, "/usr/openv/var/proxy_peers/04d/SERVERIP-SERVERPORT-CLIENTIP-CLIENTPORT.json", O_RDONLY) = -1 ENOENT (No such file or directory) <0.000025>
      15741 14:59:45.048417 openat(AT_FDCWD</root>, "/usr/openv/var/nbrntd_peers/SERVERIP-SERVERPORT-CLIENTIP-CLIENTPORT.dat", O_RDONLY) = -1 ENOENT (No such file or directory) <0.000025>
      (more occurrences)

      The resulting error message in bprestore logs was:

      14:59:45.489 [15741] <16> dump_proxy_info: statusmsg: Unable to perform peer host name validation. Curl error has occurred for peer name: SERVERNAME, self name: CLIENTNAME, NetBackup status = 0, severity = 2, Additional Message: [PROXY] E...

      The resulting error message in ReaR logs was:

      EXIT STATUS 25: cannot connect on socket

      Including /usr/openv/var into the ReaR ISO fixed the issue:

      COPY_AS_IS_NBU+=( /usr/openv/var )

      Please provide the package NVR for which bug is seen:


      How reproducible:

      Always on customer system, cannot test myself since no access to NetBackup

            rhn-support-pcahyna Pavel Cahyna
            rhn-support-rmetrich Renaud M├ętrich
            Pavel Cahyna Pavel Cahyna
            Jakub Haruda Jakub Haruda
            0 Vote for this issue
            7 Start watching this issue