On Thu, May 23, 2013 at 9:58 AM, Smart Weblications GmbH - Florian
Wiessner <f.wiess...@smart-weblications.de> wrote:
> you may need to update your [mon.a] section in your ceph.conf like this:
>
>
> [mon.a]
>        mon data = /var/lib/ceph/mon/ceph-a/

That didn't seem to make a difference, it kept trying to use ceph-admin.

I tried adding this as well:

[mon]
        mon data = /var/lib/ceph/mon/ceph-a


But it didn't work either:

# ceph-mon -d -c /etc/ceph/ceph.conf
2013-05-23 22:33:14.371601 7fb64f8cd780  0 ceph version 0.61.2
(fea782543a844bb277ae94d3391788b76c5bee60), process ceph-mon, pid
31183
IO error: lock /var/lib/ceph/mon/ceph-a/store.db/LOCK: Resource
temporarily unavailable
2013-05-23 22:33:14.374219 7fb64f8cd780  1 unable to open monitor
store at /var/lib/ceph/mon/ceph-a
2013-05-23 22:33:14.374229 7fb64f8cd780  1 check for old monitor store format
2013-05-23 22:33:14.374239 7fb64f8cd780  1 store(/var/lib/ceph/mon/ceph-a) mount
2013-05-23 22:33:14.374300 7fb64f8cd780  1 found old GV monitor store
format -- should convert!
IO error: lock /var/lib/ceph/mon/ceph-a/store.db/LOCK: Resource
temporarily unavailable
mon/Monitor.cc: In function 'int Monitor::StoreConverter::convert()'
thread 7fb64f8cd780 time 2013-05-23 22:33:14.374451
mon/Monitor.cc: 4293: FAILED assert(!db->create_and_open(std::cerr))
 ceph version 0.61.2 (fea782543a844bb277ae94d3391788b76c5bee60)
 1: (Monitor::StoreConverter::convert()+0x467) [0x4bf257]
 2: (main()+0x44e) [0x48073e]
 3: (__libc_start_main()+0xed) [0x7fb64db2a76d]
 4: ceph-mon() [0x48417d]
 NOTE: a copy of the executable, or `objdump -rdS <executable>` is
needed to interpret this.
2013-05-23 22:33:14.375019 7fb64f8cd780 -1 mon/Monitor.cc: In function
'int Monitor::StoreConverter::convert()' thread 7fb64f8cd780 time
2013-05-23 22:33:14.374451
mon/Monitor.cc: 4293: FAILED assert(!db->create_and_open(std::cerr))

 ceph version 0.61.2 (fea782543a844bb277ae94d3391788b76c5bee60)
 1: (Monitor::StoreConverter::convert()+0x467) [0x4bf257]
 2: (main()+0x44e) [0x48073e]
 3: (__libc_start_main()+0xed) [0x7fb64db2a76d]
 4: ceph-mon() [0x48417d]
 NOTE: a copy of the executable, or `objdump -rdS <executable>` is
needed to interpret this.

--- begin dump of recent events ---
   -23> 2013-05-23 22:33:14.369804 7fb64f8cd780  5 asok(0x172e000)
register_command perfcounters_dump hook 0x1722010
   -22> 2013-05-23 22:33:14.369831 7fb64f8cd780  5 asok(0x172e000)
register_command 1 hook 0x1722010
   -21> 2013-05-23 22:33:14.369840 7fb64f8cd780  5 asok(0x172e000)
register_command perf dump hook 0x1722010
   -20> 2013-05-23 22:33:14.369848 7fb64f8cd780  5 asok(0x172e000)
register_command perfcounters_schema hook 0x1722010
   -19> 2013-05-23 22:33:14.369855 7fb64f8cd780  5 asok(0x172e000)
register_command 2 hook 0x1722010
   -18> 2013-05-23 22:33:14.369857 7fb64f8cd780  5 asok(0x172e000)
register_command perf schema hook 0x1722010
   -17> 2013-05-23 22:33:14.369861 7fb64f8cd780  5 asok(0x172e000)
register_command config show hook 0x1722010
   -16> 2013-05-23 22:33:14.369867 7fb64f8cd780  5 asok(0x172e000)
register_command config set hook 0x1722010
   -15> 2013-05-23 22:33:14.369869 7fb64f8cd780  5 asok(0x172e000)
register_command log flush hook 0x1722010
   -14> 2013-05-23 22:33:14.369873 7fb64f8cd780  5 asok(0x172e000)
register_command log dump hook 0x1722010
   -13> 2013-05-23 22:33:14.369880 7fb64f8cd780  5 asok(0x172e000)
