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] adopt: various fixes #7080

Merged
merged 3 commits into from Mar 3, 2022

Conversation

asm0deuz
Copy link
Collaborator

@asm0deuz asm0deuz commented Feb 7, 2022

By default cephadm uses root account to connect remotely
to other nodes in the cluster. This change allows to choose
another account.

Signed-off-by: Teoman ONAY tonay@redhat.com

infrastructure-playbooks/cephadm-adopt.yml Outdated Show resolved Hide resolved
infrastructure-playbooks/cephadm-adopt.yml Outdated Show resolved Hide resolved
infrastructure-playbooks/cephadm-adopt.yml Outdated Show resolved Hide resolved
infrastructure-playbooks/cephadm-adopt.yml Outdated Show resolved Hide resolved
@asm0deuz asm0deuz force-pushed the BZ2048734_cephadm_ssh_user branch 2 times, most recently from 9dd4233 to 31a62e2 Compare February 7, 2022 14:38
infrastructure-playbooks/cephadm-adopt.yml Outdated Show resolved Hide resolved
infrastructure-playbooks/cephadm-adopt.yml Outdated Show resolved Hide resolved
infrastructure-playbooks/cephadm-adopt.yml Outdated Show resolved Hide resolved
infrastructure-playbooks/cephadm-adopt.yml Outdated Show resolved Hide resolved
@fmount
Copy link
Contributor

fmount commented Feb 8, 2022

Another weird behavior I found happens during the enrolling [1]: looks like the labels are not properly assigned and this is probably related to the gathered facts.
We can investigate this part on a follow-up PR

[1] https://paste.opendev.org/show/812578/
[2] https://github.com/ceph/ceph-ansible/blob/master/infrastructure-playbooks/cephadm-adopt.yml#L309-L330

roles/ceph-defaults/defaults/main.yml Outdated Show resolved Hide resolved
@asm0deuz asm0deuz force-pushed the BZ2048734_cephadm_ssh_user branch 3 times, most recently from 04487a6 to a6f85ff Compare February 9, 2022 17:53
infrastructure-playbooks/cephadm-adopt.yml Outdated Show resolved Hide resolved
infrastructure-playbooks/cephadm-adopt.yml Outdated Show resolved Hide resolved
infrastructure-playbooks/cephadm-adopt.yml Outdated Show resolved Hide resolved
infrastructure-playbooks/cephadm-adopt.yml Outdated Show resolved Hide resolved
roles/ceph-defaults/defaults/main.yml Outdated Show resolved Hide resolved
infrastructure-playbooks/cephadm-adopt.yml Show resolved Hide resolved
infrastructure-playbooks/cephadm-adopt.yml Outdated Show resolved Hide resolved
infrastructure-playbooks/cephadm-adopt.yml Outdated Show resolved Hide resolved
infrastructure-playbooks/cephadm-adopt.yml Outdated Show resolved Hide resolved
infrastructure-playbooks/cephadm-adopt.yml Outdated Show resolved Hide resolved
@asm0deuz asm0deuz force-pushed the BZ2048734_cephadm_ssh_user branch 2 times, most recently from 65fddf7 to 50ae620 Compare February 10, 2022 13:33
@asm0deuz asm0deuz force-pushed the BZ2048734_cephadm_ssh_user branch 3 times, most recently from 8c2e539 to 021bd3c Compare February 22, 2022 16:39
infrastructure-playbooks/cephadm-adopt.yml Outdated Show resolved Hide resolved
infrastructure-playbooks/cephadm-adopt.yml Outdated Show resolved Hide resolved
infrastructure-playbooks/cephadm-adopt.yml Outdated Show resolved Hide resolved
@asm0deuz asm0deuz force-pushed the BZ2048734_cephadm_ssh_user branch 2 times, most recently from 6f7a934 to 08bdbb2 Compare February 23, 2022 14:48
asm0deuz and others added 3 commits March 3, 2022 13:57
By default cephadm uses root account to connect remotely
to other nodes in the cluster. This change allows to choose
another account.
This commit also allows to use a dedicated subnet for cephadm mgmt.

Signed-off-by: Teoman ONAY <tonay@redhat.com>
When using cluster custom names, cephadm commands are executed using
the default admin keyring name which fails.

Signed-off-by: Teoman ONAY <tonay@redhat.com>
When using group of group, the playbook will apply undesired
labels on nodes.
This commit fixes it by applying only the expected labels.

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

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
@guits guits changed the title [skip ci] Enable user to change the account used for ssh connection Enable user to change the account used for ssh connection Mar 3, 2022
@guits guits changed the title Enable user to change the account used for ssh connection adopt: various fixes Mar 3, 2022
@guits
Copy link
Collaborator

guits commented Mar 3, 2022

jenkins test centos-container-cephadm_adopt

1 similar comment
@guits
Copy link
Collaborator

guits commented Mar 3, 2022

jenkins test centos-container-cephadm_adopt

@guits guits changed the title adopt: various fixes [skip ci] adopt: various fixes Mar 3, 2022
@guits guits merged commit 266b6e7 into ceph:master Mar 3, 2022
6 checks passed
@asm0deuz asm0deuz deleted the BZ2048734_cephadm_ssh_user branch March 4, 2022 13:14
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

3 participants