Cluster worker cannot register with region controller

Asked by Boyang Niu

On starting maas1.3 with "make run", the cluster worker returns a HTTP 503 code when trying to access the region controller's address. This leads to the "region controller does not know whether any boot images have been imported" message at first. Later on in the process the response does change into a 202 code, but seems to hang on it infinitely. I've tried hitting localhost on ports 5240-5244 and they are all working, so I'm not sure what I'm doing wrong to cause the status to hang on "Accepted" and never resolve. Is the cluster/region communication supposed to take a long time to complete?

Any insights on this would be greatly appreciated.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu maas Edit question
Assignee:
No assignee Edit question
Solved by:
Boyang Niu
Solved:
Last query:
Last reply:
Revision history for this message
Boyang Niu (boyang-niu) said :
#1

The response from the server is "Awaiting admin approval" which makes me feel like I'm missing something really simple here.

Revision history for this message
Boyang Niu (boyang-niu) said :
#2

Ah, nevermind. I figured this out by actually setting up a node and going through all the actions correctly. The 202 response occurs until the node starts up and fires back a message to the server recognizing it as active. Sorry for the silly question.