Bug 1946462 - [cephadm]: Improved error message for specifying network in spec file
Summary: [cephadm]: Improved error message for specifying network in spec file
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Cephadm
Version: 5.0
Hardware: Unspecified
OS: Linux
unspecified
low
Target Milestone: ---
: 5.0
Assignee: Daniel Pivonka
QA Contact: Tejas
Karen Norteman
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-04-06 07:58 UTC by Tejas
Modified: 2021-08-30 08:29 UTC (History)
6 users (show)

Fixed In Version: ceph-16.2.0-20.el8cp
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-08-30 08:29:34 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHCEPH-1258 0 None None None 2021-08-30 00:20:21 UTC
Red Hat Product Errata RHBA-2021:3294 0 None None None 2021-08-30 08:29:43 UTC

Description Tejas 2021-04-06 07:58:31 UTC
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

Comment 1 Daniel Pivonka 2021-04-06 15:12:03 UTC
upstream tracker issue: https://tracker.ceph.com/issues/50102
upstream fix PR: https://github.com/ceph/ceph/pull/40552

Comment 2 Daniel Pivonka 2021-04-16 17:08:24 UTC
fix merged into upstream master

Comment 9 Veera Raghava Reddy 2021-06-02 13:59:22 UTC
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)

Comment 11 errata-xmlrpc 2021-08-30 08:29:34 UTC
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


Note You need to log in before you can comment on or make changes to this bug.