Upgrade from 3.13.x with Khepri enabled: exception exit: {{user_already_exists,<<"guest">>} #13853
-
Community Support Policy
RabbitMQ version used4.1.0 Erlang version used27.3.x Operating system (distribution) usedwindows server How is RabbitMQ deployed?Windows installer rabbitmq-diagnostics status outputStatus of node rabbit@nbpli-wcsatp1 ... OS PID: 1168 Plugins Enabled plugin file: c:/Users/mbillman/AppData/Roaming/RabbitMQ/enabled_plugins
Data directory Node data directory: c:/Users/mbillman/AppData/Roaming/RabbitMQ/db/rabbit@nbpli-wcsatp1-mnesia Config files
Log file(s)
Alarms (none) Tags (none) Memory Total memory used: 0.0867 gb other_proc: 0.0263 gb (30.35 %) File Descriptors Total: 0, limit: 65439 Free Disk Space Low free disk space watermark: 0.05 gb Totals Connection count: 0 Listeners Interface: [::], port: 15672, protocol: http, purpose: HTTP API Logs from node 1 (with sensitive values edited out)2025-05-05 11:46:29.257000-05:00 [info] <0.211.0> Starting RabbitMQ 4.1.0 on Erlang 27.3.3 [jit] Logs from node 2 (if applicable, with sensitive values edited out)No response Logs from node 3 (if applicable, with sensitive values edited out)No response rabbitmq.confn/a - using base config Steps to deploy RabbitMQ clusterused windows installers to upgrade Steps to reproduce the behavior in questionCannot get any user to log in... For instance: C:\Program Files\RabbitMQ Server\rabbitmq_server-4.1.0\sbin>rabbitmqctl authenticate_user qc r@bbitMQ C:\Program Files\RabbitMQ Server\rabbitmq_server-4.1.0\sbin>rabbitmqctl list_users C:\Program Files\RabbitMQ Server\rabbitmq_server-4.1.0\sbin>rabbitmqctl list_permissions advanced.configNo response Application codeNo response Kubernetes deployment fileNo response What problem are you trying to solve?Cannot get anything to log in...even when creating users. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
These are pretty self-explanatory. There is a CLI command for troubleshooting authentication:
If you use characters such as |
Beta Was this translation helpful? Give feedback.
-
I've tried all of those...as well as simplifying the change password to something very simple as follows: C:\Program Files\RabbitMQ Server\rabbitmq_server-4.1.0\sbin>rabbitmqctl change_password qc qc C:\Program Files\RabbitMQ Server\rabbitmq_server-4.1.0\sbin>rabbitmqctl authenticate_user qc qc |
Beta Was this translation helpful? Give feedback.
-
@qcsoftware513 we have figured out what happens. Khepri in 4.x has a completely different data model than in 3.13.x. In 3.13.x, it was an experimental feature flag, so upgrades from 3.13.x nodes with Khepri are only possible if you use a Blue Green deployment technique or (for development nodes) after wiping the node's data. |
Beta Was this translation helpful? Give feedback.
@qcsoftware513 we have figured out what happens.
Khepri in 4.x has a completely different data model than in 3.13.x. In 3.13.x, it was an experimental feature flag, so upgrades from 3.13.x nodes with Khepri are only possible if you use a Blue Green deployment technique or (for development nodes) after wiping the node's data.