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

change 'mdsmap' to 'fsmap' for ceph version from jewel #476

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

atheism
Copy link

@atheism atheism commented Jul 19, 2016

File "/usr/local/lib/python2.7/dist-packages/salt/minion.py", line 1019, in _thread_return
return_data = func(_args, *_kwargs)
File "/var/cache/salt/minion/extmods/modules/ceph.py", line 498, in get_heartbeats
cluster_heartbeat[fsid] = cluster_status(cluster_handle, fsid_names[fsid])
File "/var/cache/salt/minion/extmods/modules/ceph.py", line 566, in cluster_status
mds_epoch = status['mdsmap']['epoch']
KeyError: 'mdsmap'

@tserong
Copy link
Contributor

tserong commented Jul 28, 2016

This is already fixed in the 1.3 branch (cab67f9) but in a slightly different way (it tries to get fsmap, and if that doesn't work, it falls back to using mdsmap).

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