Bug 1946462
| Summary: | [cephadm]: Improved error message for specifying network in spec file | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Ceph Storage | Reporter: | Tejas <tchandra> |
| Component: | Cephadm | Assignee: | Daniel Pivonka <dpivonka> |
| Status: | CLOSED ERRATA | QA Contact: | Tejas <tchandra> |
| Severity: | low | Docs Contact: | Karen Norteman <knortema> |
| Priority: | unspecified | ||
| Version: | 5.0 | CC: | jolmomar, kdreyer, sewagner, tserlin, vereddy, vimishra |
| Target Milestone: | --- | ||
| Target Release: | 5.0 | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | ceph-16.2.0-20.el8cp | Doc Type: | No Doc Update |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-08-30 08:29:34 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: | |||
upstream tracker issue: https://tracker.ceph.com/issues/50102 upstream fix PR: https://github.com/ceph/ceph/pull/40552 fix merged into upstream master When trying to apply using a spec file with unknown host, the error is showing the message "Unknown Hosts" [ceph: root@magna011 /]# ceph orch apply -i rgw1.yaml Error EINVAL: Cannot place <RGWSpec for service_name=rgw.india> on magna010: Unknown hosts Verified with ceph version 16.2.0-46.el8cp (66a64d4057b4d63ac87706a71f1a92d88d700515) pacific (stable) Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Red Hat Ceph Storage 5.0 bug fix and enhancement), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2021:3294 |
This error message is misleading service_type: rgw service_id: india placement: hosts: - ceph-tejas-1616579452828-node9-client rgw_frontend_port: 8083 networks: 10.0.208.0/22 using the above spec file , the error is "/]# ceph orch apply -i rgw1.yaml Error EINVAL: Cannot parse network 1: '1' does not appear to be an IPv4 or IPv6 network This BZ is for the below PR. PR: https://github.com/ceph/ceph/pull/40552