· 6 years ago · Mar 19, 2020, 09:48 AM
1=== osd.2 ===
2Stopping Ceph osd.2 on pranav-Lenovo-ideapad-510-15IKB...kill 15736...kill 15736...done
3=== osd.1 ===
4Stopping Ceph osd.1 on pranav-Lenovo-ideapad-510-15IKB...kill 15325...kill 15325...done
5=== osd.0 ===
6Stopping Ceph osd.0 on pranav-Lenovo-ideapad-510-15IKB...kill 15016...kill 15016...done
7=== mon.c ===
8Stopping Ceph mon.c on pranav-Lenovo-ideapad-510-15IKB...done
9=== mon.b ===
10Stopping Ceph mon.b on pranav-Lenovo-ideapad-510-15IKB...done
11=== mon.a ===
12Stopping Ceph mon.a on pranav-Lenovo-ideapad-510-15IKB...done
13=== mgr.x ===
14Stopping Ceph mgr.x on pranav-Lenovo-ideapad-510-15IKB...kill 14347...done
15=== mds.c ===
16Stopping Ceph mds.c on pranav-Lenovo-ideapad-510-15IKB...kill 16026...kill 16026...done
17=== mds.b ===
18Stopping Ceph mds.b on pranav-Lenovo-ideapad-510-15IKB...kill 15969...done
19=== mds.a ===
20Stopping Ceph mds.a on pranav-Lenovo-ideapad-510-15IKB...kill 15913...done
21** going verbose **
22rm -f core*
23ip 127.0.0.1
24port 40247
25
26NOTE: hostname resolves to loopback; remote hosts will not be able to
27 connect. either adjust /etc/hosts, or edit this script to use your
28 machine's real IP.
29
30/home/pranav/Desktop/ceph/build/bin/ceph-authtool --create-keyring --gen-key --name=mon. /home/pranav/Desktop/ceph/build/keyring --cap mon 'allow *'
31creating /home/pranav/Desktop/ceph/build/keyring
32/home/pranav/Desktop/ceph/build/bin/ceph-authtool --gen-key --name=client.admin --cap mon 'allow *' --cap osd 'allow *' --cap mds 'allow *' --cap mgr 'allow *' /home/pranav/Desktop/ceph/build/keyring
33/home/pranav/Desktop/ceph/build/bin/monmaptool --create --clobber --addv a [v2:127.0.0.1:40247,v1:127.0.0.1:40248] --addv b [v2:127.0.0.1:40249,v1:127.0.0.1:40250] --addv c [v2:127.0.0.1:40251,v1:127.0.0.1:40252] --print /tmp/ceph_monmap.29991
34/home/pranav/Desktop/ceph/build/bin/monmaptool: monmap file /tmp/ceph_monmap.29991
35/home/pranav/Desktop/ceph/build/bin/monmaptool: generated fsid e1fd3dae-6f27-441e-b43e-dcffc0181c69
36epoch 0
37fsid e1fd3dae-6f27-441e-b43e-dcffc0181c69
38last_changed 2020-03-19T15:04:02.494839+0530
39created 2020-03-19T15:04:02.494839+0530
40min_mon_release 0 (unknown)
410: [v2:127.0.0.1:40247/0,v1:127.0.0.1:40248/0] mon.a
421: [v2:127.0.0.1:40249/0,v1:127.0.0.1:40250/0] mon.b
432: [v2:127.0.0.1:40251/0,v1:127.0.0.1:40252/0] mon.c
44/home/pranav/Desktop/ceph/build/bin/monmaptool: writing epoch 0 to /tmp/ceph_monmap.29991 (3 monitors)
45rm -rf -- /home/pranav/Desktop/ceph/build/dev/mon.a
46mkdir -p /home/pranav/Desktop/ceph/build/dev/mon.a
47/home/pranav/Desktop/ceph/build/bin/ceph-mon --mkfs -c /home/pranav/Desktop/ceph/build/ceph.conf -i a --monmap=/tmp/ceph_monmap.29991 --keyring=/home/pranav/Desktop/ceph/build/keyring
48rm -rf -- /home/pranav/Desktop/ceph/build/dev/mon.b
49mkdir -p /home/pranav/Desktop/ceph/build/dev/mon.b
50/home/pranav/Desktop/ceph/build/bin/ceph-mon --mkfs -c /home/pranav/Desktop/ceph/build/ceph.conf -i b --monmap=/tmp/ceph_monmap.29991 --keyring=/home/pranav/Desktop/ceph/build/keyring
51rm -rf -- /home/pranav/Desktop/ceph/build/dev/mon.c
52mkdir -p /home/pranav/Desktop/ceph/build/dev/mon.c
53/home/pranav/Desktop/ceph/build/bin/ceph-mon --mkfs -c /home/pranav/Desktop/ceph/build/ceph.conf -i c --monmap=/tmp/ceph_monmap.29991 --keyring=/home/pranav/Desktop/ceph/build/keyring
54rm -- /tmp/ceph_monmap.29991
55/home/pranav/Desktop/ceph/build/bin/ceph-mon -i a -c /home/pranav/Desktop/ceph/build/ceph.conf
56/home/pranav/Desktop/ceph/build/bin/ceph-mon -i b -c /home/pranav/Desktop/ceph/build/ceph.conf
57/home/pranav/Desktop/ceph/build/bin/ceph-mon -i c -c /home/pranav/Desktop/ceph/build/ceph.conf
58Populating config ...
59
60[mgr]
61 mgr/telemetry/enable = false
62 mgr/telemetry/nag = false
63Setting debug configs ...
64creating /home/pranav/Desktop/ceph/build/dev/mgr.x/keyring
65/home/pranav/Desktop/ceph/build/bin/ceph -c /home/pranav/Desktop/ceph/build/ceph.conf -k /home/pranav/Desktop/ceph/build/keyring -i /home/pranav/Desktop/ceph/build/dev/mgr.x/keyring auth add mgr.x mon 'allow profile mgr' mds 'allow *' osd 'allow *'
66added key for mgr.x
67/home/pranav/Desktop/ceph/build/bin/ceph -c /home/pranav/Desktop/ceph/build/ceph.conf -k /home/pranav/Desktop/ceph/build/keyring config set mgr mgr/dashboard/x/ssl_server_port 41247 --force
68/home/pranav/Desktop/ceph/build/bin/ceph -c /home/pranav/Desktop/ceph/build/ceph.conf -k /home/pranav/Desktop/ceph/build/keyring config set mgr mgr/prometheus/x/server_port 9283 --force
69/home/pranav/Desktop/ceph/build/bin/ceph -c /home/pranav/Desktop/ceph/build/ceph.conf -k /home/pranav/Desktop/ceph/build/keyring config set mgr mgr/restful/x/server_port 42247 --force
70Starting mgr.x
71/home/pranav/Desktop/ceph/build/bin/ceph-mgr -i x -c /home/pranav/Desktop/ceph/build/ceph.conf
72/home/pranav/Desktop/ceph/build/bin/ceph -c /home/pranav/Desktop/ceph/build/ceph.conf -k /home/pranav/Desktop/ceph/build/keyring -h
73waiting for mgr dashboard module to start
74/home/pranav/Desktop/ceph/build/bin/ceph -c /home/pranav/Desktop/ceph/build/ceph.conf -k /home/pranav/Desktop/ceph/build/keyring -h
75waiting for mgr dashboard module to start
76/home/pranav/Desktop/ceph/build/bin/ceph -c /home/pranav/Desktop/ceph/build/ceph.conf -k /home/pranav/Desktop/ceph/build/keyring -h
77waiting for mgr dashboard module to start
78/home/pranav/Desktop/ceph/build/bin/ceph -c /home/pranav/Desktop/ceph/build/ceph.conf -k /home/pranav/Desktop/ceph/build/keyring -h
79waiting for mgr dashboard module to start
80/home/pranav/Desktop/ceph/build/bin/ceph -c /home/pranav/Desktop/ceph/build/ceph.conf -k /home/pranav/Desktop/ceph/build/keyring -h
81waiting for mgr dashboard module to start
82/home/pranav/Desktop/ceph/build/bin/ceph -c /home/pranav/Desktop/ceph/build/ceph.conf -k /home/pranav/Desktop/ceph/build/keyring -h
83waiting for mgr dashboard module to start
84/home/pranav/Desktop/ceph/build/bin/ceph -c /home/pranav/Desktop/ceph/build/ceph.conf -k /home/pranav/Desktop/ceph/build/keyring -h
85waiting for mgr dashboard module to start
86/home/pranav/Desktop/ceph/build/bin/ceph -c /home/pranav/Desktop/ceph/build/ceph.conf -k /home/pranav/Desktop/ceph/build/keyring -h
87waiting for mgr dashboard module to start
88/home/pranav/Desktop/ceph/build/bin/ceph -c /home/pranav/Desktop/ceph/build/ceph.conf -k /home/pranav/Desktop/ceph/build/keyring -h
89/home/pranav/Desktop/ceph/build/bin/ceph -c /home/pranav/Desktop/ceph/build/ceph.conf -k /home/pranav/Desktop/ceph/build/keyring dashboard ac-user-create --force-password admin admin administrator
90{"username": "admin", "password": "$2b$12$1SI0PUpQRd8OvgaFGFWcpeRNyUfdOjLs7iGsRW5L6v8r4n/djThgy", "roles": ["administrator"], "name": null, "email": null, "lastUpdate": 1584610469, "enabled": true, "pwdExpirationDate": null, "pwdUpdateRequired": false}
91/home/pranav/Desktop/ceph/build/bin/ceph -c /home/pranav/Desktop/ceph/build/ceph.conf -k /home/pranav/Desktop/ceph/build/keyring dashboard create-self-signed-cert
92Self-signed certificate created
93/home/pranav/Desktop/ceph/build/bin/ceph -c /home/pranav/Desktop/ceph/build/ceph.conf -k /home/pranav/Desktop/ceph/build/keyring -h
94/home/pranav/Desktop/ceph/build/bin/ceph -c /home/pranav/Desktop/ceph/build/ceph.conf -k /home/pranav/Desktop/ceph/build/keyring restful create-self-signed-cert
95Restarting RESTful API server...
96/home/pranav/Desktop/ceph/build/bin/ceph -c /home/pranav/Desktop/ceph/build/ceph.conf -k /home/pranav/Desktop/ceph/build/keyring restful create-key admin -o /tmp/tmp.kfGRmwcwD6
97add osd0 5576ab95-c1f0-4346-82c9-555d936484bb
98/home/pranav/Desktop/ceph/build/bin/ceph -c /home/pranav/Desktop/ceph/build/ceph.conf -k /home/pranav/Desktop/ceph/build/keyring osd new 5576ab95-c1f0-4346-82c9-555d936484bb -i /home/pranav/Desktop/ceph/build/dev/osd0/new.json
990
1002020-03-19T15:04:34.607+0530 7fdacc730d80 -1 auth: unable to find a keyring on /home/pranav/Desktop/ceph/build/dev/osd0/keyring: (2) No such file or directory
1012020-03-19T15:04:34.607+0530 7fdacc730d80 -1 auth: unable to find a keyring on /home/pranav/Desktop/ceph/build/dev/osd0/keyring: (2) No such file or directory
1022020-03-19T15:04:34.607+0530 7fdacc730d80 -1 auth: unable to find a keyring on /home/pranav/Desktop/ceph/build/dev/osd0/keyring: (2) No such file or directory
1032020-03-19T15:04:34.631+0530 7fdacc730d80 -1 bluestore(/home/pranav/Desktop/ceph/build/dev/osd0/block) _read_bdev_label failed to open /home/pranav/Desktop/ceph/build/dev/osd0/block: (2) No such file or directory
1042020-03-19T15:04:34.631+0530 7fdacc730d80 -1 bluestore(/home/pranav/Desktop/ceph/build/dev/osd0/block) _read_bdev_label failed to open /home/pranav/Desktop/ceph/build/dev/osd0/block: (2) No such file or directory
1052020-03-19T15:04:34.631+0530 7fdacc730d80 -1 bluestore(/home/pranav/Desktop/ceph/build/dev/osd0/block) _read_bdev_label failed to open /home/pranav/Desktop/ceph/build/dev/osd0/block: (2) No such file or directory
1062020-03-19T15:04:34.731+0530 7fdacc730d80 -1 bluestore(/home/pranav/Desktop/ceph/build/dev/osd0) _read_fsid unparsable uuid
107start osd.0
108/home/pranav/Desktop/ceph/build/bin/ceph-osd -i 0 -c /home/pranav/Desktop/ceph/build/ceph.conf
109add osd1 b0c81ca9-9706-409d-a8c1-b1f40d4377d9
110/home/pranav/Desktop/ceph/build/bin/ceph -c /home/pranav/Desktop/ceph/build/ceph.conf -k /home/pranav/Desktop/ceph/build/keyring osd new b0c81ca9-9706-409d-a8c1-b1f40d4377d9 -i /home/pranav/Desktop/ceph/build/dev/osd1/new.json
1111
1122020-03-19T15:04:43.107+0530 7fc1c6032d80 -1 auth: unable to find a keyring on /home/pranav/Desktop/ceph/build/dev/osd1/keyring: (2) No such file or directory
1132020-03-19T15:04:43.107+0530 7fc1c6032d80 -1 auth: unable to find a keyring on /home/pranav/Desktop/ceph/build/dev/osd1/keyring: (2) No such file or directory
1142020-03-19T15:04:43.107+0530 7fc1c6032d80 -1 auth: unable to find a keyring on /home/pranav/Desktop/ceph/build/dev/osd1/keyring: (2) No such file or directory
1152020-03-19T15:04:43.115+0530 7fc1c6032d80 -1 bluestore(/home/pranav/Desktop/ceph/build/dev/osd1/block) _read_bdev_label failed to open /home/pranav/Desktop/ceph/build/dev/osd1/block: (2) No such file or directory
1162020-03-19T15:04:43.115+0530 7fc1c6032d80 -1 bluestore(/home/pranav/Desktop/ceph/build/dev/osd1/block) _read_bdev_label failed to open /home/pranav/Desktop/ceph/build/dev/osd1/block: (2) No such file or directory
1172020-03-19T15:04:43.115+0530 7fc1c6032d80 -1 bluestore(/home/pranav/Desktop/ceph/build/dev/osd1/block) _read_bdev_label failed to open /home/pranav/Desktop/ceph/build/dev/osd1/block: (2) No such file or directory
1182020-03-19T15:04:43.283+0530 7fc1c6032d80 -1 bluestore(/home/pranav/Desktop/ceph/build/dev/osd1) _read_fsid unparsable uuid
1192020-03-19T15:04:43.443+0530 7f80f90e7d80 -1 Falling back to public interface
1202020-03-19T15:04:46.903+0530 7f80f90e7d80 -1 osd.0 0 log_to_monitors {default=true}
121start osd.1
122/home/pranav/Desktop/ceph/build/bin/ceph-osd -i 1 -c /home/pranav/Desktop/ceph/build/ceph.conf
123add osd2 df2e57f6-b818-48ce-9cd0-7bcff2adf677
124/home/pranav/Desktop/ceph/build/bin/ceph -c /home/pranav/Desktop/ceph/build/ceph.conf -k /home/pranav/Desktop/ceph/build/keyring osd new df2e57f6-b818-48ce-9cd0-7bcff2adf677 -i /home/pranav/Desktop/ceph/build/dev/osd2/new.json
1252
1262020-03-19T15:04:51.907+0530 7fae4254ad80 -1 auth: unable to find a keyring on /home/pranav/Desktop/ceph/build/dev/osd2/keyring: (2) No such file or directory
1272020-03-19T15:04:51.911+0530 7fae4254ad80 -1 auth: unable to find a keyring on /home/pranav/Desktop/ceph/build/dev/osd2/keyring: (2) No such file or directory
1282020-03-19T15:04:51.911+0530 7fae4254ad80 -1 auth: unable to find a keyring on /home/pranav/Desktop/ceph/build/dev/osd2/keyring: (2) No such file or directory
1292020-03-19T15:04:51.919+0530 7fae4254ad80 -1 bluestore(/home/pranav/Desktop/ceph/build/dev/osd2/block) _read_bdev_label failed to open /home/pranav/Desktop/ceph/build/dev/osd2/block: (2) No such file or directory
1302020-03-19T15:04:51.919+0530 7fae4254ad80 -1 bluestore(/home/pranav/Desktop/ceph/build/dev/osd2/block) _read_bdev_label failed to open /home/pranav/Desktop/ceph/build/dev/osd2/block: (2) No such file or directory
1312020-03-19T15:04:51.919+0530 7fae4254ad80 -1 bluestore(/home/pranav/Desktop/ceph/build/dev/osd2/block) _read_bdev_label failed to open /home/pranav/Desktop/ceph/build/dev/osd2/block: (2) No such file or directory
1322020-03-19T15:04:52.079+0530 7fae4254ad80 -1 bluestore(/home/pranav/Desktop/ceph/build/dev/osd2) _read_fsid unparsable uuid
1332020-03-19T15:04:52.379+0530 7f289ff8fd80 -1 Falling back to public interface
1342020-03-19T15:04:55.287+0530 7f289ff8fd80 -1 osd.1 0 log_to_monitors {default=true}
135start osd.2
136/home/pranav/Desktop/ceph/build/bin/ceph-osd -i 2 -c /home/pranav/Desktop/ceph/build/ceph.conf
1372020-03-19T15:05:01.355+0530 7f80f371cd80 -1 Falling back to public interface
1382020-03-19T15:05:04.015+0530 7f80f371cd80 -1 osd.2 0 log_to_monitors {default=true}
139OSDs started
140mkdir -p /home/pranav/Desktop/ceph/build/dev/mds.a
141/home/pranav/Desktop/ceph/build/bin/ceph-authtool --create-keyring --gen-key --name=mds.a /home/pranav/Desktop/ceph/build/dev/mds.a/keyring
142creating /home/pranav/Desktop/ceph/build/dev/mds.a/keyring
143/home/pranav/Desktop/ceph/build/bin/ceph -c /home/pranav/Desktop/ceph/build/ceph.conf -k /home/pranav/Desktop/ceph/build/keyring -i /home/pranav/Desktop/ceph/build/dev/mds.a/keyring auth add mds.a mon 'allow profile mds' osd 'allow rw tag cephfs *=*' mds allow mgr 'allow profile mds'
144added key for mds.a
145/home/pranav/Desktop/ceph/build/bin/ceph-mds -i a -c /home/pranav/Desktop/ceph/build/ceph.conf
146starting mds.a at
147mkdir -p /home/pranav/Desktop/ceph/build/dev/mds.b
148/home/pranav/Desktop/ceph/build/bin/ceph-authtool --create-keyring --gen-key --name=mds.b /home/pranav/Desktop/ceph/build/dev/mds.b/keyring
149creating /home/pranav/Desktop/ceph/build/dev/mds.b/keyring
150/home/pranav/Desktop/ceph/build/bin/ceph -c /home/pranav/Desktop/ceph/build/ceph.conf -k /home/pranav/Desktop/ceph/build/keyring -i /home/pranav/Desktop/ceph/build/dev/mds.b/keyring auth add mds.b mon 'allow profile mds' osd 'allow rw tag cephfs *=*' mds allow mgr 'allow profile mds'
151added key for mds.b
152/home/pranav/Desktop/ceph/build/bin/ceph-mds -i b -c /home/pranav/Desktop/ceph/build/ceph.conf
153starting mds.b at
154mkdir -p /home/pranav/Desktop/ceph/build/dev/mds.c
155/home/pranav/Desktop/ceph/build/bin/ceph-authtool --create-keyring --gen-key --name=mds.c /home/pranav/Desktop/ceph/build/dev/mds.c/keyring
156creating /home/pranav/Desktop/ceph/build/dev/mds.c/keyring
157/home/pranav/Desktop/ceph/build/bin/ceph -c /home/pranav/Desktop/ceph/build/ceph.conf -k /home/pranav/Desktop/ceph/build/keyring -i /home/pranav/Desktop/ceph/build/dev/mds.c/keyring auth add mds.c mon 'allow profile mds' osd 'allow rw tag cephfs *=*' mds allow mgr 'allow profile mds'
158added key for mds.c
159/home/pranav/Desktop/ceph/build/bin/ceph-mds -i c -c /home/pranav/Desktop/ceph/build/ceph.conf
160starting mds.c at
161/home/pranav/Desktop/ceph/build/bin/ceph -c /home/pranav/Desktop/ceph/build/ceph.conf -k /home/pranav/Desktop/ceph/build/keyring fs volume ls
162[]
163/home/pranav/Desktop/ceph/build/bin/ceph -c /home/pranav/Desktop/ceph/build/ceph.conf -k /home/pranav/Desktop/ceph/build/keyring fs volume create a
164Volume created successfully (no MDS daemons created)
165/home/pranav/Desktop/ceph/build/bin/ceph -c /home/pranav/Desktop/ceph/build/ceph.conf -k /home/pranav/Desktop/ceph/build/keyring fs authorize a client.fs_a / rwp
166/home/pranav/Desktop/ceph/build/bin/ceph -c /home/pranav/Desktop/ceph/build/ceph.conf -k /home/pranav/Desktop/ceph/build/keyring fs authorize * client.fs / rwp
167vstart cluster complete. Use stop.sh to stop. See out/* (e.g. 'tail -f out/????') for debug output.
168
169dashboard urls: https://127.0.0.1:41247
170 w/ user/pass: admin / admin
171restful urls: https://127.0.0.1:42247
172 w/ user/pass: admin / 5cf76db3-263f-4013-b46a-6b67749d1933
173
174
175export PYTHONPATH=/home/pranav/Desktop/ceph/src/pybind:/home/pranav/Desktop/ceph/build/lib/cython_modules/lib.3:/home/pranav/Desktop/ceph/src/python-common:$PYTHONPATH
176export LD_LIBRARY_PATH=/home/pranav/Desktop/ceph/build/lib:$LD_LIBRARY_PATH
177alias cephfs-shell=/home/pranav/Desktop/ceph/src/tools/cephfs/cephfs-shell
178CEPH_DEV=1