Project

General

Profile

Actions

Bug #48631

closed

drive-group subcommand potentially passes root disk to batch

Added by Jan Fajerski over 3 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
pacific,octopus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

  1. ceph-volume drive-group --spec '{"data_devices":{"all":true},"placement":{"host_pattern":"*"},"service_id":"default"}'

Device Path Size rotates available Model name
/dev/sdb 894.25 GB False True TOSHIBA KHK61RSE
/dev/sdc 894.25 GB False True TOSHIBA KHK61RSE
/dev/sdd 894.25 GB False True TOSHIBA KHK61RSE
/dev/sde 894.25 GB False True TOSHIBA KHK61RSE
/dev/sda 894.25 GB False False TOSHIBA KHK61RSE
usage: ceph-volume lvm batch [-h] [--db-devices [DB_DEVICES [DB_DEVICES ...]]]
[--wal-devices [WAL_DEVICES [WAL_DEVICES ...]]]
[--journal-devices [JOURNAL_DEVICES [JOURNAL_DEVICES ...]]]
[--auto] [--no-auto] [--bluestore] [--filestore]
[--report] [--yes]
[--format {json,json-pretty,pretty}] [--dmcrypt]
[--crush-device-class CRUSH_DEVICE_CLASS]
[--no-systemd]
[--osds-per-device OSDS_PER_DEVICE]
[--data-slots DATA_SLOTS]
[--block-db-size BLOCK_DB_SIZE]
[--block-db-slots BLOCK_DB_SLOTS]
[--block-wal-size BLOCK_WAL_SIZE]
[--block-wal-slots BLOCK_WAL_SLOTS]
[--journal-size JOURNAL_SIZE]
[--journal-slots JOURNAL_SLOTS] [--prepare]
[--osd-ids [OSD_IDS [OSD_IDS ...]]]
[DEVICES [DEVICES ...]]
ceph-volume lvm batch: error: GPT headers found, they must be removed on: /dev/sda


Related issues 2 (0 open2 closed)

Copied to ceph-volume - Backport #49332: octopus: drive-group subcommand potentially passes root disk to batchResolvedJan FajerskiActions
Copied to ceph-volume - Backport #49333: pacific: drive-group subcommand potentially passes root disk to batchResolvedJan FajerskiActions
Actions #1

Updated by Nathan Cutler over 3 years ago

  • Status changed from New to Fix Under Review
Actions #2

Updated by Jan Fajerski about 3 years ago

  • Status changed from Fix Under Review to Pending Backport
  • Backport changed from octopus to pacific,octopus
Actions #3

Updated by Backport Bot about 3 years ago

  • Copied to Backport #49332: octopus: drive-group subcommand potentially passes root disk to batch added
Actions #4

Updated by Backport Bot about 3 years ago

  • Copied to Backport #49333: pacific: drive-group subcommand potentially passes root disk to batch added
Actions #5

Updated by Nathan Cutler about 3 years ago

  • Status changed from Pending Backport to Resolved

While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".

Actions

Also available in: Atom PDF