HELP: Failed : disk create/update failed on ceph-2. LUN allocation failure
- Dominant language
- Python
- Stars
- 68
- Forks
- 58
- PR merge metrics
- No merged PRs in 30d
Description
Environment: Centos7.9 kernel=5.19 VM
# gwcli
/disks> create pool=rbd image=disk_1 size=1G
Failed : disk create/update failed on ceph-2. LUN allocation failure
/disks>
syslog:
Sep 30 17:20:40 ceph-2 tcmu-runner: add_device:558: handler open failed for uio0
Sep 30 17:20:40 ceph-2 journal: failed to add rbd/disk_1 to LIO - error([Errno 2] No such file or directory)
Sep 30 17:20:40 ceph-2 journal: LUN alloc problem - failed to add rbd/disk_1 to LIO - error([Errno 2] No such file or directory)
Sep 30 17:20:40 ceph-2 journal: ::1 - - [30/Sep/2022 17:20:40] "PUT /api/_disk/rbd/disk_1 HTTP/1.1" 500 -
Sep 30 17:20:40 ceph-2 journal: _disk change on localhost failed with 500
I check the system service that all is normal ,I don't know why I create disk faied by gwcli。
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the `/disks> create pool=rbd image=disk_1 size=1G` operation with the stated CentOS 7.9, kernel 5.19, Ceph, and VM environment. Trace the failure from `tcmu-runner`'s `add_device` through LIO and the journal messages; done means identifying the cause of the missing `uio0` device and documenting or fixing disk creation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- infrastructure
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100