Release Automation

  • 1.  Error on action ROC - Update deployment name

    Posted Aug 10, 2017 09:45 AM

    In a pre-deployment step I use this action to automatically rename the deployment being created and it usually works well.

    But now I am in the case where the deployment is created by a user with low permissions in RA:

    and then he gets the following error :

    I am surprised about this behavior, what are the minimum permissions required to be able to run a deployment plan embeding this action ?



  • 2.  Re: Error on action ROC - Update deployment name

    Broadcom Employee
    Posted Aug 11, 2017 09:20 AM

    Hi ,

     

    The release designer permission allows the user to 

    "Enables a user to design releases for the current environment."

     

    Some more details can be found in the documentation on 

    Set Up Users and Permission - CA Release Automation - 6.4 - CA Technologies Documentation 

     

    To create or update a deployment plan you need to have 

     

    Deployment Plan Designer
    Enables a user to create deployment plans, either new or from a template.

     

    Regards

    Dirk



  • 3.  Re: Error on action ROC - Update deployment name

    Posted Aug 11, 2017 10:52 AM

    Hi Dirk,

     

    Thanks for your answer, but I don't create a deployment plan.

    The error is occuring in the Pre-deployment step which is executed when the release (deployment) is created.

    My user is Release Designer, so I thought he would be able to update the name of the release he is creating.



  • 4.  Re: Error on action ROC - Update deployment name

    Broadcom Employee
    Posted Aug 14, 2017 09:57 AM

    Hi 

     

    I am looking if i can get some more information on these security roles . 

     

    Regards dirk



  • 5.  Re: Error on action ROC - Update deployment name

    Broadcom Employee
    Posted Aug 14, 2017 11:20 AM

    Hi Stephane,

    I ran a quick test and Release Designer was sufficient to run the action "ROC - Update deployment property value" in a predeployment step.

    • What release/build are you running? (I tested it in 6.3 b9840).
    • Is it the first action in the predeployment step? If this one fails, I would expect every action within predeployment to fail with the same error?
    • Was the deployment plan created from the Tools template?

    regards,

    Leo



  • 6.  Re: Error on action ROC - Update deployment name

    Posted Aug 16, 2017 09:00 AM

    Hi Leo,

     

    • I am running 5.5.2.511
    • It was the only action in the process, but I made another test by adding a "delay" action or "compare" before the property update action, and the action does'nt fail, only the property update action fails.
    • Yes the deployment plan have been created from the Tools Template, otherwise I can't deploy it on the target environment.

     

     

    Regards,

    Stéphane.



  • 7.  Re: Error on action ROC - Update deployment name

    Broadcom Employee
    Posted Aug 17, 2017 06:20 AM

    Hi Stéphane,

    I have run additional tests but I cannot get the action to fail with Release Designer permission.

    Since you are running 5.5.2 I strongly recommend to upgrade to 6.x soonest as 5.5.2 is no longer supported. It might be that you no longer experience the behavior in 6.x (which is the release i ran the tests in).

    regards,

    Leo



  • 8.  Re: Error on action ROC - Update deployment name
    Best Answer

    Posted Aug 23, 2017 05:17 AM

    Found it !

    I was using a user who was at the same time declared as a standalone user and member of a group. I was setting the permissions on the group but it was the standalone user that was used.

    Removing the standalone user solved the issue.