Skip to content

The value for mon_initial_members in ceph.conf should not be a FQDN #84

@ykazakov

Description

@ykazakov

According to Ceph documentation the value of mon_initial_members should be short host names, not FQDN.

However, currently the template ceph.conf.j2 sets this value to names which is initialized from the ansible inventory vars['ansible_play_hosts'], which, in principle, could be FQDN.

This results in Ceph monitors not to be properly configured.

I think the value {{ host }} here should be replaced with {{ hostvars[host]['ansible_facts']['hostname'] }}.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions