Skip to content
This repository has been archived by the owner on Jan 7, 2023. It is now read-only.

Active manager is required as Ceph upgrades. #298

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

ningli16
Copy link
Contributor

Active manager is required as Ceph upgrades. Also fix a bug when calls translate_to_id() function.

Signed-off-by: Li Ning [email protected]

@ningli16 ningli16 requested a review from xuechendi June 15, 2018 02:23
@ningli16
Copy link
Contributor Author

If not manager is not active, Ceph health will report health_warn

common.printout("LOG", "create mgr success: admin")
else:
common.printout("LOG", "not need create mgr")
common.pdsh(user, [head], "ceph auth get-or-create mgr.$name mon 'allow profile mgr' osd 'allow *' mds 'allow *' && ceph-mgr -i %s" % ceph_status["fsid"], option="console")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a check here, something like if active mgr no exists, then create?
The creation part looks perfect to me

@ningli16
Copy link
Contributor Author

ningli16 commented Jun 15, 2018 via email

Fix a bug when calls translate_to_id() function.

Signed-off-by: Li Ning <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants