MAAS and JUJU 409 conflict

Asked by Dawid Fajkowski

Hey, I have 409 conflict when I want do "juju bootrstrap" . I write what I've done already and what kind of hardware I have.

So I have router TP-LINK with DHCP. Some old HP compaq's with pentium 4 HT with 512mb ram. And I install everything like here https://wiki.ubuntu.com/ServerTeam/MAAS .

1) Put CD and choose "Multiple server install with MAAS".
2) Install ubuntu and get ip adress 192.168.0.102 .
3) Make MAAS super user.
4) Now I type "sudo maas-import-isos"
5) Time to add some nodes, I decided to make it in two ways.
 a) First: Adding a node through the MAAS dashboard via PXE booting and then when I save node computer starts and it's skipping PXE(but normally when I turn it on it's booting from PXE) and boot hdd. Computer was added in dashboard but it's offline.
 b) Second: Here on another computer I put into ubuntu installation cd and I again use Multiple server install with MAAS but when is asking for MAAS server I select my MAAS server and computer turned off. In dashboard it was appear and i clicked accepted and now it's writing that is offline.
6) I make environment.yaml and want to bootstrap this but i get 409 conflict. I don't get any start buttons only edit button. I cant't press delete button.

I tried 20 times and still it don't work.

In dashboard I have this http://i47.tinypic.com/5obcj6.png

Question information

Language:
English Edit question
Status:
Solved
For:
MAAS Edit question
Assignee:
No assignee Edit question
Solved by:
Julian Edwards
Solved:
Last query:
Last reply:
Revision history for this message
Best Julian Edwards (julian-edwards) said :
#1

You will get a 409 when there are no nodes available to allocate - MAAS can
only allocate nodes that are in the "Ready" state.

So, it sounds like that your nodes are either already allocated, still in the
"Declared" state (enlisted only) or have not successfully finished
commissining when you clicked "accept and commission".

If you are not using any form of power control, you need to start up the nodes
again and let them finish a commissioning cycle, after which they will shut
down again and change to "Ready" in the UI.

Revision history for this message
Dawid Fajkowski (fajkowsky) said :
#2

When I turn on nodes they PXE boot but they don't find aanything. I think I have good DHCP configuration but it seems that for first time node can find server but second time it can't.

Revision history for this message
Julian Edwards (julian-edwards) said :
#3

Can you be more specific than they "don't find anything" - what are the messages on the console?

Revision history for this message
Dawid Fajkowski (fajkowsky) said :
#4

When nodes are added and appear as Declared in dashboard on server then they turn off. When I accept them they turn on but they skip to boot from hard drive instead of PXE boot, they wake on lan. So I turned off nodes and when I turn them on again they PXE boot but they don't find server.

Revision history for this message
Dawid Fajkowski (fajkowsky) said :
#5

Thanks Julian Edwards, that solved my question.