Activity log for bug #2074309

Date Who What changed Old value New value Message
2024-07-28 19:12:16 Hadmut Danisch bug added bug
2024-07-29 21:15:20 Mitchell Dzurick attachment added test.sh https://bugs.launchpad.net/ubuntu/+source/rabbitmq-server/+bug/2074309/+attachment/5801237/+files/test.sh
2024-07-30 21:10:17 Mitchell Dzurick bug added subscriber Mitchell Dzurick
2024-07-31 05:22:27 Christian Ehrhardt  tags server-triage-discuss
2024-07-31 08:48:07 Robie Basak bug task added ubuntu-release-notes
2024-07-31 12:32:21 Andreas Hasenack bug added subscriber Andreas Hasenack
2024-07-31 12:33:06 Andreas Hasenack bug added subscriber Canonical Server
2024-07-31 12:33:12 Andreas Hasenack rabbitmq-server (Ubuntu): importance Undecided High
2024-07-31 12:33:28 Andreas Hasenack bug added subscriber Ubuntu Server
2024-07-31 18:41:26 Launchpad Janitor rabbitmq-server (Ubuntu): status New Confirmed
2024-07-31 18:42:17 Andreas Hasenack tags server-triage-discuss server-todo
2024-07-31 19:00:23 Andreas Hasenack nominated for series Ubuntu Oracular
2024-07-31 19:00:23 Andreas Hasenack bug task added rabbitmq-server (Ubuntu Oracular)
2024-07-31 19:00:23 Andreas Hasenack nominated for series Ubuntu Noble
2024-07-31 19:00:23 Andreas Hasenack bug task added rabbitmq-server (Ubuntu Noble)
2024-07-31 19:00:31 Andreas Hasenack rabbitmq-server (Ubuntu Noble): milestone ubuntu-24.04.1
2024-07-31 19:00:40 Andreas Hasenack rabbitmq-server (Ubuntu Noble): status New Confirmed
2024-07-31 19:00:42 Andreas Hasenack rabbitmq-server (Ubuntu Noble): importance Undecided High
2024-08-01 07:20:19 Christian Ehrhardt  bug added subscriber Christian Ehrhardt 
2024-08-06 21:35:24 Bryce Harrington summary rabbitmq-server upgrade 22.04 -> 24.04 completely broken rabbitmq-server upgrade 22.04 -> 24.04 won't start due to feature flags
2024-08-06 21:36:04 Bryce Harrington summary rabbitmq-server upgrade 22.04 -> 24.04 won't start due to feature flags upgrade 22.04 -> 24.04 won't start due to feature flags
2024-08-06 22:07:58 Mitchell Dzurick bug watch added https://github.com/rabbitmq/rabbitmq-server/issues/9677
2024-08-08 19:22:52 Andreas Hasenack bug task added ubuntu-release-upgrader (Ubuntu)
2024-08-09 19:31:29 Nick Rosbrook ubuntu-release-upgrader (Ubuntu Noble): status New In Progress
2024-08-09 19:37:31 Nick Rosbrook description Hi, I was just doing an upgrade from ubuntu 22.04 server to 24.04 server. After upgrading, the rabbitmq-server cannot be started anymore. Reason: See https://www.rabbitmq.com/blog/2022/07/20/required-feature-flags-in-rabbitmq-3.11 Higher versions of rabbitmq require feature flags to be set *before* upgrade. In my rabbitmq installation these features had not been set, therefore the the rabbitmq server would not start. They ask you to downgerade to an earlier version and do the upgrade. I therefore used LXD to run a Ubuntu 22.04 machine with rabbitmq 3.9 to set the missing feature flags and achieved: rabbitmqctl enable_feature_flag all rabbitmqctl list_feature_flags Listing feature flags ... name state implicit_default_bindings enabled maintenance_mode_status enabled quorum_queue enabled stream_queue enabled user_limits enabled virtual_host_metadata enabled But it still does not work, it still complains about one feature missing: classic_mirrored_queue_version unfortunately, this is required by rabbitmq 3.12 coming with Ubuntu 24.04, but is not known and thus cannot be set by rabbitmq 3.9 coming with Ubuntu 22.04. Now the problem is: There is no Ubuntu coming with 3.9 or 3.10. Ubuntu jumps directly from rabbitmq 3.9 to rabbitmq 3.12, although there is no upgrade path from 3.9 to 3.12. Three nasty options: - loose your data and configuration and run from scratch - run an old version in either docker or LXD - try some upgrade path with docker/podman and non-ubuntu versions of rabbitmq Unfortunately, https://hub.docker.com/_/rabbitmq does not list versions older than 3.12, but they still seem to be available, so this might by some migration/workaround path. [Impact] Upgrading systems with rabbitmq-server installed will leave the server in a bad state because upgrading directly from the version in Jammy to the version in Noble is not supported by upstream rabbitmq-server. [Test Plan] For now, we add an upgrade quirk to prevent upgrades from Jammy to Noble if rabbitmq-server is installed, and provide an brief explanation to the user. To test: 1. Create a Jammy container $ lxc launch ubuntu:jammy jammy 2. Install rabbitmq-server $ apt install -y rabbitmq-server 3. Attempt the upgrade $ do-release-upgrade -d The upgrade should abort with a message explaining why. [Impact] This quirk uses a common pattern in ubuntu-release-upgrader for similar purposes. If the package name was typo'd, it would not work correctly. [Other information] We may eventually need another SRU to revert this change if another solution is found. [Original Description] Hi, I was just doing an upgrade from ubuntu 22.04 server to 24.04 server. After upgrading, the rabbitmq-server cannot be started anymore. Reason: See https://www.rabbitmq.com/blog/2022/07/20/required-feature-flags-in-rabbitmq-3.11 Higher versions of rabbitmq require feature flags to be set *before* upgrade. In my rabbitmq installation these features had not been set, therefore the the rabbitmq server would not start. They ask you to downgerade to an earlier version and do the upgrade. I therefore used LXD to run a Ubuntu 22.04 machine with rabbitmq 3.9 to set the missing feature flags and achieved: rabbitmqctl enable_feature_flag all rabbitmqctl list_feature_flags Listing feature flags ... name state implicit_default_bindings enabled maintenance_mode_status enabled quorum_queue enabled stream_queue enabled user_limits enabled virtual_host_metadata enabled But it still does not work, it still complains about one feature missing: classic_mirrored_queue_version unfortunately, this is required by rabbitmq 3.12 coming with Ubuntu 24.04, but is not known and thus cannot be set by rabbitmq 3.9 coming with Ubuntu 22.04. Now the problem is: There is no Ubuntu coming with 3.9 or 3.10. Ubuntu jumps directly from rabbitmq 3.9 to rabbitmq 3.12, although there is no upgrade path from 3.9 to 3.12. Three nasty options: - loose your data and configuration and run from scratch - run an old version in either docker or LXD - try some upgrade path with docker/podman and non-ubuntu versions of rabbitmq Unfortunately, https://hub.docker.com/_/rabbitmq does not list versions older than 3.12, but they still seem to be available, so this might by some migration/workaround path.
2024-08-12 11:07:01 Łukasz Zemczak ubuntu-release-upgrader (Ubuntu Noble): status In Progress Fix Committed
2024-08-12 11:07:04 Łukasz Zemczak bug added subscriber Ubuntu Stable Release Updates Team
2024-08-12 11:07:06 Łukasz Zemczak bug added subscriber SRU Verification
2024-08-12 11:07:11 Łukasz Zemczak tags server-todo server-todo verification-needed verification-needed-noble
2024-08-12 16:30:00 Nick Rosbrook tags server-todo verification-needed verification-needed-noble server-todo verification-done verification-done-noble
2024-08-22 08:21:59 Łukasz Zemczak tags server-todo verification-done verification-done-noble server-todo verification-needed verification-needed-noble
2024-08-22 13:36:48 Nick Rosbrook tags server-todo verification-needed verification-needed-noble server-todo verification-done verification-done-noble
2024-08-27 10:40:13 Launchpad Janitor ubuntu-release-upgrader (Ubuntu Noble): status Fix Committed Fix Released
2024-08-27 10:40:53 Łukasz Zemczak removed subscriber Ubuntu Stable Release Updates Team
2024-08-30 20:03:59 Launchpad Janitor ubuntu-release-upgrader (Ubuntu): status New Confirmed
2024-09-05 16:01:33 Launchpad Janitor merge proposal linked https://code.launchpad.net/~juliank/ubuntu-release-upgrader/+git/ubuntu-release-upgrader/+merge/472685
2024-09-06 13:50:14 Nick Rosbrook ubuntu-release-upgrader (Ubuntu Oracular): status Confirmed Invalid