Segmentation fault in ceph-authtool (FIPS=1)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I’m trying to run ceph jewel on centos 7.2 with fips mode=1and got a segmentation fault running ceph-authtool.
I’m pretty sure that this is a result of the fips mode.
Obviously I would hope that this would work. I will have to try again, but I think that firefly does not have this issue.

rpm -qa ceph
ceph-10.2.2-0.el7.x86_64

ceph-authtool -v
ceph version 10.2.2 (45107e21c568dd033c2f0a3107dec8f0b0e58374)

kernel : 3.10.0-327.28.3.el7.x86_64

here is the stack:

# ceph-authtool --create-keyring "ceph.mon.keyring" --gen-key -n mon. --cap mon 'allow *'
creating ceph.mon.keyring
*** Caught signal (Segmentation fault) **
 in thread 7ff3dcf64d00 thread_name:ceph-authtool
 ceph version 10.2.2 (45107e21c568dd033c2f0a3107dec8f0b0e58374)
 1: (()+0xe2faa) [0x7ff3dd05bfaa]
 2: (()+0xf100) [0x7ff3dc1c9100]
 3: (_FreeSymKey const*+0x55) [0x7ff3dc662155]
 4: (CryptoAESKeyHandler::~CryptoAESKeyHandler()+0x29) [0x7ff3dd0672a9]
 5: (CryptoAES::get_key_handler(ceph::buffer::ptr const&, std::string&)+0x41a) [0x7ff3dd0662ba]
 6: (CryptoKey::_set_secret(int, ceph::buffer::ptr const&)+0xec) [0x7ff3dd064f6c]
 7: (CryptoKey::create(CephContext*, int)+0x8a) [0x7ff3dd0653fa]
 8: (main()+0xc09) [0x7ff3dd052339]
 9: (__libc_start_main()+0xf5) [0x7ff3dafd2b15]
 10: (()+0xdbb59) [0x7ff3dd054b59]
2016-09-17 00:31:01.236632 7ff3dcf64d00 -1 *** Caught signal (Segmentation fault) **
 in thread 7ff3dcf64d00 thread_name:ceph-authtool

 ceph version 10.2.2 (45107e21c568dd033c2f0a3107dec8f0b0e58374)
 1: (()+0xe2faa) [0x7ff3dd05bfaa]
 2: (()+0xf100) [0x7ff3dc1c9100]
 3: (_FreeSymKey const*+0x55) [0x7ff3dc662155]
 4: (CryptoAESKeyHandler::~CryptoAESKeyHandler()+0x29) [0x7ff3dd0672a9]
 5: (CryptoAES::get_key_handler(ceph::buffer::ptr const&, std::string&)+0x41a) [0x7ff3dd0662ba]
 6: (CryptoKey::_set_secret(int, ceph::buffer::ptr const&)+0xec) [0x7ff3dd064f6c]
 7: (CryptoKey::create(CephContext*, int)+0x8a) [0x7ff3dd0653fa]
 8: (main()+0xc09) [0x7ff3dd052339]
 9: (__libc_start_main()+0xf5) [0x7ff3dafd2b15]
 10: (()+0xdbb59) [0x7ff3dd054b59]
 NOTE: a copy of the executable, or `objdump -rdS <executable>` is needed to interpret this.

