Skip to content

Conversation

@blkart
Copy link
Contributor

@blkart blkart commented Mar 15, 2016

redmine #6354

Signed-off-by: blkart blkart.org@gmail.com

auth_client_required = cephx
filestore_xattr_use_omap = true
osd_pool_default_size = 2
osd_pool_default_size = 3
Copy link
Contributor

Choose a reason for hiding this comment

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

osd_pool_size 是 fuel 部署之前设置,我们一般都是 3 ,但是从 fuel 的 api 里 cluster 的 attributes 里或者任一台节点的 facts 里取比较好。

Copy link
Contributor Author

Choose a reason for hiding this comment

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

例如:我们目前fuel cluster attributes和节点的facts及配置文件里面都是3,如果我们后面有需求把配置文件里的值修改成了4,我们在修改的时候会不会同时修改fuel cluster attributes及节点的facts?

Copy link
Contributor

Choose a reason for hiding this comment

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

恩,这里会引发另外一个问题,ceph.conf 中 osd_pool_default_xxx 这些配置只对于新建 pool 而且不指定对应参数时有效,这些参数在后期都可以手动调整。而手动调整的情况如果只针对个别 pool ,则没有必要修改 ceph.conf 。
也就是 pool 的实际参数和 ceph.conf 不必保持一致,fuel 里面的 facts 其实也只对 fuel 布署时生效,后期也会对这些参数进行检查。

所以从检查配置文件的目的看,似乎从 fule 里取比较合理。

Copy link
Contributor Author

Choose a reason for hiding this comment

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

先过滤掉这种fuel根据环境配置生成的变量的检测,后续单独增加获取这些特殊变量的正确值的方法(不再从template里获取)

@blkart blkart force-pushed the check_ceph_config branch from 796bb9a to 17431a9 Compare April 12, 2016 03:08
redmine #6354

Signed-off-by: blkart <blkart.org@gmail.com>
@blkart blkart force-pushed the check_ceph_config branch from 17431a9 to 722f418 Compare April 12, 2016 03:50
if parser.MONGO:
check('mongo', 'profile')
if parser.CEPHOSD:
check('ceph_osd', 'profile')
Copy link
Contributor

Choose a reason for hiding this comment

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

ceph-osd

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.

3 participants