Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[skip ci] cephadm-adopt: fix orch host add with FQDN #6862

Merged
merged 1 commit into from Aug 26, 2021

Conversation

dsavineau
Copy link
Contributor

When a node is configured with FQDN as the hostname value then the
ceph orch host add command will fail because the ansible_hostname used
by that command contains the short hostname which won't match the current
hostname (FQDN)
Instead we can use the ansible_nodename fact.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1997083

Signed-off-by: Dimitri Savineau dsavinea@redhat.com

When a node is configured with FQDN as the hostname value then the
`ceph orch host add` command will fail because the `ansible_hostname` used
by that command contains the short hostname which won't match the current
hostname (FQDN)
Instead we can use the ansible_nodename fact.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1997083

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
@dsavineau dsavineau changed the title [skip ci] cephadm-adopt: fix orch host add with FQDN cephadm-adopt: fix orch host add with FQDN Aug 26, 2021
@dsavineau
Copy link
Contributor Author

jenkins test centos-container-cephadm_adopt

@dsavineau dsavineau changed the title cephadm-adopt: fix orch host add with FQDN [skip ci] cephadm-adopt: fix orch host add with FQDN Aug 26, 2021
@dsavineau dsavineau merged commit 2630f8d into ceph:master Aug 26, 2021
@dsavineau dsavineau deleted the BZ1997083 branch August 26, 2021 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant