Bug 1822153 - [ceph-volume] Volume group name has invalid characters ,playbook fails at osd creation task
Summary: [ceph-volume] Volume group name has invalid characters ,playbook fails at os...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Ceph-Volume
Version: 4.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: rc
: 4.1
Assignee: Rishabh Dave
QA Contact: subhash
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-04-08 11:36 UTC by subhash
Modified: 2020-05-19 17:33 UTC (History)
8 users (show)

Fixed In Version: ceph-14.2.8-47.el8cp, ceph-14.2.8-39.el7cp
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-05-19 17:33:19 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2020:2231 0 None None None 2020-05-19 17:33:47 UTC

Comment 1 Christina Meno 2020-04-15 14:43:34 UTC
Rishabh, Would you please triage and recommend a solution here?

Comment 3 Rishabh Dave 2020-04-20 12:55:54 UTC
The cause for the bug is that VG name in the lvcreate command is absent. I could reproduce this  -

ceph-volume lvm create --bluestore --data /dev/vdc --dmcrypt
Running command: /usr/bin/ceph-authtool --gen-print-key
Running command: /usr/bin/ceph-authtool --gen-print-key
Running command: /usr/bin/ceph --cluster ceph --name client.bootstrap-osd --keyring /var/lib/ceph/bootstrap-osd/ceph.keyring -i - osd new fe61b56b-a112-457f-b3f6-69eae35df89b
Running command: /usr/sbin/vgcreate --force --yes ceph-76123753-1603-4bf2-af60-d2152eb85b0f /dev/vdc
 stdout: Physical volume "/dev/vdc" successfully created.
 stdout: Volume group "ceph-76123753-1603-4bf2-af60-d2152eb85b0f" successfully created
Running command: /usr/sbin/lvcreate --yes -l 100%FREE -n osd-block-fe61b56b-a112-457f-b3f6-69eae35df89b
 stderr: Volume group name  has invalid characters
  Run `lvcreate --help' for more information.


Tracker issue[1] pointed out in description here has the same failure with the exact same cause. It's fixed in master[3] and mimic[3] but the nautilus backport[4] is still open. I've informed the backport author that we need it to merge it ASAP. I'll happy be to take over the backport and get it merged if the author turns out to be busy.

[1] https://tracker.ceph.com/issues/44096
[2] https://github.com/ceph/ceph/pull/33478
[3] https://github.com/ceph/ceph/pull/33617
[4] https://github.com/ceph/ceph/pull/33616

Comment 15 errata-xmlrpc 2020-05-19 17:33:19 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2020:2231


Note You need to log in before you can comment on or make changes to this bug.