-
Notifications
You must be signed in to change notification settings - Fork 75
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
osd.remove fails to zap devices on ceph version 14.2.3-349 #1747
Comments
Ideally, DeepSea will still work with earlier versions of nautilus even after this is fixed. |
maybe @jan--f can confirm my assumption regarding the logging changes. |
14.2.3 ceph-volume should only print logging messages to stderr. I guess the runner returns stderr? I'll look into it. |
hmm I just saw this: I ran
But a subsequent |
Here is the issue
|
so, it would seem, that in the CI tests which are now passing with the tmp fix, the OSDs are being removed but the underlying disk is not really getting zapped (AFAIK the tests do not include any logic for verifying the zap) |
that would be entirely plausible. |
ok I can confirm that the ceph build fixes this issue. However there still seems to somehting up with purge, where the OSDs are not stopped, but once they are stopped, zapping them works just fine.
|
I can also confirm that this problem doesn't happen with 14.2.4, which would indicate this just another symptom of the ceph-volume regression that found its way into 14.2.3. |
. . . and since users on SUSE will not see 14.2.3, there's no reason for DeepSea to do anything special to work around that ceph-volume regression. |
ceph version 14.2.3-349-g7b1552ea82 (7b1552ea827cf5167b6edbba96dd1c4a9dc16937) nautilus (stable)
salt-run osd.remove $id
uses
ceph-volume lvm zap --osd-id $id --destroy
to zap a disk remotely on the minion.In previous releases we expected a string
Zapping successful for OSD
in the return message.With this release we get:
--> Zapping: /dev/ceph-a8e4a78d-e3....
Since there are no significant changes that would indicate a change in the return string I assume it's due to the changes in logging in recent commits. mlogger vs terminal.success
This raises the question if invoking shell commands is the right way when we have an python api to use. A couple of things need to be verified though.
The text was updated successfully, but these errors were encountered: