After replacing a faulty hard disk with a new one, a new OSD cannot be created on top of it, why?

Solution Verified - Updated -

Issue

  • After replacing a faulty hard disk with a new one, a new OSD cannot be created on top of it, why?

  • A 'ceph-deploy' errors out as following:

# /usr/bin/ceph-deploy -v --overwrite-conf osd create hostname:sdk --zap-disk
[ceph_deploy.conf][DEBUG ] found configuration file at: /root/.cephdeploy.conf
[ceph_deploy.cli][INFO  ] Invoked (1.5.22): /usr/bin/ceph-deploy -v --overwrite-conf osd create hostname:sdk --zap-disk
[ceph_deploy.osd][DEBUG ] Preparing cluster ceph disks hostname:/dev/sdk:
[hostname][DEBUG ] connected to host: hostname
[hostname][DEBUG ] detect platform information from remote host
[hostname][DEBUG ] detect machine type
[ceph_deploy.osd][INFO  ] Distro info: Ubuntu 12.04 precise
[ceph_deploy.osd][DEBUG ] Deploying osd to hostname
[hostname][DEBUG ] write cluster configuration to /etc/ceph/{cluster}.conf
[hostname][INFO  ] Running command: udevadm trigger --subsystem-match=block --action=add
[hostname][WARNIN] udevadm trigger is not permitted while udev is unconfigured.
[hostname][ERROR ] RuntimeError: command returned non-zero exit status: 1
[ceph_deploy.osd][ERROR ] Failed to execute command: udevadm trigger --subsystem-match=block --action=add
[ceph_deploy][ERROR ] GenericError: Failed to create 1 OSDs

Environment

  • Inktank Ceph Enterprise 1.2

  • Ubuntu 12.04 Precise

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.