Unsolved
1 Rookie
•
3 Posts
0
133
December 10th, 2024 16:36
How to set proxy config for DSU system inventory
I'm trying to run dsu inventory but it is hanging:
Fetching invcol_LN64_C1KC7_24_12_00_240_A00.BIN ...
Getting System Inventory ...
The problem is that /opt/dell/invcol_LN64_C1KC7_24_12_00_240_A00.BIN.6UBNArTBas/BIOS_16G/Pluggable
IE.bin is trying to connect to the BMC USBNIC at https://169.254.1.1:443 via our proxy. I've tried to prevent this by setting various no_proxy variables:
no_proxy=127.0.0.0/8,::1,localhost,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16,.nwra.com,169.254.0.0/16
NO_PROXY=127.0.0.0/8,::1,localhost,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16,.nwra.com,169.254.0.0/16
But that does not appear to be helping - it's still trying to go through the proxy. How can I prevent it from trying to connect to the BMC via the proxy? In some sense it seems like PluggableIE.bin should be completely ignoring proxy settings when trying to contact the local BMC as that will surely never work.
DELL-Young E
Moderator
•
5.2K Posts
0
December 11th, 2024 06:27
Hello, thanks for choosing Dell and welcome to our community.
https://dell.to/4fbEYrK
Dell System Update Version 2.1.1.0 User’s Guide | Dell 日本
system-update | Dell System Update Version 2.1.1.0 User’s Guide | proxy
Following are the limitations for proxy:
Hope this helps.
Resepctully,
opopnwra
1 Rookie
•
3 Posts
0
December 12th, 2024 16:02
@DELL-Young E So, that's nice general information about proxies, but it doesn't help with this specific case, and it seems a bit presumptuous to mark it as the accepted answer before getting any response.
I don't have any problem setting the proxy via http_proxy/https_proxy. The problem is that this inventory collection process:
root 200995 200993 0 08:51 pts/0 00:00:00 bash /usr/libexec/dell_dup/invcol_LN64_C1KC7_24_12_00_240_A00.BIN -outc=/usr/libexec/dell_dup/inv.xml -logc=/usr/libexec/dell_dup/icLog.txt
root 201132 200995 0 08:51 pts/0 00:00:00 ./invcol -bdir=/root -outc=/usr/libexec/dell_dup/inv.xml -logc=/usr/libexec/dell_dup/icLog.txt
root 202902 201132 0 08:51 pts/0 00:00:00 sh -c ./PluggableIE.bin -i 2>/dev/null
[2024-12-12T08:58:23] : CMTCurlCommon.cpp: 162: GET: https://169.254.1.1:443/redfish/v1/UpdateService
Attempts to contact the BMC NIC at 169.254.1.1 via the proxy, despite my adding that IP range to the no_proxy environment variable. Again, it seems that any attempt to contact the local BMC should never use the proxy since that will never work.
--source-type=REPOSITORY does not appear to have any effect.
opopnwra
1 Rookie
•
3 Posts
0
December 12th, 2024 16:58
Okay, reading the documentation more closely led me to this command:
env -u https_proxy dsu --proxy=$https_proxy
this appears to use the proxy where necessary, but not pass it on to the inventory collection stage. So setting the https_proxy environment variable is actually breaking dsu and it's better to use the command line option. At least until this gets fixed properly.
9bitwizard
1 Rookie
•
1 Message
0
January 3rd, 2025 07:26
Hi, we actually hit the same issue with the new DSU. I managed to get around it with this command
https_proxy=proxy_server_ip:3128 no_proxy=169.254.1.1 dsu --inventory