Missing check on manage_lbs causes charm to error if lb relation comes before juju trust command
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Azure Integrator Charm |
New
|
Undecided
|
Unassigned |
Bug Description
When deploying and sharing credentials with juju trust, I've noticed that we have no checks for manage_lbs() method as we have for handle_requests().
That may cause the following error at the begining of the deployment:
2021-07-22 16:40:24 ERROR juju-log lb-consumers:1: Hook error:
Traceback (most recent call last):
File "/var/lib/
bus.
File "/var/lib/
_invoke(
File "/var/lib/
handler.
File "/var/lib/
self.
File "/var/lib/
_create_
File "/var/lib/
request.
File "/var/lib/
_azure(
File "/var/lib/
raise AzureError.
charms.