SadiJr commented on PR #7212:
URL: https://github.com/apache/cloudstack/pull/7212#issuecomment-1686702552
> @SadiJr
>
> Could you please provide a sample snippet of the new improved logs so that
i can verify it.
@kiranchavala sorry for the delay to answer you, sure I can provide some
samples:
```log
2023-08-21 11:15:21,778 DEBUG [c.c.d.DeploymentPlanningManagerImpl]
(API-Job-Executor-17:ctx-e7a47918 job-7326 ctx-5edada67) (logid:c4f1b70c)
Trying to find suitable pools to allocate volume
[29013bb4-c675-4e7b-ad2a-c782d0982b20] necessary to deploy VM
[8a6c342c-e34c-4579-b5cb-15c254bddd50], using StoragePoolAllocator:
[LocalStoragePoolAllocator].
2023-08-21 11:15:21,783 DEBUG [o.a.c.s.a.AbstractStoragePoolAllocator]
(API-Job-Executor-17:ctx-e7a47918 job-7326 ctx-5edada67) (logid:c4f1b70c)
Checking if storage pool
[{"name":"datastore.201","uuid":"93dd766c21904b4cb58e8aa958a06bb2"}] is
suitable to disk [DskChr[ROOT|21474836480|]].
2023-08-21 11:15:21,787 DEBUG [c.c.s.StorageManagerImpl]
(API-Job-Executor-17:ctx-e7a47918 job-7326 ctx-5edada67) (logid:c4f1b70c)
Volume [Vol[873|name=ROOT-874|vm=874|ROOT]] is not allocated to any pool.
Cannot check compatibility with pool
[{"name":"datastore.201","uuid":"93dd766c21904b4cb58e8aa958a06bb2"}].
2023-08-21 11:15:21,793 INFO [c.c.s.StorageManagerImpl]
(API-Job-Executor-17:ctx-e7a47918 job-7326 ctx-5edada67) (logid:c4f1b70c)
Storage pool datastore.201 (11) does not supply IOPS capacity, assuming enough
capacity
2023-08-21 11:15:21,796 DEBUG [c.c.s.StorageManagerImpl]
(API-Job-Executor-17:ctx-e7a47918 job-7326 ctx-5edada67) (logid:c4f1b70c)
Checking pool 11 for storage, totalSize: 590021132288, usedBytes: 5811208192,
usedPct: 0.009849152638762512, disable threshold: 0.85
2023-08-21 11:15:21,796 DEBUG [c.c.s.StorageManagerImpl]
(API-Job-Executor-17:ctx-e7a47918 job-7326 ctx-5edada67) (logid:c4f1b70c)
Destination pool id: 11
2023-08-21 11:15:21,818 DEBUG [c.c.s.StorageManagerImpl]
(API-Job-Executor-17:ctx-e7a47918 job-7326 ctx-5edada67) (logid:c4f1b70c) Pool
ID for the volume with ID 873 is null
2023-08-21 11:15:21,824 DEBUG [c.c.s.StorageManagerImpl]
(API-Job-Executor-17:ctx-e7a47918 job-7326 ctx-5edada67) (logid:c4f1b70c) Found
storage pool datastore.201 of type VMFS with overprovisioning factor 2
2023-08-21 11:15:21,824 DEBUG [c.c.s.StorageManagerImpl]
(API-Job-Executor-17:ctx-e7a47918 job-7326 ctx-5edada67) (logid:c4f1b70c) Total
over provisioned capacity calculated is 2 * (549.50 GB) 590021132288
2023-08-21 11:15:21,825 DEBUG [c.c.s.StorageManagerImpl]
(API-Job-Executor-17:ctx-e7a47918 job-7326 ctx-5edada67) (logid:c4f1b70c) Total
capacity of the pool datastore.201 with ID 11 is (1.0732 TB) 1180042264576
2023-08-21 11:15:21,826 DEBUG [c.c.s.StorageManagerImpl]
(API-Job-Executor-17:ctx-e7a47918 job-7326 ctx-5edada67) (logid:c4f1b70c)
Checking pool: 11 for storage allocation , maxSize : (1.0732 TB) 1180042264576,
totalAllocatedSize : (24.88 GB) 26717716480, askingSize : (20.00 GB)
21474836480, allocated disable threshold: 0.85
2023-08-21 11:15:21,826 DEBUG [o.a.c.s.a.LocalStoragePoolAllocator]
(API-Job-Executor-17:ctx-e7a47918 job-7326 ctx-5edada67) (logid:c4f1b70c) Found
suitable local storage pool [Pool[11|VMFS]] to allocate disk
[DskChr[ROOT|21474836480|]] to it, adding to list.
2023-08-21 11:15:21,827 DEBUG [o.a.c.s.a.AbstractStoragePoolAllocator]
(API-Job-Executor-17:ctx-e7a47918 job-7326 ctx-5edada67) (logid:c4f1b70c)
Checking if storage pool
[{"name":"datastore.200","uuid":"2ba84f326b2e36c8a0f3ce298558b23a"}] is
suitable to disk [DskChr[ROOT|21474836480|]].
2023-08-21 11:15:21,829 DEBUG [c.c.s.StorageManagerImpl]
(API-Job-Executor-17:ctx-e7a47918 job-7326 ctx-5edada67) (logid:c4f1b70c)
Volume [Vol[873|name=ROOT-874|vm=874|ROOT]] is not allocated to any pool.
Cannot check compatibility with pool
[{"name":"datastore.200","uuid":"2ba84f326b2e36c8a0f3ce298558b23a"}].
2023-08-21 11:15:21,831 INFO [c.c.s.StorageManagerImpl]
(API-Job-Executor-17:ctx-e7a47918 job-7326 ctx-5edada67) (logid:c4f1b70c)
Storage pool datastore.200 (12) does not supply IOPS capacity, assuming enough
capacity
2023-08-21 11:15:21,832 DEBUG [c.c.s.StorageManagerImpl]
(API-Job-Executor-17:ctx-e7a47918 job-7326 ctx-5edada67) (logid:c4f1b70c)
Checking pool 12 for storage, totalSize: 590021132288, usedBytes: 96072630272,
usedPct: 0.16282913444040037, disable threshold: 0.85
2023-08-21 11:15:21,832 DEBUG [c.c.s.StorageManagerImpl]
(API-Job-Executor-17:ctx-e7a47918 job-7326 ctx-5edada67) (logid:c4f1b70c)
Destination pool id: 12
2023-08-21 11:15:21,838 DEBUG [c.c.s.StorageManagerImpl]
(API-Job-Executor-17:ctx-e7a47918 job-7326 ctx-5edada67) (logid:c4f1b70c) Pool
ID for the volume with ID 873 is null
2023-08-21 11:15:21,842 DEBUG [c.c.s.StorageManagerImpl]
(API-Job-Executor-17:ctx-e7a47918 job-7326 ctx-5edada67) (logid:c4f1b70c) Found
storage pool datastore.200 of type VMFS with overprovisioning factor 2
2023-08-21 11:15:21,842 DEBUG [c.c.s.StorageManagerImpl]
(API-Job-Executor-17:ctx-e7a47918 job-7326 ctx-5edada67) (logid:c4f1b70c) Total
over provisioned capacity calculated is 2 * (549.50 GB) 590021132288
2023-08-21 11:15:21,842 DEBUG [c.c.s.StorageManagerImpl]
(API-Job-Executor-17:ctx-e7a47918 job-7326 ctx-5edada67) (logid:c4f1b70c) Total
capacity of the pool datastore.200 with ID 12 is (1.0732 TB) 1180042264576
2023-08-21 11:15:21,843 DEBUG [c.c.s.StorageManagerImpl]
(API-Job-Executor-17:ctx-e7a47918 job-7326 ctx-5edada67) (logid:c4f1b70c)
Checking pool: 12 for storage allocation , maxSize : (1.0732 TB) 1180042264576,
totalAllocatedSize : (64.88 GB) 69667389440, askingSize : (20.00 GB)
21474836480, allocated disable threshold: 0.85
2023-08-21 11:15:21,843 DEBUG [o.a.c.s.a.LocalStoragePoolAllocator]
(API-Job-Executor-17:ctx-e7a47918 job-7326 ctx-5edada67) (logid:c4f1b70c) Found
suitable local storage pool [Pool[12|VMFS]] to allocate disk
[DskChr[ROOT|21474836480|]] to it, adding to list.
2023-08-21 11:15:21,844 DEBUG [o.a.c.s.a.AbstractStoragePoolAllocator]
(API-Job-Executor-17:ctx-e7a47918 job-7326 ctx-5edada67) (logid:c4f1b70c)
LocalStoragePoolAllocator is returning [2] suitable storage pools
[[{"name":"datastore.201","uuid":"93dd766c21904b4cb58e8aa958a06bb2"},
{"name":"datastore.200","uuid":"2ba84f326b2e36c8a0f3ce298558b23a"}]].
2023-08-21 11:15:21,845 DEBUG [c.c.d.DeploymentPlanningManagerImpl]
(API-Job-Executor-17:ctx-e7a47918 job-7326 ctx-5edada67) (logid:c4f1b70c)
StoragePoolAllocator [LocalStoragePoolAllocator] find 2 suitable pools to
allocate volume [29013bb4-c675-4e7b-ad2a-c782d0982b20] necessary to deploy VM
[8a6c342c-e34c-4579-b5cb-15c254bddd50].
2023-08-21 11:15:23,037 DEBUG [c.c.d.DeploymentPlanningManagerImpl]
(Work-Job-Executor-26:ctx-a4f3804e job-7326/job-7327 ctx-9cf60e64)
(logid:c4f1b70c) Trying to find suitable pools to allocate volume
[29013bb4-c675-4e7b-ad2a-c782d0982b20] necessary to deploy VM
[8a6c342c-e34c-4579-b5cb-15c254bddd50], using StoragePoolAllocator:
[LocalStoragePoolAllocator].
2023-08-21 11:15:23,041 DEBUG [o.a.c.s.a.AbstractStoragePoolAllocator]
(Work-Job-Executor-26:ctx-a4f3804e job-7326/job-7327 ctx-9cf60e64)
(logid:c4f1b70c) Checking if storage pool
[{"name":"datastore.200","uuid":"2ba84f326b2e36c8a0f3ce298558b23a"}] is
suitable to disk [DskChr[ROOT|21474836480|]].
2023-08-21 11:15:23,042 DEBUG [c.c.s.StorageManagerImpl]
(Work-Job-Executor-26:ctx-a4f3804e job-7326/job-7327 ctx-9cf60e64)
(logid:c4f1b70c) Volume [Vol[873|name=ROOT-874|vm=874|ROOT]] is not allocated
to any pool. Cannot check compatibility with pool
[{"name":"datastore.200","uuid":"2ba84f326b2e36c8a0f3ce298558b23a"}].
2023-08-21 11:15:23,045 INFO [c.c.s.StorageManagerImpl]
(Work-Job-Executor-26:ctx-a4f3804e job-7326/job-7327 ctx-9cf60e64)
(logid:c4f1b70c) Storage pool datastore.200 (12) does not supply IOPS capacity,
assuming enough capacity
2023-08-21 11:15:23,047 DEBUG [c.c.s.StorageManagerImpl]
(Work-Job-Executor-26:ctx-a4f3804e job-7326/job-7327 ctx-9cf60e64)
(logid:c4f1b70c) Checking pool 12 for storage, totalSize: 590021132288,
usedBytes: 96072630272, usedPct: 0.16282913444040037, disable threshold: 0.85
2023-08-21 11:15:23,047 DEBUG [c.c.s.StorageManagerImpl]
(Work-Job-Executor-26:ctx-a4f3804e job-7326/job-7327 ctx-9cf60e64)
(logid:c4f1b70c) Destination pool id: 12
2023-08-21 11:15:23,054 DEBUG [c.c.s.StorageManagerImpl]
(Work-Job-Executor-26:ctx-a4f3804e job-7326/job-7327 ctx-9cf60e64)
(logid:c4f1b70c) Pool ID for the volume with ID 873 is null
2023-08-21 11:15:23,058 DEBUG [c.c.s.StorageManagerImpl]
(Work-Job-Executor-26:ctx-a4f3804e job-7326/job-7327 ctx-9cf60e64)
(logid:c4f1b70c) Found storage pool datastore.200 of type VMFS with
overprovisioning factor 2
2023-08-21 11:15:23,058 DEBUG [c.c.s.StorageManagerImpl]
(Work-Job-Executor-26:ctx-a4f3804e job-7326/job-7327 ctx-9cf60e64)
(logid:c4f1b70c) Total over provisioned capacity calculated is 2 * (549.50 GB)
590021132288
2023-08-21 11:15:23,058 DEBUG [c.c.s.StorageManagerImpl]
(Work-Job-Executor-26:ctx-a4f3804e job-7326/job-7327 ctx-9cf60e64)
(logid:c4f1b70c) Total capacity of the pool datastore.200 with ID 12 is (1.0732
TB) 1180042264576
2023-08-21 11:15:23,060 DEBUG [c.c.s.StorageManagerImpl]
(Work-Job-Executor-26:ctx-a4f3804e job-7326/job-7327 ctx-9cf60e64)
(logid:c4f1b70c) Checking pool: 12 for storage allocation , maxSize : (1.0732
TB) 1180042264576, totalAllocatedSize : (64.88 GB) 69667389440, askingSize :
(20.00 GB) 21474836480, allocated disable threshold: 0.85
2023-08-21 11:15:23,060 DEBUG [o.a.c.s.a.LocalStoragePoolAllocator]
(Work-Job-Executor-26:ctx-a4f3804e job-7326/job-7327 ctx-9cf60e64)
(logid:c4f1b70c) Found suitable local storage pool [Pool[12|VMFS]] to allocate
disk [DskChr[ROOT|21474836480|]] to it, adding to list.
2023-08-21 11:15:23,060 DEBUG [o.a.c.s.a.AbstractStoragePoolAllocator]
(Work-Job-Executor-26:ctx-a4f3804e job-7326/job-7327 ctx-9cf60e64)
(logid:c4f1b70c) LocalStoragePoolAllocator is returning [1] suitable storage
pools [[{"name":"datastore.200","uuid":"2ba84f326b2e36c8a0f3ce298558b23a"}]].
2023-08-21 11:15:23,061 DEBUG [c.c.d.DeploymentPlanningManagerImpl]
(Work-Job-Executor-26:ctx-a4f3804e job-7326/job-7327 ctx-9cf60e64)
(logid:c4f1b70c) StoragePoolAllocator [LocalStoragePoolAllocator] find 1
suitable pools to allocate volume [29013bb4-c675-4e7b-ad2a-c782d0982b20]
necessary to deploy VM [8a6c342c-e34c-4579-b5cb-15c254bddd50].
```
Please tell me if you need more information.
--
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]