Hi all,<br>It had come to the time to re-visit MAAS to see if I could get past my initial problem and given that I'm replying to this email over a month later - I've not managed it.<br><br>I'm following the instructions at <a href="https://help.ubuntu.com/community/UbuntuCloudInfrastructure">https://help.ubuntu.com/community/UbuntuCloudInfrastructure</a><br>
<br>I've got just 2 nodes.  One is running MAAS and I've gone through the process of installing another with Precise installed.  MAAS reports this as Green and ready.<br><br>I then continue the instructions:<br><br>
I log into the MAAS server as a normal user.<br>I create the environments.yaml file with the following contents:<br><br>environments:<br>   maas:<br>       type: maas<br>       maas-server: '<a href="http://172.16.0.250:80/MAAS">http://172.16.0.250:80/MAAS</a>'<br>
       maas-oauth: 'tcWxFpwbWqyeBFDd4P:HTCSqrsw7XQKBcvm8n:bp67u5TkSLu2wf2b7wUS2ckLjwELCZED'<br>       admin-secret: 'nothing'<br>       default-series: precise<br><br>I then create an ssh key<br><br>ssh-keygen<br>
<br>then I do the juju bootstrap<br><br>juju bootstrap<br><br><br>2012-06-06 21:51:06,959 INFO Bootstrapping environment 'maas' (origin: distro type: maas)...<br>2012-06-06 21:51:09,598 INFO 'bootstrap' command finished successfully<br>
<br>When running juju status I still get the error about the keys.<br><br>juju status<br>2012-06-06 21:52:15,600 INFO Connecting to environment...<br>2012-06-06 21:52:16,081 ERROR Invalid SSH key<br><br>Running with verbose<br>
<br>2012-06-06 21:52:24,341 DEBUG Initializing juju status runtime<br>2012-06-06 21:52:24,349 INFO Connecting to environment...<br>2012-06-06 21:52:24,434 DEBUG Connecting to environment using node-080027dd1de4.local...<br>
2012-06-06 21:52:24,435 DEBUG Spawning SSH process with remote_user="ubuntu" remote_host="node-080027dd1de4.local" remote_port="2181" local_port="52568".<br>2012-06-06 21:52:24,543 ERROR Invalid SSH key<br>
2012-06-06 21:52:24,942:4525(0x7fcdd688d700):ZOO_INFO@log_env@658: Client environment:zookeeper.version=zookeeper C client 3.3.5<br>2012-06-06 21:52:24,942:4525(0x7fcdd688d700):ZOO_INFO@log_env@662: Client environment:<a href="http://host.name">host.name</a>=maas<br>
2012-06-06 21:52:24,943:4525(0x7fcdd688d700):ZOO_INFO@log_env@669: Client environment:<a href="http://os.name">os.name</a>=Linux<br>2012-06-06 21:52:24,943:4525(0x7fcdd688d700):ZOO_INFO@log_env@670: Client environment:os.arch=3.2.0-24-generic<br>
2012-06-06 21:52:24,944:4525(0x7fcdd688d700):ZOO_INFO@log_env@671: Client environment:os.version=#39-Ubuntu SMP Mon May 21 16:52:17 UTC 2012<br>2012-06-06 21:52:24,945:4525(0x7fcdd688d700):ZOO_INFO@log_env@679: Client environment:<a href="http://user.name">user.name</a>=openstack<br>
2012-06-06 21:52:24,945:4525(0x7fcdd688d700):ZOO_INFO@log_env@687: Client environment:user.home=/home/openstack<br>2012-06-06 21:52:24,946:4525(0x7fcdd688d700):ZOO_INFO@log_env@699: Client environment:user.dir=/home/openstack<br>
2012-06-06 21:52:24,946:4525(0x7fcdd688d700):ZOO_INFO@zookeeper_init@727: Initiating client connection, host=localhost:52568 sessionTimeout=10000 watcher=0x7fcdd48316b0 sessionId=0 sessionPasswd=<null> context=0x30fdaf0 flags=0<br>
2012-06-06 21:52:24,947:4525(0x7fcdd15cc700):ZOO_ERROR@handle_socket_error_msg@1579: Socket [<a href="http://127.0.0.1:52568">127.0.0.1:52568</a>] zk retcode=-4, errno=111(Connection refused): server refused to accept the client<br>
2012-06-06 21:52:28,284:4525(0x7fcdd15cc700):ZOO_ERROR@handle_socket_error_msg@1579: Socket [<a href="http://127.0.0.1:52568">127.0.0.1:52568</a>] zk retcode=-4, errno=111(Connection refused): server refused to accept the client<br>
2012-06-06 21:52:31,621:4525(0x7fcdd15cc700):ZOO_ERROR@handle_socket_error_msg@1579: Socket [<a href="http://127.0.0.1:52568">127.0.0.1:52568</a>] zk retcode=-4, errno=111(Connection refused): server refused to accept the client<br>
2012-06-06 21:52:34,957:4525(0x7fcdd15cc700):ZOO_ERROR@handle_socket_error_msg@1579: Socket [<a href="http://127.0.0.1:52568">127.0.0.1:52568</a>] zk retcode=-4, errno=111(Connection refused): server refused to accept the client<br>
<br>Any help appreciated!<br><br>Cheers,<br><br>Kev<br> <br><div class="gmail_quote">On 30 April 2012 03:09, Francis J. Lacoste <span dir="ltr"><<a href="mailto:francis.lacoste@canonical.com" target="_blank">francis.lacoste@canonical.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 12-04-28 07:28 AM, Kevin Jackson wrote:<br>
> Hi yes, the reason for this post is that it's not working for me.<br>
> The adding key to MAAS was a last resort. Leading up to this I generated<br>
> my key then juju bootstrap. This succeeds but then issuing juju status<br>
> gives this error.<br>
><br>
> I've seen a few posts on just do this, then that and unfortunately it<br>
> doesn't work for me.<br>
><br>
> I'll create another account and go through the steps again.<br>
><br>
> Else if there are ways to debug its appreciated.<br>
><br>
<br>
</div>I've encountered that error from time to time, but never really got into<br>
the guts of it. It looks like a Juju problem. Every time I've<br>
encountered it, I've done: juju destroy-environment and then the next<br>
bootstrap worked.<br>
<br>
Cheers<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
Francis J. Lacoste<br>
<a href="mailto:francis.lacoste@canonical.com">francis.lacoste@canonical.com</a><br>
<br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br>Kevin Jackson<br>@itarchitectkev<br>