Ask Your Question

Accessing serial port of running instance

asked 2014-10-02 03:43:39 -0500


Is it possible to remotely access a serial port of an instance (eg /dev/ttyS1), just like you can access the console through Horizon?

This is possible under Virtualbox by creating a 'host pipe' so that the hypervisor creates a file for the serial port of your VM which you can read from and write to.

Are there options like this to configure this in Nova? Or should I look in the direction of the hypervisor that we are using? (KVM)

If anyone has experience in this, I would help a lot.

Thanks in advance.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-10-02 08:32:09 -0500

larsks gravatar image

There is no mechanism for getting read/write access to the serial console of a Nova instance. You can use the nova console-log command to access the same console log that you see in Horizon, but that is a read-only view.

The serial-ports blueprint aims to add this capability to Nova. The feature has not landed yet but it looks like it has been under active development.

edit flag offensive delete link more


Thanks for your feedback, I will keep an eye out, and for now try to do it using KVM.

ph0tek gravatar imageph0tek ( 2014-10-02 15:00:51 -0500 )edit

I'd like to add that the mentioned blueprint is already merged. I struggle to access the serial console via websocket. If you have some help, please leave a comment at:

Markus Zoeller gravatar imageMarkus Zoeller ( 2014-10-28 05:01:03 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-10-02 03:43:39 -0500

Seen: 1,370 times

Last updated: Oct 02 '14