Azure / Azure/apiops

[BUG] Publisher not throwing error in GA workflows when connectivity is not available

オープン
#692 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
C#
スター
448
フォーク
247
PR マージ指標
30日以内にマージされた PR はありません

説明

### Release version

v6.0.1.1

### Describe the bug

When publisher run for the artifacts having named values attached to Azure Keyvault, during publisher run if AKV is not accessible or have no proper rights ADO throws an error clearly stating the same but GA doesn't fail and go ahead without any error.

### Expected behavior

GA also should fail when there is no Access to the respective resource like ADO does.

### Actual behavior

GA does not fail when connectivity is not available and logs says it has put the named values in APIM but actually it is not created. At the same time ADO works fine and give proper error.

### Reproduction Steps

1. Create an api has reference to namedvalue which holds the value from the Keyvault.
2. Deploy to another instance which does not have access to the Kwyvault.
3. Run publisher.
4. In GA you can see it will not fail for the named value but fail when it will try to setup the policy as named value object is not created and it is trying to refer the same. And when you run the same using ADO it will fail at the stage of named value creation itself.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

アクセスできない Azure Key Vault をバックエンドとする value という名前の API でデプロイを再現することから始め、GA と ADO の publisher パスを比較します。publisher ワークフローにおける named value の作成とエラーハンドリングを追跡します。GA が Key Vault へのアクセス失敗を報告し、依存する policy のセットアップを試みる前に停止すれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
azure, csharp
領域
api, cloud, devops
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。