We're using the PPA for rabbit but the current debian files are not suitable for production deployments because they stop and restart the process. I understand the desire to start the process if it was not already running, but embedding the restart logic in the deb means that users have no control over the process. As it is very common to use the PPA within the context of a configuration management system (Salt, Chef, etc), it would be best to leave that decision up to the user.
_______________________________________________ rabbitmq-discuss mailing list [hidden email] https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss |
On 17/06/14 15:54, Aaron Westendorf wrote:
> We're using the PPA for rabbit but the current debian files are not > suitable for production deployments because they stop and restart the > process. I understand the desire to start the process if it was not > already running, but embedding the restart logic in the deb means that > users have no control over the process. As it is very common to use the > PPA within the context of a configuration management system (Salt, Chef, > etc), it would be best to leave that decision up to the user. What do you mean by "restart logic"? I could see the point in adding some START_THE_SERVER variable to /etc/default/rabbitmq-server, would that help? Cheers, Simon -- Simon MacMullen RabbitMQ, Pivotal _______________________________________________ rabbitmq-discuss mailing list [hidden email] https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss |
I believe he’s saying that when you install the deb (or upgrade it) it automatically starts or restarts rabbitmq-server, causing less than desirable behavior. From: Simon MacMullen [hidden email] Reply: Discussions about RabbitMQ [hidden email] Date: June 20, 2014 at 1:07:33 PM To: Discussions about RabbitMQ [hidden email], Aaron Westendorf [hidden email] Subject: Re: [rabbitmq-discuss] PPA debs restart rabbit
_______________________________________________ rabbitmq-discuss mailing list [hidden email] https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss |
Yeah, that's what I'm getting at. Even "start on first install" has problems in that there may be other preconditions yet to be set, though it is less problematic than automatically restarting. For now, I've changed our Salt states to freeze to a specific version so that we won't be surprised by a process restart. On Fri, Jun 20, 2014 at 6:38 PM, Gavin M. Roy <[hidden email]> wrote:
_______________________________________________ rabbitmq-discuss mailing list [hidden email] https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss |
We just discovered today that this is further complicated because the PPA is only hosting the current version, so Salt fails when trying to apply the ruleset and ensure the version we froze is installed.
On Tue, Jun 24, 2014 at 11:28 AM, Aaron Westendorf <[hidden email]> wrote:
_______________________________________________ rabbitmq-discuss mailing list [hidden email] https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss |
Any update on the PPA hosting archived versions? It's becoming very painful to use Salt or any other CMS when we want to freeze to a specific version. Fixing that problem would allow us to get past the issue of the deb restarting the service.
On Wed, Jun 25, 2014 at 2:23 PM, Aaron Westendorf <[hidden email]> wrote:
_______________________________________________ rabbitmq-discuss mailing list has moved to https://groups.google.com/forum/#!forum/rabbitmq-users, please subscribe to the new list! [hidden email] https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss |
I'm afraid we haven't had time to work on this.
Cheers, Simon On 20/08/14 19:35, Aaron Westendorf wrote: > Any update on the PPA hosting archived versions? It's becoming very > painful to use Salt or any other CMS when we want to freeze to a > specific version. Fixing that problem would allow us to get past the > issue of the deb restarting the service. > > > On Wed, Jun 25, 2014 at 2:23 PM, Aaron Westendorf <[hidden email] > <mailto:[hidden email]>> wrote: > > We just discovered today that this is further complicated because > the PPA is only hosting the current version, so Salt fails when > trying to apply the ruleset and ensure the version we froze is > installed. > > > On Tue, Jun 24, 2014 at 11:28 AM, Aaron Westendorf > <[hidden email] <mailto:[hidden email]>> wrote: > > Yeah, that's what I'm getting at. Even "start on first install" > has problems in that there may be other preconditions yet to be > set, though it is less problematic than automatically restarting. > > For now, I've changed our Salt states to freeze to a specific > version so that we won't be surprised by a process restart. > > > On Fri, Jun 20, 2014 at 6:38 PM, Gavin M. Roy > <[hidden email] <mailto:[hidden email]>> wrote: > > I believe he’s saying that when you install the deb (or > upgrade it) it automatically starts or restarts > rabbitmq-server, causing less than desirable behavior. > > From: Simon MacMullen [hidden email] > <mailto:[hidden email]> > Reply: Discussions about RabbitMQ > [hidden email] > <mailto:[hidden email]> > Date: June 20, 2014 at 1:07:33 PM > To: Discussions about RabbitMQ > [hidden email] > <mailto:[hidden email]>, Aaron > Westendorf [hidden email] <mailto:[hidden email]> > Subject: Re: [rabbitmq-discuss] PPA debs restart rabbit > >> On 17/06/14 15:54, Aaron Westendorf wrote: >> > We're using the PPA for rabbit but the current debian files are not >> > suitable for production deployments because they stop and restart the >> > process. I understand the desire to start the process if it was not >> > already running, but embedding the restart logic in the deb means that >> > users have no control over the process. As it is very common to use the >> > PPA within the context of a configuration management system (Salt, Chef, >> > etc), it would be best to leave that decision up to the user. >> >> What do you mean by "restart logic"? >> >> I could see the point in adding some START_THE_SERVER >> variable to >> /etc/default/rabbitmq-server, would that help? >> >> Cheers, Simon >> >> -- >> Simon MacMullen >> RabbitMQ, Pivotal >> _______________________________________________ >> rabbitmq-discuss mailing list >> [hidden email] >> <mailto:[hidden email]> >> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss >> > > > > > -- > Aaron Westendorf > Lead Engineer | Agora Games > [hidden email] <mailto:[hidden email]> > > > > > -- > Aaron Westendorf > Lead Engineer | Agora Games > [hidden email] <mailto:[hidden email]> > > > > > -- > Aaron Westendorf > Lead Engineer | Agora Games > [hidden email] <mailto:[hidden email]> _______________________________________________ rabbitmq-discuss mailing list has moved to https://groups.google.com/forum/#!forum/rabbitmq-users, please subscribe to the new list! [hidden email] https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss |
Free forum by Nabble | Edit this page |