~corey.bryant/charms/trusty/cinder-ceph/git-ods

« back to all changes in this revision

Viewing changes to hooks/cinder_hooks.py

  • Committer: James Page
  • Date: 2014-02-12 10:48:29 UTC
  • Revision ID: james.page@canonical.com-20140212104829-y921inr8x5ngxh14
Fixup hook use of CEPH_CONF

Show diffs side-by-side

added added

removed removed

Lines of Context:
66
66
                                   user='cinder', group='cinder'):
67
67
            log('Could not create ceph keyring: peer not ready?')
68
68
        else:
69
 
            CONFIGS.write(CEPH_CONF)
 
69
            CONFIGS.write_all()
70
70
            set_ceph_env_variables(service=svc)
71
71
            if eligible_leader(None):
72
72
                ensure_ceph_pool(service=svc,