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

   ##### ISSUE TYPE
   <!-- Pick one below and delete the rest -->
    * Bug Report
   
   ##### COMPONENT NAME
   <!--
   Categorize the issue, e.g. API, VR, VPN, UI, etc.
   -->
   ~~~
   Agent
   ~~~
   
   ##### CLOUDSTACK VERSION
   <!--
   New line separated list of affected versions, commit ID for issues on main 
branch.
   -->
   
   ~~~
   4.18.2.5
   ~~~
   
   ##### CONFIGURATION
   <!--
   Information about the configuration if relevant, e.g. basic network, 
advanced networking, etc.  N/A otherwise
   -->
   Advanced networking
   
   ##### OS / ENVIRONMENT
   <!--
   Information about the environment if relevant, N/A otherwise
   -->
   Ubuntu 22.04
   
   ##### SUMMARY
   <!-- Explain the problem/feature briefly -->
   Cloudstack-agent is not running
   
   ##### 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 -->
   ~~~
   Infrastructure -> Zones
   Add zone
   
   Advanced networking add the host in CloudStack is error
   ~~~
   
   <!-- You can also paste gist.github.com links for larger files -->
   
   ##### EXPECTED RESULTS
   <!-- What did you expect to happen when running the steps above? -->
   
   ~~~
   Cloudstack-agent is running
   ~~~
   
   ##### ACTUAL RESULTS
   <!-- What actually happened? -->
   
   <!-- Paste verbatim command output between quotes below -->
   ~~~
   Cloudstack-agent is not running
   ~~~
   
   My Bridged Network Configuration
   ```
   network:
     version: 2
     ethernets:
       ens33: {}
       ens34: {}
     bridges:
       cloudbr0:
         addresses:
           - 192.168.10.41/23
         dhcp4: false
         routes:
           - to: default
             via: 192.168.11.1
         nameservers:
           addresses:
             - 233.5.5.5
             - 114.114.114.114
         interfaces:
           - ens33
         parameters:
           stp: true
       cloudbr1:
         dhcp4: false
         interfaces:
           - ens34
         parameters:
           stp: true
   ```
   agent.log
   ```
   2024-11-25 13:38:41,945 INFO  [cloud.agent.AgentShell] (main:null) (logid:) 
Agent started
   2024-11-25 13:38:41,949 INFO  [cloud.agent.AgentShell] (main:null) (logid:) 
Implementation Version is 4.18.2.5
   2024-11-25 13:38:41,952 INFO  [cloud.agent.AgentShell] (main:null) (logid:) 
agent.properties found at /etc/cloudstack/agent/agent.properties
   2024-11-25 13:38:42,006 INFO  [cloud.agent.AgentShell] (main:null) (logid:) 
Defaulting to using properties file for storage
   2024-11-25 13:38:42,007 INFO  [cloud.agent.AgentShell] (main:null) (logid:) 
Defaulting to the constant time backoff algorithm
   2024-11-25 13:38:42,043 INFO  [cloud.utils.LogUtils] (main:null) (logid:) 
log4j configuration found at /etc/cloudstack/agent/log4j-cloud.xml
   2024-11-25 13:38:42,044 INFO  [cloud.agent.AgentShell] (main:null) (logid:) 
Using default Java settings for IPv6 preference for agent connection
   2024-11-25 13:38:42,126 INFO  [cloud.agent.Agent] (main:null) (logid:) id is 
   2024-11-25 13:38:42,135 WARN  [cloud.resource.ServerResourceBase] 
(main:null) (logid:) Incorrect details for private Nic during initialization of 
ServerResourceBase
   2024-11-25 13:38:42,136 ERROR [cloud.agent.AgentShell] (main:null) (logid:) 
Unable to start agent: 
   javax.naming.ConfigurationException: Unable to configure 
LibvirtComputingResource
        at com.cloud.agent.Agent.<init>(Agent.java:192)
        at com.cloud.agent.AgentShell.launchNewAgent(AgentShell.java:452)
        at 
com.cloud.agent.AgentShell.launchAgentFromClassInfo(AgentShell.java:431)
        at com.cloud.agent.AgentShell.launchAgent(AgentShell.java:415)
        at com.cloud.agent.AgentShell.start(AgentShell.java:511)
        at com.cloud.agent.AgentShell.main(AgentShell.java:541)
   ```
   Does cloudbr1 also need to be configured for networking?


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to