ION_Vince

updated

6 years ago

I

ION_Vince

1 Rookie

5 Posts

0

3311

October 16th, 2020 13:00

Redfish remote works - Local cli redfishtool does not

I have been seeking to use redfish to query system status: Ubuntu 18.04

working fine from other machine to idrac-ip/redfish/v1 from other machines...

issue is same machine to same machine redfish is not working.

I have 2 nic, 1 is dhcp, 2nd is static to 192.168.100.1 and provides dhcp to ip based sensors and aggregates the data.

In the current iteration, idrac listening on 10.0.0.244 and

https://10.0.0.244/redfish/v1/Chassis -- works fine from another machine...

But: I do not think the system knows how to route the request to the secondary ip which exists on the same nic's. I have tried both nic's and am able to access either via web browser on another machine... But no luck hitting from that local server ip.

some hopefully helpful details below:

user@somesystem:~$ redfishtool -r 10.0.0.244 -u someuser -p somepassword Systems
redfishtool: getCollection: Error getting service root, aborting

user@somesystem:~$ ping 10.0.0.244
PING 10.0.0.244 (10.0.0.244) 56(84) bytes of data.
From 10.0.0.250 icmp_seq=1 Destination Host Unreachable
From 10.0.0.250 icmp_seq=2 Destination Host Unreachable
From 10.0.0.250 icmp_seq=3 Destination Host Unreachable

user@somesystem:~$ ip route show
default via 10.0.0.1 dev eno1 proto dhcp src 10.0.0.250 metric 100
10.0.0.0/24 dev eno1 proto kernel scope link src 10.0.0.250
10.0.0.1 dev eno1 proto dhcp scope link src 10.0.0.250 metric 100
192.168.100.0/24 dev eno2 proto kernel scope link src 192.168.100.1

user@somesystem:~$ ifconfig
eno1: flags=4163 mtu 1500
inet 10.0.0.250 netmask 255.255.255.0 broadcast 10.0.0.255
inet6 2601:186:4500:f700:2eea:7fff:fe5a:30cb prefixlen 64 scopeid 0x0
inet6 fe80::2eea:7fff:fe5a:30cb prefixlen 64 scopeid 0x20
ether 2c:ea:7f:5a:30:cb txqueuelen 1000 (Ethernet)
RX packets 17972 bytes 2499020 (2.4 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 504 bytes 54665 (54.6 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 17

eno2: flags=4163 mtu 1500
inet 192.168.100.1 netmask 255.255.255.0 broadcast 192.168.100.255
inet6 fe80::2eea:7fff:fe5a:30cc prefixlen 64 scopeid 0x20
ether 2c:ea:7f:5a:30:cc txqueuelen 1000 (Ethernet)
RX packets 6437 bytes 1516562 (1.5 MB)
RX errors 0 dropped 2 overruns 0 frame 0
TX packets 4661 bytes 1141877 (1.1 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 18

lo: flags=73 mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10
loop txqueuelen 1000 (Local Loopback)
RX packets 48 bytes 4612 (4.6 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 48 bytes 4612 (4.6 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

 

Thanks for taking the time to read this