unit(s) not upgrading packages after changing openstack-origin

Bug #2039604 reported by Gabriel Cocenza
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ceph RADOS Gateway Charm
Expired
Undecided
Unassigned
OpenStack AODH Charm
Incomplete
Undecided
Unassigned
OpenStack Barbican Charm
Incomplete
Undecided
Unassigned
OpenStack Designate Charm
Expired
Undecided
Unassigned
OpenStack Octavia Charm
Expired
Undecided
Unassigned
OpenStack Placement Charm
Expired
Undecided
Unassigned
charms.openstack
New
Undecided
Unassigned

Bug Description

I'm in a cloud upgrading from victoria to wallaby and I noticed that one unit didn't get upgrade after changing the openstack-origin to cloud:focal-wallaby (action-managed-upgrade was set to False).

The unit that didn't upgrade is active idle for some hours and the packages version didn't change:

https://pastebin.canonical.com/p/jf293y3dYV/

If I run `juju run-action barbican/2 openstack-upgrade` then after the unit is stable, the package is upgraded.

The same pattern happened on charm-aodh, so maybe it's a problem with reactive openstack-charms

Revision history for this message
Gabriel Cocenza (gabrielcocenza) wrote :
Revision history for this message
Gabriel Cocenza (gabrielcocenza) wrote :

The workaround for ceph-radosgw was manually changing /etc/apt/sources.list.d/cloud-archive.list to wallaby in the leader unit since there is no openstack-upgrade action and pausing and resume was not enough to get the packages upgrade.

summary: - leader unit not upgrading packages after openstack-upgrade
+ single unit not upgrading packages after changing openstack-origin
description: updated
Revision history for this message
Gabriel Cocenza (gabrielcocenza) wrote : Re: single unit not upgrading packages after changing openstack-origin

all units on charm-octavia didn't get upgrade

summary: - single unit not upgrading packages after changing openstack-origin
+ unit(s) not upgrading packages after changing openstack-origin
Revision history for this message
Alex Kavanagh (ajkavanagh) wrote :

Hi Gabriel

Did you observe this behaviour on all the charms that you've added to this bug?

* Please could you add charm logs and juju machine logs for all the units of the applications/charms affected, and the rough time *when* the "juju config <app> openstack-origin=cloud:focal-wallaby" was run. This is so we can see when the config-changed hook ran for the units in question.
* Please could provide the version of Juju being used and/or a juju status output

Thanks

Changed in charm-ceph-radosgw:
status: New → Incomplete
Changed in charm-aodh:
status: New → Incomplete
Changed in charm-barbican:
status: New → Incomplete
Changed in charm-designate:
status: New → Incomplete
Changed in charm-octavia:
status: New → Incomplete
Changed in charm-placement:
status: New → Incomplete
Revision history for this message
Gabriel Cocenza (gabrielcocenza) wrote :

Hi Alex.

Yes, I've observed this behavior on all charms that I've added.

Isn't enough the juju-status and the sos-report attached of barbican in the bug description?

I didn't collect the logs for other charms because the behavior was very similar.

Revision history for this message
Alex Kavanagh (ajkavanagh) wrote :

Hi Gabriel

No, to understand what's going on the units' debug logs and the units' juju machine logs along with when the config command is run *is* needed. Anyone debugging this needs to be able to match up when the config command was made, to link it to the machine log which will indicate when the config-changed hook ran to link it to the debug log for that config changed hook. Then it would be possible to rule out whether config-changed didn't run, but whether the value changed from the perspective of the charm, or whether the charm took no action on the changed value.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for OpenStack Placement Charm because there has been no activity for 60 days.]

Changed in charm-placement:
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for OpenStack Octavia Charm because there has been no activity for 60 days.]

Changed in charm-octavia:
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Ceph RADOS Gateway Charm because there has been no activity for 60 days.]

Changed in charm-ceph-radosgw:
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for OpenStack Designate Charm because there has been no activity for 60 days.]

Changed in charm-designate:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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