Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[azure china] Not Able to user Azure Key vault Plugin to retrieve data in Azure Key vault present in China Azure #117

Open
tucha1992 opened this issue Jul 21, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@tucha1992
Copy link

tucha1992 commented Jul 21, 2022

Jenkins and plugins versions report

AzyureKey vault plugin not working for Azure China key vault and service principal. Same is working EU region

Jenkins: 2.332.3
OS: Linux - 3.10.0-1062.12.1.el7.x86_64
---
ace-editor:1.1
ant:475.vf34069fef73c
antisamy-markup-formatter:2.7
apache-httpcomponents-client-4-api:4.5.13-1.0
authentication-tokens:1.4
azure-acs:1.0.4
azure-commons:1.1.3
azure-credentials:216.ve0b_4a_485ffc2
azure-keyvault:136.veb1d1296db97
azure-sdk:106.v552de1e64d56
bootstrap5-api:5.1.3-7
bouncycastle-api:2.26
branch-api:2.1046.v0ca_37783ecc5
build-timeout:1.21
caffeine-api:2.9.3-65.v6a_47d0f4d1fe
checks-api:1.7.4
cloudbees-folder:6.729.v2b_9d1a_74d673
command-launcher:84.v4a_97f2027398
credentials:1087.1089.v2f1b_9a_b_040e4
credentials-binding:523.vd859a_4b_122e6
display-url-api:2.3.6
docker-commons:1.19
docker-slaves:1.0.7
docker-workflow:1.28
durable-task:496.va67c6f9eefa7
echarts-api:5.3.2-2
email-ext:2.88
font-awesome-api:6.1.1-1
git:4.11.3
git-client:3.11.0
github:1.34.3
github-api:1.303-400.v35c2d8258028
github-branch-source:1637.vd833b_7ca_7654
gradle:1.39.1
handlebars:3.0.8
jackson2-api:2.13.3-285.vc03c0256d517
javadoc:217.v905b_86277a_2a_
javax-activation-api:1.2.0-3
javax-mail-api:1.6.2-6
jaxb:2.3.6-1
jdk-tool:1.5
jjwt-api:0.11.5-77.v646c772fddb_0
jquery3-api:3.6.0-4
jsch:0.1.55.2
junit:1119.va_a_5e9068da_d7
kubernetes-cd:2.3.1
ldap:2.10
mailer:414.vcc4c33714601
matrix-auth:3.1.2
matrix-project:771.v574584b_39e60
maven-plugin:3.19
momentjs:1.1.1
okhttp-api:4.9.3-105.vb96869f8ac3a
pam-auth:1.8
pipeline-build-step:2.18
pipeline-github-lib:38.v445716ea_edda_
pipeline-graph-analysis:195.v5812d95a_a_2f9
pipeline-groovy-lib:593.va_a_fc25d520e9
pipeline-input-step:448.v37cea_9a_10a_70
pipeline-milestone-step:101.vd572fef9d926
pipeline-model-api:2.2086.v12b_420f036e5
pipeline-model-definition:2.2086.v12b_420f036e5
pipeline-model-extensions:2.2086.v12b_420f036e5
pipeline-rest-api:2.24
pipeline-stage-step:293.v200037eefcd5
pipeline-stage-tags-metadata:2.2086.v12b_420f036e5
pipeline-stage-view:2.24
plain-credentials:1.8
plugin-util-api:2.17.0
popper2-api:2.11.5-2
resource-disposer:0.19
scm-api:608.vfa_f971c5a_a_e9
script-security:1175.v4b_d517d6db_f0
snakeyaml-api:1.30.1
ssh-credentials:277.v95c2fec1c047
ssh-slaves:1.814.vc82988f54b_10
sshd:3.237.v883d165a_c1d3
structs:318.va_f3ccb_729b_71
timestamper:1.17
token-macro:293.v283932a_0a_b_49
trilead-api:1.57.v6e90e07157e1
variant:1.4
workflow-aggregator:581.v0c46fa_697ffd
workflow-api:1164.v760c223ddb_32
workflow-basic-steps:948.v2c72a_091b_b_68
workflow-cps:2725.v7b_c717eb_12ce
workflow-durable-task-step:1144.vd77b_57189936
workflow-job:1186.v8def1a_5f3944
workflow-multibranch:716.vc692a_e52371b_
workflow-scm-step:400.v6b_89a_1317c9a_
workflow-step-api:625.vd896b_f445a_f8
workflow-support:820.vd1a_6cc65ef33
ws-cleanup:0.42

What Operating System are you using (both controller, and any agents involved in the problem)?

Jenkins: 2.332.3
OS: Linux - 3.10.0-1062.12.1.el7.x86_64

Reproduction steps

  1. Create a keyvault in Azure CHina subscripiton CHina east 2 region
  2. Install Azure key vault plugin in Jenkins
  3. Go to Manage Jenkins->Configure SYstm->Azure Keyvault setting
  4. Provide keyvault URL and Service Principal kind Credential ID
  5. Test connection

Expected Results

It should be able to read the secrets in the keyvault in Azure China Subscription

Actual Results

AADSTS90002: Tenant 'e6bea6bd-74a5-498e-92c9-5b0ddd5bd6f1' not found. Check to make sure you have the correct tenant ID and are signing into the correct cloud. Check with your subscription administrator, this may happen if there are no active subscriptions for the tenant.
Trace ID: cabaeeb9-70cd-4a4a-bb5b-298ddcda1600
Correlation ID: 144bfe22-ea66-4be5-8796-099ac43a2fda
Timestamp: 2022-07-19 08:53:15Z

Anything else?

No response

@tucha1992 tucha1992 added the bug Something isn't working label Jul 21, 2022
@timja timja changed the title Not Able to user Azure Key vault Plugin to retrieve data in Azure Key vault present in China Azure [azure china] Not Able to user Azure Key vault Plugin to retrieve data in Azure Key vault present in China Azure Dec 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant