Comment 0 for bug 1553049

Revision history for this message
Andrey Bubyr (abubyr) wrote : [fuel-library] cinder-volume daemons are stopped after deployment. Task enable_cinder_volume_service (roles/cinder_enable.pp) will never be executed due to invalid description

Task 'enable_cinder_volume_service' which is responsible for starting 'cinder-volume' daemons at the end of cinder deployment (main stage) will never be executed because relies on 'role:' instead of 'groups:' in its description:

- id: enable_cinder_volume_service
  type: puppet
  version: 2.0.0
  role: [cinder, cinder-block-device]
  requires: [top-role-cinder]
  required_for: [deploy_end]
  parameters:
    puppet_manifest: /etc/puppet/modules/osnailyfacter/modular/roles/enable_cinder.pp
    puppet_modules: /etc/puppet/modules
    timeout: 3600
    cwd: /

https://github.com/openstack/fuel-library/blob/master/deployment/puppet/osnailyfacter/modular/roles/tasks.yaml#L44

So in result we have stopped cinder-volume services on all 'cinder' nodes.

This regression was brought up by this change:
https://review.openstack.org/#/c/281871/

Please replace
role: [cinder, cinder-block-device]
on
groups: [cinder, cinder-block-device]

Please take care about supporting role-based deployment in future because such kind of issues is very hard to debug