Hi everbody,
i try poap usb with a N9k 10.3.5m NXOS. With paop script from git.
nexus9000/nx-os/poap/poap.py at master · datacenter/nexus9000 (github.com)
After some troubleshooting i have changed poap sript
line 1075 copy_src=os.path.join("/usbslot%s" % (options["usb_slot"]), source)
to
line 1075 copy_src=os.path.join("/usb%s" % (options["usb_slot"]), source
and follwing lines. But i have always the same problem conf.FDO24320BVX does NOT exist.
Have anybody working example with N9K?
Thanks & best regards
2024 Nov 14 07:57:39 switch %$ VDC-1 %$ %VMAN-2-ACTIVATION_STATE: Successfully activated virtual service 'guestshell+'
2024 Nov 14 07:57:39 switch %$ VDC-1 %$ %VMAN-2-GUESTSHELL_ENABLED: The guest shell has been enabled. The command 'guestshell' may be used to access it, 'guestshell destroy' to remove it.
2024 Nov 14 07:57:40 switch %$ VDC-1 %$ %USER-2-SYSTEM_MSG: Thirdparty RPMs installation succeeded - /thirdparty_install.py
2024 Nov 14 07:57:42 switch %$ VDC-1 %$ %POAP-2-POAP_INFO: [FDO24320BVX-E4:1F:7B:B7:14:67] - USB Initializing Success
2024 Nov 14 07:57:42 switch %$ VDC-1 %$ %POAP-2-POAP_INFO: [FDO24320BVX-E4:1F:7B:B7:14:67] - USB disk detected
2024 Nov 14 07:57:42 switch %$ VDC-1 %$ %POAP-2-POAP_INFO: [FDO24320BVX-E4:1F:7B:B7:14:67] - Python Script found on USB disk
2024 Nov 14 07:57:42 switch %$ VDC-1 %$ %POAP-2-POAP_INFO: [FDO24320BVX-E4:1F:7B:B7:14:67] - Python Script is copied successfuly
2024 Nov 14 07:57:42 switch %$ VDC-1 %$ %POAP-2-POAP_INFO: [FDO24320BVX-E4:1F:7B:B7:14:67] - script timeout value:5400 sec
2024 Nov 14 07:57:44 switch %$ VDC-1 %$ %USER-1-SYSTEM_MSG: - Logfile name: /bootflash/20241114075744_poap_23177_usb_script.log - /script.sh
2024 Nov 14 07:57:44 switch %$ VDC-1 %$ %USER-1-SYSTEM_MSG: - Found 5 POAP script logs - /script.sh
2024 Nov 14 07:57:44 switch %$ VDC-1 %$ %USER-1-SYSTEM_MSG: - Setting source cfg filename based-on serial number - /script.sh
2024 Nov 14 07:57:44 switch %$ VDC-1 %$ %USER-1-SYSTEM_MSG: - serial number FDO24320BVX - /script.sh
2024 Nov 14 07:57:44 switch %$ VDC-1 %$ %USER-1-SYSTEM_MSG: - Selected conf file name : conf.FDO24320BVX - /script.sh
2024 Nov 14 07:57:44 switch %$ VDC-1 %$ %USER-1-SYSTEM_MSG: S/N[FDO24320BVX]-MAC[E41F7BB71460] - Verifying freespace in bootflash - /script.sh
2024 Nov 14 07:57:44 switch %$ VDC-1 %$ %USER-1-SYSTEM_MSG: S/N[FDO24320BVX]-MAC[E41F7BB71460] - Free bootflash space is 103954524.0 - /script.sh
2024 Nov 14 07:57:44 switch %$ VDC-1 %$ %USER-1-SYSTEM_MSG: S/N[FDO24320BVX]-MAC[E41F7BB71460] - Single image is set - /script.sh
2024 Nov 14 07:57:44 switch %$ VDC-1 %$ %USER-1-SYSTEM_MSG: S/N[FDO24320BVX]-MAC[E41F7BB71460] - Copying config file - /script.sh
2024 Nov 14 07:57:44 switch %$ VDC-1 %$ %USER-1-SYSTEM_MSG: S/N[FDO24320BVX]-MAC[E41F7BB71460] - INFO: Starting Copy of Config File to /bootflash/poap_conf.cfg - /script.sh
2024 Nov 14 07:57:44 switch %$ VDC-1 %$ %USER-1-SYSTEM_MSG: S/N[FDO24320BVX]-MAC[E41F7BB71460] - Copying file options source=baseline/FDO24320BVX/conf.FDO24320BVX destination=/bootflash/poap_conf.cfg login_timeout=120 destination_tmp=poap_conf.cfg.tmp - /script.sh
2024 Nov 14 07:57:44 switch %$ VDC-1 %$ %USER-1-SYSTEM_MSG: S/N[FDO24320BVX]-MAC[E41F7BB71460] - /usb1/baseline/FDO24320BVX/conf.FDO24320BVX does NOT exist - /script.sh
2024 Nov 14 07:57:44 switch %$ VDC-1 %$ %USER-1-SYSTEM_MSG: S/N[FDO24320BVX]-MAC[E41F7BB71460] - Cleanup all files - /script.sh
2024 Nov 14 07:57:44 switch %$ VDC-1 %$ %POAP-2-POAP_FAILURE: [FDO24320BVX-E4:1F:7B:B7:14:67] - POAP USB Script execution failed
But the file exist on system:
switch# cd usb1:
switch# dir /baseline/FDO24320BVX/conf.FDO24320BVX
2430 Nov 12 16:34:10 2024 baseline/FDO24320BVX/conf.FDO24320BVX