--- begin dump of recent events ---
   -14> 2016-09-17 00:31:01.183767 7ff3dcf64d00  5 asok(0x7ff3e7542d50) register_command perfcounters_dump hook 0x7ff3e7547980
   -13> 2016-09-17 00:31:01.183781 7ff3dcf64d00  5 asok(0x7ff3e7542d50) register_command 1 hook 0x7ff3e7547980
   -12> 2016-09-17 00:31:01.183784 7ff3dcf64d00  5 asok(0x7ff3e7542d50) register_command perf dump hook 0x7ff3e7547980
   -11> 2016-09-17 00:31:01.183789 7ff3dcf64d00  5 asok(0x7ff3e7542d50) register_command perfcounters_schema hook 0x7ff3e7547980
   -10> 2016-09-17 00:31:01.183791 7ff3dcf64d00  5 asok(0x7ff3e7542d50) register_command 2 hook 0x7ff3e7547980
    -9> 2016-09-17 00:31:01.183792 7ff3dcf64d00  5 asok(0x7ff3e7542d50) register_command perf schema hook 0x7ff3e7547980
    -8> 2016-09-17 00:31:01.183794 7ff3dcf64d00  5 asok(0x7ff3e7542d50) register_command perf reset hook 0x7ff3e7547980
    -7> 2016-09-17 00:31:01.183796 7ff3dcf64d00  5 asok(0x7ff3e7542d50) register_command config show hook 0x7ff3e7547980
    -6> 2016-09-17 00:31:01.183798 7ff3dcf64d00  5 asok(0x7ff3e7542d50) register_command config set hook 0x7ff3e7547980
    -5> 2016-09-17 00:31:01.183802 7ff3dcf64d00  5 asok(0x7ff3e7542d50) register_command config get hook 0x7ff3e7547980
    -4> 2016-09-17 00:31:01.183804 7ff3dcf64d00  5 asok(0x7ff3e7542d50) register_command config diff hook 0x7ff3e7547980
    -3> 2016-09-17 00:31:01.183807 7ff3dcf64d00  5 asok(0x7ff3e7542d50) register_command log flush hook 0x7ff3e7547980
    -2> 2016-09-17 00:31:01.183809 7ff3dcf64d00  5 asok(0x7ff3e7542d50) register_command log dump hook 0x7ff3e7547980
    -1> 2016-09-17 00:31:01.183811 7ff3dcf64d00  5 asok(0x7ff3e7542d50) register_command log reopen hook 0x7ff3e7547980
     0> 2016-09-17 00:31:01.236632 7ff3dcf64d00 -1 *** Caught signal (Segmentation fault) **
 in thread 7ff3dcf64d00 thread_name:ceph-authtool

 ceph version 10.2.2 (45107e21c568dd033c2f0a3107dec8f0b0e58374)
 1: (()+0xe2faa) [0x7ff3dd05bfaa]
 2: (()+0xf100) [0x7ff3dc1c9100]
 3: (_FreeSymKey const*+0x55) [0x7ff3dc662155]
 4: (CryptoAESKeyHandler::~CryptoAESKeyHandler()+0x29) [0x7ff3dd0672a9]
 5: (CryptoAES::get_key_handler(ceph::buffer::ptr const&, std::string&)+0x41a) [0x7ff3dd0662ba]
 6: (CryptoKey::_set_secret(int, ceph::buffer::ptr const&)+0xec) [0x7ff3dd064f6c]
 7: (CryptoKey::create(CephContext*, int)+0x8a) [0x7ff3dd0653fa]
 8: (main()+0xc09) [0x7ff3dd052339]
 9: (__libc_start_main()+0xf5) [0x7ff3dafd2b15]
 10: (()+0xdbb59) [0x7ff3dd054b59]
 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 rbd_mirror
   0/ 5 rbd_replay
   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
   1/ 5 paxos
   0/ 5 tp
   1/ 5 auth
   1/ 5 crypto
   1/ 1 finisher
   1/ 5 heartbeatmap
   1/ 5 perfcounter
   1/ 5 rgw
   1/10 civetweb
   1/ 5 javaclient
   1/ 5 asok
   1/ 1 throttle
   0/ 0 refs
   1/ 5 xio
   1/ 5 compressor
   1/ 5 newstore
   1/ 5 bluestore
   1/ 5 bluefs
   1/ 3 bdev
   1/ 5 kstore
   4/ 5 rocksdb
   4/ 5 leveldb
   1/ 5 kinetic
   1/ 5 fuse
  -2/-2 (syslog threshold)
  99/99 (stderr threshold)
  max_recent       500
  max_new         1000
  log_file
--- end dump of recent events ---

_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux