cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-8865) Adding SR doesn't create Storage_pool_host_ref entry for disabled host
Date Sun, 02 Apr 2017 02:58:41 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-8865?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15952499#comment-15952499
] 

ASF GitHub Bot commented on CLOUDSTACK-8865:
--------------------------------------------

Github user syed commented on a diff in the pull request:

    https://github.com/apache/cloudstack/pull/876#discussion_r109299000
  
    --- 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 --
    
    What about hosts which are in maintenance? Do we expect to add an SR to those hosts as
well?


> Adding SR doesn't create Storage_pool_host_ref entry for disabled host
> ----------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-8865
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8865
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>    Affects Versions: 4.5.0
>            Reporter: sudharma jain
>
> When we add Primary Storage into XS cluster which has a host in disabled state the mapping
info about each host and each storage pool on storage_pool_host_ref is not created for the
disabled host. However from XS side SR is added in the pool elvel so SR can be seen from all
hosts. James wants mapping info populated in db.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message