https://tracker.ceph.com/https://tracker.ceph.com/favicon.ico2017-09-29T12:00:54ZCeph rbd - Bug #21567: rbd does not delete snaps in (ec) data pool https://tracker.ceph.com/issues/21567?journal_id=1000202017-09-29T12:00:54ZHenrik Korkucbugs@kirneh.eu
<ul></ul><p>same issue on 12.2.1 too</p> rbd - Bug #21567: rbd does not delete snaps in (ec) data pool https://tracker.ceph.com/issues/21567?journal_id=1000462017-09-29T18:26:06ZSage Weilsage@newdream.net
<ul><li><strong>Project</strong> changed from <i>Ceph</i> to <i>rbd</i></li><li><strong>Subject</strong> changed from <i>Luminous RBD does not trim PGs for EC data pool</i> to <i>rbd does not delete snaps in (ec) data pool </i></li><li><strong>Category</strong> deleted (<del><i>OSD</i></del>)</li><li><strong>Status</strong> changed from <i>New</i> to <i>12</i></li><li><strong>Priority</strong> changed from <i>Normal</i> to <i>Immediate</i></li></ul><p>to reproduce,<br /><pre>
bin/init-ceph stop ; MON=1 OSD=4 MDS=0 ../src/vstart.sh -d -n -x -l --bluestore -e ; bin/ceph osd pool create rbd 1
bin/ceph osd pool set ec allow_ec_overwrites true
bin/rbd import --path bin/ceph-mds --dest foo --data-pool ec
bin/rbd snap create --image foo --snap snap1
bin/rbd bench foo --io-size 1M --io-total 100M --io-type write --io-pattern rand
bin/rbd snap rm --image foo --snap snap1
</pre><br />the snap is only deleted in teh rbd pool, not the data pool<br /><pre>
pool 1 'ec' erasure size 4 min_size 3 crush_rule 1 object_hash rjenkins pg_num 8 pgp_num 8 last_change 23 flags hashpspool,ec_overwrites stripe_width 8192
pool 2 'rbd' replicated size 3 min_size 1 crush_rule 0 object_hash rjenkins pg_num 1 pgp_num 1 last_change 27 flags hashpspool stripe_width 0
removed_snaps [1~9]
</pre></p> rbd - Bug #21567: rbd does not delete snaps in (ec) data pool https://tracker.ceph.com/issues/21567?journal_id=1000502017-09-29T19:05:00ZJason Dillamandillaman@redhat.com
<ul><li><strong>Status</strong> changed from <i>12</i> to <i>In Progress</i></li><li><strong>Assignee</strong> set to <i>Jason Dillaman</i></li></ul> rbd - Bug #21567: rbd does not delete snaps in (ec) data pool https://tracker.ceph.com/issues/21567?journal_id=1000512017-09-29T19:05:07ZJason Dillamandillaman@redhat.com
<ul><li><strong>Backport</strong> set to <i>luminous</i></li></ul> rbd - Bug #21567: rbd does not delete snaps in (ec) data pool https://tracker.ceph.com/issues/21567?journal_id=1000532017-09-29T19:13:31ZJason Dillamandillaman@redhat.com
<ul><li><strong>Status</strong> changed from <i>In Progress</i> to <i>Fix Under Review</i></li></ul><p><strong>PR</strong>: <a class="external" href="https://github.com/ceph/ceph/pull/18043">https://github.com/ceph/ceph/pull/18043</a></p> rbd - Bug #21567: rbd does not delete snaps in (ec) data pool https://tracker.ceph.com/issues/21567?journal_id=1000752017-10-01T06:21:40ZHenrik Korkucbugs@kirneh.eu
<ul></ul><p>Not sure if it helps, but without knowing internals and looking at that patch I have impression that data pool snapshots were not created at all. But looking at pool size, it takes more space than images could take if there would be no snapshots (27TB vs 6TB in my case). So it looks like some kind of snapshots were created, but they weren't cleaned up. Also OSD logs have "Active: kicking snap trim" for data pool PGs too.</p> rbd - Bug #21567: rbd does not delete snaps in (ec) data pool https://tracker.ceph.com/issues/21567?journal_id=1000802017-10-01T09:33:52ZMykola Golubmgolub@suse.com
<ul><li><strong>Status</strong> changed from <i>Fix Under Review</i> to <i>Pending Backport</i></li></ul> rbd - Bug #21567: rbd does not delete snaps in (ec) data pool https://tracker.ceph.com/issues/21567?journal_id=1001602017-10-03T02:57:44ZNathan Cutlerncutler@suse.cz
<ul><li><strong>Copied to</strong> <i><a class="issue tracker-9 status-3 priority-4 priority-default closed" href="/issues/21639">Backport #21639</a>: luminous: rbd does not delete snaps in (ec) data pool </i> added</li></ul> rbd - Bug #21567: rbd does not delete snaps in (ec) data pool https://tracker.ceph.com/issues/21567?journal_id=1043652018-01-05T13:38:54ZNathan Cutlerncutler@suse.cz
<ul><li><strong>Status</strong> changed from <i>Pending Backport</i> to <i>Resolved</i></li></ul> rbd - Bug #21567: rbd does not delete snaps in (ec) data pool https://tracker.ceph.com/issues/21567?journal_id=1228452018-10-17T08:43:42ZKefu Chaitchaikov@gmail.com
<ul><li><strong>Copied to</strong> <i><a class="issue tracker-9 status-5 priority-4 priority-default closed" href="/issues/36476">Backport #36476</a>: jewel: rbd does not delete snaps in (ec) data pool </i> added</li></ul> rbd - Bug #21567: rbd does not delete snaps in (ec) data pool https://tracker.ceph.com/issues/21567?journal_id=1228532018-10-17T10:16:58ZNathan Cutlerncutler@suse.cz
<ul><li><strong>Status</strong> changed from <i>Resolved</i> to <i>Pending Backport</i></li></ul> rbd - Bug #21567: rbd does not delete snaps in (ec) data pool https://tracker.ceph.com/issues/21567?journal_id=1228542018-10-17T10:17:07ZNathan Cutlerncutler@suse.cz
<ul><li><strong>Backport</strong> changed from <i>luminous</i> to <i>luminous, jewel</i></li></ul> rbd - Bug #21567: rbd does not delete snaps in (ec) data pool https://tracker.ceph.com/issues/21567?journal_id=1228832018-10-17T15:28:46ZJason Dillamandillaman@redhat.com
<ul><li><strong>Status</strong> changed from <i>Pending Backport</i> to <i>Resolved</i></li><li><strong>Backport</strong> changed from <i>luminous, jewel</i> to <i>luminous</i></li></ul>