def install(): add_source(config('source'), config('key')) apt_update(fatal=True) apt_install(packages=ceph.determine_packages(), fatal=True) if config('autotune'): tune_network_adapters() install_udev_rules()
def upgrade_charm(): if get_fsid() and get_auth(): emit_cephconf() apt_install(packages=filter_installed_packages(ceph.determine_packages()), fatal=True) install_udev_rules() remap_resolved_targets()
def install(): add_source(config('source'), config('key')) apt_update(fatal=True) apt_install(packages=ceph.determine_packages(), fatal=True) if config('autotune'): tune_network_adapters() install_udev_rules()
def upgrade_charm(): apt_install(packages=filter_installed_packages(ceph.determine_packages()), fatal=True) if get_fsid() and get_auth(): emit_cephconf() install_udev_rules() remap_resolved_targets() maybe_refresh_nrpe_files()
def upgrade_charm(): emit_cephconf() apt_install(packages=filter_installed_packages(ceph.determine_packages()), fatal=True) ceph.update_monfs() mon_relation_joined() if is_relation_made("nrpe-external-master"): update_nrpe_config()
def install(): execd_preinstall() add_source(config('source'), config('key')) apt_update(fatal=True) apt_install(packages=ceph.determine_packages(), fatal=True) try: # we defer and explicitly run `ceph-create-keys` from # add_keyring_to_ceph() as part of bootstrap process # LP: #1719436. service_pause('ceph-create-keys') except ValueError: pass
def upgrade_charm(): emit_cephconf() apt_install(packages=filter_installed_packages(ceph.determine_packages()), fatal=True) try: # we defer and explicitly run `ceph-create-keys` from # add_keyring_to_ceph() as part of bootstrap process # LP: #1719436. service_pause('ceph-create-keys') except ValueError: pass ceph.update_monfs() mon_relation_joined() if is_relation_made("nrpe-external-master"): update_nrpe_config() # NOTE(jamespage): # Reprocess broker requests to ensure that any cephx # key permission changes are applied notify_client()
def upgrade_charm(): if get_fsid() and get_auth(): emit_cephconf() apt_install(packages=filter_installed_packages(ceph.determine_packages()), fatal=True)
def install(): execd_preinstall() add_source(config('source'), config('key')) apt_update(fatal=True) apt_install(packages=ceph.determine_packages(), fatal=True)