NVE: OS rollup mislukt "een or more nodes not running SLES when /root/.bashrc is modified

Summary: Een NetWorker Virtual Edition (NVE) besturingssysteempakket mislukt en meldt "Een of meer knooppunten voeren geen SLES uit". De /root/.bashrc is aangepast.

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

Het samenvoegen van NetWorker Virtual Edition mislukt, met de volgende fout die wordt gemeld in /usr/local/avamar/var/avi/server_data/package_data/NvePlatformOsRollup_YYYY-R#-v#.avp_EPOCH_TIMESTAMP/workflow.log

nve:~ # cat /usr/local/avamar/var/avi/server_data/package_data/*/workflow.log | grep -A2 "uname"
YYYY-MM-DD HH:mm:SS (TZ) 47378741877400 INFO: >>> [make_temp_script] 222 very_current_user=root, as_user=root, ssh command is: (ssh -q -i /root/.ssh/rootid -x -q -o ConnectTimeout=5 -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o GSSAPIAuthentication=no  root@127.0.0.1  uname -a) >/usr/local/avamar/var/run_command-sysout.13521.47378741877400 2>&1
YYYY-MM-DD HH:mm:SS (TZ) 47378741877400 INFO: - - - - - - - BEGIN(output) - - - - - - -
YYYY-MM-DD HH:mm:SS (TZ) 47378741877400 INFO:
---        
YYYY-MM-DD HH:mm:SS (TZ) 47378741877400 INFO: "ssh -q -i /root/.ssh/rootid -x -q -o ConnectTimeout=5 -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o GSSAPIAuthentication=no  root@127.0.0.1  uname -a", exit status=0 (success)
YYYY-MM-DD HH:mm:SS (TZ) 47378741877400 INFO: address=::1 remote=ssh -q -i /root/.ssh/rootid -x -q -o ConnectTimeout=5 -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o GSSAPIAuthentication=no  root@127.0.0.1  os=unknown version=unknown update=unknown arch=x86_64
YYYY-MM-DD HH:mm:SS (TZ) 47378741877400 INFO:  - One or more nodes are not running SLES succeeded

De OsRollup-workflowlogboeken zijn te vinden onder de directory rollups package_data:

/usr/local/avamar/var/avi/server_data/package_data/NvePlatformOsRollup_YYYY-R#-v#.avp_EPOCH_TIMESTAMP/workflow.log

Cause

In dit geval hebben de NVE's /root/.bashrc is aangepast om enkele functies voor na aanmelding voor de rootgebruiker op te nemen. Wanneer de workflow probeert de SSH-opdracht als root uit te voeren, wordt de aangepaste scriptuitvoer geretourneerd van /root/.bashrc wanneer het alleen de output verwacht van uname -a. Hierdoor kan de workflow niet het juiste besturingssysteem detecteren.

/root/.bashrc Bevat door de gebruiker opgegeven opdrachten of scripts.

nve:~ # cat /root/.bashrc
/etc/dynmotd

Als dezelfde opdracht wordt uitgevoerd die in de workflow wordt gerapporteerd, wordt andere uitvoer geretourneerd door /root/.bashrc in plaats van alleen de uname -a uitvoer.

nve:~ # ssh -q -i /root/.ssh/rootid -x -q -o ConnectTimeout=5 -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o GSSAPIAuthentication=no  root@127.0.0.1  uname -a

===========================================================================

 - DESC:       NetWorker Virtual Edition Appliance
 - NAME:       nve.networker.lan
 - PRIVATE IP: 123.123.0.16/24
 - OS:         SUSE Linux Enterprise Server 12 (x86_64)
 - NSR:        19.10.0.2.Build.77
 - NRE:        8.0.21
 - JAVA:       jre1.8.0_411

===========================================================================
 - Current user........: root
 - Login time..........: Fri Sep 20 11:47:34 EDT 2024
 - Users...............: Currently 1 user(s) logged on
 - CPU usage...........: 0.10, 0.03, 0.01 (1, 5, 15 min)
 - Memory used.........: 2946 MB / 15776 MB
 - / Disk usage........: 38%
 - Processes...........: 210 running
 - System uptime.......: 0 days 19 hours 0 minutes 22 secondsg
