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

Vault Key Not Saved In Vault Error Messaging

    Details

    • Similar Issues:

      Description

      failure with "com.bettercloud.vault.VaultException: com.bettercloud.vault.VaultException: Vault responded with HTTP status code: 404" if any of the requested keys aren't present in the vault. Given this causes a hard failure, to help streamline debugging or necessary communication on what keys are missing would believe we'd prefer a more descriptive message

        Attachments

          Activity

          Hide
          ptierno Peter Tierno added a comment -

          I will look into this. I think it may be somewhat related to the way the vault library I am using is dealing with raising exceptions (this is possibly related. https://github.com/BetterCloud/vault-java-driver/pull/22)

          Show
          ptierno Peter Tierno added a comment - I will look into this. I think it may be somewhat related to the way the vault library I am using is dealing with raising exceptions (this is possibly related. https://github.com/BetterCloud/vault-java-driver/pull/22 )
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Peter Tierno
          Path:
          src/main/java/com/datapipe/jenkins/vault/VaultAccessor.java
          http://jenkins-ci.org/commit/hashicorp-vault-plugin/a22fa960896463fdf92123ad3880e54f1c4381e9
          Log:
          JENKINS-38647 add vault path to exception message

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Peter Tierno Path: src/main/java/com/datapipe/jenkins/vault/VaultAccessor.java http://jenkins-ci.org/commit/hashicorp-vault-plugin/a22fa960896463fdf92123ad3880e54f1c4381e9 Log: JENKINS-38647 add vault path to exception message
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Peter Tierno
          Path:
          src/main/java/com/datapipe/jenkins/vault/VaultAccessor.java
          http://jenkins-ci.org/commit/hashicorp-vault-plugin/ee8acbddaff17c433cf6e2fdd07e2370e9951d51
          Log:
          Merge pull request #9 from ptierno/JENKINS-38647

          JENKINS-38647 add vault path to exception message

          Compare: https://github.com/jenkinsci/hashicorp-vault-plugin/compare/82b03327d64a...ee8acbddaff1

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Peter Tierno Path: src/main/java/com/datapipe/jenkins/vault/VaultAccessor.java http://jenkins-ci.org/commit/hashicorp-vault-plugin/ee8acbddaff17c433cf6e2fdd07e2370e9951d51 Log: Merge pull request #9 from ptierno/ JENKINS-38647 JENKINS-38647 add vault path to exception message Compare: https://github.com/jenkinsci/hashicorp-vault-plugin/compare/82b03327d64a...ee8acbddaff1
          Hide
          ptierno Peter Tierno added a comment -

          fixed in 2.1.0

          Show
          ptierno Peter Tierno added a comment - fixed in 2.1.0

            People

            • Assignee:
              ptierno Peter Tierno
              Reporter:
              _mg_ mg
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: