rax-nova-agent can be upgraded without upgrading python3-novaagent, then it crashes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
rax-nova-agent (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
[Impact]
* When rax-nova-agent is upgraded and python3-novaagent is not, nova-agent crashes.
* On most systems and in most upgrade scenarios the packages are upgraded together users can upgrade rax-nova-agent selectively or unattended-upgrades can be interrupted between installing the packages thus selective upgrade of the packages can occur.
* The fix is making rax-nova-agent depend on python3-novaagent with the same version thus they are always upgraded together.
[Test Case]
* Set up a system with an older (matching) upstream version, like 2.1.15 of rax-nova-agent and python3-novaagent.
* Selectively upgrade rax-nova-agent.
* Run the following command and observe it crashing in not fixed versions and succeeding in fixed versions:
# nova-agent -h
[Regression Potential]
* The fix ties the packages together with a versioned dependency. It an error is made setting the dependency the packages stop being installable.
[Other Info]
* -