Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [vagrant@ceph-admin ~]$ ceph-deploy mon add ceph-server-2 ceph-server-3
- [ceph_deploy.conf][DEBUG ] found configuration file at: /home/vagrant/.cephdeploy.conf
- [ceph_deploy.cli][INFO ] Invoked (1.5.25): /usr/bin/ceph-deploy mon add ceph-server-2 ceph-server-3
- [ceph_deploy][ERROR ] ConfigError: Cannot load config: [Errno 2] No such file or directory: 'ceph.conf'; has `ceph-deploy new` been run in this directory?
- [vagrant@ceph-admin ~]$ cd my-cluster/
- [vagrant@ceph-admin my-cluster]$ ceph-deploy mon add ceph-server-2 ceph-server-3
- [ceph_deploy.conf][DEBUG ] found configuration file at: /home/vagrant/.cephdeploy.conf
- [ceph_deploy.cli][INFO ] Invoked (1.5.25): /usr/bin/ceph-deploy mon add ceph-server-2 ceph-server-3
- [ceph_deploy.mon][INFO ] ensuring configuration of new mon host: ceph-server-2
- [ceph_deploy.admin][DEBUG ] Pushing admin keys and conf to ceph-server-2
- [ceph-server-2][DEBUG ] connection detected need for sudo
- [ceph-server-2][DEBUG ] connected to host: ceph-server-2
- [ceph-server-2][DEBUG ] detect platform information from remote host
- [ceph-server-2][DEBUG ] detect machine type
- [ceph-server-2][DEBUG ] write cluster configuration to /etc/ceph/{cluster}.conf
- [ceph_deploy.mon][DEBUG ] Adding mon to cluster ceph, host ceph-server-2
- [ceph_deploy.mon][DEBUG ] using mon address by resolving host: 172.16.22.15
- [ceph_deploy.mon][DEBUG ] detecting platform for host ceph-server-2 ...
- [ceph-server-2][DEBUG ] connection detected need for sudo
- [ceph-server-2][DEBUG ] connected to host: ceph-server-2
- [ceph-server-2][DEBUG ] detect platform information from remote host
- [ceph-server-2][DEBUG ] detect machine type
- [ceph_deploy.mon][INFO ] distro info: CentOS Linux 7.1.1503 Core
- [ceph-server-2][DEBUG ] determining if provided host has same hostname in remote
- [ceph-server-2][DEBUG ] get remote short hostname
- [ceph-server-2][DEBUG ] adding mon to ceph-server-2
- [ceph-server-2][DEBUG ] get remote short hostname
- [ceph-server-2][DEBUG ] write cluster configuration to /etc/ceph/{cluster}.conf
- [ceph-server-2][DEBUG ] create the mon path if it does not exist
- [ceph-server-2][DEBUG ] checking for done path: /var/lib/ceph/mon/ceph-ceph-server-2/done
- [ceph-server-2][DEBUG ] done path does not exist: /var/lib/ceph/mon/ceph-ceph-server-2/done
- [ceph-server-2][INFO ] creating keyring file: /var/lib/ceph/tmp/ceph-ceph-server-2.mon.keyring
- [ceph-server-2][DEBUG ] create the monitor keyring file
- [ceph-server-2][INFO ] Running command: sudo ceph mon getmap -o /var/lib/ceph/tmp/ceph.ceph-server-2.monmap
- [ceph-server-2][WARNIN] got monmap epoch 1
- [ceph-server-2][INFO ] Running command: sudo ceph-mon --cluster ceph --mkfs -i ceph-server-2 --monmap /var/lib/ceph/tmp/ceph.ceph-server-2.monmap --keyring /var/lib/ceph/tmp/ceph-ceph-server-2.mon.keyring
- [ceph-server-2][DEBUG ] ceph-mon: set fsid to 9ce84da1-03c6-4f74-9934-a31378c2a249
- [ceph-server-2][DEBUG ] ceph-mon: created monfs at /var/lib/ceph/mon/ceph-ceph-server-2 for mon.ceph-server-2
- [ceph-server-2][INFO ] Running command: sudo ceph mon add ceph-server-2 172.16.22.15
- [ceph-server-2][WARNIN] 2015-07-14 23:46:34.955610 7fa81ed7e700 0 monclient: hunting for new mon
- [ceph-server-2][WARNIN] No data was received after 300 seconds, disconnecting...
- [ceph-server-2][INFO ] unlinking keyring file /var/lib/ceph/tmp/ceph-ceph-server-2.mon.keyring
- [ceph-server-2][DEBUG ] create a done file to avoid re-doing the mon deployment
- [ceph-server-2][DEBUG ] create the init path if it does not exist
- [ceph-server-2][INFO ] Running command: sudo ceph-mon -i ceph-server-2 --public-addr 172.16.22.15
- [ceph-server-2][INFO ] Running command: sudo ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.ceph-server-2.asok mon_status
- [ceph-server-2][WARNIN] ceph-server-2 is not defined in `mon initial members`
- [ceph-server-2][INFO ] Running command: sudo ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.ceph-server-2.asok mon_status
- [ceph-server-2][DEBUG ] ********************************************************************************
- [ceph-server-2][DEBUG ] status for monitor: mon.ceph-server-2
- [ceph-server-2][DEBUG ] {
- [ceph-server-2][DEBUG ] "election_epoch": 1,
- [ceph-server-2][DEBUG ] "extra_probe_peers": [],
- [ceph-server-2][DEBUG ] "monmap": {
- [ceph-server-2][DEBUG ] "created": "0.000000",
- [ceph-server-2][DEBUG ] "epoch": 2,
- [ceph-server-2][DEBUG ] "fsid": "9ce84da1-03c6-4f74-9934-a31378c2a249",
- [ceph-server-2][DEBUG ] "modified": "2015-07-14 23:46:20.967714",
- [ceph-server-2][DEBUG ] "mons": [
- [ceph-server-2][DEBUG ] {
- [ceph-server-2][DEBUG ] "addr": "172.16.22.14:6789/0",
- [ceph-server-2][DEBUG ] "name": "ceph-server-1",
- [ceph-server-2][DEBUG ] "rank": 0
- [ceph-server-2][DEBUG ] },
- [ceph-server-2][DEBUG ] {
- [ceph-server-2][DEBUG ] "addr": "172.16.22.15:6789/0",
- [ceph-server-2][DEBUG ] "name": "ceph-server-2",
- [ceph-server-2][DEBUG ] "rank": 1
- [ceph-server-2][DEBUG ] }
- [ceph-server-2][DEBUG ] ]
- [ceph-server-2][DEBUG ] },
- [ceph-server-2][DEBUG ] "name": "ceph-server-2",
- [ceph-server-2][DEBUG ] "outside_quorum": [],
- [ceph-server-2][DEBUG ] "quorum": [],
- [ceph-server-2][DEBUG ] "rank": 1,
- [ceph-server-2][DEBUG ] "state": "electing",
- [ceph-server-2][DEBUG ] "sync_provider": []
- [ceph-server-2][DEBUG ] }
- [ceph-server-2][DEBUG ] ********************************************************************************
- [ceph-server-2][INFO ] monitor: mon.ceph-server-2 is running
- [vagrant@ceph-admin my-cluster]$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement