2019-06-18 04:33:30 ERROR juju.worker.dependency engine.go:636 "compute-provisioner" manifold worker returned unexpected error: failed to process updated machines: failed to get all instances from broker: azure.BearerAuthorizer#WithAuthorization: Failed to refresh the Token for request to https://management.azure.com/subscriptions/<>/providers/Microsoft.Resources/deployments/?api-version=2018-05-01: StatusCode=400 -- Original Error: adal: Refresh request failed. Status Code = '400'. Response body: {"error":"unauthorized_client","error_description":": Application with identifier 'http://Juju' was not found in the directory '<>'. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You may have sent your authentication request to the wrong tenant.\r\nTrace ID: <>\r\nTimestamp: 2019-06-18 04:33:30Z","error_codes":[700016],"timestamp":"2019-06-18 04:33:30Z","trace_id":"<>","correlation_id":"<>","error_uri":"https://login.windows.net/error?code=700016"}
2019-06-18 04:33:31 ERROR juju.worker.dependency engine.go:636 "firewaller" manifold worker returned unexpected error: azure.BearerAuthorizer#WithAuthorization: Failed to refresh the Token for request to https://management.azure.com/subscriptions/<>/providers/Microsoft.Resources/deployments/?api-version=2018-05-01: StatusCode=400 -- Original Error: adal: Refresh request failed. Status Code = '400'. Response body: {"error":"unauthorized_client","error_description":"<>: Application with identifier '<>' was not found in the directory '<>'. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You may have sent your authentication request to the wrong tenant.\r\nTrace ID: <>\r\nTimestamp: 2019-06-18 04:33:31Z","error_codes":[700016],"timestamp":"2019-06-18 04:33:31Z","trace_id":"<>","correlation_id":"<>","error_uri":"https://login.windows.net/error?code=700016"}
Also seeing the same/similar on Azure:
2019-06-18 04:33:30 ERROR juju.worker. dependency engine.go:636 "compute- provisioner" manifold worker returned unexpected error: failed to process updated machines: failed to get all instances from broker: azure.BearerAut horizer# WithAuthorizati on: Failed to refresh the Token for request to https:/ /management. azure.com/ subscriptions/<>/providers/ Microsoft. Resources/ deployments/ ?api-version= 2018-05- 01: StatusCode=400 -- Original Error: adal: Refresh request failed. Status Code = '400'. Response body: {"error" :"unauthorized_ client" ,"error_ description" :": Application with identifier 'http:// Juju' was not found in the directory '<>'. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You may have sent your authentication request to the wrong tenant.\r\nTrace ID: <>\r\nTimestamp: 2019-06-18 04:33:30Z" ,"error_ codes": [700016] ,"timestamp" :"2019- 06-18 04:33:30Z" ,"trace_ id":"<> ","correlation_ id":"<> ","error_ uri":"https:/ /login. windows. net/error? code=700016"} dependency engine.go:636 "firewaller" manifold worker returned unexpected error: azure.BearerAut horizer# WithAuthorizati on: Failed to refresh the Token for request to https:/ /management. azure.com/ subscriptions/<>/providers/ Microsoft. Resources/ deployments/ ?api-version= 2018-05- 01: StatusCode=400 -- Original Error: adal: Refresh request failed. Status Code = '400'. Response body: {"error" :"unauthorized_ client" ,"error_ description" :"<>: Application with identifier '<>' was not found in the directory '<>'. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You may have sent your authentication request to the wrong tenant.\r\nTrace ID: <>\r\nTimestamp: 2019-06-18 04:33:31Z" ,"error_ codes": [700016] ,"timestamp" :"2019- 06-18 04:33:31Z" ,"trace_ id":"<> ","correlation_ id":"<> ","error_ uri":"https:/ /login. windows. net/error? code=700016"}
2019-06-18 04:33:31 ERROR juju.worker.
Querying @jujud-machine-0 introspection socket: /debug/ pprof/heap? debug=1 pprof/heap? debug=1 pprof/heap? debug=1
# Stack = 146276352 / 146276352
Querying @jujud-machine-0 introspection socket: /debug/
# Stack = 147324928 / 147324928
Querying @jujud-machine-0 introspection socket: /debug/
# Stack = 148340736 / 148340736