Page MenuHomePhabricator

Support console access for nova VMs
Closed, DuplicatePublic

Description

The attached patch sets console-via-Spice for labs VMs, but does not actually enable the service. My concerns:

  1. What good is a console when we don't support password logins?
  1. Consoles are protected via a token, but I'm not sure how long the tokens last. It seems somewhat insecure to open up consoles that the world can see, protected only by a password (?) and the obscurity and short lifespan of the token.

Event Timeline

Update: The default token lifespan is 10 minutes. So, I'm no longer much worried about #2.

This can be set in nova.conf:

  1. console_token_ttl = 600

Change 301294 had a related patch set uploaded (by Andrew Bogott):
Set up spice-based remote consoles for Labs instances

https://gerrit.wikimedia.org/r/301294

(Of course if we implement this for real, we should set this up on misc-web so that it doesn't run on http.)

Change 301177 had a related patch set uploaded (by Andrew Bogott):
Add domain labtestspice.wikimedia.org

https://gerrit.wikimedia.org/r/301177

Change 301294 had a related patch set uploaded (by Andrew Bogott):
Set up spice-based remote consoles for Labs instances

https://gerrit.wikimedia.org/r/301294

Change 301294 merged by Andrew Bogott:
Set up spice-based remote consoles for Labs instances

https://gerrit.wikimedia.org/r/301294