You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by "shwstppr (via GitHub)" <gi...@apache.org> on 2025/09/11 05:25:34 UTC
[PR] extensions: vnc console access [cloudstack-documentation]
shwstppr opened a new pull request, #560:
URL: https://github.com/apache/cloudstack-documentation/pull/560
Related: https://github.com/apache/cloudstack/pull/11601
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] extensions: vnc console access [cloudstack-documentation]
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #560:
URL: https://github.com/apache/cloudstack-documentation/pull/560#issuecomment-3283634306
@shwstppr a Jenkins job has been kicked to build the document. I'll keep you posted as I make progress.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] extensions: vnc console access [cloudstack-documentation]
Posted by "abh1sar (via GitHub)" <gi...@apache.org>.
abh1sar commented on code in PR #560:
URL: https://github.com/apache/cloudstack-documentation/pull/560#discussion_r2343455173
##########
source/adminguide/extensions/inbuilt_extensions.rst:
##########
@@ -161,6 +163,8 @@ using NTLM authentication for secure remote execution of PowerShell commands tha
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.
+Console access for instances using the Hyper-V extension is not available out of the box.
Review Comment:
Console access for instance **deployed** using the Hyper-V extension is not available out of the box.
can you add it after the `#. **Custom Actions**` block
```
#. **Console Access**
Console access for instance deployed using the Hyper-V extension is not available out of the box.
```
this is looking a bit hot of place here.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] extensions: instance console access [cloudstack-documentation]
Posted by "rohityadavcloud (via GitHub)" <gi...@apache.org>.
rohityadavcloud commented on code in PR #560:
URL: https://github.com/apache/cloudstack-documentation/pull/560#discussion_r2377776878
##########
source/adminguide/extensions/developer.rst:
##########
@@ -120,7 +120,53 @@ Action Lifecycle
1. A CloudStack action (e.g., deploy VM) triggers a corresponding extension action.
2. CloudStack invokes the extension’s executable with appropriate parameters.
3. The extension processes the input and responds within the timeout.
-4. CloudStack continues orchestration based on the result.
+4. CloudStack continues action workflow based on the result.
+
+Console Access for Instances with Orchestrator Extensions
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+Orchestrator extensions can provide console access for instances either through **VNC** or a **direct URL**.
+To enable this, the extension must implement the ``getconsole`` action and return output in one of the following JSON formats:
+
+VNC-based console:
+
+.. code-block:: json
+
+ {
+ "status": "success",
+ ...
+ "console": {
+ "host": "pve-node1.internal",
+ "port": "5901",
+ "password": "PVEVNC:6329C6AA::ZPcs5MT....d9",
+ "passwordonetimeuseonly": true
+ "protocol": "vnc"
+ }
+ }
+
+``passwordonetimeuseonly`` is optional. It can be set to ``true`` if the system returns a one-time-use VNC ticket.
+
+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.
+
+Direct URL-based console:
+
+.. code-block:: json
+
+ {
+ "status": "success",
+ ...
+ "console": {
+ "url": "CONSOLE_URL",
+ "protocol": "direct"
+ }
+ }
+
+
+.. note::
+ For direct URL–based console access, CloudStack does not report the acquired or client IP address.
+ In this mode, security and access control must be handled by the server providing the console.
+
+ Protocol value for direct URL–based console access can be any of the following value - link, direct, url.
Review Comment:
What's the difference between the three direct URL based console access? How is link, direct, url different ? This is confusing as in the beginning of the section, it says there are only two types of console access provided.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] extensions: instance console access [cloudstack-documentation]
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #560:
URL: https://github.com/apache/cloudstack-documentation/pull/560#issuecomment-3291554516
@shwstppr a Jenkins job has been kicked to build the document. I'll keep you posted as I make progress.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] extensions: vnc console access [cloudstack-documentation]
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #560:
URL: https://github.com/apache/cloudstack-documentation/pull/560#issuecomment-3283191713
QA-Doc build preview: https://qa.cloudstack.cloud/builds/docs-build/pr/560. (QA-JID 422)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] extensions: instance console access [cloudstack-documentation]
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #560:
URL: https://github.com/apache/cloudstack-documentation/pull/560#issuecomment-3333471624
@shwstppr a Jenkins job has been kicked to build the document. I'll keep you posted as I make progress.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] extensions: instance console access [cloudstack-documentation]
Posted by "rohityadavcloud (via GitHub)" <gi...@apache.org>.
rohityadavcloud commented on code in PR #560:
URL: https://github.com/apache/cloudstack-documentation/pull/560#discussion_r2377776878
##########
source/adminguide/extensions/developer.rst:
##########
@@ -120,7 +120,53 @@ Action Lifecycle
1. A CloudStack action (e.g., deploy VM) triggers a corresponding extension action.
2. CloudStack invokes the extension’s executable with appropriate parameters.
3. The extension processes the input and responds within the timeout.
-4. CloudStack continues orchestration based on the result.
+4. CloudStack continues action workflow based on the result.
+
+Console Access for Instances with Orchestrator Extensions
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+Orchestrator extensions can provide console access for instances either through **VNC** or a **direct URL**.
+To enable this, the extension must implement the ``getconsole`` action and return output in one of the following JSON formats:
+
+VNC-based console:
+
+.. code-block:: json
+
+ {
+ "status": "success",
+ ...
+ "console": {
+ "host": "pve-node1.internal",
+ "port": "5901",
+ "password": "PVEVNC:6329C6AA::ZPcs5MT....d9",
+ "passwordonetimeuseonly": true
+ "protocol": "vnc"
+ }
+ }
+
+``passwordonetimeuseonly`` is optional. It can be set to ``true`` if the system returns a one-time-use VNC ticket.
+
+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.
+
+Direct URL-based console:
+
+.. code-block:: json
+
+ {
+ "status": "success",
+ ...
+ "console": {
+ "url": "CONSOLE_URL",
+ "protocol": "direct"
+ }
+ }
+
+
+.. note::
+ For direct URL–based console access, CloudStack does not report the acquired or client IP address.
+ In this mode, security and access control must be handled by the server providing the console.
+
+ Protocol value for direct URL–based console access can be any of the following value - link, direct, url.
Review Comment:
What's the difference between the three direct URL based console access? How is link, direct, url different ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] extensions: instance console access [cloudstack-documentation]
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #560:
URL: https://github.com/apache/cloudstack-documentation/pull/560#issuecomment-3332474712
@shwstppr a Jenkins job has been kicked to build the document. I'll keep you posted as I make progress.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] extensions: instance console access [cloudstack-documentation]
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #560:
URL: https://github.com/apache/cloudstack-documentation/pull/560#issuecomment-3333475808
QA-Doc build preview: https://qa.cloudstack.cloud/builds/docs-build/pr/560. (QA-JID 441)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] extensions: vnc console access [cloudstack-documentation]
Posted by "nvazquez (via GitHub)" <gi...@apache.org>.
nvazquez commented on code in PR #560:
URL: https://github.com/apache/cloudstack-documentation/pull/560#discussion_r2342710392
##########
source/adminguide/extensions.rst:
##########
@@ -64,7 +64,9 @@ An Orchestrator extension enables CloudStack to delegate VM orchestration to an
- Hosts: Multiple hosts can be added to such clusters, ideally pointing to different physical or external hosts.
- - Instance Lifecycle Support: Extensions can handle basic VM actions like prepare, deploy, start, stop, reboot, status and delete.
+ - Instance Lifecycle Support: Orchestrator extensions can handle basic VM actions like prepare, deploy, start, stop, reboot, status and delete.
+
+ - Console Access: Instances can be accessed either via VNC consoles or through a direct 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 direct console URL to the user. Out of the box, only the built-in Proxmox extension supports console access for instances.
Review Comment:
Can we add a note for the built in console access for Proxmox is added since 4.22?. Also I think it would be useful to refence the section `Console Access for Instances with Orchestrator Extensions` from here.
##########
source/adminguide/extensions.rst:
##########
@@ -64,7 +64,9 @@ An Orchestrator extension enables CloudStack to delegate VM orchestration to an
- Hosts: Multiple hosts can be added to such clusters, ideally pointing to different physical or external hosts.
- - Instance Lifecycle Support: Extensions can handle basic VM actions like prepare, deploy, start, stop, reboot, status and delete.
+ - Instance Lifecycle Support: Orchestrator extensions can handle basic VM actions like prepare, deploy, start, stop, reboot, status and delete.
+
+ - Console Access: Instances can be accessed either via VNC consoles or through a direct 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 direct console URL to the user. Out of the box, only the built-in Proxmox extension supports console access for instances.
Review Comment:
Can we add a note for the built in console access for Proxmox is added since 4.22?. Also I think it would be useful to reference the section `Console Access for Instances with Orchestrator Extensions` from here.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] extensions: vnc console access [cloudstack-documentation]
Posted by "nvazquez (via GitHub)" <gi...@apache.org>.
nvazquez commented on PR #560:
URL: https://github.com/apache/cloudstack-documentation/pull/560#issuecomment-3283176382
@blueorangutan docbuild
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] extensions: instance console access [cloudstack-documentation]
Posted by "rohityadavcloud (via GitHub)" <gi...@apache.org>.
rohityadavcloud commented on code in PR #560:
URL: https://github.com/apache/cloudstack-documentation/pull/560#discussion_r2377783535
##########
source/adminguide/extensions.rst:
##########
@@ -64,7 +64,9 @@ An Orchestrator extension enables CloudStack to delegate VM orchestration to an
- Hosts: Multiple hosts can be added to such clusters, ideally pointing to different physical or external hosts.
- - Instance Lifecycle Support: Extensions can handle basic VM actions like prepare, deploy, start, stop, reboot, status and delete.
+ - Instance Lifecycle Support: Orchestrator extensions can handle basic VM actions like prepare, deploy, start, stop, reboot, status and delete.
Review Comment:
```suggestion
- Instance Lifecycle Supported: Orchestrator extensions can handle basic VM actions like prepare, deploy, start, stop, reboot, status and delete.
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] extensions: vnc console access [cloudstack-documentation]
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #560:
URL: https://github.com/apache/cloudstack-documentation/pull/560#issuecomment-3283183532
@nvazquez a Jenkins job has been kicked to build the document. I'll keep you posted as I make progress.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] extensions: instance console access [cloudstack-documentation]
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #560:
URL: https://github.com/apache/cloudstack-documentation/pull/560#issuecomment-3332478200
QA-Doc build preview: https://qa.cloudstack.cloud/builds/docs-build/pr/560. (QA-JID 439)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] extensions: instance console access [cloudstack-documentation]
Posted by "shwstppr (via GitHub)" <gi...@apache.org>.
shwstppr commented on PR #560:
URL: https://github.com/apache/cloudstack-documentation/pull/560#issuecomment-3291550700
@blueorangutan docbuild
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] extensions: instance console access [cloudstack-documentation]
Posted by "shwstppr (via GitHub)" <gi...@apache.org>.
shwstppr commented on PR #560:
URL: https://github.com/apache/cloudstack-documentation/pull/560#issuecomment-3332471744
@blueorangutan docbuild
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] extensions: instance console access [cloudstack-documentation]
Posted by "shwstppr (via GitHub)" <gi...@apache.org>.
shwstppr commented on PR #560:
URL: https://github.com/apache/cloudstack-documentation/pull/560#issuecomment-3333468595
@blueorangutan docbuild
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] extensions: instance console access [cloudstack-documentation]
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #560:
URL: https://github.com/apache/cloudstack-documentation/pull/560#issuecomment-3291559005
QA-Doc build preview: https://qa.cloudstack.cloud/builds/docs-build/pr/560. (QA-JID 428)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] extensions: instance console access [cloudstack-documentation]
Posted by "shwstppr (via GitHub)" <gi...@apache.org>.
shwstppr merged PR #560:
URL: https://github.com/apache/cloudstack-documentation/pull/560
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] extensions: vnc console access [cloudstack-documentation]
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #560:
URL: https://github.com/apache/cloudstack-documentation/pull/560#issuecomment-3283637470
QA-Doc build preview: https://qa.cloudstack.cloud/builds/docs-build/pr/560. (QA-JID 423)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] extensions: vnc console access [cloudstack-documentation]
Posted by "shwstppr (via GitHub)" <gi...@apache.org>.
shwstppr commented on PR #560:
URL: https://github.com/apache/cloudstack-documentation/pull/560#issuecomment-3283632376
@blueorangutan docbuild
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] extensions: vnc console access [cloudstack-documentation]
Posted by "abh1sar (via GitHub)" <gi...@apache.org>.
abh1sar commented on code in PR #560:
URL: https://github.com/apache/cloudstack-documentation/pull/560#discussion_r2340961194
##########
source/adminguide/extensions/limitations.rst:
##########
@@ -40,6 +38,8 @@ by adding custom actions in the scripts written for the built-in extensions.
- Add Nics to Instance post deployment.
+ - Console access for instances using the built-in Hyper-V orchestrator is not available out of the box.
Review Comment:
This is not really a limitation with the framework. Can we put this as a note in the Hyper-V section?
Also I think it would be good to add a note in the Proxmox section that console access is also possible.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] extensions: vnc console access [cloudstack-documentation]
Posted by "shwstppr (via GitHub)" <gi...@apache.org>.
shwstppr commented on code in PR #560:
URL: https://github.com/apache/cloudstack-documentation/pull/560#discussion_r2347098833
##########
source/adminguide/extensions/inbuilt_extensions.rst:
##########
@@ -161,6 +163,8 @@ using NTLM authentication for secure remote execution of PowerShell commands tha
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.
+Console access for instances using the Hyper-V extension is not available out of the box.
Review Comment:
```suggestion
Console access for instances deployed using the Hyper-V extension is not available out of the box.
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] extensions: instance console access [cloudstack-documentation]
Posted by "rohityadavcloud (via GitHub)" <gi...@apache.org>.
rohityadavcloud commented on code in PR #560:
URL: https://github.com/apache/cloudstack-documentation/pull/560#discussion_r2377781265
##########
source/adminguide/extensions/developer.rst:
##########
@@ -120,7 +120,53 @@ Action Lifecycle
1. A CloudStack action (e.g., deploy VM) triggers a corresponding extension action.
2. CloudStack invokes the extension’s executable with appropriate parameters.
3. The extension processes the input and responds within the timeout.
-4. CloudStack continues orchestration based on the result.
+4. CloudStack continues action workflow based on the result.
+
+Console Access for Instances with Orchestrator Extensions
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+Orchestrator extensions can provide console access for instances either through **VNC** or a **direct URL**.
Review Comment:
Here we state that console access can only be VNC or direct/external URL based?
Also the word direct is confusing, probably you want to say it's an external URL (or just URL) ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org