Can't SSH into VMs on compute nodes

Asked by Msekni

Hi all,
i have installed OpenStack on 7 nodes :
 1 Controller node : Nova-* / keystone/glance/ horizon
 6 compute nodes : nova-network, nova-volume and nova-compute
Fixed Network : 10.0.0.0/20
Floating Network: 157.159.100.33/20
Evrything seems fine but when i launch a vm on a compute node, i can't SSH into it. Port 22 is already open and working but after i do this : ssh -i priv_key ubuntu@157.159.100.33, it asks me for a password for the ubuntu login !!
i tried a lot of other images ( cirros, tty linux, ..) but still the same result.
Note that injection of key to VM is done flawlessly check : http://pastebin.com/TPxsk8UP
Note also that i can access to my VMs using their Fixed IPs instead of the floating ones !
Note that SNAT / DNAT seems good

I have installed OpenStack on a single Node, used the same images and it worked like a charm, so to narrow this down, is there an extra configuration i should for my compute node ?

PLEASE HELP, I HAVE TO DO A DEMO for my boss very Soon , Thanks

Question information

Language:
English Edit question
Status:
Answered
For:
OpenStack Compute (nova) Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Tomasz Kłosiński (tomasz-michal-klosinski) said :
#1

You have to add a rule to the security group to open port 22.

You may do this in dashboard - in Access and Security -> Secuirty Groups -> Edit rules:

IP Protocol: TCP
From Port: 22
To Port: 22
Secure Group: CIDR
CIDR: 0.0.0.0/0

Revision history for this message
Tomasz Kłosiński (tomasz-michal-klosinski) said :
#2
Revision history for this message
Msekni (msekni) said :
#3

@Tomasz

Thanks for replying but i already said Port 22 is Open and well set in my security rule. It's not a port issue, the VM is not recognizing the private key :(

Revision history for this message
Alexander Gordeev (a-gordeev) said :
#4

you're using cirros images,
and what is the image says is...
>> login as 'cirros' user. default password: 'cubswin:)'. use 'sudo' for root.

does this make sense?

Revision history for this message
wonderzou (wonder-zou) said :
#5

what is the OS ? 64bit or 32 bit, you can not ssh to a 64bit image, in 32bit host.

Can you help with this problem?

Provide an answer of your own, or ask Msekni for more information if necessary.

To post a message you must log in.