Public bug reported:
This happens when I detach an OpenStack instance interface, attach a new
one, and then reboot the instance. After that, the instance does not
work with the new interface.
I see these logs:
[ 6.113022] cloud-init[644]: 2025-06-28 01:38:35,826 - net[WARNING]: Unable
to rename interfaces: [['fa:16:3e:a7:c9:78', 'ens3', 'virtio_net', '0x0001']]
due to errors: ['[nic not present] Cannot rename mac=fa:16:3e:a7:c9:78 to ens3,
not available.']
[ 6.114886] cloud-init[644]: 2025-06-28 01:38:35,826 - stages.py[WARNING]:
Failed to rename devices: Failed to apply network config names: [nic not
present] Cannot rename mac=fa:16:3e:a7:c9:78 to ens3, not available.
The instance only works after removing the following from the Netplan
configuration:
match:
macaddress: 00:16:3e:06:05:12
And then running dhclient.
Environment:
OpenStack 2025.1
Image: focal-server-cloudimg-amd64.img
Netplan 24.4.1
This issue also occurs with Ubuntu 24.04.
** Affects: cloud-init (Ubuntu)
Importance: Undecided
Status: New
** Description changed:
This happens when I detach an OpenStack instance interface, attach a new
one, and then reboot the instance. After that, the instance does not
work with the new interface.
I see these logs:
[ 6.113022] cloud-init[644]: 2025-06-28 01:38:35,826 - net[WARNING]:
Unable to rename interfaces: [['fa:16:3e:a7:c9:78', 'ens3', 'virtio_net',
'0x0001']] due to errors: ['[nic not present] Cannot rename
mac=fa:16:3e:a7:c9:78 to ens3, not available.']
[ 6.114886] cloud-init[644]: 2025-06-28 01:38:35,826 - stages.py[WARNING]:
Failed to rename devices: Failed to apply network config names: [nic not
present] Cannot rename mac=fa:16:3e:a7:c9:78 to ens3, not available.
The instance only works after removing the following from the Netplan
configuration:
-
match:
- macaddress: 00:16:3e:06:05:12
- And then running dhclient -r.
-
+ macaddress: 00:16:3e:06:05:12
+ And then running dhclient.
Environment:
OpenStack 2025.1
Image: focal-server-cloudimg-amd64.img
Netplan 24.4.1
This issue also occurs with Ubuntu 24.04.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2115545
Title:
Detach and Attach Openstack Instance interfaces wont work
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/2115545/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs