aar should log authorization errors

Bug #2015712 reported by Samuel Allan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Anbox Cloud
Fix Released
Medium
Simon Fels

Bug Description

If we have a scenario where everything is set up between a client ams in push mode and the aar, but the client certificate is not added to aar with --publisher permission, we see the following:

- from the client: "ams.ams ... Registry: Failed to push new updates to registry: 401 Unauthorized"
- from aar: no logs

It would be good to log authorization errors, especially in the case where a client is trusted but tries to push when it isn't allowed to push. It would help find the cause of the issue faster in the above scenario.

Simon Fels (morphis)
Changed in anbox-cloud:
milestone: none → 1.18.0
importance: Undecided → Medium
status: New → Triaged
assignee: nobody → Simon Fels (morphis)
Simon Fels (morphis)
Changed in anbox-cloud:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.