Summary: |
Namespace creation with Kb size is not supported |
Product: |
[Red Hat Storage] Red Hat Ceph Storage
|
Reporter: |
Sunil Kumar Nagaraju <sunnagar> |
Component: |
NVMeOF | Assignee: |
Aviv Caro <acaro> |
Status: |
CLOSED
NOTABUG
|
QA Contact: |
Manohar Murthy <mmurthy> |
Severity: |
medium
|
Docs Contact: |
ceph-doc-bot <ceph-doc-bugzilla> |
Priority: |
unspecified
|
|
|
Version: |
8.0 | CC: |
aindenba, bdavidov, bkunal, cephqe-warriors, gbregman, kjosy, lchernin, linuxkidd, pdhange, vumrao
|
Target Milestone: |
--- | |
|
Target Release: |
8.1 | |
|
Hardware: |
Unspecified | |
|
OS: |
Unspecified | |
|
Whiteboard: |
|
Fixed In Version:
|
|
Doc Type:
|
If docs needed, set a value
|
Doc Text:
|
|
Story Points:
|
---
|
Clone Of:
|
|
:
|
2325397
(view as bug list) |
Environment:
|
|
Last Closed:
|
2024-11-13 12:30:29 UTC
|
Type:
|
Bug
|
Regression:
|
---
|
Mount Type:
|
---
|
Documentation:
|
---
|
CRM:
|
|
Verified Versions:
|
|
Category:
|
---
|
oVirt Team:
|
---
|
RHEL 7.3 requirements from Atomic Host:
|
|
Cloudforms Team:
|
---
|
Target Upstream Version:
|
|
Embargoed:
|
|
| |
Bug Depends On: |
|
|
|
Bug Blocks: |
2325397
|
|
|
Attachments: |
|
Created attachment 2057255 [details] Namespace-in-KB Description of problem: Namespace creation with Kb size is not supported, so if it is not supported it should be taken out from help usage. Note: Ceph dashboard also has same issue, attaching screenshot for reference. [root@ceph-sunilkumar-00-61s1lj-node6 ~]# nm --server-address 10.0.66.43 namespace add -n nqn.2016-06.io.spdk:cnode2 --rbd-pool rbd --rbd-create-image --rbd-image sub2-image-111 --size 1 --help usage: python3 -m control.cli namespace add [-h] --subsystem SUBSYSTEM [--uuid UUID] [--nsid NSID] --rbd-pool RBD_POOL --rbd-image RBD_IMAGE [--rbd-create-image] [--block-size BLOCK_SIZE] [--load-balancing-group LOAD_BALANCING_GROUP] [--size SIZE] [--force] Create a namespace optional arguments: -h, --help show this help message and exit --subsystem SUBSYSTEM, -n SUBSYSTEM Subsystem NQN --uuid UUID, -u UUID UUID --nsid NSID Namespace ID --rbd-pool RBD_POOL, -p RBD_POOL RBD pool name --rbd-image RBD_IMAGE, -i RBD_IMAGE RBD image name --rbd-create-image, -c Create RBD image if needed --block-size BLOCK_SIZE, -s BLOCK_SIZE Block size --load-balancing-group LOAD_BALANCING_GROUP, -l LOAD_BALANCING_GROUP Load balancing group --size SIZE Size in bytes or specified unit (K, KB, M, MB, G, GB, T, TB, P, PB) --force Create a namespace even its image is already used by another namespace [root@ceph-sunilkumar-00-61s1lj-node6 ~]# nm --server-address 10.0.66.43 namespace add -n nqn.2016-06.io.spdk:cnode2 --rbd-pool rbd --rbd-create-image --rbd-image sub2-image-111 --size 1K usage: python3 -m control.cli [-h] [--format {text,json,yaml,plain,python}] [--output {log,stdio}] [--log-level {debug,DEBUG,info,INFO,warning,WARNING,error,ERROR,critical,CRITICAL}] [--server-address SERVER_ADDRESS] [--server-port SERVER_PORT] [--client-key CLIENT_KEY] [--client-cert CLIENT_CERT] [--server-cert SERVER_CERT] [--verbose] {version,gw,spdk_log_level,subsystem,listener,host,connection,namespace,ns,get_subsystems} ... error: size value must be aligned to MiBs [root@ceph-sunilkumar-00-61s1lj-node6 ~]# nm --server-address 10.0.66.43 namespace add -n nqn.2016-06.io.spdk:cnode2 --rbd-pool rbd --rbd-create-image --rbd-image sub2-image-111 --size 1KB usage: python3 -m control.cli [-h] [--format {text,json,yaml,plain,python}] [--output {log,stdio}] [--log-level {debug,DEBUG,info,INFO,warning,WARNING,error,ERROR,critical,CRITICAL}] [--server-address SERVER_ADDRESS] [--server-port SERVER_PORT] [--client-key CLIENT_KEY] [--client-cert CLIENT_CERT] [--server-cert SERVER_CERT] [--verbose] {version,gw,spdk_log_level,subsystem,listener,host,connection,namespace,ns,get_subsystems} ... error: size value must be aligned to MiBs [root@ceph-sunilkumar-00-61s1lj-node6 ~]# alias nm="podman run --rm cp.stg.icr.io/cp/ibm-ceph/nvmeof-cli-rhel9:1.3.3-1" [root@ceph-sunilkumar-00-61s1lj-node6 ~]# nm --server-address 10.0.66.43 namespace add -n nqn.2016-06.io.spdk:cnode2 --rbd-pool rbd --rbd-create-image --rbd-image sub2-image-111 --size 1KB Trying to pull cp.stg.icr.io/cp/ibm-ceph/nvmeof-cli-rhel9:1.3.3-1... Getting image source signatures Checking if image destination supports signatures Copying blob 4d5d1cbd7ece skipped: already exists Copying blob c765b3f71f66 done | Copying config c1bf8f3909 done | Writing manifest to image destination Storing signatures usage: python3 -m control.cli [-h] [--format {text,json,yaml,plain,python}] [--output {log,stdio}] [--log-level {debug,DEBUG,info,INFO,warning,WARNING,error,ERROR,critical,CRITICAL}] [--server-address SERVER_ADDRESS] [--server-port SERVER_PORT] [--client-key CLIENT_KEY] [--client-cert CLIENT_CERT] [--server-cert SERVER_CERT] [--verbose] {version,gw,spdk_log_level,subsystem,listener,host,connection,namespace,ns,get_subsystems} ... error: size value must be aligned to MiBs Version-Release number of selected component (if applicable): 19.2.0-52 8.0 Nvme 1.3.3-6 NVMe 1.3.3-1 How reproducible: always