MDS添加操作
[talen@ceph_admin ~]$ ceph-deploy mds create ceph_monitor
[ceph_deploy.conf][DEBUG ] found configuration file at: /home/talen/.cephdeploy.conf
[ceph_deploy.cli][INFO ] Invoked (1.5.28): /bin/ceph-deploy mds create ceph_monitor
[ceph_deploy.cli][INFO ] ceph-deploy options:
[ceph_deploy.cli][INFO ] username : None
[ceph_deploy.cli][INFO ] verbose : False
[ceph_deploy.cli][INFO ] overwrite_conf : False
[ceph_deploy.cli][INFO ] subcommand : create
[ceph_deploy.cli][INFO ] quiet : False
[ceph_deploy.cli][INFO ] cd_conf :
[ceph_deploy.cli][INFO ] cluster : ceph
[ceph_deploy.cli][INFO ] func :
[ceph_deploy.cli][INFO ] ceph_conf : None
[ceph_deploy.cli][INFO ] mds : [('ceph_monitor', 'ceph_monitor')]
[ceph_deploy.cli][INFO ] default_release : False
[ceph_deploy.mds][DEBUG ] Deploying mds, cluster ceph hosts ceph_monitor:ceph_monitor
[ceph_monitor][DEBUG ] connection detected need for sudo
[ceph_monitor][DEBUG ] connected to host: ceph_monitor
[ceph_monitor][DEBUG ] detect platform information from remote host
[ceph_monitor][DEBUG ] detect machine type
[ceph_deploy.mds][INFO ] Distro info: CentOS Linux 7.1.1503 Core
[ceph_deploy.mds][DEBUG ] remote host will use sysvinit
[ceph_deploy.mds][DEBUG ] deploying mds bootstrap to ceph_monitor
[ceph_monitor][DEBUG ] write cluster configuration to /etc/ceph/{cluster}.conf
[ceph_monitor][DEBUG ] create path if it doesn't exist
[ceph_monitor][INFO ] Running command: sudo ceph --cluster ceph --name client.bootstrap-mds --keyring /var/lib/ceph/bootstrap-mds/ceph.keyring auth get-or-create mds.ceph_monitor osd allow rwx mds allow mon allow profile mds -o /var/lib/ceph/mds/ceph-ceph_monitor/keyring
[ceph_monitor][INFO ] Running command: sudo service ceph start mds.ceph_monitor
[ceph_monitor][DEBUG ] === mds.ceph_monitor ===
[ceph_monitor][DEBUG ] Starting Ceph mds.ceph_monitor on ceph_monitor...
[ceph_monitor][WARNIN] Running as unit run-12931.service.
[ceph_monitor][INFO ] Running command: sudo systemctl enable ceph
[ceph_monitor][WARNIN] ceph.service is not a native service, redirecting to /sbin/chkconfig.
[ceph_monitor][WARNIN] Executing /sbin/chkconfig ceph on
[ceph_monitor][WARNIN] The unit files have no [Install] section. They are not meant to be enabled
[ceph_monitor][WARNIN] using systemctl.
[ceph_monitor][WARNIN] Possible reasons for having this kind of units are:
[ceph_monitor][WARNIN] 1) A unit may be statically enabled by being symlinked from another unit's
[ceph_monitor][WARNIN] .wants/ or .requires/ directory.
[ceph_monitor][WARNIN] 2) A unit's purpose may be to act as a helper for some other unit which has
[ceph_monitor][WARNIN] a requirement dependency on it.
[ceph_monitor][WARNIN] 3) A unit may be started when needed via activation (socket, path, timer,
[ceph_monitor][WARNIN] D-Bus, udev, scripted systemctl call, ...).
[talen@ceph_admin ~]$
日志信息:
2015-09-14 15:27:01.222793 mon.0 [INF] from='client.? 10.0.2.33:0/1012784' entity='client.bootstrap-mds' cmd=[{"prefix": "auth get-or-create", "entity": "mds.ceph_monitor", "caps": ["osd", "allow rwx", "mds", "allow", "mon", "allow profile mds"]}]: dispatch
2015-09-14 15:27:01.261552 mon.0 [INF] from='client.? 10.0.2.33:0/1012784' entity='client.bootstrap-mds' cmd='[{"prefix": "auth get-or-create", "entity": "mds.ceph_monitor", "caps": ["osd", "allow rwx", "mds", "allow", "mon", "allow profile mds"]}]': finished
阅读(2655) | 评论(0) | 转发(0) |