Ubuntu: Unable to access MAAS nodes



Question:

I am trying to access to MAAS nodes. I cannot access them with ubuntu user nor ssh from MAAS server. I've added SSH key in MAAS web interface. I need to install Virsh onto them, but I cannot even access them anyway.

Thanks in advance :)


Solution:1

ssh ubuntu@192.168.0.21  

This will not work with a MAAS node from my experience. You need to use the FQDN hostname you used to name the MAAS node. If you are having DNS issues it will make this difficult.

ping OS-baseVM  

I am assuming OS-baseVM is the name of the MAAS node you are trying to connect to. If you start getting replies great hit ctrl-c. If it errors out you have a DNS issue.

Simple fix to the DNS issue is to add the MAAS node names to your /etc/hosts file.

192.168.0.21  OS-baseVM  

This is how I was able to log onto my first nodes. This allows your MAAS server to see your nodes. You then have to duplicate this on each node to see the MAAS server. It is better to fix bind9, but currently I don't know how to do that.

In short, you are on the right track. Make sure your SSH key is correct. Make sure DNS is working. Then ssh ubuntu@OS-baseVM should work.


Solution:2

Get an look here and here, I hope it helps you.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »