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/10/01 07:20:35 UTC

[PR] note: trim on hostname for autoscale instances [cloudstack-documentation]

shwstppr opened a new pull request, #575:
URL: https://github.com/apache/cloudstack-documentation/pull/575

   Related https://github.com/apache/cloudstack/pull/11327


-- 
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] note: trim on hostname for autoscale instances [cloudstack-documentation]

Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
weizhouapache commented on code in PR #575:
URL: https://github.com/apache/cloudstack-documentation/pull/575#discussion_r2630786575


##########
source/adminguide/autoscale_with_virtual_router.rst:
##########
@@ -176,6 +176,20 @@ Specify the following:
    <virtual_machines.html#user-data-and-metadata>`_.
 
 
+.. 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).

Review Comment:
   ```suggestion
      - **Windows templates:** 15 characters (NetBIOS limit). The hostname follows the format `as-WinVM-<6 random letters>`.
   ```



-- 
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] note: trim on hostname for autoscale instances [cloudstack-documentation]

Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
weizhouapache commented on code in PR #575:
URL: https://github.com/apache/cloudstack-documentation/pull/575#discussion_r2630786953


##########
source/adminguide/autoscale_with_virtual_router.rst:
##########
@@ -176,6 +176,20 @@ Specify the following:
    <virtual_machines.html#user-data-and-metadata>`_.
 
 
+.. 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.

Review Comment:
   ```suggestion
      - **Other OS templates:** 63 characters. Unsupported characters may be normalized
           (for example, lower-cased or replaced) to comply with OS constraints.
   ```



##########
source/adminguide/autoscale_with_virtual_router.rst:
##########
@@ -176,6 +176,20 @@ Specify the following:
    <virtual_machines.html#user-data-and-metadata>`_.
 
 
+.. 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).

Review Comment:
   ```suggestion
      - **Windows templates:** 15 characters (NetBIOS limit). The hostname follows the format
   `as-WinVM-<6 random letters>`.
   ```



-- 
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] note: trim on hostname for autoscale instances [cloudstack-documentation]

Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #575:
URL: https://github.com/apache/cloudstack-documentation/pull/575#issuecomment-3355098528

   QA-Doc build preview: https://qa.cloudstack.cloud/builds/docs-build/pr/575. (QA-JID 445)


-- 
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] note: trim on hostname for autoscale instances [cloudstack-documentation]

Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
weizhouapache merged PR #575:
URL: https://github.com/apache/cloudstack-documentation/pull/575


-- 
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: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] note: trim on hostname for autoscale instances [cloudstack-documentation]

Posted by "shwstppr (via GitHub)" <gi...@apache.org>.
shwstppr commented on PR #575:
URL: https://github.com/apache/cloudstack-documentation/pull/575#issuecomment-3670870138

   @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] note: trim on hostname for autoscale instances [cloudstack-documentation]

Posted by "shwstppr (via GitHub)" <gi...@apache.org>.
shwstppr commented on PR #575:
URL: https://github.com/apache/cloudstack-documentation/pull/575#issuecomment-3355092400

   @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] note: trim on hostname for autoscale instances [cloudstack-documentation]

Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #575:
URL: https://github.com/apache/cloudstack-documentation/pull/575#issuecomment-3355095065

   @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] note: trim on hostname for autoscale instances [cloudstack-documentation]

Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on PR #575:
URL: https://github.com/apache/cloudstack-documentation/pull/575#issuecomment-3665227991

   @shwstppr (cc @RosiKyu ) what is the intention 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] note: trim on hostname for autoscale instances [cloudstack-documentation]

Posted by "shwstppr (via GitHub)" <gi...@apache.org>.
shwstppr commented on PR #575:
URL: https://github.com/apache/cloudstack-documentation/pull/575#issuecomment-3355089313

   @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] note: trim on hostname for autoscale instances [cloudstack-documentation]

Posted by "shwstppr (via GitHub)" <gi...@apache.org>.
shwstppr closed pull request #575: note: trim on hostname for autoscale instances
URL: https://github.com/apache/cloudstack-documentation/pull/575


-- 
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] note: trim on hostname for autoscale instances [cloudstack-documentation]

Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #575:
URL: https://github.com/apache/cloudstack-documentation/pull/575#issuecomment-3670872304

   @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] note: trim on hostname for autoscale instances [cloudstack-documentation]

Posted by "shwstppr (via GitHub)" <gi...@apache.org>.
shwstppr commented on PR #575:
URL: https://github.com/apache/cloudstack-documentation/pull/575#issuecomment-3669930507

   @weizhouapache can you please check if the note is still correct wrt the latest changes added in the code PR?
   
   @DaanHoogland this was closed earlier along with the code PR. But now that code PR was reopened and merged this would be good to have as well once Wei approves


-- 
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] note: trim on hostname for autoscale instances [cloudstack-documentation]

Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #575:
URL: https://github.com/apache/cloudstack-documentation/pull/575#issuecomment-3670877019

   QA-Doc build preview: https://qa.cloudstack.cloud/builds/docs-build/pr/575. (QA-JID 467)


-- 
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