Hi,
I’m having issues deploying MaaS (with the help of FCE) and it constantly fail because of maas-agent failing.
I do have many issues with this component, it might be an improvement but compared to older MaaS release, I find it a lot less reliable.
MaaS version : 3.6.1-17573-g.bc3a12219 (snap version, 3.6/stable channel)
Here is the error I get, looks like it fails with the proxy configuration as can be seen in this log snippet (we’re behind a proxy but I checked our proxy configuration and see no problems here) :
Sep 04 07:35:27 hpdl1v03802 maas-agent[66172]: INF Logger is configured with log level "info"
Sep 04 07:35:27 hpdl1v03802 maas-agent[66172]: INF Started Worker Namespace=default TaskQueue=cygabp@agent:main WorkerID=cygabp@agent:66172
Sep 04 07:35:28 hpdl1v03802 maas-agent[66172]: INF Configuring power-service Attempt=1 Namespace=default RunID=ef07ee01-9417-4fac-aee4-c3402ef19256 SpanID=0000000000000000 TaskQueue=cygabp@agent:main TraceID=00000000000000000000000000000000 WorkerID=cygabp@agent:66172 WorkflowID=configure-power-service:cygabp WorkflowType=configure-power-service
Sep 04 07:35:28 hpdl1v03802 maas-agent[66172]: INF Started Worker Namespace=default TaskQueue=cygabp@agent:power WorkerID=cygabp@agent:66172
Sep 04 07:35:28 hpdl1v03802 maas-agent[66172]: INF Started power-service Attempt=1 Namespace=default RunID=ef07ee01-9417-4fac-aee4-c3402ef19256 SpanID=0000000000000000 TaskQueue=cygabp@agent:main TraceID=00000000000000000000000000000000 WorkerID=cygabp@agent:66172 WorkflowID=configure-power-service:cygabp WorkflowType=configure-power-service
Sep 04 07:35:28 hpdl1v03802 maas-agent[66172]: INF Configuring httpproxy-service Attempt=1 Namespace=default RunID=0c07df26-2450-4833-9fbf-1a220961a012 SpanID=0000000000000000 TaskQueue=cygabp@agent:main TraceID=00000000000000000000000000000000 WorkerID=cygabp@agent:66172 WorkflowID=configure-httpproxy-service:cygabp WorkflowType=configure-httpproxy-service
Sep 04 07:35:31 hpdl1v03802 maas-agent[66172]: ERR Workflow configure-agent failed error="workflow execution error (type: configure-agent, workflowID: configure-agent:cygabp, runID: f82252b3-a47d-4efa-9d6b-a44a6e3e1f5f): child workflow execution error (type: configure-httpproxy-service, workflowID: configure-httpproxy-service:cygabp, runID: 0c07df26-2450-4833-9fbf-1a220961a012, initiatedEventID: 14, startedEventID: 15): targets cannot be empty"
How can I debug maas-agent in a snap environment ? How can I check if the configuration it gets is good ? What I suspect is that it tries to configure a proxy without having a value for that but I don’t see where it takes it from.
What I don’t understand is that it is not my first deployment of the kind, same bundle, same proxy settings, only different networks/environments and I managed to deploy my previous clusters but not the new ones I’m working on right now.
Any help would be gladly appreciated.
