Project

General

Profile

Bug #48631

drive-group subcommand potentially passes root disk to batch

Added by Jan Fajerski 4 months ago. Updated about 2 months 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

Copied to ceph-volume - Backport #49332: octopus: drive-group subcommand potentially passes root disk to batch Resolved
Copied to ceph-volume - Backport #49333: pacific: drive-group subcommand potentially passes root disk to batch Resolved

History

#1 Updated by Nathan Cutler 4 months ago

  • Status changed from New to Fix Under Review

#2 Updated by Jan Fajerski 2 months ago

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

#3 Updated by Backport Bot 2 months ago

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

#4 Updated by Backport Bot 2 months ago

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

#5 Updated by Nathan Cutler about 2 months 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".

Also available in: Atom PDF