mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-3977: vm deployement is failing ;: Resource [Host:5] is
unreachable: Host 5: Unable to send class org.apache.cloudstack.storage.command.CopyCommand because agent is in maintenance mode.
This commit is contained in:
parent
2cacbeac2c
commit
ad653bf9f5
|
|
@ -55,7 +55,7 @@ public class DefaultEndPointSelector implements EndPointSelector {
|
|||
private static final Logger s_logger = Logger.getLogger(DefaultEndPointSelector.class);
|
||||
@Inject
|
||||
HostDao hostDao;
|
||||
private String findOneHostOnPrimaryStorage = "select id from host where " + "status = 'Up' and type = 'Routing' ";
|
||||
private String findOneHostOnPrimaryStorage = "select id from host where status = 'Up' and type = 'Routing' and resource_state = 'Enabled'";
|
||||
|
||||
protected boolean moveBetweenPrimaryImage(DataStore srcStore, DataStore destStore) {
|
||||
DataStoreRole srcRole = srcStore.getRole();
|
||||
|
|
|
|||
Loading…
Reference in New Issue