Error in juju status

Asked by Syed Ahsan Shamim Zaidi

I have my nodes in ready and one node in allocated to root stage , now when i bootstrap it gives success but when i do juju status it gives an error as below :

cloudc@cloud:~$ juju bootstrap 2012-08-15 21:32:34,449 INFO Bootstrapping environment 'maas' (origin: distro type: maas)... 2012-08-15 21:32:34,636 INFO juju environment previously bootstrapped. 2012-08-15 21:32:34,637 INFO 'bootstrap' command finished successfully cloudc@cloud:~$ juju status 2012-08-15 21:33:17,833 INFO Connecting to environment... 2012-08-15 21:33:23,013 ERROR Invalid host for SSH forwarding: ssh: Could not resolve hostname node-000c29d63ebb.local: Name or service not known

2012-08-15 21:33:53,166 ERROR Invalid host for SSH forwarding: ssh: Could not resolve hostname node-000c29d63ebb.local: Name or service not known

Kindly help me out here asap .....

Question information

Language:
English Edit question
Status:
Answered
For:
MAAS Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Julian Edwards (julian-edwards) said :
#1

There's a couple of things wrong here:

1. You have no DNS entry for hostname node-000c29d63ebb.local, which is what
the default node name is when using the enlistment process. You can cheat by
putting it in /etc/hosts

2. You only left a minute between starting the bootstrap and doing the status.
This step can take 30-60 minutes depending on the hardware of the node which
is being bootstrapped (it installs a new OS on it).

So, make that hostname resolvable and then wait for the bootstrap to finish.

Revision history for this message
Syed Ahsan Shamim Zaidi (ahsanmohsin04) said :
#2

Can you please Elaborate i can not understand ...

Revision history for this message
Syed Ahsan Shamim Zaidi (ahsanmohsin04) said :
#3

Hello. I have some issues regarding SSH and i am unable to solve . I have completed bootstrap and node status is 1 node allocated to maas, Now when i do juju status, it says invalid ssh key , hostname cannot be found error. .. I then went to /etc/hosts file and i changed
127.0.0.1 localhost
to my
127.0.01 Node1
Now it gives me , Error SSH forwading error: @@@@@@@@@@@@@@@@@@@@@@@@@@
I also have run the node after bootstrap and it gives ssh key as it should .. I didnt added any ssh key in my Dashboard of MAAS.
Secondly i want to ask how can i make more nodes allocated to root?
Do i have to rewrite the maas-oauth portion in environment with another API key . Kindly Reply ASAP ....

Revision history for this message
Syed Ahsan Shamim Zaidi (ahsanmohsin04) said :
#4

Kindly Do tellme , Do i have to setup DNS and DHCP Server also ? And OpenSSH too ? .. I am working on Vmware..

At the initial steps when we do

sudo apt-get install maas-dhcp

after ranges i give default gateway:192.168.222.2 which is as it was there in vmware NAT . Instead of my server ip, 192.68.222.129 !!

Am i doing it right ?

________________________________
 From: ahsan mohsin <email address hidden>
To: Julian Edwards <email address hidden>
Sent: Wednesday, September 12, 2012 1:16 AM
Subject: imp

Hello. I have some issues regarding SSH and i am unable to solve . I have completed bootstrap and node status is 1 node allocated to maas, Now when i do juju status, it says invalid ssh key , hostname cannot be found error. .. I then went to /etc/hosts file and i changed
127.0.0.1 localhost
to my
127.0.01 Node1
Now it gives me , Error SSH forwading error: @@@@@@@ @@@@@@@ @@@@@@@ @@@@@
I also have run the node after bootstrap and it gives ssh key as it should .. I didnt added any ssh key in my Dashboard of MAAS.
Secondly i want to ask how can i make more nodes allocated to root?
Do i have to rewrite the maas-oauth portion in environment with another API key . Kindly Reply ASAP ....

Revision history for this message
Launchpad Janitor (janitor) said :
#5

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Laura Czajkowski (czajkowski) said :
#7

linkedin spam re opened the question

Can you help with this problem?

Provide an answer of your own, or ask Syed Ahsan Shamim Zaidi for more information if necessary.

To post a message you must log in.