DeepSea icon indicating copy to clipboard operation
DeepSea copied to clipboard

osd.deploy threw an exception. Exception: Mine on data5.ceph for cephdisks.list

Open tserong opened this issue 5 years ago • 3 comments

Description of Issue/Question

The error message "Mine on $(hostname) for cephdisks.list" is remarkably unhelpful.

Setup

deepsea-0.8.5 on SLES 12 SP3 with salt 2016.11.4

Steps to Reproduce Issue

Somehow, when running stage 3, the mines weren't up to date. I don't recall seeing this before, and salt '*' mine.update fixed it, but the error message displayed isn't a lot to go on. Something like "mine on $hostname not up to date, try salt '*' mine.update" would be nice :-)

tserong avatar Aug 21 '18 06:08 tserong

Agreed. Here's the line# https://github.com/SUSE/DeepSea/blob/SES5/srv/salt/_modules/osd.py#L644

edit(that was the line)

jschmid1 avatar Aug 21 '18 08:08 jschmid1

Is there a way to reproduce this issue? Also, is this behavior reproduced in newer versions of DeepSea?

marcosps avatar Nov 29 '18 12:11 marcosps

I honestly have no idea how I originally ended up with the mines out of date when running stage 3, but you might try salt '*' mine.delete 'cephdisks.list', or even salt '*' mine.flush before running stage 3, to see if you hit the issue then (based on https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.mine.html, I haven't tested this myself)

tserong avatar Nov 30 '18 05:11 tserong