register_command log reopen hook 0x1722010
   -12> 2013-05-23 22:33:14.371601 7fb64f8cd780  0 ceph version 0.61.2
(fea782543a844bb277ae94d3391788b76c5bee60), process ceph-mon, pid
31183
   -11> 2013-05-23 22:33:14.373837 7fb64f8cd780  5 asok(0x172e000)
init /var/run/ceph/ceph-mon.admin.asok
   -10> 2013-05-23 22:33:14.373859 7fb64f8cd780  5 asok(0x172e000)
bind_and_listen /var/run/ceph/ceph-mon.admin.asok
    -9> 2013-05-23 22:33:14.373910 7fb64f8cd780  5 asok(0x172e000)
register_command 0 hook 0x17210b0
    -8> 2013-05-23 22:33:14.373917 7fb64f8cd780  5 asok(0x172e000)
register_command version hook 0x17210b0
    -7> 2013-05-23 22:33:14.373922 7fb64f8cd780  5 asok(0x172e000)
register_command git_version hook 0x17210b0
    -6> 2013-05-23 22:33:14.373929 7fb64f8cd780  5 asok(0x172e000)
register_command help hook 0x17220d0
    -5> 2013-05-23 22:33:14.373965 7fb64b970700  5 asok(0x172e000) entry start
    -4> 2013-05-23 22:33:14.374219 7fb64f8cd780  1 unable to open
monitor store at /var/lib/ceph/mon/ceph-a
    -3> 2013-05-23 22:33:14.374229 7fb64f8cd780  1 check for old
monitor store format
    -2> 2013-05-23 22:33:14.374239 7fb64f8cd780  1
store(/var/lib/ceph/mon/ceph-a) mount
    -1> 2013-05-23 22:33:14.374300 7fb64f8cd780  1 found old GV
monitor store format -- should convert!
     0> 2013-05-23 22:33:14.375019 7fb64f8cd780 -1 mon/Monitor.cc: In
function 'int Monitor::StoreConverter::convert()' thread 7fb64f8cd780
time 2013-05-23 22:33:14.374451
mon/Monitor.cc: 4293: FAILED assert(!db->create_and_open(std::cerr))

 ceph version 0.61.2 (fea782543a844bb277ae94d3391788b76c5bee60)
 1: (Monitor::StoreConverter::convert()+0x467) [0x4bf257]
 2: (main()+0x44e) [0x48073e]
 3: (__libc_start_main()+0xed) [0x7fb64db2a76d]
 4: ceph-mon() [0x48417d]
 NOTE: a copy of the executable, or `objdump -rdS <executable>` is
needed to interpret this.

--- logging levels ---
   0/ 5 none
   0/ 1 lockdep
   0/ 1 context
   1/ 1 crush
   1/ 5 mds
   1/ 5 mds_balancer
   1/ 5 mds_locker
   1/ 5 mds_log
   1/ 5 mds_log_expire
   1/ 5 mds_migrator
   0/ 1 buffer
   0/ 1 timer
   0/ 1 filer
   0/ 1 striper
   0/ 1 objecter
   0/ 5 rados
   0/ 5 rbd
   0/ 5 journaler
   0/ 5 objectcacher
   0/ 5 client
   0/ 5 osd
   0/ 5 optracker
   0/ 5 objclass
   1/ 3 filestore
   1/ 3 journal
   0/ 5 ms
   1/ 5 mon
   0/10 monc
   0/ 5 paxos
   0/ 5 tp
   1/ 5 auth
   1/ 5 crypto
   1/ 1 finisher
   1/ 5 heartbeatmap
   1/ 5 perfcounter
   1/ 5 rgw
   1/ 5 hadoop
   1/ 5 javaclient
   1/ 5 asok
   1/ 1 throttle
  -2/-2 (syslog threshold)
  99/99 (stderr threshold)
  max_recent     10000
  max_new         1000
  log_file
--- end dump of recent events ---
terminate called after throwing an instance of 'ceph::FailedAssertion'
*** Caught signal (Aborted) **
 in thread 7fb64f8cd780
 ceph version 0.61.2 (fea782543a844bb277ae94d3391788b76c5bee60)
 1: ceph-mon() [0x59157a]
 2: (()+0xfcb0) [0x7fb64ef69cb0]
 3: (gsignal()+0x35) [0x7fb64db3f425]
 4: (abort()+0x17b) [0x7fb64db42b8b]
 5: (__gnu_cxx::__verbose_terminate_handler()+0x11d) [0x7fb64e49169d]
 6: (()+0xb5846) [0x7fb64e48f846]
 7: (()+0xb5873) [0x7fb64e48f873]
 8: (()+0xb596e) [0x7fb64e48f96e]
 9: (ceph::__ceph_assert_fail(char const*, char const*, int, char
const*)+0x1df) [0x648e0f]
 10: (Monitor::StoreConverter::convert()+0x467) [0x4bf257]
 11: (main()+0x44e) [0x48073e]
 12: (__libc_start_main()+0xed) [0x7fb64db2a76d]
 13: ceph-mon() [0x48417d]
2013-05-23 22:33:14.377475 7fb64f8cd780 -1 *** Caught signal (Aborted) **
 in thread 7fb64f8cd780

 ceph version 0.61.2 (fea782543a844bb277ae94d3391788b76c5bee60)
 1: ceph-mon() [0x59157a]
 2: (()+0xfcb0) [0x7fb64ef69cb0]
 3: (gsignal()+0x35) [0x7fb64db3f425]
 4: (abort()+0x17b) [0x7fb64db42b8b]
 5: (__gnu_cxx::__verbose_terminate_handler()+0x11d) [0x7fb64e49169d]
 6: (()+0xb5846) [0x7fb64e48f846]
 7: (()+0xb5873) [0x7fb64e48f873]
 8: (()+0xb596e) [0x7fb64e48f96e]
 9: (ceph::__ceph_assert_fail(char const*, char const*, int, char
const*)+0x1df) [0x648e0f]
 10: (Monitor::StoreConverter::convert()+0x467) [0x4bf257]
 11: (main()+0x44e) [0x48073e]
 12: (__libc_start_main()+0xed) [0x7fb64db2a76d]
 13: ceph-mon() [0x48417d]
 NOTE: a copy of the executable, or `objdump -rdS <executable>` is
needed to interpret this.

--- begin dump of recent events ---
     0> 2013-05-23 22:33:14.377475 7fb64f8cd780 -1 *** Caught signal
(Aborted) **
 in thread 7fb64f8cd780

 ceph version 0.61.2 (fea782543a844bb277ae94d3391788b76c5bee60)
 1: ceph-mon() [0x59157a]
 2: (()+0xfcb0) [0x7fb64ef69cb0]
 3: (gsignal()+0x35) [0x7fb64db3f425]
 4: (abort()+0x17b) [0x7fb64db42b8b]
 5: (__gnu_cxx::__verbose_terminate_handler()+0x11d) [0x7fb64e49169d]
 6: (()+0xb5846) [0x7fb64e48f846]
 7: (()+0xb5873) [0x7fb64e48f873]
 8: (()+0xb596e) [0x7fb64e48f96e]
 9: (ceph::__ceph_assert_fail(char const*, char const*, int, char
const*)+0x1df) [0x648e0f]
 10: (Monitor::StoreConverter::convert()+0x467) [0x4bf257]
 11: (main()+0x44e) [0x48073e]
 12: (__libc_start_main()+0xed) [0x7fb64db2a76d]
 13: ceph-mon() [0x48417d]
 NOTE: a copy of the executable, or `objdump -rdS <executable>` is
needed to interpret this.

--- logging levels ---
   0/ 5 none
   0/ 1 lockdep
   0/ 1 context
   1/ 1 crush
   1/ 5 mds
   1/ 5 mds_balancer
   1/ 5 mds_locker
   1/ 5 mds_log
   1/ 5 mds_log_expire
   1/ 5 mds_migrator
   0/ 1 buffer
   0/ 1 timer
   0/ 1 filer
   0/ 1 striper
   0/ 1 objecter
   0/ 5 rados
   0/ 5 rbd
   0/ 5 journaler
   0/ 5 objectcacher
   0/ 5 client
   0/ 5 osd
   0/ 5 optracker
   0/ 5 objclass
   1/ 3 filestore
   1/ 3 journal
   0/ 5 ms
   1/ 5 mon
   0/10 monc
   0/ 5 paxos
   0/ 5 tp
   1/ 5 auth
   1/ 5 crypto
   1/ 1 finisher
   1/ 5 heartbeatmap
   1/ 5 perfcounter
   1/ 5 rgw
   1/ 5 hadoop
   1/ 5 javaclient
   1/ 5 asok
   1/ 1 throttle
  -2/-2 (syslog threshold)
  99/99 (stderr threshold)
  max_recent     10000
  max_new         1000
  log_file
--- end dump of recent events ---
Aborted
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to