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

fix cephadmunit start() method #1930

Merged
merged 2 commits into from
Apr 3, 2024
Merged

Conversation

VallariAg
Copy link
Member

Fixes a couple of problems in CephadmUnit.start() method:

  1. Explicitly pass start_cmd as "args" keyword because Remote.run expects keyword arguments.
    Fixes: https://tracker.ceph.com/issues/65162

  2. is_started isn't set to true. When running() is called after start(), then it would
    return false, which is not correct since the daemon has been started by calling start().

In CephadmUnit.start() method, explicitly pass start_cmd as
"args" keyword because Remote.run expects keyword arguments.

Fixes: https://tracker.ceph.com/issues/65162

Signed-off-by: Vallari Agrawal <[email protected]>
In CephadmUnit.start() method, `is_started` isn't set to
true. When running() is called after start(), then it would
return false, which is not correct since the daemon has been
started by calling start().
This commit fixes that issue.

Signed-off-by: Vallari Agrawal <[email protected]>
@VallariAg VallariAg changed the title Fix cephadmunit start fix cephadmunit start() method Mar 28, 2024
@zmc zmc merged commit d7d6e60 into ceph:main Apr 3, 2024
8 checks passed
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