Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-51770

Unable to find credential

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • ansible-tower-plugin
    • None
    • Jenkins ver. 2.126
      Ansible Tower Plugin 0.8.5

      I have problem with the plugin when I want to use credentials other then the default.

      The credential id is 11

      "id": 11,
      "type": "credential",
      "url": "/api/v2/credentials/11/",
      

      The name of the credential is:
      "Secret Server MS Michal"

      "name": "Secret Server MS Michal"
      

       

      Does not matter if the ID or a Name is used in the configuration, the plugin is not able to find the credential in the Tower:

      Beginning Ansible Tower Run on Prod
      Requesting tower to run job template 37
      ERROR: Unable to request job template invocation Unable to find credential Secret Server MS Michal: Unable to get any results when looking up Secret Server MS Michal
      

      or

      ERROR: Unable to request job template invocation Credential 11 does not exist in tower
      

            johnwestcottiv John Westcott
            mmt m t
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: