rax-nova-agent can be upgraded without upgrading python3-novaagent, then it crashes

Bug #1806678 reported by Balint Reczey
6
This bug affects 1 person
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]

 * -

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.