Open pcfe opened 4 years ago
same issue with master @ commit 744820bd22d1756e7ecc68229bec1042117595f5 and ceph-medic-1.0.5-2.el8cp.noarch
for completeness;
cat ~/.cephmedic.conf
#
# ceph-medic configuration file
#
[global]
# Overrides for some of ceph-medic's global flags, like verbosity or cluster
# name Cluster Name. Ceph defaults this to 'ceph' when not specified, and
# ceph-medic will try to infer this if the configuration is not found on the
# first '.conf' file in /etc/ceph/
--cluster = ceph
# Use a specific location for the Ansible inventory file, it defaults to look
# into the current working directory and /etc/ansible (in that order) unless
# specified here or directly at the command line
#--inventory
#
# The logging verbosity, this will affect both the terminal and file logging
# levels
--verbosity = info
#
# Should always be an absolute path, although '.' is allowed to log from
# wherever the CLI is executed from (current working directory)
--log-path = .
# What type of deployment is the cluster using? Valid values are:
# baremetal, container, openshift, kubernetes
# deployment_type = baremetal
deployment_type = podman
[check]
# Overrides for some of ceph-medic's check flags, like what errors or warnings
# to ignore. By default nothing is ignored (everything is reported). Ignores
# should be comma separated into their respective codes.
# --ignore = ECOMM101,ECOMM102
[baremetal]
# baremetal options
[kubernetes]
namespace = rook-ceph
Description of problem: it would seem that ranges in the inventory are not supported.
Version-Release number of selected component (if applicable): ceph-medic-1.0.5-2.el8cp.noarch (apologies, will re-test with a git checkout now)
How reproducible: always
Steps to Reproduce:
f5-422-0[1:3]
)ceph-medic --inventory /etc/ansible/hosts check
Actual results:
Expected results: handle ranges in ansible inventory
Additional info: cat /etc/ansible/hosts