https://tracker.ceph.com/https://tracker.ceph.com/favicon.ico2016-03-30T22:28:25ZCeph devops - Bug #15329: Debian packaging -- failure on uninstallhttps://tracker.ceph.com/issues/15329?journal_id=684512016-03-30T22:28:25ZDan Mickdmick@redhat.com
<ul></ul><p>The service is still (rightly, I think) called ceph; is the fact that it's manipulated from the package ceph-base an issue somehow?</p>
<p>It seems like really the problem is package dependencies (although I don't see just what, I'm not surprised, around a package split; they're impossible to get 100% right)</p> devops - Bug #15329: Debian packaging -- failure on uninstallhttps://tracker.ceph.com/issues/15329?journal_id=684642016-03-31T03:36:14ZDan Mickdmick@redhat.com
<ul></ul><p>The bug is in debian/rules, which now says</p>
<pre><code>cp src/init-ceph debian/ceph-base.init</code></pre>
<p>This invokes dh_installinti, but does so with the name of the service the same as the name of the package, 'ceph-base', which is obviously wrong.</p>
<p>This might take an override in debian/rules to do the right thing</p> devops - Bug #15329: Debian packaging -- failure on uninstallhttps://tracker.ceph.com/issues/15329?journal_id=684652016-03-31T03:47:52ZDan Mickdmick@redhat.com
<ul></ul><p>Actually, as there are only two, and dh_installinit takes a --name parm, I think the fix is:</p>
<p>1) change<br /><pre>
cp src/init-ceph debian/ceph-base.init
</pre><br />to<br /><pre>
cp src/init-ceph debian/ceph-base.ceph.init
</pre></p>
<p>(and also change the 'clean' target)</p>
<p>2) replace the existing call with two calls:<br />change:<br /><pre>
dh_installinit -a --no-start
</pre><br />to<br /><pre>
dh_installinit -p ceph-base --name ceph --no-start
dh_installinit -p radosgw --no-start
</pre></p> devops - Bug #15329: Debian packaging -- failure on uninstallhttps://tracker.ceph.com/issues/15329?journal_id=685142016-03-31T17:49:17ZNathan Cutlerncutler@suse.cz
<ul><li><strong>Project</strong> changed from <i>Ceph</i> to <i>devops</i></li></ul> devops - Bug #15329: Debian packaging -- failure on uninstallhttps://tracker.ceph.com/issues/15329?journal_id=685362016-03-31T23:52:14ZDan Mickdmick@redhat.com
<ul><li><strong>Project</strong> changed from <i>devops</i> to <i>Ceph</i></li><li><strong>Source</strong> changed from <i>other</i> to <i>Community (dev)</i></li></ul><p>This was moved to devops, but is clearly a Ceph source bug .. ?</p> devops - Bug #15329: Debian packaging -- failure on uninstallhttps://tracker.ceph.com/issues/15329?journal_id=685382016-04-01T03:13:40ZSam Yaplesam@yaple.net
<ul></ul><p>I don't know how or if the packages get unit tested, but if they do a new unit test should be removal. This isn't the first removal bug i've run into with ceph packages</p> devops - Bug #15329: Debian packaging -- failure on uninstallhttps://tracker.ceph.com/issues/15329?journal_id=685392016-04-01T03:33:14ZDan Mickdmick@redhat.com
<ul><li><strong>Category</strong> set to <i>build</i></li><li><strong>Status</strong> changed from <i>New</i> to <i>Fix Under Review</i></li><li><strong>Assignee</strong> set to <i>Dan Mick</i></li><li><strong>Priority</strong> changed from <i>Normal</i> to <i>High</i></li><li><strong>Target version</strong> set to <i>v10.1.1</i></li><li><strong>Severity</strong> changed from <i>3 - minor</i> to <i>2 - major</i></li></ul> devops - Bug #15329: Debian packaging -- failure on uninstallhttps://tracker.ceph.com/issues/15329?journal_id=685402016-04-01T03:36:11ZDan Mickdmick@redhat.com
<ul></ul><p><a class="external" href="https://github.com/ceph/ceph/pull/8406">https://github.com/ceph/ceph/pull/8406</a></p> devops - Bug #15329: Debian packaging -- failure on uninstallhttps://tracker.ceph.com/issues/15329?journal_id=685432016-04-01T07:25:11ZNathan Cutlerncutler@suse.cz
<ul></ul><p>Dan, I moved it to devops because I was under the impression that that's where we had been putting packaging issues. Maybe we need a "packaging" project in Redmine?</p> devops - Bug #15329: Debian packaging -- failure on uninstallhttps://tracker.ceph.com/issues/15329?journal_id=685782016-04-01T21:08:35ZDan Mickdmick@redhat.com
<ul><li><strong>Project</strong> changed from <i>Ceph</i> to <i>devops</i></li><li><strong>Category</strong> deleted (<del><i>build</i></del>)</li><li><strong>Status</strong> changed from <i>Fix Under Review</i> to <i>Resolved</i></li></ul><p>Maybe? I hadn't expected it to move, and couldn't find it with my search in Ceph, so was annoyed. I see <a class="issue tracker-1 status-10 priority-4 priority-default closed" title="Bug: On Debian, when upgrading from Hammer or Infernalis to Jewel, ceph-base fails to install. (Duplicate)" href="https://tracker.ceph.com/issues/15327">#15327</a> there though, which may be related, so I'll move it back</p> devops - Bug #15329: Debian packaging -- failure on uninstallhttps://tracker.ceph.com/issues/15329?journal_id=685872016-04-01T23:06:30ZNathan Cutlerncutler@suse.cz
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-10 priority-4 priority-default closed" href="/issues/15327">Bug #15327</a>: On Debian, when upgrading from Hammer or Infernalis to Jewel, ceph-base fails to install.</i> added</li></ul> devops - Bug #15329: Debian packaging -- failure on uninstallhttps://tracker.ceph.com/issues/15329?journal_id=688622016-04-07T18:01:55ZKefu Chaitchaikov@gmail.com
<ul><li><strong>Related to</strong> deleted (<i><a class="issue tracker-1 status-10 priority-4 priority-default closed" href="/issues/15327">Bug #15327</a>: On Debian, when upgrading from Hammer or Infernalis to Jewel, ceph-base fails to install.</i>)</li></ul> devops - Bug #15329: Debian packaging -- failure on uninstallhttps://tracker.ceph.com/issues/15329?journal_id=688642016-04-07T18:02:05ZKefu Chaitchaikov@gmail.com
<ul><li><strong>Duplicated by</strong> <i><a class="issue tracker-1 status-10 priority-4 priority-default closed" href="/issues/15327">Bug #15327</a>: On Debian, when upgrading from Hammer or Infernalis to Jewel, ceph-base fails to install.</i> added</li></ul>