View difference between Paste ID: hepeEjBS and zx3kMT33
SHOW: | | - or go back to the newest paste.
1-
ceph@brizo:~/mycluster$ ls
1+
ceph@brizo:~/mycluster$ ceph-deploy --overwrite-conf mon create brizo.classmarkets.net
2-
ceph.bootstrap-mds.keyring  ceph.bootstrap-osd.keyring  ceph.client.admin.keyring  ceph.conf  ceph.log  ceph.mon.keyring
2+
3-
ceph@brizo:~/mycluster$ ceph-deploy mon create brizo.classmarkets.net
3+
4
[ceph_deploy.mon][INFO  ] distro info: Debian 7 wheezy
5
[brizo.classmarkets.net][DEBUG ] deploying mon to brizo.classmarkets.net
6-
ceph@brizo.classmarkets.net's password: 
6+
7
[brizo.classmarkets.net][INFO  ] write cluster configuration to /etc/ceph/{cluster}.conf
8
[brizo.classmarkets.net][DEBUG ] checking for done path: /var/lib/ceph/mon/ceph-brizo/done
9
[brizo.classmarkets.net][INFO  ] create a done file to avoid re-doing the mon deployment
10
[brizo.classmarkets.net][INFO  ] create the init path if it does not exist
11
[brizo.classmarkets.net][INFO  ] locating `service` executable...
12
[brizo.classmarkets.net][INFO  ] found `service` executable: /usr/sbin/service
13
[brizo.classmarkets.net][INFO  ] Running command: /usr/sbin/service ceph start mon.brizo
14-
[brizo.classmarkets.net][ERROR ]   File "/usr/lib/python2.7/dist-packages/ceph_deploy/conf.py", line 12, in write_conf
14+
15-
[brizo.classmarkets.net][ERROR ]     line = self.fp.readline()
15+
16-
[brizo.classmarkets.net][ERROR ] RuntimeError: config file /etc/ceph/ceph.conf exists with different content; use --overwrite-conf to overwrite
16+
17
[brizo.classmarkets.net][ERROR ]     def inner(*args, **kwargs):
18
[brizo.classmarkets.net][ERROR ]   File "/usr/lib/python2.7/dist-packages/ceph_deploy/util/wrappers.py", line 6, in remote_call
19
[brizo.classmarkets.net][ERROR ]     This allows us to only remote-execute the actual calls, not whole functions.
20
[brizo.classmarkets.net][ERROR ]   File "/usr/lib/python2.7/subprocess.py", line 511, in check_call
21
[brizo.classmarkets.net][ERROR ]     raise CalledProcessError(retcode, cmd)
22
[brizo.classmarkets.net][ERROR ] CalledProcessError: Command '['/usr/sbin/service', 'ceph', 'start', 'mon.brizo']' returned non-zero exit status 1
23
[ceph_deploy.mon][ERROR ] Failed to execute command: /usr/sbin/service ceph start mon.brizo
24
[ceph_deploy][ERROR ] GenericError: Failed to create 1 monitors
25
26
ceph@brizo:~/mycluster$ /usr/sbin/service ceph start mon.brizo
27
=== mon.brizo === 
28
Starting Ceph mon.brizo on brizo...
29
bash: line 0: ulimit: open files: cannot modify limit: Operation not permitted
30
failed: 'ulimit -n 32768;  /usr/bin/ceph-mon -i brizo --pid-file /var/run/ceph/mon.brizo.pid -c /etc/ceph/ceph.conf '
31
Starting ceph-create-keys on brizo...
32
ceph@brizo:~/mycluster$