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

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 ning.li@intel.com

@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 <ning.li@intel.com>
ningli16 added 6 commits May 8, 2019 19:21
Signed-off-by: Li Ning <ning.li@intel.com>
Signed-off-by: Li Ning <ning.li@intel.com>
Signed-off-by: Li Ning <ning.li@intel.com>
Signed-off-by: Li Ning <ning.li@intel.com>
Signed-off-by: Li Ning <ning.li@intel.com>
Signed-off-by: Li Ning <ning.li@intel.com>
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