You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by "damonb123 (via GitHub)" <gi...@apache.org> on 2023/06/29 20:29:36 UTC

[GitHub] [cloudstack] damonb123 opened a new issue, #7711: CloudStack Agent on host with DHCP

damonb123 opened a new issue, #7711:
URL: https://github.com/apache/cloudstack/issues/7711

   <!--
   Verify first that your issue/request is not already reported on GitHub.
   Also test if the latest release and main branch are affected too.
   Always add information AFTER of these HTML comments, but no need to delete the comments.
   -->
   
   ##### ISSUE TYPE
   
   <!-- Pick one below and delete the rest -->
    * Improvement Request
   
   
   ##### COMPONENT NAME
   
   <!--
   Categorize the issue, e.g. API, VR, VPN, UI, etc.
   -->
   ~~~
   CloudStack Agent
   ~~~
   
   ##### CLOUDSTACK VERSION
   <!--
   New line separated list of affected versions, commit ID for issues on main branch.
   -->
   
   ~~~
   4.17, 4.18
   ~~~
   
   ##### SUMMARY
   <!-- Explain the problem/feature briefly -->
   If physical KVM host IP address changes with DHCP, the agent is unable to reconnect to CloudStack management server.
   
   ##### STEPS TO REPRODUCE
   <!--
   For bugs, show exactly how to reproduce the problem, using a minimal test-case. Use Screenshots if accurate.
   
   For new features, show how the feature would be used.
   -->
   
   <!-- Paste example playbooks or commands between quotes below -->
   ~~~
   Change the IP address of the KVM node the agent is running on and reboot the host.
   The agent will not be able to connect back to the management server and throw errors.
   ~~~
   
   <!-- You can also paste gist.github.com links for larger files -->
   
   ##### EXPECTED RESULTS
   <!-- What did you expect to happen when running the steps above? -->
   
   ~~~
   The agent should connect back to management server, and the host physical IP address should be updated.
   ~~~
   
   ##### ACTUAL RESULTS
   <!-- What actually happened? -->
   
   <!-- Paste verbatim command output between quotes below -->
   ~~~
   2023-06-29 17:40:15,368 INFO  [utils.nio.NioClient] (main:null) (logid:) NioClient connection closed
   2023-06-29 17:40:15,368 INFO  [cloud.agent.Agent] (main:null) (logid:) Attempted to connect to the server, but received an unexpected exception, trying again...
   com.cloud.utils.exception.NioConnectionException: SSL Handshake failed while connecting to host: 10.60.96.48 port: 8250
   ~~~
   


-- 
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.apache.org

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


Re: [I] CloudStack Agent on host with DHCP [cloudstack]

Posted by "rohityadavcloud (via GitHub)" <gi...@apache.org>.
rohityadavcloud closed issue #7711: CloudStack Agent on host with DHCP
URL: https://github.com/apache/cloudstack/issues/7711


-- 
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: [I] CloudStack Agent on host with DHCP [cloudstack]

Posted by "rohityadavcloud (via GitHub)" <gi...@apache.org>.
rohityadavcloud commented on issue #7711:
URL: https://github.com/apache/cloudstack/issues/7711#issuecomment-2085014813

   @damonb123 by design, DHCP enabled KVM hosts aren't support with the CA framework security enabled. You can disable the auth strictness on such hosts to make them work. Though it's not a good idea to have hosts whose rfc1918 IPs can change.


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


[GitHub] [cloudstack] rohityadavcloud commented on issue #7711: CloudStack Agent on host with DHCP

Posted by "rohityadavcloud (via GitHub)" <gi...@apache.org>.
rohityadavcloud commented on issue #7711:
URL: https://github.com/apache/cloudstack/issues/7711#issuecomment-1614272212

   Could you try having static DHCP assignments by your router?


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


[GitHub] [cloudstack] zap51 commented on issue #7711: CloudStack Agent on host with DHCP

Posted by "zap51 (via GitHub)" <gi...@apache.org>.
zap51 commented on issue #7711:
URL: https://github.com/apache/cloudstack/issues/7711#issuecomment-1646743308

   @damonb123 Static assignment should always be preferred for your hypervisors for various reasons. Try setting static DHCP assignment on your DHCP server of the host's management MAC address to always lease a static IP.


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


[GitHub] [cloudstack] weizhouapache commented on issue #7711: CloudStack Agent on host with DHCP

Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
weizhouapache commented on issue #7711:
URL: https://github.com/apache/cloudstack/issues/7711#issuecomment-1614211104

   @damonb123 
   is the IP changed ?


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


[GitHub] [cloudstack] DaanHoogland commented on issue #7711: CloudStack Agent on host with DHCP

Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on issue #7711:
URL: https://github.com/apache/cloudstack/issues/7711#issuecomment-1617987118

   @damonb123 It sounds to me your scenario would have to be;
   - remove the host from cloudstack
   - change the ip
   - reboot
   - re-add
   I donĀ“t think we support this out-of-bounds changing of the IP of an host.


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