You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by "Yount, William D" <Yo...@menloworldwide.com> on 2012/04/26 06:56:10 UTC

Cannot access SSVM

I setup up a basic network for my zone:
                  
			Gateway 		Subnet 		Start 		Stop
Guest Network: 	10.89.96.1 		255.255.252.0 	10.89.99.40 	10.89.99.254 
Management: 	10.89.96.1 		255.255.252.0 	10.89.98.40 	10.89.98.254
Storage: 		10.89.96.1 		255.255.252.0 	10.89.98.23 	10.89.98.24

				NIC-A			NIC-B
Management Server:      10.89.99.18		10.89.98.21
File Server:		10.89.99.21		10.89.98.23
Node:				10.89.99.24		10.89.98.25

management.network.cidr: 10.89.96.0/22

SSVM is up and running at:
Public IP Address		10.89.99.40
Private IP Address	10.89.98.192
Link Local IP Adddress	169.254.1.17

CPVM is up and running at:
Public IP Address		10.89.99.41
Private IP Address	10.89.98.168
Link Local IP Adddress	169.254.1.63

I cannot use the web console to get into the SSVM instance or the CPVM instance. It just times out. When I go to the node the SSVM is on and try to access it through SSH, I get:

[root@KNTCLCN001 ~]# ssh -i /root/.ssh/id_rsa_cloud -p 3922 root@10.89.99.40
Warning: Identity file /root/.ssh/id_rsa_cloud not accessible: No such file or directory.
ssh: connect to host 10.89.99.40 port 3922: No route to host

[root@KNTCLCN001 ~]# ssh -i /root/.ssh/id_rsa_cloud -p 3922 root@10.89.98.192
Warning: Identity file /root/.ssh/id_rsa_cloud not accessible: No such file or directory.
ssh: connect to host 10.89.98.192 port 3922: No route to host

[root@KNTCLCN001 ~]# ssh -i /root/.ssh/id_rsa_cloud -p 3922 root@169.254.1.17
Warning: Identity file /root/.ssh/id_rsa_cloud not accessible: No such file or directory.
The authenticity of host '169.254.1.17 (169.254.1.17)' can't be established.
RSA key fingerprint is 58:de:8b:d7:2b:8e:01:2e:cd:f4:58:86:27:e4:94:39.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '169.254.1.17' (RSA) to the list of known hosts.
Permission denied (publickey).
[root@KNTCLCN001 ~]#

The contents of /root/.ssh:

[root@KNTCLCN001 ~]# cd /root/.ssh
[root@KNTCLCN001 .ssh]# ls
authorized_keys  id_rsa.cloud  known_hosts

Someone had mentioned that I am missing the file id_rsa.pub.cloud but I don't know how to add it manually.





Thanks,
William


RE: Cannot access SSVM

Posted by Sateesh Chodapuneedi <sa...@citrix.com>.
You might want to try the below,
# ssh -i /root/.ssh/id_rsa.cloud -p 3922 root@169.254.1.17

Regards,
Sateesh

----------------------------------------------------------------------------------------------------------------------------
"This e-mail message is for the sole use of the intended recipient(s) and may contain confidential and/or privileged information. Any unauthorized review, use, disclosure, or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message." 


-----Original Message-----
From: Yount, William D [mailto:Yount.William@menloworldwide.com] 
Sent: Friday, April 27, 2012 6:01 AM
To: cloudstack-users@incubator.apache.org
Subject: RE: Cannot access SSVM

Hypervisor: XenServer 6

I ran:  openssl rsa -in id_rsa_cloud -out id_rsa.pub.cloud

File listing:

[root@KNTCLCN001 .ssh]# ls
authorized_keys  id_rsa.cloud  id_rsa.pub.cloud  known_hosts

Rebooted VM:

[root@KNTCLCN001 .ssh]# ssh -i /root/.ssh/id_rsa_cloud -p 3922 root@169.254.1.17
Warning: Identity file /root/.ssh/id_rsa_cloud not accessible: No such file or directory.
Permission denied (publickey).
[root@KNTCLCN001 .ssh]#



-----Original Message-----
From: Chiradeep Vittal [mailto:Chiradeep.Vittal@citrix.com] 
Sent: Thursday, April 26, 2012 10:53 AM
To: cloudstack-users@incubator.apache.org
Subject: Re: Cannot access SSVM

Shouldn't that be id_rsa.cloud ? You can only get in through the 169.x.y.z address. Also, which hypervisor?

On 4/25/12 9:56 PM, "Yount, William D" <Yo...@menloworldwide.com>
wrote:

>id_rsa_cloud


RE: Cannot access SSVM

Posted by "Yount, William D" <Yo...@menloworldwide.com>.
Hypervisor: XenServer 6

I ran:  openssl rsa -in id_rsa_cloud -out id_rsa.pub.cloud

File listing:

[root@KNTCLCN001 .ssh]# ls
authorized_keys  id_rsa.cloud  id_rsa.pub.cloud  known_hosts

Rebooted VM:

[root@KNTCLCN001 .ssh]# ssh -i /root/.ssh/id_rsa_cloud -p 3922 root@169.254.1.17
Warning: Identity file /root/.ssh/id_rsa_cloud not accessible: No such file or directory.
Permission denied (publickey).
[root@KNTCLCN001 .ssh]#



-----Original Message-----
From: Chiradeep Vittal [mailto:Chiradeep.Vittal@citrix.com] 
Sent: Thursday, April 26, 2012 10:53 AM
To: cloudstack-users@incubator.apache.org
Subject: Re: Cannot access SSVM

Shouldn't that be id_rsa.cloud ? You can only get in through the 169.x.y.z address. Also, which hypervisor?

On 4/25/12 9:56 PM, "Yount, William D" <Yo...@menloworldwide.com>
wrote:

>id_rsa_cloud


RE: Cannot access SSVM

Posted by "Yount, William D" <Yo...@menloworldwide.com>.
[SOLVED]

The issue was that from reading the documentation I believed I could create two physical networks. Each machines had two network cards. One card pointed to 10.89.99.X and the other pointed to 10.89.98.X. The 10.89.99.X cards were plugged up to Switch A. The 10.89.98.X cards were plugged up to Switch B. Switch A had a connection to the LAN and subsequently the gateway so that it could get out on the internet.

Switch B only connected the machines in the cloud with no other LAN/WAN connection. As soon as I moved all cables from Switch B into Switch A, it started working. Guessing I could just go back and do a crossover cable from Switch A to Switch B.

But that opens up some questions on why my private management network would need to be accessible by the WAN in general. Makes me wonder exactly how the management network works.


-----Original Message-----
From: Chiradeep Vittal [mailto:Chiradeep.Vittal@citrix.com] 
Sent: Thursday, April 26, 2012 10:53 AM
To: cloudstack-users@incubator.apache.org
Subject: Re: Cannot access SSVM

Shouldn't that be id_rsa.cloud ? You can only get in through the 169.x.y.z address. Also, which hypervisor?

On 4/25/12 9:56 PM, "Yount, William D" <Yo...@menloworldwide.com>
wrote:

>id_rsa_cloud


Re: Cannot access SSVM

Posted by Chiradeep Vittal <Ch...@citrix.com>.
Shouldn't that be id_rsa.cloud ? You can only get in through the 169.x.y.z
address. Also, which hypervisor?

On 4/25/12 9:56 PM, "Yount, William D" <Yo...@menloworldwide.com>
wrote:

>id_rsa_cloud