Project

General

Profile

Actions

Bug #48581

open

MON: global_init: error reading config file

Added by Oscar Segarra over 3 years ago. Updated almost 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
% Done:

0%

Source:
Community (user)
Tags:
Backport:
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

2020-12-12 00:24:28 /opt/ceph-container/bin/entrypoint.sh: STAYALIVE: container will not die if a command fails.,
2020-12-12 00:24:28 /opt/ceph-container/bin/entrypoint.sh: 'auth' key already exists,
2020-12-12 00:24:28 /opt/ceph-container/bin/entrypoint.sh: 'global' key already exists,
2020-12-12 00:24:28 /opt/ceph-container/bin/entrypoint.sh: 'mon' key already exists,
2020-12-12 00:24:28 /opt/ceph-container/bin/entrypoint.sh: 'mds' key already exists,
2020-12-12 00:24:28 /opt/ceph-container/bin/entrypoint.sh: 'osd' key already exists,
2020-12-12 00:24:28 /opt/ceph-container/bin/entrypoint.sh: 'client' key already exists,
2020-12-12 00:24:28 /opt/ceph-container/bin/entrypoint.sh: Adding Mon Host - vdicnode01.,
0.0.0.0,
vdicnode01,
true,
2020-12-12 00:24:28 /opt/ceph-container/bin/entrypoint.sh: Configuration found for cluster ceph. Writing to disk.,
true,
2020-12-12T00:24:29+01:00 vdicnode01.local /tmp/gztmpGeLTQkuFB/confd139: INFO Backend set to etcd,
2020-12-12T00:24:29+01:00 vdicnode01.local /tmp/gztmpGeLTQkuFB/confd139: INFO Starting confd,
2020-12-12T00:24:29+01:00 vdicnode01.local /tmp/gztmpGeLTQkuFB/confd139: INFO Backend source(s) set to http://127.0.0.1:2379,
2020-12-12 00:24:29 /opt/ceph-container/bin/entrypoint.sh: Adding bootstrap keyrings.,
2020-12-12 00:24:30 /opt/ceph-container/bin/entrypoint.sh: Adding mon/admin Keyrings.,
2020-12-12 00:24:30 /opt/ceph-container/bin/entrypoint.sh: Trying to get the most recent monmap...,
Error initializing cluster client: InvalidArgumentError('RADOS invalid argument (error calling conf_read_file)',),
2020-12-12 00:24:30 /opt/ceph-container/bin/entrypoint.sh: Peers not found, using initial monmap.,
2020-12-12 00:24:30 /opt/ceph-container/bin/entrypoint.sh: Removing lock for vdicnode01.,
PrevNode.Value: vdicnode01,
importing contents of /var/lib/ceph/bootstrap-osd/ceph.keyring into /etc/ceph/ceph.mon.keyring,
importing contents of /var/lib/ceph/bootstrap-mds/ceph.keyring into /etc/ceph/ceph.mon.keyring,
importing contents of /var/lib/ceph/bootstrap-rgw/ceph.keyring into /etc/ceph/ceph.mon.keyring,
importing contents of /var/lib/ceph/bootstrap-rbd-mirror/ceph.keyring into /etc/ceph/ceph.mon.keyring,
importing contents of /etc/ceph/ceph.client.admin.keyring into /etc/ceph/ceph.mon.keyring,
global_init: error reading config file.,

Anyone has experienced the same issue? Is this normal?

What config file does it talks about?

thanks a lot.

Actions #1

Updated by Rocky Cardwell over 3 years ago

Oscar Segarra wrote:

2020-12-12 00:24:28 /opt/ceph-container/bin/entrypoint.sh: STAYALIVE: container will not die if a command fails.,
2020-12-12 00:24:28 /opt/ceph-container/bin/entrypoint.sh: 'auth' key already exists,
2020-12-12 00:24:28 /opt/ceph-container/bin/entrypoint.sh: 'global' key already exists,
2020-12-12 00:24:28 /opt/ceph-container/bin/entrypoint.sh: 'mon' key already exists,
2020-12-12 00:24:28 /opt/ceph-container/bin/entrypoint.sh: 'mds' key already exists,
2020-12-12 00:24:28 /opt/ceph-container/bin/entrypoint.sh: 'osd' key already exists,
2020-12-12 00:24:28 /opt/ceph-container/bin/entrypoint.sh: 'client' key already exists,
2020-12-12 00:24:28 /opt/ceph-container/bin/entrypoint.sh: Adding Mon Host - vdicnode01.,
0.0.0.0,
vdicnode01,
true,
2020-12-12 00:24:28 /opt/ceph-container/bin/entrypoint.sh: Configuration found for cluster ceph. Writing to disk.,
true,
2020-12-12T00:24:29+01:00 vdicnode01.local /tmp/gztmpGeLTQkuFB/confd139: INFO Backend set to etcd,
2020-12-12T00:24:29+01:00 vdicnode01.local /tmp/gztmpGeLTQkuFB/confd139: INFO Starting confd,
2020-12-12T00:24:29+01:00 vdicnode01.local /tmp/gztmpGeLTQkuFB/confd139: INFO Backend source(s) set to http://127.0.0.1:2379,
2020-12-12 00:24:29 /opt/ceph-container/bin/entrypoint.sh: Adding bootstrap keyrings.,
2020-12-12 00:24:30 /opt/ceph-container/bin/entrypoint.sh: Adding mon/admin Keyrings.,
2020-12-12 00:24:30 /opt/ceph-container/bin/entrypoint.sh: Trying to get the most recent monmap...,
Error initializing cluster client: InvalidArgumentError('RADOS invalid argument (error calling conf_read_file)',),
2020-12-12 00:24:30 /opt/ceph-container/bin/entrypoint.sh: Peers not found, using initial monmap.,
2020-12-12 00:24:30 /opt/ceph-container/bin/entrypoint.sh: Removing lock for vdicnode01.,
PrevNode.Value: vdicnode01,
importing contents of /var/lib/ceph/bootstrap-osd/ceph.keyring into /etc/ceph/ceph.mon.keyring,
importing contents of /var/lib/ceph/bootstrap-mds/ceph.keyring into /etc/ceph/ceph.mon.keyring,
importing contents of /var/lib/ceph/bootstrap-rgw/ceph.keyring into /etc/ceph/ceph.mon.keyring,
importing contents of /var/lib/ceph/bootstrap-rbd-mirror/ceph.keyring into /etc/ceph/ceph.mon.keyring,
importing contents of /etc/ceph/ceph.client.admin.keyring into /etc/ceph/ceph.mon.keyring,
global_init: error reading config file.,

Anyone has experienced the same issue? Is this normal?

What config file does it talks about?

thanks a lot.

I had the same issue when installing ceph manually. The documentation is not clear that you need "[global]" at the top of the configuration file on step 5 of https://docs.ceph.com/en/latest/install/manual-deployment/

I think it is trying to say that it can't find the [global] section in /etc/ceph/ceph.conf

Actions #2

Updated by Sage Weil almost 3 years ago

  • Project changed from Ceph to RADOS
  • Category deleted (Monitor)
Actions

Also available in: Atom PDF