Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I've been playing with MAAS and juju (using 14.04 LTS) for the first time and have a single node in my cluster which PXE boots fine via WOL when I do a juju bootstrap.

I'm having an issue where after destroying the juju environment, bootstrapping it again errors out because the juju-db service is still running on that node.

The node reverts from Allocated to Ready within MAAS once the environment is destroyed, but needs a manual reboot before a subsequent bootstrap can take place. There are no entries in maas.log following the destroy.

It doesn't feel right to have to do this - surely MAAS should power down the node down once juju has finished with it? Or at the very least juju should properly clean up after itself during the destroy? Or am I missing something here?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

As discussed on IRC this is a limitation of using WOL with MAAS, which can only power on nodes and not power them off (Sleep on LAN anyone? ;) ). Juju will ask MAAS to power off the node but MAAS can't.

share|improve this answer
    
Thanks - feels like something the MAAS guys should perhaps look at, as ought to be possible to issue a remote shutdown command. In the meantime, perhaps Juju should try and handle the situation where juju-db is already running more gracefully? –  Luke Bennett Jul 10 at 8:28

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.