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

ceph-osd: check container engine rc for pools (bp #4258) #4279

Merged
merged 1 commit into from
Jul 31, 2019

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Jul 29, 2019

This is an automated backport of pull request #4258 done by Mergify.io

When creating OpenStack pools, we only check if the return code from
the pool list command isn't 0 (ie: if it doesn't exist). In that case,
the return code will be 2. That's why the next condition is rc != 0 for
the pool creation.
But in containerized deployment, the return code could be different if
there's a failure on the container engine command (like container not
running). In that case, the return code could but either 1 (docker) or
125 (podman) so we should fail at this point and not in the next tasks.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1732157

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit d549fff)
@dsavineau
Copy link
Contributor

jenkins test pipeline

4 similar comments
@guits
Copy link
Collaborator

guits commented Jul 30, 2019

jenkins test pipeline

@guits
Copy link
Collaborator

guits commented Jul 30, 2019

jenkins test pipeline

@guits
Copy link
Collaborator

guits commented Jul 30, 2019

jenkins test pipeline

@dsavineau
Copy link
Contributor

jenkins test pipeline

@dsavineau
Copy link
Contributor

ubuntu non_container is failing because the dashboard deployment is broken in that scenario. Merging anyway

@dsavineau dsavineau merged commit 36e18e2 into stable-4.0 Jul 31, 2019
@dsavineau dsavineau deleted the mergify/bp/stable-4.0/pr-4258 branch July 31, 2019 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants