<div dir="ltr"><div dir="ltr">Good point that last service wasn't in there. I applied some additional updates today which can be seen here: <a href="https://docs.pulpproject.org/en/3.0/nightly/installation/instructions.html#systemd">https://docs.pulpproject.org/en/3.0/nightly/installation/instructions.html#systemd</a></div><div dir="ltr"><br></div>Any other feedback or issue discussion is welcome.<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Apr 4, 2019 at 7:01 PM Juan Cabrera <<a href="mailto:juan.cabrera@unamur.be">juan.cabrera@unamur.be</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 bgcolor="#FFFFFF">
<p>Hi,</p>
<p>Very clear now. I like the idea to link the ansible templates and
the README.<br>
</p>
<p>I see that a service is still missing in the documentation. Is it
normal ?<br>
</p>
<p><a class="gmail-m_8534612219817271087moz-txt-link-freetext" href="https://github.com/pulp/ansible-pulp/blob/master/roles/pulp/templates/pulp-api.service.j2" target="_blank">https://github.com/pulp/ansible-pulp/blob/master/roles/pulp/templates/pulp-api.service.j2</a></p>
<p>sincerely</p>
<p>Juan<br>
</p>
<p><br>
</p>
<div class="gmail-m_8534612219817271087moz-cite-prefix">On 5/04/19 00:12, Brian Bouterse wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div dir="ltr">See the updated docs here for the systemd
templates: <a href="https://docs.pulpproject.org/en/3.0/nightly/installation/instructions.html#systemd" target="_blank">https://docs.pulpproject.org/en/3.0/nightly/installation/instructions.html#systemd</a><br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Tue, Apr 2, 2019 at 5:33 PM
Brian Bouterse <<a href="mailto:bbouters@redhat.com" target="_blank">bbouters@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 dir="ltr">
<div>I updated the path on the docs as you identified.
Also, we are considering linking to the ansible-pulp
templates directly since those contain all 3 of the
service definitions we need. I'm hoping to fix this
tomorrow: <a href="https://pulp.plan.io/issues/4629#note-4" target="_blank">https://pulp.plan.io/issues/4629#note-4</a>
Feedback on what we should do is welcome.<br>
</div>
<div><br>
</div>
<div>Let us know if you run into more issues. Thanks!</div>
<div><br>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Tue, Apr 2, 2019 at
12:01 PM Brian Bouterse <<a href="mailto:bbouters@redhat.com" target="_blank">bbouters@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 dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div>I moved this convo to pulp-list since
it's focused on user usage of Pulp3 versus
the development of Pulp itself (on <a href="mailto:pulp-dev@redhat.com" target="_blank">pulp-dev@redhat.com</a>).
See some answers to Pulp3 usage questions
inline. More questions are welcome!<br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Tue, Apr
2, 2019 at 4:49 AM Juan Cabrera <<a href="mailto:juan.cabrera@unamur.be" target="_blank">juan.cabrera@unamur.be</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 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. <br>
</p>
</div>
</blockquote>
<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>It is not clear if the <code class="gmail-m_8534612219817271087gmail-m_5580468787451370550gmail-m_-3617944343322119353m_-4027823593625122755gmail-m_8357536917706363537docutils gmail-m_5580468787451370550gmail-m_-3617944343322119353m_-4027823593625122755gmail-m_8357536917706363537literal gmail-m_5580468787451370550gmail-m_-3617944343322119353m_-4027823593625122755gmail-notranslate"><span class="gmail-m_8534612219817271087gmail-m_5580468787451370550gmail-m_-3617944343322119353m_-4027823593625122755gmail-m_8357536917706363537pre">PULP_SETTINGS</span></code>
environment is not used any more. In
this case the paragraph <br>
</p>
<p>"Make sure to substitute <code class="gmail-m_8534612219817271087gmail-m_5580468787451370550gmail-m_-3617944343322119353m_-4027823593625122755gmail-m_8357536917706363537docutils gmail-m_5580468787451370550gmail-m_-3617944343322119353m_-4027823593625122755gmail-m_8357536917706363537literal gmail-m_5580468787451370550gmail-m_-3617944343322119353m_-4027823593625122755gmail-notranslate"><span class="gmail-m_8534612219817271087gmail-m_5580468787451370550gmail-m_-3617944343322119353m_-4027823593625122755gmail-m_8357536917706363537pre">Environment=PULP_SETTINGS=/path/to/pulp/server.yaml</span></code>
with the real location of <a class="gmail-m_8534612219817271087gmail-m_5580468787451370550gmail-m_-3617944343322119353m_-4027823593625122755gmail-m_8357536917706363537reference gmail-m_5580468787451370550gmail-m_-3617944343322119353m_-4027823593625122755gmail-m_8357536917706363537internal" href="https://docs.pulpproject.org/en/3.0/nightly/installation/configuration.html#id1" target="_blank"><span class="gmail-m_8534612219817271087gmail-m_5580468787451370550gmail-m_-3617944343322119353m_-4027823593625122755gmail-m_8357536917706363537std gmail-m_5580468787451370550gmail-m_-3617944343322119353m_-4027823593625122755gmail-m_8357536917706363537std-ref">configuration
file</span></a>."</p>
<p>Should be changed by</p>
<p>Make sure that the <a class="gmail-m_8534612219817271087gmail-m_5580468787451370550gmail-m_-3617944343322119353m_-4027823593625122755gmail-m_8357536917706363537reference gmail-m_5580468787451370550gmail-m_-3617944343322119353m_-4027823593625122755gmail-m_8357536917706363537internal" href="https://docs.pulpproject.org/en/3.0/nightly/installation/configuration.html#id1" target="_blank"><span class="gmail-m_8534612219817271087gmail-m_5580468787451370550gmail-m_-3617944343322119353m_-4027823593625122755gmail-m_8357536917706363537std gmail-m_5580468787451370550gmail-m_-3617944343322119353m_-4027823593625122755gmail-m_8357536917706363537std-ref">configuration
file</span></a> <code class="gmail-m_8534612219817271087gmail-m_5580468787451370550gmail-m_-3617944343322119353m_-4027823593625122755gmail-m_8357536917706363537docutils gmail-m_5580468787451370550gmail-m_-3617944343322119353m_-4027823593625122755gmail-m_8357536917706363537literal gmail-m_5580468787451370550gmail-m_-3617944343322119353m_-4027823593625122755gmail-notranslate"><span class="gmail-m_8534612219817271087gmail-m_5580468787451370550gmail-m_-3617944343322119353m_-4027823593625122755gmail-m_8357536917706363537pre">/etc/pulp/settings</span><span class="gmail-m_8534612219817271087gmail-m_5580468787451370550gmail-m_-3617944343322119353m_-4027823593625122755gmail-m_8357536917706363537pre">.py
</span></code>exist.</p>
</div>
</blockquote>
<div>The /etc/pulp/settings.py file isn't
needed at all anymore. This change ( <a href="https://github.com/pulp/pulpcore/pull/63" target="_blank">https://github.com/pulp/pulpcore/pull/63</a>
) hopefully removes reference to it leaving
this section ( <a href="https://docs.pulpproject.org/en/3.0/nightly/installation/configuration.html" target="_blank">https://docs.pulpproject.org/en/3.0/nightly/installation/configuration.html</a>
) to be the main authority. My PR tries to
clarify that section also.<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 bgcolor="#FFFFFF">
<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>
</div>
</blockquote>
<div>I think we should update the docs to use
the ansible-pulp defaults I can do this in
my PR also after checking with @asmacdo on
it. <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 bgcolor="#FFFFFF">
<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>
</div>
</blockquote>
<div>I'll look more into this, but I wanted to
get what I had out to the list. <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 bgcolor="#FFFFFF">
<p> </p>
<p>Sincerely</p>
<p>Juan<br>
</p>
<p> </p>
<div class="gmail-m_8534612219817271087gmail-m_5580468787451370550gmail-m_-3617944343322119353m_-4027823593625122755gmail-m_8357536917706363537moz-cite-prefix">On
1/04/19 23:13, Brian Bouterse wrote:<br>
</div>
<blockquote type="cite">
<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" target="_blank">https://pulp.plan.io/issues/4622</a><br>
</div>
<div>[1]: <a href="https://github.com/pulp/pulpcore/pull/63" target="_blank">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" target="_blank">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">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_8534612219817271087gmail-m_5580468787451370550gmail-m_-3617944343322119353m_-4027823593625122755gmail-m_8357536917706363537gmail-m_2445042903040375848gmail-m_-6885100073386585232moz-txt-link-freetext" href="https://docs.pulpproject.org/en/3.0/nightly/installation/instructions.html#systemd" target="_blank">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_8534612219817271087gmail-m_5580468787451370550gmail-m_-3617944343322119353m_-4027823593625122755gmail-m_8357536917706363537gmail-m_2445042903040375848gmail-m_-6885100073386585232docutils gmail-m_5580468787451370550gmail-m_-3617944343322119353m_-4027823593625122755gmail-m_2445042903040375848gmail-m_-6885100073386585232literal gmail-m_5580468787451370550gmail-m_-3617944343322119353m_-4027823593625122755gmail-m_8357536917706363537gmail-m_2445042903040375848gmail-notranslate"><span class="gmail-m_8534612219817271087gmail-m_5580468787451370550gmail-m_-3617944343322119353m_-4027823593625122755gmail-m_8357536917706363537gmail-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">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_8534612219817271087gmail-m_5580468787451370550gmail-m_-3617944343322119353m_-4027823593625122755gmail-m_8357536917706363537gmail-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">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">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">Pulp-dev@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/pulp-dev" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/pulp-dev</a><br>
</blockquote>
</div>
</blockquote>
<div class="gmail-m_8534612219817271087gmail-m_5580468787451370550gmail-m_-3617944343322119353m_-4027823593625122755gmail-m_8357536917706363537moz-signature">--
<br>
<div style="font-family:Verdana,Helvetica,Arial,sans-serif;font-size:8pt;font-weight:normal;color:rgb(97,99,101)">
<br>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
</div>
</blockquote>
<br>
</div>
</blockquote></div>