Add availability zone to Gnocchi instance resource

Add availability zone to Gnocchi instance resourceΒΆ

Note

This feature is available starting from the MCP 2019.2.7 maintenance update. Before using the feature, follow the steps described in Apply maintenance updates.

This section describes how to add availability zones to a Gnocchi instance and consume the consuming instance.create.end events.

Add an availability zone to a Gnocchi instance resource:

  1. Open your Git project repository with the Reclass model on the cluster level.

  2. In /openstack/telemetry.yml, set the create_resources parameter to True:

    ceilometer:
      server:
        publisher:
          gnocchi:
            enabled: True
            create_resources: True
    
  3. From the Salt Master node, apply the following state:

    salt -C 'I@ceilometer:server' saltutil.refresh_pillar
    salt -C 'I@ceilometer:server' state.apply ceilometer.server