Bug #2006484 ” upgrade-series complete hangs when upgrade from F… : Bugs : OpenStack RabbitMQ Server Charm

charm version 3.9/stable #154
upgrade series from Focal to Jammy failed.

Steps:

#juju deploy –series focal –channel 3.9/stable rabbitmq-server -n 3
#juju set-series rabbitmq-server jammy
#juju run-action –wait rabbitmq-server/0 pause
#juju upgrade-series 0 prepare jammy
#juju ssh 0 sudo apt update
#juju ssh 0 sudo apt full-upgrade
#juju ssh 0 sudo do-release-upgrade
#juju upgrade-series 0 complete

machine-0 complete phase started
machine-0 start units after series upgrade
rabbitmq-server/0 post-series-upgrade hook running

unit-log:
2023-02-07 15:08:33 WARNING unit.rabbitmq-server/0.post-series-upgrade logger.go:60 subprocess.CalledProcessError: Command ‘[‘/usr/sbin/rabbitmqctl’, ‘cluster_status’, ‘–formatter=json’]’ returned non-zero exit status 69.

rabbitmq-server.service is in activating state.

BTW, I can successfully deploy the same charm onto 3 Jammy machines.

Detail steps and output: https://pastebin.canonical.com/p/tnCsfFpr7q/

Read more here: Source link