r/openstack • u/redfoobar • Dec 30 '24
Anyone knows if there is code executed when a nova compute agent is "upgraded" to a newer version.
Hello,
I was looking if we could skip some Nova upgrades.
It looks like the controller part will work fine with db schema updates but it looks like there is a hard check to check if any agents are still running an older version (e.g. conductor will not start).
Does anyone know if there is anything actually happening when the compute agents upgrade themselves and where I could find that code path? ( I know this happened a long time ago, IIRC when CELLS where added you had to run the compute agent for a bit so it updated objects in the database).
Looking at the objects/service.py it does not seem to do anything other than updating the service version but maybe I am missing something somewhere else.
(We are ok to stop all agents for a bit during the upgrade if that means we can skip installing all intermediate versions)
Any other considerations/things people ran into?
Currently looking if we can do Victoria -> Yoga -> Dalmatian upgrade.