Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a problem, when I want to login in nodes. My nodes are created via MAAS dashboard, where I'm adding nodes. But when installation completes I'm asking to login and password to get into the node. But they wasn't shown or I missing something. I need to login to nodes to check clock and solve other issues.

share|improve this question
up vote 5 down vote accepted

I assume you're trying to log in through SSH. Did you also register your SSH key(s) with MAAS? You need to do that, before you allocate the node to yourself (in the UI that's the Start Node button).

I believe the default username is ubuntu — so if you've gone through these steps, you should be able to ssh into the node with username ubuntu and no password.

share|improve this answer
1  
Yes you are right I understood it before I read your post. But the main problem I had never register ssh keys. I know it's simple task but I'm fresh with Linux. So if you give me more information about how to do that. If I would install nodes manually I think it would be easier to do. – Nerijus Aug 21 '12 at 21:27
    
I'm noting that I had to use the following syntax: "ssh ubuntu@nodename.dnszonename". I then had to enter the passphrase to use my /home/me/.ssh/id_rsa file's private key. (I had earlier added the SSH key in the MAAS console.) – Michael Blankenship Sep 10 '15 at 16:57

OK what I got is that you had successfully installed maas, successfully added the nodes and they are at Ready state.

Hence all you have to do is export your ssh key on maas controller ssh-keygen -t rsa -b 2048, press enter couple of times, open the key vi ~/.ssh/id_rsa.pub and copy the whole thing.

Then log in the maas gui, click on your username on the top right corner => preferences => add ssh key and past it.

Now go to all the nodes, start them, and boot them up if they didn't automatically.

Finally ssh node_IP_address from the maas controller.

share|improve this answer
    
After you install OpenStack on your MAAS setup JuJu will issue a variety of static and dynamic IP addresses. There are times when you think you know what the IP address of a node is and it's something else. So be careful using just the IP address, in other words. You might think that you're testing a "nova-compute" service node and you're accidentally on the one that's running something more critical. – Michael Blankenship Sep 10 '15 at 16:58

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.