From 5d09b59b17825f8d97edf058e9bb14684d6b6af4 Mon Sep 17 00:00:00 2001 From: Abhishek Kumar Date: Wed, 1 Oct 2025 12:49:08 +0530 Subject: [PATCH 1/3] note: trim on hostname for autoscale instances Related https://github.com/apache/cloudstack/pull/11327 Signed-off-by: Abhishek Kumar --- .../adminguide/autoscale_with_virtual_router.rst | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/source/adminguide/autoscale_with_virtual_router.rst b/source/adminguide/autoscale_with_virtual_router.rst index 4370fec387..a529860cdc 100644 --- a/source/adminguide/autoscale_with_virtual_router.rst +++ b/source/adminguide/autoscale_with_virtual_router.rst @@ -176,6 +176,20 @@ Specify the following: `_. +.. note:: + Hostnames for instances in an AutoScale Instance Group are automatically + generated from the group name and sanitized to meet the OS hostname rules + of the template. If the generated name exceeds the allowed limit, + it will be trimmed to fit within the limit. The limits are: + + - **Windows templates:** 15 characters (NetBIOS limit). + - **Other OS templates:** 63 characters. + + Unsupported characters may be normalized (for example, lower-cased or + replaced) to comply with OS constraints. + + + AutoScale Policies ------------------------------------------------- From ef09e81d399d2a5be8232decd8d5191a5f1c840a Mon Sep 17 00:00:00 2001 From: Abhishek Kumar Date: Thu, 18 Dec 2025 16:32:01 +0100 Subject: [PATCH 2/3] Update source/adminguide/autoscale_with_virtual_router.rst Co-authored-by: Wei Zhou --- source/adminguide/autoscale_with_virtual_router.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/adminguide/autoscale_with_virtual_router.rst b/source/adminguide/autoscale_with_virtual_router.rst index a529860cdc..653fab3a91 100644 --- a/source/adminguide/autoscale_with_virtual_router.rst +++ b/source/adminguide/autoscale_with_virtual_router.rst @@ -182,7 +182,7 @@ Specify the following: of the template. If the generated name exceeds the allowed limit, it will be trimmed to fit within the limit. The limits are: - - **Windows templates:** 15 characters (NetBIOS limit). + - **Windows templates:** 15 characters (NetBIOS limit). The hostname follows the format `as-WinVM-<6 random letters>`. - **Other OS templates:** 63 characters. Unsupported characters may be normalized (for example, lower-cased or From ff53a2ac59323c8f921d83c2ec2ae5e7479327e7 Mon Sep 17 00:00:00 2001 From: Abhishek Kumar Date: Thu, 18 Dec 2025 16:32:13 +0100 Subject: [PATCH 3/3] Update source/adminguide/autoscale_with_virtual_router.rst Co-authored-by: Wei Zhou --- source/adminguide/autoscale_with_virtual_router.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/adminguide/autoscale_with_virtual_router.rst b/source/adminguide/autoscale_with_virtual_router.rst index 653fab3a91..2a2ee42185 100644 --- a/source/adminguide/autoscale_with_virtual_router.rst +++ b/source/adminguide/autoscale_with_virtual_router.rst @@ -183,7 +183,8 @@ Specify the following: it will be trimmed to fit within the limit. The limits are: - **Windows templates:** 15 characters (NetBIOS limit). The hostname follows the format `as-WinVM-<6 random letters>`. - - **Other OS templates:** 63 characters. + - **Other OS templates:** 63 characters. Unsupported characters may be normalized + (for example, lower-cased or replaced) to comply with OS constraints. Unsupported characters may be normalized (for example, lower-cased or replaced) to comply with OS constraints.