cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From SudharmaJain <...@git.apache.org>
Subject [GitHub] cloudstack pull request #876: CLOUDSTACK-8865: Adding SR doesn't create Stor...
Date Wed, 05 Apr 2017 08:42:42 GMT
Github user SudharmaJain commented on a diff in the pull request:

    https://github.com/apache/cloudstack/pull/876#discussion_r109859606
  
    --- Diff: plugins/storage/volume/cloudbyte/src/org/apache/cloudstack/storage/datastore/lifecycle/ElastistorPrimaryDataStoreLifeCycle.java
---
    @@ -359,7 +359,7 @@ public boolean attachCluster(DataStore store, ClusterScope scope)
{
     
             PrimaryDataStoreInfo primarystore = (PrimaryDataStoreInfo) store;
             // Check if there is host up in this cluster
    -        List<HostVO> allHosts = _resourceMgr.listAllUpAndEnabledHosts(Host.Type.Routing,
primarystore.getClusterId(), primarystore.getPodId(), primarystore.getDataCenterId());
    +        List<HostVO> allHosts = _resourceMgr.listAllUpHosts(Host.Type.Routing,
primarystore.getClusterId(), primarystore.getPodId(), primarystore.getDataCenterId());
    --- End diff --
    
    @syed We cannot send commands to the host in maintenance mode. So it is not possible to
add an SR to those host. 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message