ceph_mon can't start,because error config

Bug #1538870 reported by weiyu on 2016-01-28
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
High
weiyu

Bug Description

Running command: '/usr/bin/ceph-mon -d -i openstack-3 --public-addr 192.168.20.87:6789'
monitor data directory at '/var/lib/ceph/mon/ceph-openstack-3' does not exist: have you run 'mkfs'?
2016-01-28 03:51:03.851105 7f5c36bb5880 0 ceph version 0.94.5 (9764da52395923e0b32908d83a9f7304401fee43), process ceph-mon, pid

[root@openstack-3 ~]# ls /var/lib/docker/volumes/ceph_mon/_data/mon/ceph-openstack-3.novalocal/
keyring store.db
[root@openstack-3 ~]#

weiyu (weiyu) on 2016-01-28
description: updated
Changed in kolla:
assignee: nobody → weiyu (weiyu)

Fix proposed to branch: master
Review: https://review.openstack.org/273340

Changed in kolla:
status: New → In Progress
Steven Dake (sdake) on 2016-01-28
Changed in kolla:
importance: Undecided → High
milestone: none → mitaka-3

Reviewed: https://review.openstack.org/273340
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=6a38a9fe755672057f0ec474608218a0e41dfcbc
Submitter: Jenkins
Branch: master

commit 6a38a9fe755672057f0ec474608218a0e41dfcbc
Author: weiyu <email address hidden>
Date: Thu Jan 28 12:16:21 2016 +0800

    reset $(hostname) to $(hostname -s) in ceph extend_start.sh

    $(hostname) is Ceph Monitor name in extend_start.sh,
    {{ ansibe_hostanme }} is Ceph Monitor name in ceph.conf.
    $(hostname) not always equal to ansible_hostname , that
    makes ceph_mon container can't start.

    Closes-Bug: #1538870
    Change-Id: I312bf8d74c855aa4c72f12285e3092df96f60048

Changed in kolla:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers