Created attachment 1323733 [details] File contains OSD service log snippet, docker service log snippet and ansible log Description of problem: After ansible playbook successfully completed running site-docker.yml, OSDs are not getting activated. Faced this issue while working on BZ 1458512 Cluster name used - 11 Version-Release number of selected component (if applicable): ceph-3.0-rhel-7-docker-candidate-71465-20170804220045 ceph-ansible-3.0.0-0.1.rc6.el7cp.noarch How reproducible: Always (2/2) Steps to Reproduce: 1.Configure ceph ansible to get a containerized ceph cluster up with container name with numbers 2.run ansible-playbook site-docker.yml Actual results: OSD not getting activated (/entrypoint.sh: static: does not generate config) Expected results: OSD must get activated Additional info: 1) Please let me know if I have missed anything $ cat group_vars/osds.yml | egrep -v ^# | grep -v ^$ --- dummy: devices: - /dev/sdb - /dev/sdc - /dev/sdd ceph_osd_docker_prepare_env: -e CLUSTER={{ cluster }} -e OSD_JOURNAL_SIZE={{ journal_size }} -e OSD_FORCE_ZAP=1 -e OSD_FILESTORE=1 ceph_osd_docker_extra_env: -e CLUSTER={{ cluster }} -e CEPH_DAEMON=OSD_CEPH_DISK_ACTIVATE -e OSD_JOURNAL_SIZE={{ journal_size }} -e OSD_FILESTORE=1 2) expose_partions function from /usr/share/ceph-osd-run.sh has been copied into the attachment, where OSD_BLUESTORE_BLOCK_WAL is being set, it lead to a bit confusion.
please edit /usr/share/ceph-osd-run.sh and add -e DEBUG=verbose \ Then look at journald logs and write it here, thanks.
Created attachment 1323752 [details] File contains journald logs of an osd serivce
Also could you use the latest image available? Looks like ceph-3.0-rhel-7-docker-candidate-21213-20170908140758 is the latest. Thanks!
Created attachment 1323772 [details] File contains journald logs of an osd serivce Hi Sebastien, I upgraded only one OSD node, Here's the log snippet - raise Error('%s does not exist' % args.path) ceph-osd-run.sh[32644]: ceph_disk.main.Error: Error: /dev/sdb1 does not exist Larger log snippet is in the attachment. Regards, Vasishata
Please add osd_scenario: collocated Also leave ceph_osd_docker_extra_env empty and set ceph_osd_docker_prepare_env: -e OSD_JOURNAL_SIZE={{ journal_size }} Thanks.
I'm closing this since this was due to a misconfiguration. We will address the doc in another BZ.