===========================================================================
 - NVE History..........:

Feb 27 2020 NveInstall-19.1.1-90.avp_1582793396969
Sep 19 08:58 NveConfig-19.1.1-90.avp_1726750488800
Sep 19 09:19 NvePlatformOsRollup_2020-R3-v5.avp_1726751519503
Sep 19 10:06 NveUpgrade-19.3.0-11.avp_1726754527160
Sep 19 10:49 NveUpgrade-19.4.0-84.avp_1726756738443
Sep 19 12:04 NveUpgrade-19.5.0-82.avp_1726760392985
Sep 19 12:30 NvePlatformOsRollup_2021-R3-v6.avp_1726763311547
Sep 19 12:53 NveUpgrade-19.6.1-51.avp_1726764299579
Sep 19 13:13 NveUpgrade-19.8.0-81.avp_1726765443481
Sep 19 13:20 NvePlatformOsRollup_2023-R1-v7.avp_1726766343118
Sep 19 13:24 NvePlatformOsRollup_2023-R2-v5.avp_1726766619289
Sep 19 13:44 NveUpgrade-19.9.0-518.avp_1726767035124
Sep 19 13:51 NvePlatformOsRollup_2023-R4-v4.avp_1726768210200
Sep 19 14:13 NveUpgrade-19.10.0-42.avp_1726768964793
Sep 19 16:51 NvePlatformOsRollup_2024-R2-v3.avp_1726778983486
===========================================================================

Linux nve 4.12.14-122.37-default #1 SMP Sun Sep 6 05:00:36 UTC 2020 (fe8cacf) x86_64 x86_64 x86_64 GNU/Linux

OPMERKING: De uitvoer van de opdracht kan verschillen, afhankelijk van wat er is opgegeven in de /root/.bashrc bestand. Mogelijk ziet u dezelfde uitvoer van de /root/.bashrc bestand (of de scripts die zijn gedefinieerd in /root/.bashrc) in de workflow.log.

De opdracht moet alleen het volgende teruggeven:-a uitvoer.
Voorbeeld:

nve:~ # ssh -q -i /root/.ssh/rootid -x -q -o ConnectTimeout=5 -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o GSSAPIAuthentication=no  root@127.0.0.1  uname -a
Linux nve 4.12.14-122.37-default #1 SMP Sun Sep 6 05:00:36 UTC 2020 (fe8cacf) x86_64 x86_64 x86_64 GNU/Linux
nve:~ #
OPMERKING: Dit is niet de enige oorzaak van de storing die in deze KB wordt beschreven, zie Aanvullende informatie. De focus van dit artikel ligt op de oplossing voor de specifieke oorzaak die hier wordt beschreven.

Resolution

Verwijder de inhoud van /root/.bashrc of verwijder het bestand.

  1. Maak een VMware-snapshot van de NVE.
  2. Open een SSH-sessie naar de NVE als beheerder
  3. Overschakelen naar root:
sudo su -
  1. Verwijder of wijzig de naam van de /root/.bashrc bestand
rm -rf /root/.bashrc

OR

mv /root/.bashrc /root/backup-bashrc​​
  1. Controleer of de volgende opdracht alleen resultaten retourneert voor uname:
ssh -q -i /root/.ssh/rootid -x -q -o ConnectTimeout=5 -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o GSSAPIAuthentication=no  root@127.0.0.1  uname -a
  1. Ga terug naar de NVE-installatiebeheerder en probeer de huidige taak opnieuw uit te voeren

De VMware-snapshot kan worden verwijderd nadat is bevestigd dat het samenvoegen is gelukt en de systeemupdate is gevalideerd. 

Additional Information

Affected Products

NetWorker

Products

NetWorker Family
Article Properties
Article Number: 000228782
Article Type: Solution
Last Modified: 04 Dec 2025
Version:  8
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.