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

   <!--
   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
    * Enhancement Request
    * Other
   
   ##### COMPONENT NAME
   <!--
   Categorize the issue, e.g. API, VR, VPN, UI, etc.
   -->
   ~~~
   Core, Installation
   ~~~
   
   ##### CLOUDSTACK VERSION
   <!--
   New line separated list of affected versions, commit ID for issues on main 
branch.
   -->
   
   ~~~
   4.20.0.0-snapshot.20240928 
   ~~~
   
   ##### CONFIGURATION
   <!--
   Information about the configuration if relevant, e.g. basic network, 
advanced networking, etc.  N/A otherwise
   -->
   Core, Advanced Zone, NFS for Primary and Secondary storage
   
   ##### OS / ENVIRONMENT
   <!--
   Information about the environment if relevant, N/A otherwise
   -->
   Ubuntu 24.04
   
   ##### SUMMARY
   <!-- Explain the problem/feature briefly -->
   SSVM and CPVM fail to connect to the management server :red_circle: .  Looks 
like a routing issue :earth_americas: 
   
   My `mgmt` server sits on `192.168.1.1`, but SSVM tries to connect thru the 
`public IP` on another interface :roll_eyes: 
   
   How do I change this in SSVM ?
   
   ```sh
   > cat /var/log/cloud.log
   
   2024-09-28T21:38:37,023 INFO  [cloud.agent.Agent] (main:[]) Connecting to 
host: 172.16.84.33
   2024-09-28T21:38:37,023 INFO  [utils.nio.NioClient] (main:[]) Connecting to 
172.16.84.33:8250
   2024-09-28T21:38:40,085 ERROR [utils.nio.NioClient] (main:[]) Unable to 
initialize the threads. java.net.NoRouteToHostException: No route to host
   ```
   
   Here's my routing table :eyes: 
   
   ```sh
   > ip route
   
   default via 172.16.84.1 dev eth2 
   10.0.0.0/8 via 192.168.10.1 dev eth1 
   169.254.0.0/16 dev eth0 proto kernel scope link src 169.254.219.213 
   172.16.0.0/12 via 192.168.10.1 dev eth1 
   172.16.84.33/28 dev eth2 proto kernel scope link src 172.16.84.1 
   172.16.84.33 via 192.168.10.1 dev eth1 
   192.168.0.0/16 via 192.168.10.1 dev eth1 
   192.168.10.0/24 dev eth1 proto kernel scope link src 192.168.10.30 
   193.106.92.92 via 192.168.10.1 dev eth1 
   193.106.93.93 via 192.168.10.1 dev eth1 
   ```
   
   ```sh
   > ip a s 
   
   2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP 
group default qlen 1000
       link/ether 0e:00:a9:fe:db:d5 brd ff:ff:ff:ff:ff:ff
       altname enp0s3
       altname ens3
       inet 169.254.219.213/16 brd 169.254.255.255 scope global eth0
          valid_lft forever preferred_lft forever
   
   3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP 
group default qlen 1000
       link/ether 1e:00:fe:00:00:1d brd ff:ff:ff:ff:ff:ff
       altname enp0s4
       altname ens4
       inet 192.168.10.30/24 brd 192.168.10.255 scope global eth1
          valid_lft forever preferred_lft forever
   
   4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP 
group default qlen 1000
       link/ether 1e:00:b1:00:00:32 brd ff:ff:ff:ff:ff:ff
       altname enp0s5
       altname ens5
       inet 172.16.84.33/28 brd 172.16.84.14 scope global eth2
          valid_lft forever preferred_lft forever
   ```
   
   How and where do I update the management server address so that my SSVM can 
connect to the mgmt server :roll_eyes: ?
   
   I need SSVM to connect to my `mgmt`  via `eth1` on `192.168.1.1`.
   
   ##### 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 -->
   ~~~
   
   ~~~
   
   <!-- You can also paste gist.github.com links for larger files -->
   
   ##### EXPECTED RESULTS
   <!-- What did you expect to happen when running the steps above? -->
   
   ~~~
   SSVM and CPVM connects to the mgmt server
   ~~~
   
   ##### ACTUAL RESULTS
   <!-- What actually happened? -->
   
   <!-- Paste verbatim command output between quotes below -->
   ~~~
   SSVM and CPVM can't connect to the mgmt server
   ~~~
   


-- 
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-unsubscr...@cloudstack.apache.org.apache.org

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

Reply via email to