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

Ansible tower plugin 0.9.0 issue with Tower 3.3.1

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • ansible-tower-plugin
    • None
    • ansible-tower-plugin: 0.9
      Tower: 3.3.1
    • Completed

      When we run a tower job from jenkins, we are seeing this error message:

      ERROR: Unable to request job template invocation Tower received a bad request (400 response code)
      {"credential":["Incorrect type. Expected pk value, received unicode."],"credentials":["Incorrect type. Expected pk value, received unicode."]}

      we are running the job with the following:

      ansibleTower towerServer: 'tower', jobTemplate: '55',
      inventory: '14', credential: '12', importTowerLogs: true

      Does the credential need to be an integer? It seems like it is sending the credential the wrong way over the API.

            johnwestcottiv John Westcott
            james_mcshane James McShane
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: