[Maas-devel] ERROR Invalid SSH key
Kevin Jackson
kevin at linuxservices.co.uk
Sat Apr 28 14:28:34 UTC 2012
Hi yes, the reason for this post is that it's not working for me.
The adding key to MAAS was a last resort. Leading up to this I generated my
key then juju bootstrap. This succeeds but then issuing juju status gives
this error.
I've seen a few posts on just do this, then that and unfortunately it
doesn't work for me.
I'll create another account and go through the steps again.
Else if there are ways to debug its appreciated.
Cheers,
Kev
On Apr 28, 2012 3:04 PM, "Michael Hughes" <itismike at gmail.com> wrote:
> Hi Kev. I'm not an expert here but had similar challenges that others on
> this list helped me resolve.
>
> There is no need to copy the ssh keys anywhere. Just run the keygen step
> (leaving it in the default location and leaving the pw empty,) and MAAS
> will handle the rest.
>
> sent from my android phone
> On Apr 27, 2012 6:42 PM, "Kevin Jackson" <kevin at linuxservices.co.uk>
> wrote:
>
>> Hi,
>> I'm having difficulty with juju after installing MAAS (on 12.04) and
>> running up a couple of nodes and hoping you can help (and this is the right
>> ML)
>>
>> As you can see - I'm getting an ERROR Invalid SSH key
>>
>> I've created my ssh keys and copied my public key into MAAS (though this
>> was a last resort, I got errors with or without doing this).
>> I've set up my .juju/environments.yaml as per the instructions @
>> https://wiki.ubuntu.com/ServerTeam/MAAS/Juju
>>
>> openstack at maas:~$ juju -v bootstrap
>> 2012-04-27 23:21:30,124 DEBUG Initializing juju bootstrap runtime
>> 2012-04-27 23:21:30,137 INFO Bootstrapping environment 'maas' (origin:
>> distro type: maas)...
>> 2012-04-27 23:21:30,191 DEBUG Verifying writable storage
>> 2012-04-27 23:21:30,252 DEBUG Launching juju bootstrap instance.
>> 2012-04-27 23:21:33,103 INFO 'bootstrap' command finished successfully
>> openstack at maas:~$ juju -v status
>> 2012-04-27 23:21:56,386 DEBUG Initializing juju status runtime
>> 2012-04-27 23:21:56,402 INFO Connecting to environment...
>> 2012-04-27 23:21:56,592 DEBUG Connecting to environment using
>> node-08002744eb83.local...
>> 2012-04-27 23:21:56,593 DEBUG Spawning SSH process with
>> remote_user="ubuntu" remote_host="node-08002744eb83.local"
>> remote_port="2181" local_port="37131".
>> The authenticity of host 'node-08002744eb83.local (172.14.0.120)' can't
>> be established.
>> ECDSA key fingerprint is 5e:6a:96:20:64:15:d0:c4:dd:58:bd:b8:11:6e:61:68.
>> Are you sure you want to continue connecting (yes/no)? yes
>> 2012-04-27 23:22:00,036 ERROR Invalid SSH key
>> 2012-04-27 23:22:00,115:11814(0x7f5eaf8af700):ZOO_INFO at log_env@658:
>> Client environment:zookeeper.version=zookeeper C client 3.3.5
>> 2012-04-27 23:22:00,117:11814(0x7f5eaf8af700):ZOO_INFO at log_env@662:
>> Client environment:host.name=maas
>> 2012-04-27 23:22:00,117:11814(0x7f5eaf8af700):ZOO_INFO at log_env@669:
>> Client environment:os.name=Linux
>> 2012-04-27 23:22:00,118:11814(0x7f5eaf8af700):ZOO_INFO at log_env@670:
>> Client environment:os.arch=3.2.0-23-generic
>> 2012-04-27 23:22:00,119:11814(0x7f5eaf8af700):ZOO_INFO at log_env@671:
>> Client environment:os.version=#36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012
>> 2012-04-27 23:22:00,137:11814(0x7f5eaf8af700):ZOO_INFO at log_env@679:
>> Client environment:user.name=openstack
>> 2012-04-27 23:22:00,138:11814(0x7f5eaf8af700):ZOO_INFO at log_env@687:
>> Client environment:user.home=/home/openstack
>> 2012-04-27 23:22:00,138:11814(0x7f5eaf8af700):ZOO_INFO at log_env@699:
>> Client environment:user.dir=/home/openstack
>> 2012-04-27 23:22:00,138:11814(0x7f5eaf8af700):ZOO_INFO at zookeeper_init@727:
>> Initiating client connection, host=localhost:37131 sessionTimeout=10000
>> watcher=0x7f5ead8536b0 sessionId=0 sessionPasswd=<null> context=0x3424740
>> flags=0
>> 2012-04-27
>> 23:22:00,138:11814(0x7f5eaa5ad700):ZOO_ERROR at handle_socket_error_msg@1579:
>> Socket [127.0.0.1:37131] zk retcode=-4, errno=111(Connection refused):
>> server refused to accept the client
>> 2012-04-27
>> 23:22:03,475:11814(0x7f5eaa5ad700):ZOO_ERROR at handle_socket_error_msg@1579:
>> Socket [127.0.0.1:37131] zk retcode=-4, errno=111(Connection refused):
>> server refused to accept the client
>>
>> Cheers,
>>
>> Kev
>> --
>> Kevin Jackson
>> @itarchitectkev
>>
>> --
>> Mailing list: https://launchpad.net/~maas-devel
>> Post to : maas-devel at lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~maas-devel
>> More help : https://help.launchpad.net/ListHelp
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/maas-devel/attachments/20120428/b198f296/attachment.html>
More information about the Maas-devel
mailing list