Interactive console for an Instance

asked 2014-12-15 13:55:31 -0500

stacksam gravatar image

Hello,

I've Havana Openstack implementation and got KVM-Qemu instances running RHEL on Hypervisor running Ubuntu Precise. I'm looking for an option to have an interactive console for an instance. I know a way to get the console using "virsh vncdisplay" but I don't get interactive console ability when an instance need to provide root password to run fsck.

Thanks

edit retag flag offensive close merge delete

Comments

So there is no "pty" serial 0 entry for console in the libvirt.xml. I've tty0 and ttyS0 set up in Grub. I think when the instance boots and reach the "INIT" stage, it use ttyS0 only if you want to get into single user mode and run fsck or other maintenance work.

stacksam gravatar imagestacksam ( 2014-12-20 20:38:01 -0500 )edit

If I do virsh edit, the changes gets reverted back when I start the instance from nova. Is there any way to avoid the revert?

stacksam gravatar imagestacksam ( 2014-12-20 20:39:17 -0500 )edit