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

common: support OSDs with more than 2 digits #5087

Merged
merged 1 commit into from Feb 27, 2020

Conversation

guits
Copy link
Collaborator

@guits guits commented Feb 21, 2020

purge-container-cluster: support OSDs with 3 digits

When running environment with OSDs having ID with more than 2 digits,
this task doesn't match the system units and therefore, fails the playbook.

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

Signed-off-by: Guillaume Abrioux gabrioux@redhat.com

@guits guits changed the title [skip ci] purge-container-cluster: support OSDs with 3 digits purge-container-cluster: support OSDs with 3 digits Feb 21, 2020
@guits
Copy link
Collaborator Author

guits commented Feb 21, 2020

jenkins test centos-container-purge

@guits guits changed the title purge-container-cluster: support OSDs with 3 digits [skip ci] purge-container-cluster: support OSDs with 3 digits Feb 21, 2020
@guits guits force-pushed the guits-purge_support_osds_3_digits branch from 7948d3b to 7cd0320 Compare February 21, 2020 09:27
@guits guits changed the title [skip ci] purge-container-cluster: support OSDs with 3 digits purge-container-cluster: support OSDs with 3 digits Feb 21, 2020
@guits
Copy link
Collaborator Author

guits commented Feb 21, 2020

jenkins test centos-container-purge

@guits guits changed the title purge-container-cluster: support OSDs with 3 digits [skip ci] purge-container-cluster: support OSDs with 3 digits Feb 21, 2020
@guits guits force-pushed the guits-purge_support_osds_3_digits branch from 7cd0320 to 8813342 Compare February 21, 2020 09:39
@guits guits changed the title [skip ci] purge-container-cluster: support OSDs with 3 digits purge-container-cluster: support OSDs with 3 digits Feb 21, 2020
@guits
Copy link
Collaborator Author

guits commented Feb 21, 2020

jenkins test centos-container-purge

@guits guits added this to the v4.1 milestone Feb 21, 2020
@ktdreyer
Copy link
Member

What happens when we get to four digits?

@guits
Copy link
Collaborator Author

guits commented Feb 21, 2020

What happens when we get to four digits?

We make a new PR 😆

joke aside, a refact of this patch is in progress to address this issue.

@guits guits changed the title purge-container-cluster: support OSDs with 3 digits [skip ci] purge-container-cluster: support OSDs with 3 digits Feb 26, 2020
@guits guits force-pushed the guits-purge_support_osds_3_digits branch from 8813342 to 0b42a38 Compare February 26, 2020 17:00
When running environment with OSDs having ID with more than 2 digits,
some tasks don't match the system units and therefore, playbook can fail.

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

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
@guits guits force-pushed the guits-purge_support_osds_3_digits branch from 0b42a38 to e19574c Compare February 26, 2020 17:07
@guits guits changed the title [skip ci] purge-container-cluster: support OSDs with 3 digits purge-container-cluster: support OSDs with 3 digits Feb 26, 2020
@guits
Copy link
Collaborator Author

guits commented Feb 26, 2020

jenkins test centos-container-purge

@guits
Copy link
Collaborator Author

guits commented Feb 26, 2020

jenkins test centos-non_container-purge

@guits
Copy link
Collaborator Author

guits commented Feb 26, 2020

jenkins test centos-container-update

@guits
Copy link
Collaborator Author

guits commented Feb 26, 2020

jenkins test centos-non_container-update

@guits
Copy link
Collaborator Author

guits commented Feb 26, 2020

jenkins test centos-non_container-switch_to_containers

@guits
Copy link
Collaborator Author

guits commented Feb 26, 2020

jenkins test centos-non_container-all_daemons

@guits
Copy link
Collaborator Author

guits commented Feb 26, 2020

jenkins test centos-container-all_daemons

@guits guits changed the title purge-container-cluster: support OSDs with 3 digits common: support OSDs with 3 digits Feb 26, 2020
@guits guits changed the title common: support OSDs with 3 digits common: support OSDs with more than 2 digits Feb 26, 2020
@guits guits merged commit a084a2a into master Feb 27, 2020
@dsavineau dsavineau deleted the guits-purge_support_osds_3_digits branch February 27, 2020 13:48
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