Project

General

Profile

Bug #20944

OSD metadata 'backend_filestore_dev_node' is "unknown" even for simple deployment

Added by John Spray 4 months ago. Updated 3 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Administration/Usability
Target version:
-
Start date:
08/08/2017
Due date:
% Done:

0%

Source:
Tags:
Backport:
luminous
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Release:
Needs Doc:
No
Component(RADOS):

Description

OSD created using ceph-deploy "ceph-deploy osd create --filestore", metadata after starting up is:

{
    "id": 9,
    "arch": "x86_64",
    "back_addr": "192.168.19.6:6802/2738",
    "backend_filestore_dev_node": "unknown",
    "backend_filestore_partition_path": "unknown",
    "ceph_version": "ceph version 12.1.2 (b661348f156f148d764b998b65b90451f096cb27) luminous (rc)",
    "cpu": "Intel(R) Celeron(R) CPU G1610T @ 2.30GHz",
    "default_device_class": "hdd",
    "distro": "centos",
    "distro_description": "CentOS Linux 7 (Core)",
    "distro_version": "7",
    "filestore_backend": "xfs",
    "filestore_f_type": "0x58465342",
    "front_addr": "192.168.18.6:6803/2738",
    "hb_back_addr": "192.168.19.6:6803/2738",
    "hb_front_addr": "192.168.18.6:6804/2738",
    "hostname": "gravel6.rockery",
    "kernel_description": "#1 SMP Tue Jul 4 15:04:05 UTC 2017",
    "kernel_version": "3.10.0-514.26.2.el7.x86_64",
    "mem_swap_kb": "4063228",
    "mem_total_kb": "7965928",
    "os": "Linux",
    "osd_data": "/var/lib/ceph/osd/ceph-9",
    "osd_journal": "/var/lib/ceph/osd/ceph-9/journal",
    "osd_objectstore": "filestore",
    "rotational": "1" 
}

While our code can't be expected to work out block devices in absolutely all cases, this seems like pretty much the simplest case we have for creating filestore OSDs, on a centos 7 node using bare SATA drives, so I'm thinking this is a bug if we're not finding the device node even in this case.


Related issues

Copied to RADOS - Backport #21465: luminous: OSD metadata 'backend_filestore_dev_node' is "unknown" even for simple deployment Resolved

History

#1 Updated by John Spray 4 months ago

Should have also said: bluestore was populating its bluestore_bdev_dev_node correctly on the same server and drive -- this was a filestore OSD deliberately created to check it was working too.

#2 Updated by Sage Weil 4 months ago

  • Status changed from New to Need Review
  • Backport set to luminous

#3 Updated by Sage Weil 3 months ago

  • Status changed from Need Review to Pending Backport

#4 Updated by Nathan Cutler 3 months ago

  • Copied to Backport #21465: luminous: OSD metadata 'backend_filestore_dev_node' is "unknown" even for simple deployment added

#5 Updated by Nathan Cutler 3 months ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF