https://pulp.plan.io/https://pulp.plan.io/favicon.ico2015-03-02T19:52:36ZPulpPulp - Issue #607: server/config.py reads server.conf when the module is loaded.https://pulp.plan.io/issues/607?journal_id=17242015-03-02T19:52:36Zbmbouterbmbouter@redhat.com
<ul><li><strong>Blocks</strong> <i><a class="issue tracker-2 status-11 priority-6 priority-default closed" href="/issues/413">Task #413</a>: Our unit tests require read permissions on server.conf</i> added</li></ul> Pulp - Issue #607: server/config.py reads server.conf when the module is loaded.https://pulp.plan.io/issues/607?journal_id=26712015-03-20T19:15:03Zbmbouterbmbouter@redhat.com
<ul><li><strong>Severity</strong> changed from <i>Medium</i> to <i>2. Medium</i></li></ul> Pulp - Issue #607: server/config.py reads server.conf when the module is loaded.https://pulp.plan.io/issues/607?journal_id=37172015-04-25T19:21:48Zrbarlow
<ul><li><strong>Priority</strong> changed from <i>Normal</i> to <i>High</i></li></ul><p>Since this one is related to <a class="issue tracker-4 status-11 priority-7 priority-high2 closed" title="Refactor: Move pulp.server.db.connection.initialize() calls exclusively to entry points (CLOSED - CURRENTRELEASE)" href="https://pulp.plan.io/issues/131">#131</a>, I propose that we raise the priority. Fixing the DB connecting will help, but ultimately the real problem is that Pulp performs side effects when modules are imported. This bug is just another manifestation of that problem, like <a class="issue tracker-4 status-11 priority-7 priority-high2 closed" title="Refactor: Move pulp.server.db.connection.initialize() calls exclusively to entry points (CLOSED - CURRENTRELEASE)" href="https://pulp.plan.io/issues/131">#131</a>.</p> Pulp - Issue #607: server/config.py reads server.conf when the module is loaded.https://pulp.plan.io/issues/607?journal_id=70942015-11-18T17:29:48Zsemyerssean.myers@redhat.com
<ul><li><strong>Status</strong> changed from <i>NEW</i> to <i>POST</i></li><li><strong>Assignee</strong> set to <i>semyers</i></li></ul><p>I thought I'd assigned this to myself, but apparently not. :(</p>
<p>Apologies for going straight from NEW to POST, and here's the PR:<br>
<a href="https://github.com/pulp/pulp/pull/2176" class="external">https://github.com/pulp/pulp/pull/2176</a></p> Pulp - Issue #607: server/config.py reads server.conf when the module is loaded.https://pulp.plan.io/issues/607?journal_id=70962015-11-18T21:03:52Zsemyerssean.myers@redhat.com
<ul></ul><p>The referenced PR does technically fix the issue reported here, but in testing to see if this fix helps out <a class="issue tracker-2 status-11 priority-6 priority-default closed" title="Task: Our unit tests require read permissions on server.conf (CLOSED - CURRENTRELEASE)" href="https://pulp.plan.io/issues/413">#413</a>, which is why this was made in the first place, new problems were revealed. I'm adding and adjusting tests to capture those failures, then fixing them.</p> Pulp - Issue #607: server/config.py reads server.conf when the module is loaded.https://pulp.plan.io/issues/607?journal_id=71702015-11-24T23:59:13Zsemyerssean.myers@redhat.com
<ul><li><strong>Status</strong> changed from <i>POST</i> to <i>ASSIGNED</i></li></ul><p>I've reached the "but at what cost?" phase...</p>
<p>All core unit tests are passing with an unreadable server conf, but I'd like come back to it after a night's sleep and make sure my measures for making this possible are reasonable. I also need to write some docstrings, and then I'll get this all pushed up to the previously mentioned PR.</p> Pulp - Issue #607: server/config.py reads server.conf when the module is loaded.https://pulp.plan.io/issues/607?journal_id=71722015-11-25T19:34:43Zsemyerssean.myers@redhat.com
<ul><li><strong>Status</strong> changed from <i>ASSIGNED</i> to <i>POST</i></li></ul><p>I did indeed find opportunities to clean things up a little bit and make some improvements. The PR has been updated with those changes.</p> Pulp - Issue #607: server/config.py reads server.conf when the module is loaded.https://pulp.plan.io/issues/607?journal_id=73542015-12-09T21:08:28Zsemyerssean.myers@redhat.com
<ul><li><strong>Status</strong> changed from <i>POST</i> to <i>MODIFIED</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul><p>Applied in changeset <a class="changeset" title="server.conf is lazily loaded pulp.server.config would load /etc/pulp/server.conf unconditionally..." href="https://pulp.plan.io/projects/pulp/repository/pulp/revisions/5b5162180fd88d55361d054ed861a3c99a616493">pulp|5b5162180fd88d55361d054ed861a3c99a616493</a>.</p> Pulp - Issue #607: server/config.py reads server.conf when the module is loaded.https://pulp.plan.io/issues/607?journal_id=73552015-12-09T21:10:09Zsemyerssean.myers@redhat.com
<ul><li><strong>Platform Release</strong> set to <i>2.8.0</i></li></ul> Pulp - Issue #607: server/config.py reads server.conf when the module is loaded.https://pulp.plan.io/issues/607?journal_id=73992015-12-14T16:41:03Zsemyerssean.myers@redhat.com
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-11 priority-7 priority-high2 closed" href="/issues/1409">Issue #1409</a>: config loading methods are calling in the wrong order</i> added</li></ul> Pulp - Issue #607: server/config.py reads server.conf when the module is loaded.https://pulp.plan.io/issues/607?journal_id=91892016-02-23T20:55:10Zdkliban@redhat.com
<ul><li><strong>Status</strong> changed from <i>MODIFIED</i> to <i>5</i></li></ul> Pulp - Issue #607: server/config.py reads server.conf when the module is loaded.https://pulp.plan.io/issues/607?journal_id=101162016-03-23T18:46:02Zdkliban@redhat.com
<ul><li><strong>Status</strong> changed from <i>5</i> to <i>CLOSED - CURRENTRELEASE</i></li></ul> Pulp - Issue #607: server/config.py reads server.conf when the module is loaded.https://pulp.plan.io/issues/607?journal_id=402362019-04-15T21:08:05Zbmbouterbmbouter@redhat.com
<ul><li><strong>Tags</strong> <i>Pulp 2</i> added</li></ul>