Project

General

Profile

Actions

Feature #3119

closed

chef: support destroying an osd

Added by Anonymous over 11 years ago. Updated over 11 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

DH cookbooks do this by setting a node attribute that maps osd.id -> desired action, one of the actions is destroy.

That does run into the annoyances of using Chef as an RPC mechanism, requires admin to manage id->node mapping, etc.

Try to solve this with a core product feature, then make that interop well with Chef/ceph-deploy/Juju.

Once destroyed, osd hotplugging MUST NOT create a new OSD on that disk automatically. That is, the lifecycle is

blank --ceph-disk-prepare--> prepared
prepared --ceph-disk-activate--> active
{prepared, active} --ceph-disk-destroy?--> blank

(the last arrow goes to blank, not to prepared)

and the logic that would automatically trigger ceph-disk-prepare for listed block devices (#2554) MUST NOT re-prepare it

Actions #1

Updated by Anonymous over 11 years ago

  • Translation missing: en.field_position deleted (1)
  • Translation missing: en.field_position set to 162
Actions #2

Updated by Anonymous over 11 years ago

  • Description updated (diff)
Actions #3

Updated by Anonymous over 11 years ago

  • Description updated (diff)
Actions #4

Updated by Anonymous over 11 years ago

  • Description updated (diff)
Actions #5

Updated by Anonymous over 11 years ago

  • Status changed from New to Duplicate

Duplicate of #2939

Actions

Also available in: Atom PDF