<p dir="ltr">Yes, deleting the user before the vhost was enough. Thanks :) </p>
<div class="gmail_quote">On Sep 11, 2013 8:05 AM, "Simon MacMullen" <<a href="mailto:simon@rabbitmq.com">simon@rabbitmq.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 10/09/13 21:20, carlhoerberg wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
can't delete vhost<br>
</blockquote>
<br>
Thanks for the bug report.<br>
<br>
So it looks what is happening is a queue is in the process of being deleted while the vhost that contains it is also being deleted. I assume you have a user who is busy churning queues while you delete their user / vhost?<br>
<br>
At the moment that doesn't appear to be safe. We'll fix this in a future release, but for the time being you can work around this with something like:<br>
<br>
* Remove user permissions to vhosts<br>
* (Remove user if that's what you want to do)<br>
* Kill all connections to the vhost<br>
* Delete the vhost<br>
<br>
Cheers, Simon<br>
<br>
-- <br>
Simon MacMullen<br>
RabbitMQ, Pivotal<br>
</blockquote></div>