Alena Prokharchyk created CLOUDSTACK-4769:
---------------------------------------------
Summary: Multi zone setup: fail to add Primary storage with the
same ip/path to 2 different zones
Key: CLOUDSTACK-4769
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4769
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Components: Storage Controller
Affects Versions: 4.2.0
Reporter: Alena Prokharchyk
Assignee: Alena Prokharchyk
Fix For: Future
Steps to reproduce:
======================
1) Configure 2 different zones
2) There are 2 storage hosts having the same ips, one in each zone. But when
you try to add them to the zones on the CS, the error occurs:
2013-09-30 13:00:42,809 DEBUG [c.c.s.StorageManagerImpl]
(680152913@qtp-963806922-13:ctx-ee761ee8) Failed to add data store
com.cloud.utils.exception.CloudRuntimeException: Storage pool
nfs://10.223.110.232/export/home/alena/primary already in use by another pod
(id=1)
at
org.apache.cloudstack.storage.datastore.lifecycle.CloudStackPrimaryDataStoreLifeCycleImpl.initialize(CloudStackPrimaryDataStoreLifeCycleImpl.java:314)
at
com.cloud.storage.StorageManagerImpl.createPool(StorageManagerImpl.java:654)
at
com.cloud.storage.StorageManagerImpl.createPool(StorageManagerImpl.java:171)
We shouldn't make this check across zones; it should be done in the zone where
storage pool is being added to.
--
This message was sent by Atlassian JIRA
(v6.1#6144)