add debug option to ceph mon or osd start command
when ceph_mon and ceph_osd start failed, add debug option will print more info. now when ceph_mon and ceph_osd containers start failed, docker logs ceph_mon print none log Closes-Bug: #1815707 Change-Id: I3c5086019808a9738714f5279ec74cbb9b7a8587
This commit is contained in:
parent
189af13ba6
commit
cdfc0442e9
@ -52,6 +52,7 @@ ceph_rgw_image_full: "{{ ceph_rgw_image }}:{{ ceph_rgw_tag }}"
|
||||
# Ceph
|
||||
####################
|
||||
osd_initial_weight: "1"
|
||||
ceph_debug: "{{ openstack_logging_debug }}"
|
||||
|
||||
# Increase tcmalloc cache size
|
||||
ceph_tcmalloc_tc_bytes: "134217728"
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"command": "/usr/bin/ceph-mon -f -i {{ hostvars[inventory_hostname]['ansible_' + storage_interface]['ipv4']['address'] }} --public-addr {{ hostvars[inventory_hostname]['ansible_' + storage_interface]['ipv4']['address'] }}:6789",
|
||||
"command": "/usr/bin/ceph-mon -f {% if ceph_debug %}-d{% endif %} -i {{ hostvars[inventory_hostname]['ansible_' + storage_interface]['ipv4']['address'] }} --public-addr {{ hostvars[inventory_hostname]['ansible_' + storage_interface]['ipv4']['address'] }}:6789",
|
||||
"config_files": [
|
||||
{
|
||||
"source": "{{ container_config_directory }}/ceph.conf",
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"command": "/usr/bin/ceph-osd -f --public-addr {{ hostvars[inventory_hostname]['ansible_' + storage_interface]['ipv4']['address'] }} --cluster-addr {{ hostvars[inventory_hostname]['ansible_' + cluster_interface]['ipv4']['address'] }}",
|
||||
"command": "/usr/bin/ceph-osd -f {% if ceph_debug %}-d{% endif %} --public-addr {{ hostvars[inventory_hostname]['ansible_' + storage_interface]['ipv4']['address'] }} --cluster-addr {{ hostvars[inventory_hostname]['ansible_' + cluster_interface]['ipv4']['address'] }}",
|
||||
"config_files": [
|
||||
{
|
||||
"source": "{{ container_config_directory }}/ceph.conf",
|
||||
|
Loading…
Reference in New Issue
Block a user