Skip to content

Conversation

@qwordy
Copy link
Member

@qwordy qwordy commented Dec 31, 2020

Description

Resolve #16391

External tokens in Track 2 SDk have problem. I am still investigating why it is None.

Testing Guide

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change.
[Component Name 2] az command b: Add some customer-facing feature.


This checklist is used to make sure that common guidelines for a pull request are followed.

@yonzhan
Copy link
Collaborator

yonzhan commented Dec 31, 2020

Compute

else:
logger.warning('Getting external tokens failed.')
else:
logger.warning('Getting external tokens failed.')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this a warning or error? It will cause command failed at later right?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Finally, it will fail in service side if service requires external tokens.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This logger.warning() goes to the stderr and breaks our Azure DevOps pipeline, which now thinks that AzureCLI task printed some error. The command itself (az sig image-version create) works fine as it did before, returns JSON result with "provisioningState": "Succeeded".

@yungezz yungezz added the Compute az vm/vmss/image/disk/snapshot label Jan 2, 2021
@dkegel-sigsci
Copy link

This got me up and running again.

@qwordy qwordy added this to the S181 milestone Jan 6, 2021
@qwordy qwordy merged commit 72c2203 into Azure:dev Jan 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Compute az vm/vmss/image/disk/snapshot

Projects

None yet

Development

Successfully merging this pull request may close these issues.

az cli 2.17.0 broke "az sig image-version create --no-wait --resource-group ..."

7 participants