gnocchi_handlers.py 文件源码

python
阅读 27 收藏 0 点赞 0 评论 0

项目:charm-gnocchi 作者: openstack 项目源码 文件源码
def configure_ceph(ceph):
    with charm.provide_charm_instance() as charm_class:
        # TODO(jamespage): refactor to avoid massaging helper
        ceph_helper.KEYRING = charm_class.ceph_keyring
        host.mkdir(os.path.dirname(charm_class.ceph_keyring))
        ceph_helper.ensure_ceph_keyring(service=hookenv.service_name(),
                                        key=ceph.key(),
                                        user=charm_class.gnocchi_user,
                                        group=charm_class.gnocchi_group)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号