Ask Your Question
0

Accessing serial port of running instance

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

Hi,

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
0

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

Comments

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: https://ask.openstack.org/en/question...

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

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-10-02 03:43:39 -0500

Seen: 1,152 times

Last updated: Oct 02 '14