<div dir="ltr">Typically if you manage services with pacemaker, you would put the affected service into unmanaged state before you run `yum update`, so that RPM can do its thing. Afterwards, just mark the services managed.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 12, 2015 at 7:06 PM, Ihar Hrachyshka <span dir="ltr"><<a href="mailto:ihrachys@redhat.com" target="_blank">ihrachys@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">Fabio M. Di Nitto <<a href="mailto:fdinitto@redhat.com" target="_blank">fdinitto@redhat.com</a>> wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
On 11/12/2015 5:01 PM, Ihar Hrachyshka wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Fabio M. Di Nitto <<a href="mailto:fdinitto@redhat.com" target="_blank">fdinitto@redhat.com</a>> wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 11/12/2015 4:55 PM, Javier Pena wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
----- Original Message -----<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 11/12/2015 05:42 AM, Haïkel wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
this has been discussed for a while, so I'd like to set automatic<br>
restart for OpenStack services as a goal for Mitaka - milestone 1.<br>
These are easy fixes, and by setting it to milestone 1, we'll have<br>
more than enough time to test this and optimize.<br>
<br>
I already created a trello card to track that effort, but I'd like to<br>
get your feedback first.<br>
<a href="https://trello.com/c/HfXMLSTD/106-set-automatic-restart-for-service" rel="noreferrer" target="_blank">https://trello.com/c/HfXMLSTD/106-set-automatic-restart-for-service</a><br>
</blockquote>
<br>
can you describe what you mean here by automatic restart for services?<br>
<br>
I'm worried what the implications would be for things that are running<br>
under Pacemaker control in an HA environment, so I think we need more<br>
details here<br>
</blockquote>
<br>
FWIW, this option is already enabled in some services, such as<br>
nova-api<br>
(<a href="https://github.com/openstack-packages/nova/blob/rpm-master/openstack-nova-api.service" rel="noreferrer" target="_blank">https://github.com/openstack-packages/nova/blob/rpm-master/openstack-nova-api.service</a>)<br>
where Restart=always. I've checked a Juno deployment, and that option<br>
was already set back then.<br>
</blockquote>
<br>
It shouldn´t affect pacemaker deployment, because we do override some of<br>
those values via dbus config.<br>
</blockquote>
<br>
To clarify things, doesn’t it affect just nova-api because you have some<br>
special treatment for the service? or it would not affect you if applied<br>
to other units? [In that case we could go forward and set automatic<br>
restart policy there, while you could stick to your hooks to influence<br>
service restart behaviour.]<br>
</blockquote>
<br>
all services in pacemaker that are managed/monitored via systemd gets a<br>
set of overrides to avoid those kind of issues.<br>
</blockquote>
<br></div></div>
Then we should be safe to proceed with the feature.<br>
<br>
Thanks,<div class="HOEnZb"><div class="h5"><br>
Ihar<br>
<br>
_______________________________________________<br>
Rdo-list mailing list<br>
<a href="mailto:Rdo-list@redhat.com" target="_blank">Rdo-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/rdo-list" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/rdo-list</a><br>
<br>
To unsubscribe: <a href="mailto:rdo-list-unsubscribe@redhat.com" target="_blank">rdo-list-unsubscribe@redhat.com</a></div></div></blockquote></div><br></div>