<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hi,</p>
<p>Thank you for the modifications. I'm more gitlab user than github
so I'm not familiar with PR procedure.</p>
<p>It is not clear if the <code class="docutils literal
notranslate"><span class="pre">PULP_SETTINGS</span></code>
environment is not used any more. In this case the paragraph <br>
</p>
<p>"Make
sure to substitute <code class="docutils literal notranslate"><span
class="pre">Environment=PULP_SETTINGS=/path/to/pulp/server.yaml</span></code>
with the real location
of <a class="reference internal"
href="https://docs.pulpproject.org/en/3.0/nightly/installation/configuration.html#id1"><span
class="std std-ref">configuration file</span></a>."</p>
<p>Should be changed by</p>
<p>Make
sure that the <a class="reference internal"
href="https://docs.pulpproject.org/en/3.0/nightly/installation/configuration.html#id1"><span
class="std std-ref">configuration file</span></a> <code
class="docutils literal notranslate"><span class="pre">/etc/pulp/settings</span><span
class="pre">.py </span></code>exist.</p>
<p><br>
</p>
<p>Another difference I see with the ansible provision of my Vagran
VM is that <tt> -c 'pulpcore.rqconfig'</tt> is missing. It is not
needed any more ?</p>
<p>On the VM I have this in <tt>pulp-resource-manager.service</tt>
:<br>
</p>
<pre>
ExecStart=/usr/local/lib/pulp/bin/rq worker \
-w pulpcore.tasking.worker.PulpWorker -n resource-manager@%%h \
--pid=/var/run/pulp-resource-manager/resource-manager.pid
</pre>
<p>And the last difference I see, is that the systemd services are
different. There are no worker in <tt> /etc/systemd/system/</tt>
but an pulp-api service<br>
</p>
<p><tt>[root@dev-pulp-server ~]# ls /etc/systemd/system/pulp-*</tt><tt><br>
</tt><tt>/etc/systemd/system/pulp-api.service</tt><tt><br>
</tt><tt>/etc/systemd/system/pulp-resource-manager.service</tt><br>
</p>
<p>The worker service seems to be moved to <tt>/usr/lib/systemd/system/</tt></p>
<p>[root@dev-pulp-server ~]# ls /usr/lib/systemd/system/pulp-*<br>
/usr/lib/systemd/system/pulp-content-app.service<br>
/usr/lib/systemd/system/pulp-worker@.service<br>
</p>
<p>Sincerely</p>
<p>Juan<br>
</p>
<p> </p>
<div class="moz-cite-prefix">On 1/04/19 23:13, Brian Bouterse wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAAcvrTHNn3--C_i5t2wukCUM_Z0zZmyboWJxuk3ye1ctxdsBAg@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div>I made a docs issue [0] and a PR to adjust the systemd
settings this [1]. Since dynaconf configures it now, I
believe removing this from the systemd file is the best
resolution.<br>
</div>
<div><br>
</div>
<div>[0]: <a href="https://pulp.plan.io/issues/4622"
moz-do-not-send="true">https://pulp.plan.io/issues/4622</a><br>
</div>
<div>[1]: <a
href="https://github.com/pulp/pulpcore/pull/63"
moz-do-not-send="true">https://github.com/pulp/pulpcore/pull/63</a></div>
<div><br>
</div>
<div>Please let us know if there is anything else we can
improve on.</div>
</div>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Fri, Mar 29, 2019 at 1:11
PM Mike DePaulo <<a href="mailto:mikedep333@redhat.com"
moz-do-not-send="true">mikedep333@redhat.com</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div>On Fri, Mar 29, 2019 at 4:44 AM Juan Cabrera <<a
href="mailto:juan.cabrera@unamur.be" target="_blank"
moz-do-not-send="true">juan.cabrera@unamur.be</a>>
wrote:<br>
</div>
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF">
<p>At the section about Systemd :<br>
</p>
<p><a
class="gmail-m_2445042903040375848gmail-m_-6885100073386585232moz-txt-link-freetext"
href="https://docs.pulpproject.org/en/3.0/nightly/installation/instructions.html#systemd"
target="_blank" moz-do-not-send="true">https://docs.pulpproject.org/en/3.0/nightly/installation/instructions.html#systemd</a></p>
<p>It is said that the default config file is <tt>/etc/pulp/server.yaml</tt>.</p>
<p>In the installed VM there is not a <code
class="gmail-m_2445042903040375848gmail-m_-6885100073386585232docutils
gmail-m_2445042903040375848gmail-m_-6885100073386585232literal
gmail-m_2445042903040375848gmail-notranslate"><span
class="gmail-m_2445042903040375848gmail-m_-6885100073386585232pre">Environment=PULP_SETTINGS=/path/to/pulp/server.yaml
</span></code>line in the <tt>pulp-resource-manager.service
</tt>file and the configuration file is named `<tt>/etc/pulp/settings.py</tt>`.
Some thing must be updated in the documentation?<br>
</p>
<p>The file contents in the VM are:<br>
</p>
<p><tt>[root@dev-pulp-server system]# cat
/etc/systemd/system/pulp-resource-manager.service</tt><tt><br>
</tt><tt>[Unit]</tt><tt><br>
</tt><tt>Description=Pulp Resource Manager</tt><tt><br>
</tt><tt>After=network-online.target</tt><tt><br>
</tt><tt>Wants=network-online.target</tt><tt><br>
</tt><tt><br>
</tt><tt># This service will break if left running
while PostgreSQL restarts.</tt><tt><br>
</tt><tt>BindsTo=postgresql.service</tt><tt><br>
</tt><tt>After=postgresql.service</tt><tt><br>
</tt><tt><br>
</tt><tt>[Service]</tt><tt><br>
</tt><tt>Environment="DJANGO_SETTINGS_MODULE=pulpcore.app.settings"</tt><tt><br>
</tt><tt>User=pulp</tt><tt><br>
</tt><tt>WorkingDirectory=/var/run/pulp-resource-manager/</tt><tt><br>
</tt><tt>RuntimeDirectory=pulp-resource-manager</tt><tt><br>
</tt><tt>ExecStart=/usr/local/lib/pulp/bin/rq worker
\</tt><tt><br>
</tt><tt> -w
pulpcore.tasking.worker.PulpWorker -n
resource-manager@%%h \</tt><tt><br>
</tt><tt>
--pid=/var/run/pulp-resource-manager/resource-manager.pid</tt><tt><br>
</tt><tt><br>
</tt><tt>[Install]</tt><tt><br>
</tt><tt>WantedBy=multi-user.target</tt></p>
</div>
</blockquote>
<div>Hi Juan,</div>
<div><br>
</div>
<div>Sorry you ran into this issue with our docs.</div>
<div><br>
</div>
I think that specific documentation page[1] is was not
sufficiently updated to reflect the migration to dynaconf.<br>
<a
href="https://pulpproject.org/2018/09/25/pulp-3-adopts-dynaconf/"
target="_blank" moz-do-not-send="true">https://pulpproject.org/2018/09/25/pulp-3-adopts-dynaconf/</a><br>
1. Dynaconf supports multiple formats; .py & .yml
included.<br>
2. The default path /etc/pulp/settings.py is in the
codebase rather than the .service file. The .service file
can still override it.<span
class="gmail-m_2445042903040375848sewf76u41d7qi2s"></span>
<div><br>
</div>
<div>Please submit an issue, and a pull request if you
can.</div>
<div><a href="https://github.com/pulp/pulpcore/"
target="_blank" moz-do-not-send="true">https://github.com/pulp/pulpcore/</a><br>
</div>
<div><br>
</div>
<div>[1] In contrast, <a
href="https://docs.pulpproject.org/en/3.0/nightly/installation/configuration.html"
target="_blank" moz-do-not-send="true">https://docs.pulpproject.org/en/3.0/nightly/installation/configuration.html</a> was
updated sufficiently.</div>
<div><br>
</div>
<div>
<div>-Mike </div>
</div>
</div>
</div>
_______________________________________________<br>
Pulp-dev mailing list<br>
<a href="mailto:Pulp-dev@redhat.com" target="_blank"
moz-do-not-send="true">Pulp-dev@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/pulp-dev"
rel="noreferrer" target="_blank" moz-do-not-send="true">https://www.redhat.com/mailman/listinfo/pulp-dev</a><br>
</blockquote>
</div>
</blockquote>
<div class="moz-signature">-- <br>
<div style="font-family: Verdana, Helvetica, Arial, sans-serif;
font-size: 8pt; font-weight: normal; color: #616365;"> <img
src="cid:part13.BA3F07D0.067C2C62@unamur.be" style="display:
block; margin: 1em 0em;">
<p style="margin: 1em;"> <span style="font-weight: bold;">Juan
CABRERA</span><br>
<span style="color: #69BE28;">Correspondant informatique</span><br>
<span>Département de Mathématiques</span> </p>
<p style="margin: 1em;">
<span style="font-weight: bold;">T.</span> 081724919<br>
<a style="color: #69BE28;"
href="mailto:juan.cabrera@unamur.be">juan.cabrera@unamur.be</a><br>
<a style="color: #69BE28;"
href="http://staff.unamur.be/jbcabrer">http://staff.unamur.be/jbcabrer</a>
</p>
<p style="margin: 1em;"> <span style="font-weight: bold;
font-size: 8pt;">Université de Namur ASBL</span><br>
<span>Rue de Bruxelles 61 - 5000 Namur</span><br>
<span>Belgique</span><br>
</p>
<p style="margin: 1em; font-size: 6pt; color: #69BE28;"> <span>Let’s
respect the environment together.</span><br>
<span style="font-weight: bold;">Only print this message if
necessary!</span><br>
</p>
</div>
</div>
</body>
</html>