tampler edited a comment on issue #5240:
URL: https://github.com/apache/cloudstack/issues/5240#issuecomment-886812102


   @slavkap In this very basic test setup, I use both NFS mount on a local 
drive, so both primary and secondary storages are mounted on `/export/primary` 
and `/export/secondary`.
   
   I have 4 hdds on this server. CloudStack detects one of them 1TB drive as a 
"Local Storage" after I set `system.vm.use.local.storage = true` in Admin GUI.
   
   ![Screenshot from 2021-07-26 
18-32-40](https://user-images.githubusercontent.com/2816743/127017520-d2169217-e5a6-4fb3-a0cb-583f81645082.png)
   
   
   To me, I see the few things
   1. Host is in the `Power State = disabled` and is NOT found during VM 
deployment and instantiation
   2. IP is NOT assigned to the guest VM
   3. As per the log, `hostId = 1`, which may be incorrect, since all ids 
should be a UUID
   
   ```
   2021-07-26 18:12:35,830 DEBUG [c.c.c.CapacityManagerImpl] 
(API-Job-Executor-5:ctx-72064145 job-22 ctx-2b05ab0a) (logid:01c9cbef) VM state 
transitted from :Stopped to Error with event: OperationFailedToErrorvm's 
original host id: null new host id: null host id before state transition: null
   2021-07-26 18:12:36,348 DEBUG [c.c.r.ResourceLimitManagerImpl] 
(API-Job-Executor-5:ctx-72064145 job-22 ctx-2b05ab0a) (logid:01c9cbef) Updating 
resource Type = volume count for Account = 2 Operation = decreasing Amount = 1
   2021-07-26 18:12:36,505 DEBUG [c.c.r.ResourceLimitManagerImpl] 
(API-Job-Executor-5:ctx-72064145 job-22 ctx-2b05ab0a) (logid:01c9cbef) Updating 
resource Type = primary_storage count for Account = 2 Operation = decreasing 
Amount = (20.00 GB) 21474836480
   2021-07-26 18:12:36,729 WARN  [c.c.a.AlertManagerImpl] 
(API-Job-Executor-5:ctx-72064145 job-22 ctx-2b05ab0a) (logid:01c9cbef) 
AlertType:: 8 | dataCenterId:: 1 | podId:: null | clusterId:: null | message:: 
Failed to deploy Vm with Id: 5, on Host with Id: 1
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to