Bug 311 - HSOL-3906 System causes "ssh off" after reboot AG with configured bond interface IP as SSH IP.

Review Request #49 — Created Oct. 13, 2023 and submitted — Latest diff uploaded

peteryeh
AG
rel_ag_9_4_0_493_tw
311
jasonchou, roland, timlai, wli

If user assgin bond interface IP as sshd listening IP, when boot up, AG will execute "ssh on" before "ip address bond1 <ip_address> <netmask>" from the startup configuration.
And sshd will try to init with IP address(bond interface) that is not assigned yet.
Ssh daemon's start-up will fail.

The sequence for config table is changed between #ssh configuration and #bond configuration

[Repeat steps]
01: Configure bond interface
bond interface "bond1" "port3" 1
bond interface "bond1" "port4" 1
ip address "bond1" 10.2.1.115 255.255.255.0
02: Configure bond interface as SSH IP.
ssh ip 10.2.1.115
03: Write memory all
04: Execute "show ssh conf"
05: Reboot AG
06: After boot up, Execute "show ssh conf"
07: You will see "ssh off".

---Before Reboot ------------------------

ip configuration

ip address "port1" 10.10.1.110 255.255.255.0

bond configuration

bond interface "bond1" "port3" 1
bond interface "bond1" "port4" 1
ip address "bond1" 10.2.1.115 255.255.255.0

ssh configuration

ssh on
ssh idletimeout 9999999 inputonly
ssh ip 10.2.1.115
ssh auth passwd on "array"
ssh auth key off "array"

---After Reboot ------------------------ (the same)

ip configuration

ip address "port1" 10.10.1.110 255.255.255.0

bond configuration

bond interface "bond1" "port3" 1
bond interface "bond1" "port4" 1
ip address "bond1" 10.2.1.115 255.255.255.0

ssh configuration

ssh on
ssh idletimeout 9999999 inputonly
ssh ip 10.2.1.115
ssh auth passwd on "array"
ssh auth key off "array"

    Loading...