-
Notifications
You must be signed in to change notification settings - Fork 31
Closed
Milestone
Description
The issue is found on dogfood and still reproducible on a racklet running commit c765b3539203e34f65cd402f139cf604035d5993 (i.e. #9746).
The instance in question has an ephemeral IP and a ssh key added at create time, and password auth configured. I was unable to SSH into it after sudo reboot now but could still access it via password auth on serial console. The instance was up and running and still listening to port 22. All the opte and swadm nat entries on the sled and both switches were intact.
The problem turned out to be the guest's losing its private IP after guest reboot:
before:
ubuntu@vm1-1:~$ ip address
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host noprefixroute
valid_lft forever preferred_lft forever
2: enp0s8: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether a8:40:25:f0:00:00 brd ff:ff:ff:ff:ff:ff
inet 172.30.0.5/32 metric 100 scope global dynamic enp0s8
valid_lft 86387sec preferred_lft 86387sec
inet6 fe80::aa40:25ff:fef0:0/64 scope link
valid_lft forever preferred_lft forever
ubuntu@vm1-1:~$ netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
0.0.0.0 172.30.0.1 0.0.0.0 UG 0 0 0 enp0s8
1.1.1.1 172.30.0.1 255.255.255.255 UGH 0 0 0 enp0s8
9.9.9.9 172.30.0.1 255.255.255.255 UGH 0 0 0 enp0s8
172.30.0.1 0.0.0.0 255.255.255.255 UH 0 0 0 enp0s8
after:
ubuntu@vm1-1:~$ ip address
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host noprefixroute
valid_lft forever preferred_lft forever
ubuntu@vm1-1:~$ netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels