Comment 4 for bug 1473445

Revision history for this message
sbartel (samuel-bartel) wrote : Re: deployment of custom roles failed

it seems that we have this issue because the create_role workflow does not update the releases postgresql table to add information about the newly created role to the deployment_tasks

with the following workarround the deployment of the plugin is sucess

-download the deployment-task corresponding to the release:
fuel rel --rel 2 --deployment-tasks --download

add the following lines at the bottom of the deployment_tasks.yaml:
- id: nova-nfs
  parameters:
    strategy:
      type: parallel
  required_for:
  - deploy_end
  - primary-controller
  - controller
  - primary-mongo
  - mongo
  requires:
  - deploy_start
  role:
  - nova-nfs
  tasks:
  - hiera
  - globals
  type: group

upload back the yaml file
fuel rel --rel 2 --deployment-tasks --upload

So my supposision is that the create role should update the deployment_task in order to add the deployment information about the new role to declare it in the digraph