https://tracker.ceph.com/https://tracker.ceph.com/favicon.ico2014-07-15T11:13:33ZCeph Calamari - Fix #8820: calamari: min_size is not set correctly when pool size is non-defaulthttps://tracker.ceph.com/issues/8820?journal_id=381392014-07-15T11:13:33ZDan Mickdmick@redhat.com
<ul><li><strong>Assignee</strong> set to <i>Dan Mick</i></li></ul> Calamari - Fix #8820: calamari: min_size is not set correctly when pool size is non-defaulthttps://tracker.ceph.com/issues/8820?journal_id=382352014-07-16T04:42:34ZJohn Sprayjcspray@gmail.com
<ul></ul><p>My take on this is that we should probably automagically set min_size during creation, but on subsequent updates we should take the user at their word (it being legal and reasonable in some cases to have e.g. size and min_size both set to 2). We could do this in the backend in PoolRequestFactory.create, if attributes['size'] is set but attributes['min_size'] isn't then apply the defaults policy for min_size:</p>
<pre>
unsigned get_osd_pool_default_min_size() const {
return osd_pool_default_min_size ?
MIN(osd_pool_default_min_size, osd_pool_default_size) :
osd_pool_default_size - osd_pool_default_size / 2;
}
</pre>
<p>However, following up on this I notice there is is bigger issue that min_size simply isn't settable in the current UI, in either the create or the edit views for pools. I suppose this was something done to be simpler, but it feels like an unnecessary limitation to me.</p> Calamari - Fix #8820: calamari: min_size is not set correctly when pool size is non-defaulthttps://tracker.ceph.com/issues/8820?journal_id=390152014-08-05T13:42:21ZDan Mickdmick@redhat.com
<ul><li><strong>Tracker</strong> changed from <i>Bug</i> to <i>Fix</i></li><li><strong>Target version</strong> set to <i>v1.2.1-rc1</i></li></ul> Calamari - Fix #8820: calamari: min_size is not set correctly when pool size is non-defaulthttps://tracker.ceph.com/issues/8820?journal_id=405762014-09-03T13:03:37ZDan Mickdmick@redhat.com
<ul><li><strong>Target version</strong> changed from <i>v1.2.1-rc1</i> to <i>v1.3-dev1</i></li></ul> Calamari - Fix #8820: calamari: min_size is not set correctly when pool size is non-defaulthttps://tracker.ceph.com/issues/8820?journal_id=405772014-09-03T13:03:40ZDan Mickdmick@redhat.com
<ul><li><strong>Target version</strong> changed from <i>v1.3-dev1</i> to <i>1.3-dev4</i></li></ul> Calamari - Fix #8820: calamari: min_size is not set correctly when pool size is non-defaulthttps://tracker.ceph.com/issues/8820?journal_id=407772014-09-09T11:10:21ZDan Mickdmick@redhat.com
<ul><li><strong>Priority</strong> changed from <i>Normal</i> to <i>High</i></li></ul><p>A customer has expressed interest in this fix.</p> Calamari - Fix #8820: calamari: min_size is not set correctly when pool size is non-defaulthttps://tracker.ceph.com/issues/8820?journal_id=408912014-09-09T21:07:52ZDan Mickdmick@redhat.com
<ul></ul><p>wip-8820 created with a suggested impl. Should add some tests.</p> Calamari - Fix #8820: calamari: min_size is not set correctly when pool size is non-defaulthttps://tracker.ceph.com/issues/8820?journal_id=411952014-09-16T11:33:34ZDan Mickdmick@redhat.com
<ul><li><strong>Target version</strong> changed from <i>1.3-dev4</i> to <i>v1.3-dev1</i></li></ul> Calamari - Fix #8820: calamari: min_size is not set correctly when pool size is non-defaulthttps://tracker.ceph.com/issues/8820?journal_id=411992014-09-16T11:33:52ZDan Mickdmick@redhat.com
<ul><li><strong>Target version</strong> changed from <i>v1.3-dev1</i> to <i>1.3-dev5</i></li></ul> Calamari - Fix #8820: calamari: min_size is not set correctly when pool size is non-defaulthttps://tracker.ceph.com/issues/8820?journal_id=412782014-09-17T15:42:56ZDan Mickdmick@redhat.com
<ul><li><strong>Category</strong> set to <i>Backend (REST API)</i></li><li><strong>Status</strong> changed from <i>New</i> to <i>Resolved</i></li></ul> Calamari - Fix #8820: calamari: min_size is not set correctly when pool size is non-defaulthttps://tracker.ceph.com/issues/8820?journal_id=421162014-09-30T11:23:21ZDan Mickdmick@redhat.com
<ul><li><strong>translation missing: en.field_story_points</strong> set to <i>5.0</i></li></ul>