Ask Your Question
2

VNC console url ages out

asked 2016-12-12 11:22:52 -0600

antoinetr3 gravatar image

updated 2016-12-12 15:41:33 -0600

rbowen gravatar image

Hello,

I've installed openstack newton on ubuntu16.04 and it works great. However, looks like the VNC console of the VM ages out after awhile. Is there anyway to generate a persistent url or disable the timeout?

user1@controller:~$ openstack console url show corpnet-vm-1
+-------+---------------------------------------------------------------------------------+
| Field | Value                                                                           |
+-------+---------------------------------------------------------------------------------+
| type  | novnc                                                                           |
| url   | http://controller:6080/vnc_auto.html?token=4e9b60e2-b8a1-4f85-aed3-0892af6adfe3 |
+-------+---------------------------------------------------------------------------------+

This url seems to age out after maybe 30 mins. If i run the command again then i'll get a new url which works fine but i just wanted a permanent url.

Thanks, Antoine

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
3

answered 2016-12-12 17:35:47 -0600

updated 2016-12-12 17:38:39 -0600

This is by design to increase security. See parameter console_token_ttl in the config reference. I believe it's measured in seconds; perhaps 0 means indefinite.

It seems the parameter will be renamed in Ocata. See release notes.

edit flag offensive delete link more

Comments

Thanks, Bernd!

Setting console_token_ttl to 0 disables the age out. I figured this is a security thing but for some of my VMs i'm not too concern.

antoinetr3 gravatar imageantoinetr3 ( 2016-12-14 13:32:25 -0600 )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

Stats

Asked: 2016-12-12 11:22:52 -0600

Seen: 514 times

Last updated: Dec 12 '16