Files
6ac3f350c049d9dc62c941702c20e67eff2c20a1
ironic-python-agent /ironic_python_agent
Julia Kreger 6ac3f350c0 Unmount config drives
If this seems like deja vu, that is because it is. We had this
very same issue with the original CoreOS ramdisk. Since we don't
control the whole OS of the ramdisk, it only made sense to teach
the agent to umount the folder.
The folder is referenced already, and the agent does have safeguards
in place, but unfortunately this issue led to a rebuild breaking where
cloud-init, glean, and the agent were all trying do the right thing
as they thought, and there were just multiple /mnt/config folders
present in the OS. These are separate issues we also need to try and
remedy.
What happens is when the device is locked via a mount, the partition
table is never updated to the running OS as the mount creates a lock.
So the agent ends up thinking, in the case of a rebuild, that everything
including creating a configuration drive on that device has been
successful, but when you reboot, there is no partition table entry
for the new partition as the change was not successfully written.
This state prevented the workload from rebooting properly.
This change eliminates that possibility moving forward by attempting
to ensure that the cloud configuration folder is no longer mounted.
Change-Id: I4399dd0934361003cca9ff95a7e3e3ae9bba3dab
2024年04月29日 15:41:59 -07:00
..
2022年04月14日 10:47:06 +00:00
2024年01月09日 16:43:23 +01:00
2024年04月29日 15:41:59 -07:00
2021年12月16日 22:03:51 +01:00
2022年01月10日 11:31:33 +01:00
2024年04月11日 01:17:23 +12:00
2020年07月02日 12:18:53 +02:00
2023年12月28日 10:54:46 -08:00
2023年12月28日 10:54:46 -08:00
2024年03月28日 21:22:53 +00:00
2024年01月31日 10:09:13 +01:00
2024年04月29日 15:41:59 -07:00
2022年06月21日 17:54:39 +02:00