Actions
Bug #357
closedwrite error: Cannot allocate memory
Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
Regression:
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
When trying to add a RBD, i got a kernel panic.
root@logger:~# echo "[2001:16f8:10:2::c3c3:2e5c] name=admin rbd alpha" > /sys/class/rbd/add -bash: echo: write error: Cannot allocate memory root@logger:~#
Before i could do a dmesg, the machine had crashed.
In my remote-syslog i had some logs, not much:
root@remote-syslog:/var/log/other/logger# tail 2010-08-17 Aug 17 07:24:32 logger sshd[1333]: Accepted publickey for root from 2001:7b8:3cb:0:213:2ff:fead:9a3e port 46067 ssh2 Aug 17 07:24:32 logger sshd[1333]: pam_unix(sshd:session): session opened for user root by (uid=0) Aug 17 07:24:41 logger kernel: [ 62.274513] libceph: loaded (mon/osd proto 15/24, osdmap 5/5 5/5) Aug 17 07:24:41 logger kernel: [ 62.303898] ceph: loaded (mds proto 32) Aug 17 07:25:02 logger CRON[1500]: pam_unix(cron:session): session opened for user root by (uid=0) Aug 17 07:25:02 logger CRON[1501]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1) Aug 17 07:25:02 logger CRON[1500]: pam_unix(cron:session): session closed for user root Aug 17 07:25:14 logger init: plymouth-splash main process (1516) terminated with status 1 Aug 17 07:25:24 logger kernel: [ 105.450354] rbd: loaded rbd (rados block device) Aug 17 07:29:44 logger kernel: [ 365.473309] libceph: no secret set (for auth_x protocol) root@remote-syslog:/var/log/other/logger#
I think i forgot the secret or could this be due to the IPv6 address?
Anyhow, the kernel should not panic.
Updated by Wido den Hollander over 13 years ago
It seems to be due to the missing 'secret' option.
root@logger:~# echo "[2001:16f8:10:2::c3c3:2e5c] name=admin,secret=AQDF9FtMuIcLABAAG48UBULjc0hblolhUh0aqw== rbd alpha" > /sys/class/rbd/add -bash: /sys/class/rbd/add: No such file or directory root@logger:~# rbd list alpha root@logger:~#
Updated by Sage Weil over 13 years ago
- Status changed from New to Resolved
fixed by commit:fc88b070efbf911a31d825ecc497bd2cf5cf4a39 (rbd: fix client setup error path), pushed to rbd branch.
thanks!
Updated by Sage Weil over 13 years ago
- Project changed from 3 to Ceph
- Category deleted (
7)
Actions