You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

OCI: After OL8 upgrade instances becomes inaccessible in network and need a reboot

edited Jun 28, 2024 11:30AM in Linux

APPLIES TO:

Oracle Cloud Infrastructure

Linux x86-64

SYMPTOMS

After upgrading the instance from OL7 to OL8, the instance is not accessible via ssh frequently and it must be rebooted to restore the connection.

CAUSE

Instances IP address loss.

$ ip a 
2: ens3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc fq_codel state UP group default qlen 1000 
    link/ether 02:00:17:25:ef:2d brd ff:ff:ff:ff:ff:ff 
    altname enp0s3 
    inet6 fe80::17ff:fe25:ef2d/64 scope link  
       valid_lft forever preferred_lft forever 
$ systemctl status newtork 
network.service - LSB: Bring up/down networking 
   Loaded: loaded (/etc/rc.d/init.d/network; generated) 
   Active: failed (Result: exit-code) since Wed 2024-05-29 00:57:30 GMT; 5h 51min ago 
     Docs: man:systemd-sysv-generator(8) 
 
May 29 00:57:27 localhost dhclient[1371]: DHCPDISCOVER on ens3 to 255.255.255.255 port 67 interval 5 (xid=0xeffc2b3a) 
May 29 00:57:27 localhost dhclient[1371]: DHCPREQUEST on ens3 to 255.255.255.255 port 67 (xid=0xeffc2b3a) 
May 29 00:57:27 localhost dhclient[1371]: DHCPOFFER from 169.254.169.254 
May 29 00:57:27 localhost dhclient[1371]: DHCPACK from 169.254.169.254 (xid=0xeffc2b3a) 
May 29 00:57:30 localhost dhclient[1371]: DHCPDECLINE on ens3 to 255.255.255.255 port 67 (xid=0xeffc2b3a) 
May 29

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!