Ask Your Question
2

Access VM console from compute node

asked 2014-11-21 00:31:25 -0500

Harsh Jain gravatar image

updated 2014-11-21 00:34:55 -0500

Can we access the console of launched vm in compute node or Horizon GUI to access the ARM64 VM.I suppose VNC option is not available in ARM64.As per my research the launched VM can have 1 console per device(serial) https://www.kernel.org/doc/Documentation/kernel-parameters.txt (https://www.kernel.org/doc/Documentat...) and Openstack uses this console to redirect logs in "console.log" file and same logs we can see in Horizon GUI tab(Instance console tab). 1) How to change this redirect behavior so that instead of console.log file we can access terminal in same tab? 2) If option 1 is not possible then at least can we access the launched openstack VM console from compute/controller ? 3) On internet i got some blog to redirect the VM console to serial port on host machine and its working in my case if i launch the VM from virsh.can we customise the Openstack like this so that I can do the minicom to VM. http://rwmj.wordpress.com/2011/07/08/setting-up-a-serial-console-in-qemu-and-libvirt/ (http://rwmj.wordpress.com/2011/07/08/...)

Currently we are accessing the VM via SSH client. But it has dependancy on IP address. We have to test some application which changes the network interface configuration of VM,Consequently the IP's lost and ssh access lost.

It wiill be best if we have solution available for option 1. In that end user can access the VM remotely. Please suggest.We are using ICEHOUSE version.

edit retag flag offensive close merge delete

Comments

hi I have installed openstack with two nodes (controller + compute) on different machines.I have created VM on each node .There are two nova-compute .I have created VMs through controller node.Now my question how do i able to access or view the VMs created on compute node through machine on which compute node is deployed…Could plz help me solve this query.Thanx in advance.

Queen gravatar imageQueen ( 2015-01-31 03:47:20 -0500 )edit

1 answer

Sort by » oldest newest most voted
0

answered 2015-01-11 01:01:04 -0500

Moe gravatar image

it depends on your hypervisor if you are using qemu or KVM I suggest you to follow these instrusctions try netsat -ntlp , there is some VNC ports there which like 9500 or something like that, then try :

ssh  -XC root@<Your compute node IP>
netstat -ntlp
apt-get update
apt-get install xvnc4viewer
xvnc4viewer 127.0.0.1:<THE PORT GIVEN>

it may need password to connect to, you can find it from these instructions:

virsh list
virsh edit <your specified instance name>
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-11-21 00:31:25 -0500

Seen: 3,103 times

Last updated: Jan 11 '15