Re: Configuration option xxx may not be modified at runtime

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Sep 01, 2018 at 10:24:26PM -0500, Alex Litvak wrote:

> 2018-09-01 20:21:22.026 7fe2dffff700 -1 set_mon_vals failed to set
> admin_socket = /var/run/ceph/$name.$pid.asok: Configuration option
> 'admin_socket' may not be modified at runtime

It looks you added admin_socket option to the monitor configuration
database, either explicitely calling something like

  ceph config set client admin_socket ...

or via assimilate-conf. This option does not make sence in the monitor
configuration database, as the client or daemon connects to the
monitor after the admin socket is created. You need to keep it in the
config file. That is why your see the warning. It is harmless, and you
can get rid of it by removing admin_socket from the database. For this
run

  ceph config dump | grep admin_socket

to get the list of WHO this option has been added to. And then for
every WHO run:

  ceph config rm $WHO admin_socket

In your case I assume it will be at least:

  ceph config rm client admin_socket
  ceph config rm client.libvirt admin_socket

The same is for other options you see the warnings for. I assume they
were added by assimilate-conf and this looks like a bug to me.

[1] http://docs.ceph.com/docs/master/rados/configuration/ceph-conf/#monitor-configuration-database

-- 
Mykola Golub



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux