[
https://issues.apache.org/jira/browse/CLOUDSTACK-1020?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13558011#comment-13558011
]
Rajesh Battala commented on CLOUDSTACK-1020:
--------------------------------------------
HI Terryye, from the log looks like the storage pool is already existing in the
KVM host, can you clean up the host and try adding the host. it should fix the
issue.
> add host error when i create zone.
> -----------------------------------
>
> Key: CLOUDSTACK-1020
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1020
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Install and Setup, KVM
> Affects Versions: 4.0.1
> Environment: 2013-01-19 19:52:51,234 INFO
> [utils.component.ComponentLocator] (main:null) Unable to find components.xml
> 2013-01-19 19:52:51,246 INFO [utils.component.ComponentLocator] (main:null)
> Skipping configuration using components.xml
> 2013-01-19 19:52:51,246 INFO [cloud.agent.AgentShell] (main:null)
> Implementation Version is 4.0.1-incubating.20130119164743
> 2013-01-19 19:52:51,247 INFO [cloud.agent.AgentShell] (main:null)
> agent.properties found at /etc/cloud/agent/agent.properties
> 2013-01-19 19:52:51,248 INFO [cloud.agent.AgentShell] (main:null) Defaulting
> to using properties file for storage
> 2013-01-19 19:52:51,251 INFO [cloud.agent.AgentShell] (main:null) Defaulting
> to the constant time backoff algorithm
> 2013-01-19 19:52:51,331 INFO [cloud.agent.Agent] (main:null) id is
> 2013-01-19 19:52:51,451 INFO
> [resource.virtualnetwork.VirtualRoutingResource] (main:null)
> VirtualRoutingResource _scriptDir to use: scripts/network/domr/kvm
> 2013-01-19 19:52:53,663 INFO [kvm.resource.LibvirtComputingResource]
> (main:null) No libvirt.vif.driver specififed. Defaults to BridgeVifDriver.
> 2013-01-19 19:52:53,709 INFO [cloud.agent.Agent] (main:null) Agent [id = new
> : type = LibvirtComputingResource : zone = 1 : pod = 1 : workers = 5 : host =
> 192.168.10.10 : port = 8250
> 2013-01-19 19:52:53,719 INFO [utils.nio.NioClient] (Agent-Selector:null)
> Connecting to 192.168.10.10:8250
> 2013-01-19 19:52:53,991 INFO [utils.nio.NioClient] (Agent-Selector:null)
> SSL: Handshake done
> 2013-01-19 19:52:54,855 ERROR [kvm.storage.LibvirtStorageAdaptor]
> (Agent-Handler-1:null) org.libvirt.LibvirtException: operation failed:
> Storage source conflict with pool: '90b39f5e-b1db-4aa7-984b-d3817be1c4d6'
> 2013-01-19 19:52:54,856 WARN [utils.nio.Task] (Agent-Handler-1:null) Caught
> the following exception but pushing on
> java.lang.NullPointerException
> at
> com.cloud.hypervisor.kvm.storage.LibvirtStorageAdaptor.createStoragePool(LibvirtStorageAdaptor.java:462)
> at
> com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.createStoragePool(KVMStoragePoolManager.java:57)
> at
> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.initialize(LibvirtComputingResource.java:3271)
> at com.cloud.agent.Agent.sendStartup(Agent.java:320)
> at com.cloud.agent.Agent$ServerHandler.doTask(Agent.java:850)
> at com.cloud.utils.nio.Task.run(Task.java:83)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
> at java.lang.Thread.run(Thread.java:679)
> Reporter: terryye
> Labels: add, host
> Original Estimate: 0.05h
> Remaining Estimate: 0.05h
>
> ubuntu12.04-server r720
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira