upgrade from Stein to Train does not remove NRPE check for nova-consoleauth
Bug #1904650 reported by
Xav Paice
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Nova Cloud Controller Charm |
Fix Released
|
Medium
|
Felipe Reyes |
Bug Description
When upgrading a cloud from bionic-stein to bionic-train, charm cs:nova-
tags: | added: openstack-upgrade |
Changed in charm-nova-cloud-controller: | |
status: | New → Incomplete |
status: | Incomplete → Triaged |
tags: | added: monitoring |
Changed in charm-nova-cloud-controller: | |
importance: | Undecided → Medium |
tags: | added: aubergine |
Changed in charm-nova-cloud-controller: | |
assignee: | nobody → Felipe Reyes (freyes) |
Changed in charm-nova-cloud-controller: | |
milestone: | none → 22.04 |
Changed in charm-nova-cloud-controller: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Workaround:
unit=<ncc-unit-id> master) - '$unit $(relation- ids nrpe-external- master) ; relation-get -r $rel_id monitors '$unit' | awk "!/nova- consoleauth/ " | sed -e "s/^/ /" >> relation_fix.yaml; relation-set -r $rel_id --file relation_fix.yaml; rm relation_fix.yaml' master) - '$unit
# Dump current relation data in case something
juju exec -u $unit 'relation-get -r $(relation-ids nrpe-external-
# Rewrite the monitors field, dropping the nova-consoleauth line
juju exec -u $unit 'echo "monitors: |" >> relation_fix.yaml; rel_id=
# Re-dump relation data to confirm it got rewritten as desired
juju exec -u $unit 'relation-get -r $(relation-ids nrpe-external-