https://pulp.plan.io/https://pulp.plan.io/favicon.ico2017-02-09T17:42:12ZPulpPulp - Issue #2583: Pulp installation failing in nightly buildshttps://pulp.plan.io/issues/2583?journal_id=179082017-02-09T17:42:12Zsemyerssean.myers@redhat.com
<ul></ul><p>Filed with high sev since Pulp can't be upgraded while this is affecting us, and it also breaks our nightly build tests.</p>
<p>I'm not really sure of what the "Obsoletes" dependency does, but here are the docs:<br>
<a href="https://docs.fedoraproject.org/en-US/Fedora_Draft_Documentation/0.1/html/RPM_Guide/ch-dependencies.html#RPM_Guide-Dependencies-obsoletes" class="external">https://docs.fedoraproject.org/en-US/Fedora_Draft_Documentation/0.1/html/RPM_Guide/ch-dependencies.html#RPM_Guide-Dependencies-obsoletes</a></p>
<p>Specifically:</p>
<blockquote>
<p>The RPM system supports one more type of dependency, called obsoletes. This refers to a capability that a package provides that makes another capability obsolete. For example, a new version of the perl interpreter may make an older version obsolete. In most cases, the obsoletes dependency should be used when the name of a package changes. For example, the apache Web server package became the httpd package. You would expect the new package, httpd, to obsolete the old package name, apache.</p>
</blockquote>
<p>Since we evidently renamed our <code>python2-pulp-*</code> packages to <code>python-pulp-*</code>, at some point, I think the new packages do indeed both provide and obsolete the old packages.</p>
<p>I've already put together a branch with the Obsoletes keywords in-use, and will be testing it shortly (mostly out of curiosity, but hey, if it works...but I suspect once we get past all the platform packages the plugins will start to fail): <a href="https://github.com/pulp/pulp/compare/2.12-dev...seandst:rm2583" class="external">https://github.com/pulp/pulp/compare/2.12-dev...seandst:rm2583</a></p> Pulp - Issue #2583: Pulp installation failing in nightly buildshttps://pulp.plan.io/issues/2583?journal_id=179102017-02-09T18:32:39Zsemyerssean.myers@redhat.com
<ul></ul><p>Looking at the test builds, rhel7 appears to have no problem with our packages either way.</p>
<p>The error now is "nothing provides pulp-admin-client >= 2.11 needed by pulp-python-admin-extensions-2.0.1-0.1.alpha.git.2.be7d11e.fc25.noarch",<br>
which is odd. The build log shows that the pulp-admin-client was only built for rhel7, which likely explains why el7 is still happy.</p> Pulp - Issue #2583: Pulp installation failing in nightly buildshttps://pulp.plan.io/issues/2583?journal_id=179112017-02-09T18:33:37Zsemyerssean.myers@redhat.com
<ul><li><strong>Status</strong> changed from <i>NEW</i> to <i>ASSIGNED</i></li><li><strong>Assignee</strong> set to <i>semyers</i></li></ul><p>My curiosity has increased enough that I want to dig into this in earnest, and see our nightlies building again.</p> Pulp - Issue #2583: Pulp installation failing in nightly buildshttps://pulp.plan.io/issues/2583?journal_id=179122017-02-09T18:34:36Zsemyerssean.myers@redhat.com
<ul><li><strong>Subject</strong> changed from <i>python packages conflicting with python2 packages</i> to <i>Pulp installation failing in nightly builds</i></li></ul> Pulp - Issue #2583: Pulp installation failing in nightly buildshttps://pulp.plan.io/issues/2583?journal_id=179132017-02-09T18:58:14Zsemyerssean.myers@redhat.com
<ul></ul><p>This is related to my recent specfile change to the spec file to stop building unsupported packages. It looks like "%if 0%{?rhel}<= 6" is evaluating to true on fedora, which (in hindsight) makes sense because the %{?rhel} probably expands to nothing when building in fedora, so the conditional becomes "0 <= 6", which is indeed true.</p>
<p>The simplest fix for this seems clear now, which is to modify the spec to explicitly check against versions 5 or 6, and probably add a comment as to why I didn't do <=.</p> Pulp - Issue #2583: Pulp installation failing in nightly buildshttps://pulp.plan.io/issues/2583?journal_id=179152017-02-09T19:03:53Zsemyerssean.myers@redhat.com
<ul></ul><p>I'm assuming, at this point, that the problems that led me to look into that "Obsoletes" tag were related to the packages simply not being built, so my PR has excluded that change:<br>
<a href="https://github.com/pulp/pulp/pull/2948" class="external">https://github.com/pulp/pulp/pull/2948</a></p>
<p>I'll test this again in a bit and update the PR if needed.</p> Pulp - Issue #2583: Pulp installation failing in nightly buildshttps://pulp.plan.io/issues/2583?journal_id=179162017-02-09T19:27:47Zsemyerssean.myers@redhat.com
<ul><li><strong>Status</strong> changed from <i>ASSIGNED</i> to <i>MODIFIED</i></li></ul><p>Applied in changeset <a class="changeset" title="Adjust conditional to work correctly on fedora closes #2583 https://pulp.plan.io/issues/2583" href="https://pulp.plan.io/projects/pulp/repository/pulp/revisions/bce3e4403ecc9c9f8269cd8993426afbd627b8c8">pulp|bce3e4403ecc9c9f8269cd8993426afbd627b8c8</a>.</p> Pulp - Issue #2583: Pulp installation failing in nightly buildshttps://pulp.plan.io/issues/2583?journal_id=179182017-02-09T20:29:51Zsemyerssean.myers@redhat.com
<ul><li><strong>Status</strong> changed from <i>MODIFIED</i> to <i>ASSIGNED</i></li></ul><p>The PR has improved things, but jenkins is still unhappy:</p>
<pre><code>TASK [pulp : Setup Pulp nightly repository] ************************************
changed: [localhost] => (item={'key': u'pulp', 'value': {u'gpgcheck': 0, u'name': u'Pulp Project repository', u'baseurl': u'https://repos.fedorapeople.org/pulp/pulp/testing/automation/2.12/stage/fedora-$releasever/$basearch/'}})
TASK [pulp : Setup Pulp beta or stable repository] *****************************
skipping: [localhost] => (item={'key': u'pulp', 'value': {u'gpgcheck': 0, u'name': u'Pulp Project repository', u'baseurl': u'https://repos.fedorapeople.org/pulp/pulp/nightly/2.12/fedora-$releasever/$basearch/'}})
TASK [pulp : Install Pulp Server] **********************************************
fatal: [localhost]: FAILED! => {"changed": false, "failed": true, "msg": "No group pulp-server-qpid available."}
to retry, use: --limit @/home/jenkins/workspace/pulp-2.12-dev-f24/ci/ansible/pulp_server.retry
</code></pre>
<p>I checked the comps.xml file for the f24 repo, and the pulp-server-qpid is available. All of the packages in that group appear to be available as well.</p> Pulp - Issue #2583: Pulp installation failing in nightly buildshttps://pulp.plan.io/issues/2583?journal_id=179192017-02-09T20:40:20Zsemyerssean.myers@redhat.com
<ul></ul><p>There is an ongoing outage @ fedorapeople that I believe is the cause of this error. Here's a snippet from the dnf log on a test node:</p>
<pre><code>Feb 09 20:36:07 DEBUG Cannot download 'https://repos.fedorapeople.org/pulp/pulp/testing/automation/2.12/stage/fedora-25/x86_64/': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried.
</code></pre>
<p>fedora is aware of the issue and fixing it now.</p> Pulp - Issue #2583: Pulp installation failing in nightly buildshttps://pulp.plan.io/issues/2583?journal_id=179202017-02-09T22:52:27Zsemyerssean.myers@redhat.com
<ul><li><strong>Status</strong> changed from <i>ASSIGNED</i> to <i>CLOSED - CURRENTRELEASE</i></li></ul><p>I never know how to close issues that aren't related to a specific release. CLOSED - CURRENTRELEASE it is!</p>
<p>The previous fix that moved this issue to MODIFIED did indeed fix this. Once the fedorapeople website came back up, a fedora 24 test build worked perfectly (not even unstable, smash passed all tests).</p> Pulp - Issue #2583: Pulp installation failing in nightly buildshttps://pulp.plan.io/issues/2583?journal_id=179382017-02-10T17:24:54Zsemyerssean.myers@redhat.com
<ul><li><strong>Related to</strong> <i><a class="issue tracker-2 status-11 priority-6 priority-default closed" href="/issues/2576">Task #2576</a>: Update build system to properly implement el6 support policy</i> added</li></ul> Pulp - Issue #2583: Pulp installation failing in nightly buildshttps://pulp.plan.io/issues/2583?journal_id=384282019-04-15T20:20:59Zbmbouterbmbouter@redhat.com
<ul><li><strong>Tags</strong> <i>Pulp 2</i> added</li></ul>