You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/adminguide/extensions.rst
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -64,7 +64,9 @@ An Orchestrator extension enables CloudStack to delegate VM orchestration to an
64
64
65
65
- Hosts: Multiple hosts can be added to such clusters, ideally pointing to different physical or external hosts.
66
66
67
-
- Instance Lifecycle Support: Extensions can handle basic VM actions like prepare, deploy, start, stop, reboot, status and delete.
67
+
- Instance Lifecycle Supported: Orchestrator extensions can handle basic VM actions like prepare, deploy, start, stop, reboot, status and delete.
68
+
69
+
- Console Access: Instances can be accessed either via VNC consoles or through a URL, depending on the capabilities of the orchestrator extension. CloudStack retrieves console details from extensions using the ``getconsole`` action and either forwards them to the Console Proxy VM (CPVM) (for VNC access) or provides the external console URL to the user. Since 4.22.0, out-of-the-box console access support is available for instances deployed using the in-built Proxmox extension. See :ref:`Console Access for Instances with Orchestrator Extensions <console-access-for-instances-with-orchestrator-extensions>`for details on adding console access support in developed extensions.
68
70
69
71
- Configuration Details: Key-value configuration details can be specified at different levels - extension, cluster mapping, host, template, service offering, instance.
Orchestrator extensions can provide console access for instances either through **VNC** or a **URL**.
137
+
To enable this, the extension must implement the ``getconsole`` action and return output in one of the following JSON formats:
138
+
139
+
VNC-based console:
140
+
141
+
.. code-block:: json
142
+
143
+
{
144
+
"status": "success",
145
+
...
146
+
"console": {
147
+
"host": "pve-node1.internal",
148
+
"port": "5901",
149
+
"password": "PVEVNC:6329C6AA::ZPcs5MT....d9",
150
+
"passwordonetimeuseonly": true
151
+
"protocol": "vnc"
152
+
}
153
+
}
154
+
155
+
``passwordonetimeuseonly`` is optional. It can be set to ``true`` if the system returns a one-time-use VNC ticket.
156
+
157
+
For VNC-based access, the returned details are forwarded to the Console Proxy VM (CPVM) in the same zone as the instance. The specified **host** and **port** must be reachable from the CPVM.
158
+
159
+
Direct URL-based console:
160
+
161
+
.. code-block:: json
162
+
163
+
{
164
+
"status": "success",
165
+
...
166
+
"console": {
167
+
"url": "CONSOLE_URL",
168
+
"protocol": "direct"
169
+
}
170
+
}
171
+
172
+
173
+
.. note::
174
+
For URL–based console access, CloudStack does not report the acquired or client IP address.
175
+
In this mode, security and access control must be handled by the server providing the console.
176
+
177
+
Protocol value of ``direct`` can be used for URL–based console access.
124
178
125
179
Custom Actions
126
180
^^^^^^^^^^^^^^
@@ -183,4 +237,4 @@ For a clearer understanding of how to implement an extension, developers can ref
183
237
184
238
It serves as a template with minimal required action handlers, making it a useful starting point for building new extensions.
185
239
186
-
Additionally, CloudStack includes built-in extensions for Proxmox and Hyper-V that demonstrate how to implement extensions in different languages - Bash and Python.
240
+
Additionally, CloudStack includes in-built extensions for Proxmox and Hyper-V that demonstrate how to implement extensions in different languages - Bash and Python.
Copy file name to clipboardExpand all lines: source/adminguide/extensions/inbuilt_extensions.rst
+11Lines changed: 11 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,6 +33,15 @@ The Proxmox CloudStack Extension is written in shell script and communicates wit
33
33
34
34
Before using the Proxmox Extension, ensure that the Proxmox Datacenter is configured correctly and accessible to CloudStack.
35
35
36
+
Since 4.22.0, console access support is available for instances deployed using the in-built Proxmox extension via VNC and console proxy VM.
37
+
38
+
.. note::
39
+
Proxmox VNC connections have a short initial connection timeout (about 10 seconds),
40
+
even when accessing the console from the CloudStack UI. If the noVNC interface takes
41
+
longer to load, or if there is a delay between creating the console endpoint and
42
+
opening it, the connection may fail on the first attempt. In such cases, users can
43
+
simply retry to establish the console session.
44
+
36
45
Get the API Token-Secret from Proxmox
37
46
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
38
47
@@ -161,6 +170,8 @@ using NTLM authentication for secure remote execution of PowerShell commands tha
161
170
162
171
Each Hyper-V host maps to a CloudStack Host. Before using the Hyper-V Extension, ensure that the Hyper-V host is accessible to the CloudStack Management Server via WinRM over HTTPS.
163
172
173
+
Console access for instances deployed using the Hyper-V extension is not available out of the box.
0 commit comments