https://dev.arvados.org/https://dev.arvados.org/favicon.ico?15576888422022-09-14T21:01:11ZArvadosArvados - Bug #19514: Make sure services pick up config changes when the salt installer is runhttps://dev.arvados.org/issues/19514?journal_id=1063652022-09-14T21:01:11ZPeter Amstutzpeter.amstutz@curii.com
<ul><li><strong>Description</strong> updated (<a title="View differences" href="/journals/106365/diff?detail_id=102950">diff</a>)</li></ul> Arvados - Bug #19514: Make sure services pick up config changes when the salt installer is runhttps://dev.arvados.org/issues/19514?journal_id=1063742022-09-15T15:24:30ZPeter Amstutzpeter.amstutz@curii.com
<ul><li><strong>Subject</strong> changed from <i>Make sure services pick up config changes when the installer is run</i> to <i>Make sure services pick up config changes when the salt installer is run</i></li></ul> Arvados - Bug #19514: Make sure services pick up config changes when the salt installer is runhttps://dev.arvados.org/issues/19514?journal_id=1067412022-09-27T18:56:51ZPeter Amstutzpeter.amstutz@curii.com
<ul><li><strong>Target version</strong> changed from <i>2022-10-12 sprint</i> to <i>2022-10-26 sprint</i></li></ul> Arvados - Bug #19514: Make sure services pick up config changes when the salt installer is runhttps://dev.arvados.org/issues/19514?journal_id=1071002022-10-12T15:33:08ZPeter Amstutzpeter.amstutz@curii.com
<ul></ul><p>Check to see what it does now -- difference between reload/restart, check what the systemd unit files do.</p> Arvados - Bug #19514: Make sure services pick up config changes when the salt installer is runhttps://dev.arvados.org/issues/19514?journal_id=1071062022-10-12T15:43:55ZLucas Di Pentimalucas.dipentima@curii.com
<ul><li><strong>Assigned To</strong> set to <i>Lucas Di Pentima</i></li></ul> Arvados - Bug #19514: Make sure services pick up config changes when the salt installer is runhttps://dev.arvados.org/issues/19514?journal_id=1071502022-10-14T15:29:42ZLucas Di Pentimalucas.dipentima@curii.com
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>In Progress</i></li></ul> Arvados - Bug #19514: Make sure services pick up config changes when the salt installer is runhttps://dev.arvados.org/issues/19514?journal_id=1072932022-10-26T14:21:08ZLucas Di Pentimalucas.dipentima@curii.com
<ul><li><strong>Target version</strong> changed from <i>2022-10-26 sprint</i> to <i>2022-11-09 sprint</i></li></ul> Arvados - Bug #19514: Make sure services pick up config changes when the salt installer is runhttps://dev.arvados.org/issues/19514?journal_id=1077772022-11-09T14:24:51ZLucas Di Pentimalucas.dipentima@curii.com
<ul><li><strong>Target version</strong> changed from <i>2022-11-09 sprint</i> to <i>2022-11-23 sprint</i></li></ul> Arvados - Bug #19514: Make sure services pick up config changes when the salt installer is runhttps://dev.arvados.org/issues/19514?journal_id=1078252022-11-09T16:44:06ZPeter Amstutzpeter.amstutz@curii.com
<ul><li><strong>Target version</strong> changed from <i>2022-11-23 sprint</i> to <i>2022-12-07 Sprint</i></li></ul> Arvados - Bug #19514: Make sure services pick up config changes when the salt installer is runhttps://dev.arvados.org/issues/19514?journal_id=1081242022-11-18T19:56:50ZPeter Amstutzpeter.amstutz@curii.com
<ul><li><strong>Target version</strong> changed from <i>2022-12-07 Sprint</i> to <i>2022-12-21 Sprint</i></li></ul> Arvados - Bug #19514: Make sure services pick up config changes when the salt installer is runhttps://dev.arvados.org/issues/19514?journal_id=1082762022-11-22T19:00:08ZPeter Amstutzpeter.amstutz@curii.com
<ul><li><strong>Target version</strong> changed from <i>2022-12-21 Sprint</i> to <i>2023-01-18 sprint</i></li></ul> Arvados - Bug #19514: Make sure services pick up config changes when the salt installer is runhttps://dev.arvados.org/issues/19514?journal_id=1084162022-11-23T18:32:07ZPeter Amstutzpeter.amstutz@curii.com
<ul><li><strong>Target version</strong> changed from <i>2023-01-18 sprint</i> to <i>2023-02-01 sprint</i></li></ul> Arvados - Bug #19514: Make sure services pick up config changes when the salt installer is runhttps://dev.arvados.org/issues/19514?journal_id=1085362022-11-29T18:44:01ZLucas Di Pentimalucas.dipentima@curii.com
<ul></ul><p>I have been doing manual tests, both on single and multi host installations, and both <code>arvados-controller</code> and <code>arvados-dispatch-cloud</code> get restarted correctly after a config change.</p>
<p>The config change that I did was just setting up a custom message in <code>Workbench.WelcomePageHTML</code> at the <code>local_config_dir/pillars/arvados.sls</code> file.</p>
<p>Without being able to reproduce the issue, it's difficult to know what was the problem.</p>
<p>In the arvados salt formula, every service has a <code>running.sls</code> file that describes each running services, for example <code>arvados/dispatcher/service/running.sls</code>:</p>
<pre><code class="yaml syntaxhl"><span class="na">arvados-dispatcher-service-running-service-running</span><span class="pi">:</span>
<span class="na">service.running</span><span class="pi">:</span>
<span class="pi">-</span> <span class="na">name</span><span class="pi">:</span> <span class="pi">{{</span> <span class="nv">arvados.dispatcher.service.name</span> <span class="pi">}}</span>
<span class="pi">-</span> <span class="na">enable</span><span class="pi">:</span> <span class="no">true</span>
<span class="pi">-</span> <span class="na">watch</span><span class="pi">:</span>
<span class="pi">-</span> <span class="na">sls</span><span class="pi">:</span> <span class="pi">{{</span> <span class="nv">sls_config_file</span> <span class="pi">}}</span>
<span class="pi">-</span> <span class="na">require</span><span class="pi">:</span>
<span class="pi">-</span> <span class="na">pkg</span><span class="pi">:</span> <span class="s">arvados-dispatcher-package-install-pkg-installed</span>
</code></pre>
<p>The <code>service.running.watch.sls</code> parameter makes the service restart when the config file changes. Service reload doesn't happen unless a <code>service.running.reload: true</code> is set, and it isn't the case in our formula.</p> Arvados - Bug #19514: Make sure services pick up config changes when the salt installer is runhttps://dev.arvados.org/issues/19514?journal_id=1085782022-11-30T16:43:05ZLucas Di Pentimalucas.dipentima@curii.com
<ul><li><strong>Story points</strong> set to <i>1.0</i></li><li><strong>Target version</strong> changed from <i>2023-02-01 sprint</i> to <i>2022-12-07 Sprint</i></li></ul> Arvados - Bug #19514: Make sure services pick up config changes when the salt installer is runhttps://dev.arvados.org/issues/19514?journal_id=1086472022-12-01T16:42:08ZLucas Di Pentimalucas.dipentima@curii.com
<ul><li><strong>Status</strong> changed from <i>In Progress</i> to <i>Closed</i></li></ul>