<div dir="ltr">Hi Ryan,<div><br></div><div><span style="font-size:12.8px">>    - Create the service's users and add a password into the databse</span><br style="font-size:12.8px"><span style="font-size:12.8px">>    - Sync the service with the database</span><br style="font-size:12.8px"><span style="font-size:12.8px">>    - Start the service</span><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">If I am right, these are one time activity...during installation stage.. one does not need to create "service users" again and again during service start.</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px"><br></span></div><div><div>><span style="font-size:12.8px">Or maybe the service runs a db_sync every time</span></div><span style="font-size:12.8px">is starts? </span><div><span style="font-size:12.8px">No, service start does not run db_sync.</span></div><div><span style="font-size:12.8px">I think only service status is updated in db during service start(i am not talking specific to keystone...just general behavior).</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">What is requirement for db_sync each time service starts?</span></div></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Best Regards,</span></div><div><span style="font-size:12.8px">Sheel Rana</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 27, 2016 at 9:38 PM, Ryan Hallisey <span dir="ltr"><<a href="mailto:rhallise@redhat.com" target="_blank">rhallise@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
When orchestrating an openstack service from nothing, there are a few steps that<br>
need to occur before you have a running service assuming the database already exists.<br>
<br>
    - Create the service's users and add a password into the databse<br>
    - Sync the service with the database<br>
    - Start the service<br>
<br>
I was wondering if for some services they could be aware of whether or not they need<br>
to sync with the database at startup.  Or maybe the service runs a db_sync every time<br>
is starts?  I figured I would start a thread about this because Keystone has some<br>
flexibility when running N+1 in a cluster of N. If Keystone could have that<br>
that ability maybe Keystone could db_sync each time it starts without harming the<br>
cluster?<br>
<br>
It may be wishful thinking, but I'm curious to hear more thought about the topic.<br>
<br>
Thanks,<br>
Ryan<br>
<br>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</blockquote></div><br></div>