You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2019/07/23 06:41:58 UTC

[GitHub] [cloudstack] digitalgust opened a new issue #3509: 4.12 add host fail , using tls connection

digitalgust opened a new issue #3509: 4.12 add host fail ,using tls connection
URL: https://github.com/apache/cloudstack/issues/3509
 
 
   <!--
   Verify first that your issue/request is not already reported on GitHub.
   Also test if the latest release and master branch are affected too.
   Always add information AFTER of these HTML comments, but no need to delete the comments.
   -->
    Bug Report
   
   ##### ISSUE TYPE
   <!-- Pick one below and delete the rest -->
    * Bug Report
    * Improvement Request
    * Enhancement Request
    * Feature Idea
    * Documentation Report
    * Other
   
   ##### COMPONENT NAME
   INSTALL
   
   <!--
   Categorize the issue, e.g. API, VR, VPN, UI, etc.
   -->
   ~~~
   
   ~~~
   
   ##### CLOUDSTACK VERSION
   4.12
   <!--
   New line separated list of affected versions, commit ID for issues on master branch.
   -->
   
   ~~~
   
   ~~~
   
   ##### CONFIGURATION
   advanced networking
   <!--
   Information about the configuration if relevant, e.g. basic network, advanced networking, etc.  N/A otherwise
   -->
   
   
   ##### OS / ENVIRONMENT
   CentOS7.6
   <!--
   Information about the environment if relevant, N/A otherwise
   -->
   
   
   ##### SUMMARY
   <!-- Explain the problem/feature briefly -->
   
    I am an experience user of cloudstack ,  we built enterprise private cloud in cloudstack two years .
   now we test the new 4.12 version  for update .
   we install management ok.
   install agent in hypervisor ok.
   but we encounter an issue when add first zone.  one of step is add host,  4.12 using tls  comucation     with agent and manager, but  libvirtd connect error , tls can't work ,the host note as alert .
   
   add host log like:
   
   
   
   ##### 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? -->
   
   ~~~
   
   ~~~
   
   ##### ACTUAL RESULTS
   <!-- What actually happened? -->
   2019-07-23 01:07:30,306 INFO  [utils.nio.NioClient] (main:null) (logid:) Connecting to localhost:8250
   2019-07-23 01:07:30,306 WARN  [utils.nio.NioConnection] (main:null) (logid:) Unable to connect to remote: is there a server running on port 8250
   2019-07-23 01:07:35,307 INFO  [cloud.agent.Agent] (main:null) (logid:) Connecting to host:localhost
   2019-07-23 01:07:35,308 INFO  [utils.nio.NioClient] (main:null) (logid:) Connecting to localhost:8250
   2019-07-23 01:07:35,313 WARN  [utils.nio.NioConnection] (main:null) (logid:) Unable to connect to remote: is there a server running on port 8250
   2019-07-23 01:07:38,229 INFO  [cloud.agent.Agent] (AgentShutdownThread:null) (logid:) Stopping the agent: Reason = sig.kill
   2019-07-23 01:08:50,219 INFO  [cloud.agent.AgentShell] (main:null) (logid:) Agent started
   2019-07-23 01:08:50,221 INFO  [cloud.agent.AgentShell] (main:null) (logid:) Implementation Version is 4.12.0.0
   2019-07-23 01:08:50,222 INFO  [cloud.agent.AgentShell] (main:null) (logid:) agent.properties found at /etc/cloudstack/agent/agent.properties
   2019-07-23 01:08:50,235 INFO  [cloud.agent.AgentShell] (main:null) (logid:) Defaulting to using properties file for storage
   2019-07-23 01:08:50,236 INFO  [cloud.agent.AgentShell] (main:null) (logid:) Defaulting to the constant time backoff algorithm
   2019-07-23 01:08:50,246 INFO  [cloud.utils.LogUtils] (main:null) (logid:) log4j configuration found at /etc/cloudstack/agent/log4j-cloud.xml
   2019-07-23 01:08:50,254 INFO  [cloud.agent.AgentShell] (main:null) (logid:) Using default Java settings for IPv6 preference for agent connection
   2019-07-23 01:08:50,355 INFO  [cloud.agent.Agent] (main:null) (logid:) id is 
   2019-07-23 01:08:50,357 WARN  [cloud.resource.ServerResourceBase] (main:null) (logid:) Nics are not specified in properties file/db, will try to autodiscover
   2019-07-23 01:08:50,361 INFO  [cloud.resource.ServerResourceBase] (main:null) (logid:) Designating private to be nic cloudbr0
   2019-07-23 01:08:50,374 INFO  [kvm.resource.LibvirtConnection] (main:null) (logid:) No existing libvirtd connection found. Opening a new one
   2019-07-23 01:08:50,529 INFO  [org.reflections.Reflections] (main:null) (logid:) Reflections took 26 ms to scan 1 urls, producing 7 keys and 10 values 
   2019-07-23 01:08:50,541 INFO  [kvm.resource.LibvirtComputingResource] (main:null) (logid:) No libvirt.vif.driver specified. Defaults to BridgeVifDriver.
   2019-07-23 01:08:50,646 INFO  [cloud.agent.Agent] (main:null) (logid:) Agent [id = new : type = LibvirtComputingResource : zone = default : pod = default : workers = 5 : host = localhost : port = 8250
   2019-07-23 01:08:50,650 INFO  [utils.nio.NioClient] (main:null) (logid:) Connecting to localhost:8250
   2019-07-23 01:08:50,651 WARN  [utils.nio.NioConnection] (main:null) (logid:) Unable to connect to remote: is there a server running on port 8250
   2019-07-23 01:08:55,652 INFO  [cloud.agent.Agent] (main:null) (logid:) Connecting to host:localhost
   2019-07-23 01:08:55,655 INFO  [utils.nio.NioClient] (main:null) (logid:) Connecting to localhost:8250
   2019-07-23 01:08:55,656 WARN  [utils.nio.NioConnection] (main:null) (logid:) Unable to connect to remote: is there a server running on port 8250
   2019-07-23 01:09:00,539 INFO  [cloud.agent.Agent] (AgentShutdownThread:null) (logid:) Stopping the agent: Reason = sig.kill
   2019-07-23 01:09:00,657 INFO  [cloud.agent.Agent] (main:null) (logid:) Connecting to host:localhost
   2019-07-23 01:09:00,659 INFO  [utils.nio.NioClient] (main:null) (logid:) Connecting to localhost:8250
   2019-07-23 01:09:00,660 WARN  [utils.nio.NioConnection] (main:null) (logid:) Unable to connect to remote: is there a server running on port 8250
   2019-07-23 01:09:07,634 INFO  [cloud.agent.AgentShell] (main:null) (logid:) Agent started
   2019-07-23 01:09:07,637 INFO  [cloud.agent.AgentShell] (main:null) (logid:) Implementation Version is 4.12.0.0
   2019-07-23 01:09:07,638 INFO  [cloud.agent.AgentShell] (main:null) (logid:) agent.properties found at /etc/cloudstack/agent/agent.properties
   2019-07-23 01:09:07,649 INFO  [cloud.agent.AgentShell] (main:null) (logid:) Defaulting to using properties file for storage
   2019-07-23 01:09:07,651 INFO  [cloud.agent.AgentShell] (main:null) (logid:) Defaulting to the constant time backoff algorithm
   2019-07-23 01:09:07,661 INFO  [cloud.utils.LogUtils] (main:null) (logid:) log4j configuration found at /etc/cloudstack/agent/log4j-cloud.xml
   2019-07-23 01:09:07,672 INFO  [cloud.agent.AgentShell] (main:null) (logid:) Using default Java settings for IPv6 preference for agent connection
   2019-07-23 01:09:07,773 INFO  [cloud.agent.Agent] (main:null) (logid:) id is 
   2019-07-23 01:09:07,774 WARN  [cloud.resource.ServerResourceBase] (main:null) (logid:) Nics are not specified in properties file/db, will try to autodiscover
   2019-07-23 01:09:07,778 INFO  [cloud.resource.ServerResourceBase] (main:null) (logid:) Designating private to be nic cloudbr0
   2019-07-23 01:09:07,795 INFO  [kvm.resource.LibvirtConnection] (main:null) (logid:) No existing libvirtd connection found. Opening a new one
   2019-07-23 01:11:23,438 INFO  [cloud.agent.AgentShell] (main:null) (logid:) Agent started
   2019-07-23 01:11:23,440 INFO  [cloud.agent.AgentShell] (main:null) (logid:) Implementation Version is 4.12.0.0
   2019-07-23 01:11:23,440 INFO  [cloud.agent.AgentShell] (main:null) (logid:) agent.properties found at /etc/cloudstack/agent/agent.properties
   2019-07-23 01:11:23,450 INFO  [cloud.agent.AgentShell] (main:null) (logid:) Defaulting to using properties file for storage
   2019-07-23 01:11:23,451 INFO  [cloud.agent.AgentShell] (main:null) (logid:) Defaulting to the constant time backoff algorithm
   2019-07-23 01:11:23,460 INFO  [cloud.utils.LogUtils] (main:null) (logid:) log4j configuration found at /etc/cloudstack/agent/log4j-cloud.xml
   2019-07-23 01:11:23,470 INFO  [cloud.agent.AgentShell] (main:null) (logid:) Using default Java settings for IPv6 preference for agent connection
   2019-07-23 01:11:23,562 INFO  [cloud.agent.Agent] (main:null) (logid:) id is 
   2019-07-23 01:11:23,579 INFO  [kvm.resource.LibvirtConnection] (main:null) (logid:) No existing libvirtd connection found. Opening a new one
   2019-07-23 01:11:23,721 INFO  [org.reflections.Reflections] (main:null) (logid:) Reflections took 26 ms to scan 1 urls, producing 7 keys and 10 values 
   2019-07-23 01:11:23,732 INFO  [kvm.resource.LibvirtComputingResource] (main:null) (logid:) No libvirt.vif.driver specified. Defaults to BridgeVifDriver.
   2019-07-23 01:11:23,833 INFO  [cloud.agent.Agent] (main:null) (logid:) Agent [id = new : type = LibvirtComputingResource : zone = 1 : pod = 1 : workers = 5 : host = 192.168.100.1 : port = 8250
   2019-07-23 01:11:23,836 INFO  [utils.nio.NioClient] (main:null) (logid:) Connecting to 192.168.100.1:8250
   2019-07-23 01:11:23,840 INFO  [utils.nio.Link] (main:null) (logid:) Conf file found: /etc/cloudstack/agent/agent.properties
   2019-07-23 01:11:24,242 INFO  [utils.nio.NioClient] (main:null) (logid:) SSL: Handshake done
   2019-07-23 01:11:24,242 INFO  [utils.nio.NioClient] (main:null) (logid:) Connected to 192.168.100.1:8250
   2019-07-23 01:11:24,305 INFO  [kvm.storage.LibvirtStorageAdaptor] (Agent-Handler-1:null) (logid:) Attempting to create storage pool 36380b99-39b5-48e3-9202-6d69a3efabe1 (Filesystem) in libvirt
   2019-07-23 01:11:24,309 ERROR [kvm.resource.LibvirtConnection] (Agent-Handler-1:null) (logid:) Connection with libvirtd is broken: invalid connection pointer in virConnectGetVersion
   2019-07-23 01:11:24,310 WARN  [kvm.storage.LibvirtStorageAdaptor] (Agent-Handler-1:null) (logid:) Storage pool 36380b99-39b5-48e3-9202-6d69a3efabe1 was not found running in libvirt. Need to create it.
   2019-07-23 01:11:24,311 INFO  [kvm.storage.LibvirtStorageAdaptor] (Agent-Handler-1:null) (logid:) Didn't find an existing storage pool 36380b99-39b5-48e3-9202-6d69a3efabe1 by UUID, checking for pools with duplicate paths
   2019-07-23 01:11:24,314 INFO  [kvm.storage.LibvirtStorageAdaptor] (Agent-Handler-1:null) (logid:) Trying to fetch storage pool 36380b99-39b5-48e3-9202-6d69a3efabe1 from libvirt
   2019-07-23 01:11:35,629 INFO  [cloud.serializer.GsonHelper] (Agent-Handler-1:null) (logid:) Default Builder inited.
   
   <!-- Paste verbatim command output between quotes below -->
   ~~~
   
   ~~~

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services