Saturday, 6 September 2014

OpenStack Guest Console Access with Juju



Console access to guests has now arrived in the /next versions of the OpenStack charms. The charms support novnc, xvpvnc and spice. To get started simply set the console-access-protocol setting, in the nova-cloud-controller charm, to the desired protocol

juju set nova-cloud-controller console-access-protocol=novnc

This will setup the nova console proxy and nova consoleauth services as well as configuring the compute nodes for console access. The console access protocol is baked into a guest when it is created, if you enable it for the first time it will only be available on new guests. Similarly, if you change the protocol then console access for existing guests will stop working. xvpvnc and novnc can be enabled simultaneously by setting console-access-protocol to vnc however spice and the vnc protocols are mutually exclusive. To get console access to the guest a url with an access token is needed, this can be retrieved from nova:

nova get-vnc-console 6dbaaa57-beb4-48f7-9eef-b88258fd8edc novnc
+-------+------------------------------------------------------------------------------------+
| Type  | Url                                                                                |
+-------+------------------------------------------------------------------------------------+
| novnc | http://10.0.0.10:6080/vnc_auto.html?token=afffffe7-f777-4412-8745-f4be45621111     |
+-------+------------------------------------------------------------------------------------+


Client Access via a public IP


The client may not have access to the private network that the nova-cloud-controller is listening on. If a separate public IP is used to access the console then console-proxy-ip should be set to that public IP. This will update the url that nova and horizon pass back to the client.

HA Mode


Currently, there will only ever be one console proxy running even if there are multiple nova-cloud-controllers. The console proxy service follows the vip, so if the vip moves the proxy and console auth services will be shutdown on the old host and brought up on the new.


1 comment:

  1. Any participant could "go bank", the primary claim to 1xbet do so belonging to the punter immediately on the right of the banker; the following to the participant on his left, and so on alternatively in common order. If two gamers on opposite sides desire to "go bank", they go half shares. The bank is at the outset put a lot as} public sale, i.e. is given to the participant who will undertake to risk the most important quantity. In some circles, individual who|the one that|the one who} has first set down their name on the listing of gamers has the right to hold the primary bank, risking such quantity as they might suppose proper. Was within the mid-19th century and is a popular game of casinos with roulette. The present total value of the hand determines if one other card shall be dealt.

    ReplyDelete