Open fzakfeld opened 2 weeks ago
Can you please share the relevant parts of your inventory/20-roles file.
Sure,
##########################################################
# roles
# The "all" group is not used in OSISM. Therefore it is important
# that all nodes are explicitly listed here.
[generic]
manager01
[manager]
manager01
[monitoring]
[control]
[compute]
[network]
[ceph-control]
[ceph-resource]
[ceph-rgw:children]
And the ceph nodes (cephXXX) have the ceph-resource
and generic
, and the ceph-mons ceph-control
and generic
as netbox tags.
Some content from the generated hosts.yml:
dragon@75f8f098352c:~$ cat inventory/hosts.yml | grep ceph-resource -A4
ceph-resource:
hosts:
ceph001:
acme_client_lego: server lego {{ api_interface_address }}:{{ letsencrypt_webserver_port
}}
...
dragon@75f8f098352c:~$ cat inventory/hosts.yml | grep ceph-control -A4
ceph-control:
hosts:
ceph-mon01:
acme_client_lego: server lego {{ api_interface_address }}:{{ letsencrypt_webserver_port
}}
``
Looks like an error in the Netbox sync Script. I'll check this soon.
OSISM release version
7.1.2
What's the problem?
Detailed description of the problem
When running
osism apply ceph
(as opposed toosism apply ceph-mons
etc...) 'ceph-mon' will be applied to the regular ceph nodes. Eventually it will fail because ceph-facts has not assigned a monitor_name to them:Workaround: use individual roles.
References to existing reports
References to existing bug reports, mailing lists, ...
Severity
low
Urgency
low