<div dir="ltr"><div>On Fri, Mar 29, 2019 at 4:44 AM Juan Cabrera <<a href="mailto:juan.cabrera@unamur.be">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_-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_-6885100073386585232docutils gmail-m_-6885100073386585232literal gmail-notranslate"><span class="gmail-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/">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="sewf76u41d7qi2s"></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/">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">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>