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

[bug] AKV10032: Invalid issuer #98

Closed
jellevandehaterd opened this issue Nov 3, 2020 · 2 comments
Closed

[bug] AKV10032: Invalid issuer #98

jellevandehaterd opened this issue Nov 3, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@jellevandehaterd
Copy link

Describe the bug
After successfully deploying the launchpad and foundations the Rover is not able to 'login_as_launchpad' when running on GitHub actions.

To Reproduce
It occurs on GitHub actions, when running it locally with the same service principal it completes normally.
It is an intermittent fault, it can occur at every stage after the first launchpad and foundation are deployed.

Expected behavior
Not throwing a AKV10032: Invalid issuer error and continue.

Screenshots

  /$$$$$$   /$$$$$$  /$$$$$$$$       /$$$$$$$                                        
 /$$__  $$ /$$__  $$| $$_____/      | $$__  $$                                       
| $$  \__/| $$  \ $$| $$            | $$  \ $$  /$$$$$$  /$$    /$$/$$$$$$   /$$$$$$ 
| $$      | $$$$$$$$| $$$$$         | $$$$$$$/ /$$__  $$|  $$  /$$/$$__  $$ /$$__  $$
| $$      | $$__  $$| $$__/         | $$__  $$| $$  \ $$ \  $$/$$/ $$$$$$$$| $$  \__/
| $$    $$| $$  | $$| $$            | $$  \ $$| $$  | $$  \  $$$/| $$_____/| $$      
|  $$$$$$/| $$  | $$| $$            | $$  | $$|  $$$$$$/   \  $/ |  $$$$$$$| $$      
 \______/ |__/  |__/|__/            |__/  |__/ \______/     \_/   \_______/|__/      
                                                                                     
                                                                                                                                                           
              version: aztfmod/rover:2010.2808

 Expanding variable files: /__w/cloud-management/cloud-management/landingzones/caf_networking/scenario/100-single-region-hub/*.tfvars

mode                          : 'landingzone'
terraform command output file : ''
tf_action                     : 'apply'
command and parameters        : '-var-file /__w/cloud-management/cloud-management/landingzones/caf_networking/scenario/100-single-region-hub/configuration.tfvars -var-file /__w/cloud-management/cloud-management/landingzones/caf_networking/scenario/100-single-region-hub/network_security_group_definition.tfvars -parallelism=30'
level (current)               : 'level2'
environment                   : '343564964'
workspace                     : 'tfstate'
tfstate                       : '100-single-region-hub.tfstate'

@calling process_actions
@calling verify_azure_session
Checking existing Azure session
@calling verify_parameters
landingzone                   : '/__w/cloud-management/cloud-management/landingzones/caf_networking'
@calling_deploy
@calling get_storage_id

launchpad already installed

@calling deploy_from_remote_state
Connecting to the launchpad
@calling_get_logged_user_object_id
 Logged in rover app object_id: 01234567-1234-1234-1234-1234567890
 Logged in rover app object_id: 01234567-1234-1234-1234-1234567890
 - logged in Azure AD application:  GitHub-Actions-Non-Prod
@calling login_as_launchpad
 - keyvault_name: null

Getting launchpad coordinates:
AKV10032: Invalid issuer. Expected one of https://sts.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47/, https://sts.windows.net/f8cdef31-a31e-4b4a-93e4-5f571e91255a/, https://sts.windows.net/e2d54eb5-3869-4f70-8578-dee5fc7331f4/, https://sts.windows.net/33e01921-4d64-4f8c-a055-5bdaffd5e33d/, https://sts.windows.net/975f013f-7f24-47e8-a7d3-abc4752bf346/, found https://sts.windows.net/***/.
 - subscription id: 
Error on or near line 326: Not authorized to manage landingzones. User must be member of the security group to access the launchpad and deploy a landing zone; exiting with status 102

Configuration (please complete the following information):

  • GitHub Actions
  • rover aztfmod/rover:2010.2808

Additional context
I created an issue for the rover too.

@jellevandehaterd jellevandehaterd added the bug Something isn't working label Nov 3, 2020
@arnaudlh
Copy link
Member

arnaudlh commented Nov 3, 2020

Hi @jellevandehaterd seems to be related to GHA as we don't repo locally or in Azure DevOps.
Will continue investigating and keep you posted.

@arnaudlh
Copy link
Member

Closing as no repro anymore. Feel free to reopen if occurs again.

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

2 participants