--- # NOTE(yoctozepto): this file is used during upgrade as well - include_tasks: config.yml - include_tasks: bootstrap_mons.yml when: inventory_hostname in groups['ceph-mon'] - include_tasks: distribute_keyrings.yml when: kolla_action != "upgrade" - include_tasks: start_mons.yml when: inventory_hostname in groups['ceph-mon'] # NOTE(yoctozepto): this ensures caps for admin are always up-to-date (run as earliest as possible = after MONs start) # this is retried because the cluster might not be fully operational yet (quorum gathering) - name: configuring client.admin caps become: true kolla_ceph_keyring: name: client.admin caps: "{{ ceph_client_admin_keyring_caps }}" run_once: True delegate_to: "{{ groups['ceph-mon'][0] }}" register: result until: result is success retries: 3 delay: 15 - include_tasks: start_mgrs.yml when: inventory_hostname in groups['ceph-mgr'] - include_tasks: start_ceph_dashboard.yml when: - enable_ceph_dashboard | bool - inventory_hostname in groups['ceph-mon'] - include_tasks: bootstrap_osds.yml when: inventory_hostname in groups['ceph-osd'] - include_tasks: start_osds.yml when: inventory_hostname in groups['ceph-osd'] - include_tasks: start_rgws.yml when: - enable_ceph_rgw | bool - inventory_hostname in groups['ceph-rgw'] - include_tasks: start_rgw_keystone.yml when: - enable_ceph_rgw_keystone | bool - inventory_hostname in groups['ceph-rgw'] - include_tasks: start_mdss.yml when: - enable_ceph_mds | bool - inventory_hostname in groups['ceph-mds'] # NOTE(yoctozepto): nfs (cephfs-based) depends on mds so start it after - include_tasks: start_nfss.yml when: - enable_ceph_nfs | bool - inventory_hostname in groups['ceph-nfs']