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.
You can set the directory for lock files for the Ceilometer, Cinder, Designate,
Glance, Ironic, Neutron, and Nova OpenStack services by specifying the
lock_path
parameter in the Reclass model. This section provides
the example of the lock path configuration for Nova.
To set the lock path for Nova:
Open your Git project repository with the Reclass model on the cluster level.
Define the lock_path
parameter:
In openstack/control.yml
, specify:
parameters:
nova:
controller:
concurrency:
lock_path: '/var/lib/nova/tmp'
In openstack/compute.yml
, specify:
parameters:
nova:
compute:
concurrency:
lock_path: '/var/lib/nova/tmp'
Apply the changes from the Salt Master node:
salt -C 'I@nova:controller or I@nova:compute' saltutil.refresh_pillar
salt -C 'I@nova:controller' state.apply nova.controller
salt -C 'I@nova:compute' state.apply nova.compute