Project

General

Profile

Actions

Bug #40577

closed

vstart.sh can't work.

Added by jianpeng ma almost 5 years ago. Updated almost 5 years ago.

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

0%

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

Description

When firstly do_cmake.sh, it will create a ceph.conf .in build dir.
plugin dir = lib
erasure code dir = lib
When do ../src/vstart.sh -n, it print the following message:

ceph-mgr dashboard not built - disabling.
global_init: error reading config file.
global_init: error reading config file.
global_init: error reading config file.
global_init: error reading config file.
global_init: error reading config file.
dirname: missing operand
Try 'dirname --help' for more information.

From debug, code "asok_dir=`dirname $($CEPH_BIN/ceph-conf -c $conf_fn --show-config-value admin_socket)`" cause erro and make vstart.sh return.
So i simple code: "/bin/ceph-conf -c ceph.conf --show-config-value admin_socket"
global_init: error reading config file.

By git bisect, i found commit b1289290247fcd724c9f794716176089342f1110 cause this bug.

BTY: if remove ceph.conf, no problem occur. I think in ceph.conf no infos about admin_socket which cause dirname with null. If ceph.conf contain admin_socket, this bug not occur.


Related issues 1 (0 open1 closed)

Has duplicate Dashboard - Bug #40565: mgr/dashboard: dashboard Jenkins job fails with "global_init: error reading config file. dirname: missing operand"Duplicate

Actions
Actions #1

Updated by Nathan Cutler almost 5 years ago

  • Status changed from New to Resolved
  • Pull request ID set to 28776
Actions #2

Updated by Nathan Cutler almost 5 years ago

  • Has duplicate Bug #40565: mgr/dashboard: dashboard Jenkins job fails with "global_init: error reading config file. dirname: missing operand" added
Actions

Also available in: Atom PDF