Azure / Azure/apiops

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

Aperta
#692 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
C#
Stelle
448
Fork
247
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### 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.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia riproducendo il deployment con un'API denominata value supportata da un Azure Key Vault non accessibile, confrontando i percorsi del publisher di GA e ADO. Traccia la creazione dei named values e la gestione degli errori nel workflow del publisher. Il lavoro è completato quando GA segnala l'errore di accesso a Key Vault e si arresta prima di tentare di configurare la policy dipendente.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
azure, csharp
Ambito
api, cloud, devops
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.