Bug 2265331
| Summary: | [Dashboard] [Cpehfs] Volume Creation with hosts throwing internal server error | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Ceph Storage | Reporter: | Amarnath <amk> |
| Component: | Ceph-Dashboard | Assignee: | Nizamudeen <nia> |
| Status: | CLOSED DUPLICATE | QA Contact: | Vinayak Papnoi <vpapnoi> |
| Severity: | high | Docs Contact: | Anjana Suparna Sriram <asriram> |
| Priority: | high | ||
| Version: | 7.1 | CC: | ceph-eng-bugs, cephqe-warriors |
| Target Milestone: | --- | ||
| Target Release: | 7.1 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2024-02-22 05:19:58 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: | |||
Sure Nizamudeen, Marking this as duplicate of 2241056 Regards, Amarnath *** This bug has been marked as a duplicate of bug 2241056 *** |
Description of problem: Created volume with hosts and it is throwing error Log Trace in MGR : 2024-02-21T14:23:05.149+0000 7fce0a7b2640 0 [volumes ERROR volumes.module] Failed _cmd_fs_volume_create(name:cephfs_4, placement:1 ceph-amk-clients-oz1nfc-node2,ceph-amk-clients-oz1nfc-node6) < "None": Traceback (most recent call last): File "/lib/python3.9/site-packages/ceph/deployment/hostspec.py", line 14, in assert_valid_host assert p.match(part), 'name component must include only a-z, 0-9, and -' AssertionError: name component must include only a-z, 0-9, and - During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/share/ceph/mgr/volumes/module.py", line 38, in wrap return f(self, inbuf, cmd) File "/usr/share/ceph/mgr/volumes/module.py", line 562, in _cmd_fs_volume_create return self.vc.create_fs_volume(vol_id, placement) File "/usr/share/ceph/mgr/volumes/fs/volume.py", line 117, in create_fs_volume return create_volume(self.mgr, volname, placement) File "/usr/share/ceph/mgr/volumes/fs/operations/volume.py", line 98, in create_volume return create_mds(mgr, volname, placement) File "/usr/share/ceph/mgr/volumes/fs/fs_util.py", line 52, in create_mds placement=PlacementSpec.from_string(placement)) File "/lib/python3.9/site-packages/ceph/deployment/service_spec.py", line 413, in from_string ps = PlacementSpec(count=count, File "/lib/python3.9/site-packages/ceph/deployment/service_spec.py", line 155, in __init__ self.validate() File "/lib/python3.9/site-packages/ceph/deployment/service_spec.py", line 311, in validate h.validate() File "/lib/python3.9/site-packages/ceph/deployment/service_spec.py", line 127, in validate assert_valid_host(self.hostname) File "/lib/python3.9/site-packages/ceph/deployment/hostspec.py", line 16, in assert_valid_host raise SpecValidationError(str(e) + f'. Got "{name}"') ceph.deployment.hostspec.SpecValidationError: name component must include only a-z, 0-9, and -. Got "ceph-amk-clients-oz1nfc-node2,ceph-amk-clients-oz1nfc-node6" But in volumes page we are able to see the FS when we try to go to the FS it is again throwing 500 Internal error Mgr Logs : http://magna002.ceph.redhat.com/ceph-qe-logs/amar/volume_create/ ScreenShots : https://docs.google.com/document/d/1vBD-udE4ZJMiBw03V-VMJRcG9mmfYuTnCpc-levwbFI/edit Version-Release number of selected component (if applicable): Version18.2.1-33.el9cp Release 7 Ceph Manager 10.0.208.106:8443 User admin User Role administrator Browser chrome Browser Version 121.0.0 Browser OS Linux How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: