subprocess.CalledProcessError: Command '['apt-get', '--assume-yes', '--option=Dpkg::Options::=--force-confold', 'install']' returned non-zero exit status 100.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Placement Charm |
Fix Committed
|
Medium
|
Unassigned | ||
Train |
Fix Committed
|
Undecided
|
Unassigned | ||
Ussuri |
Fix Committed
|
Undecided
|
Unassigned | ||
Victoria |
Fix Committed
|
Undecided
|
Unassigned | ||
Wallaby |
Fix Committed
|
Undecided
|
Unassigned | ||
Xena |
Fix Committed
|
Undecided
|
Unassigned | ||
Yoga |
Fix Committed
|
Undecided
|
Unassigned | ||
Zed |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
The update-status hook is trying to call apt-get when re-rendering the configuration, this is not something that should happen on every update-status hook execution
placement/0* error idle 16 172.16.0.102 8778/tcp hook failed: "update-status"
2023-04-18 06:09:46 ERROR unit.placement/
Traceback (most recent call last):
File "/var/lib/
bus.
File "/var/lib/
_invoke(
File "/var/lib/
handler.
File "/var/lib/
self.
File "/var/lib/
placement_
File "/var/lib/
if self.openstack_
File "/var/lib/
cur_vers = self.get_
File "/var/lib/
codename = self.get_
File "/var/lib/
self.
File "/var/lib/
fetch.
File "/var/lib/
fn(*m.groups())
File "/var/lib/
_add_
File "/var/lib/
apt_
File "/var/lib/
_run_
File "/var/lib/
_run_
File "/var/lib/
result = subprocess.
File "/usr/lib/
raise CalledProcessEr
subprocess.
Issue found in this CI run https:/ /openstack- ci-reports. ubuntu. com/artifacts/ 466/878225/ 2/check/ focal-xena- ha-ovn/ 466436e/