SadiJr commented on PR #7211:
URL: https://github.com/apache/cloudstack/pull/7211#issuecomment-1688654767

   > @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
   cloud.log:2023-08-22 16:52:45,628 DEBUG 
[storage.resource.NfsSecondaryStorageResource] (agentRequest-Handler-2:null) 
Executing command "ListVolumeCommand" 
[{"store":{"_url":"nfs://192.168.122.250/mnt/secondary/vmware","_role":"Image","nfsVersion":"4"},"secUrl":"nfs://192.168.122.250/mnt/secondary/vmware","contextMap":{"logid":"f0bc454e"},"wait":0,"bypassHostMaintenance":false}].
   cloud.log:2023-08-22 16:52:45,628 DEBUG 
[storage.resource.NfsSecondaryStorageResource] (agentRequest-Handler-2:null) 
Trying to get root directory from secondary storage URL 
[nfs://192.168.122.250/mnt/secondary/vmware] using NFS version [4].
   cloud.log:2023-08-22 16:52:45,628 INFO  
[storage.resource.NfsSecondaryStorageResource] (agentRequest-Handler-2:null) 
Determined host 192.168.122.250 corresponds to IP 192.168.122.250
   cloud.log:2023-08-22 16:52:45,630 DEBUG 
[storage.resource.NfsSecondaryStorageResource] (agentRequest-Handler-2:null) 
Mounting device with nfs-style path of 192.168.122.250:/mnt/secondary/vmware
   cloud.log:2023-08-22 16:52:45,630 DEBUG 
[storage.resource.NfsSecondaryStorageResource] (agentRequest-Handler-2:null) 
mount nfs://192.168.122.250/mnt/secondary/vmware on 
/mnt/SecStorage/8601b06f-9918-378d-b31a-c4b7d8b492d4 nfsVersion=4
   cloud.log:2023-08-22 16:52:45,630 DEBUG 
[storage.resource.NfsSecondaryStorageResource] (agentRequest-Handler-2:null) 
making available /mnt/SecStorage/8601b06f-9918-378d-b31a-c4b7d8b492d4 on 
nfs://192.168.122.250/mnt/secondary/vmware
   cloud.log:2023-08-22 16:52:45,630 DEBUG 
[storage.resource.NfsSecondaryStorageResource] (agentRequest-Handler-2:null) 
local folder for mount will be 
/mnt/SecStorage/8601b06f-9918-378d-b31a-c4b7d8b492d4
   cloud.log:2023-08-22 16:52:45,631 DEBUG 
[storage.resource.NfsSecondaryStorageResource] (agentRequest-Handler-2:null) 
Executing command [mount ].
   cloud.log:2023-08-22 16:52:45,637 DEBUG 
[storage.resource.NfsSecondaryStorageResource] (agentRequest-Handler-2:null) 
Successfully executed process [6769] for command [mount ].
   cloud.log:2023-08-22 16:52:45,637 DEBUG 
[storage.resource.NfsSecondaryStorageResource] (agentRequest-Handler-2:null) 
Some device already mounted at 
/mnt/SecStorage/8601b06f-9918-378d-b31a-c4b7d8b492d4, no need to mount 
nfs://192.168.122.250/mnt/secondary/vmware
   cloud.log:2023-08-22 16:52:45,741 DEBUG 
[storage.resource.NfsSecondaryStorageResource] (agentRequest-Handler-3:null) 
Executing command "ListTemplateCommand" 
[{"store":{"_url":"nfs://192.168.122.250/mnt/secondary/vmware","_role":"Image","nfsVersion":"4"},"nfsVersion":"4","contextMap":{"logid":"f0bc454e"},"wait":0,"bypassHostMaintenance":false}].
   cloud.log:2023-08-22 16:52:45,741 DEBUG 
[storage.resource.NfsSecondaryStorageResource] (agentRequest-Handler-3:null) 
Trying to get root directory from secondary storage URL 
[nfs://192.168.122.250/mnt/secondary/vmware] using NFS version [4].
   cloud.log:2023-08-22 16:52:45,741 INFO  
[storage.resource.NfsSecondaryStorageResource] (agentRequest-Handler-3:null) 
Determined host 192.168.122.250 corresponds to IP 192.168.122.250
   cloud.log:2023-08-22 16:52:45,741 DEBUG 
[storage.resource.NfsSecondaryStorageResource] (agentRequest-Handler-3:null) 
Mounting device with nfs-style path of 192.168.122.250:/mnt/secondary/vmware
   cloud.log:2023-08-22 16:52:45,741 DEBUG 
[storage.resource.NfsSecondaryStorageResource] (agentRequest-Handler-3:null) 
mount nfs://192.168.122.250/mnt/secondary/vmware on 
/mnt/SecStorage/8601b06f-9918-378d-b31a-c4b7d8b492d4 nfsVersion=4
   cloud.log:2023-08-22 16:52:45,741 DEBUG 
[storage.resource.NfsSecondaryStorageResource] (agentRequest-Handler-3:null) 
making available /mnt/SecStorage/8601b06f-9918-378d-b31a-c4b7d8b492d4 on 
nfs://192.168.122.250/mnt/secondary/vmware
   cloud.log:2023-08-22 16:52:45,741 DEBUG 
[storage.resource.NfsSecondaryStorageResource] (agentRequest-Handler-3:null) 
local folder for mount will be 
/mnt/SecStorage/8601b06f-9918-378d-b31a-c4b7d8b492d4
   cloud.log:2023-08-22 16:52:45,742 DEBUG 
[storage.resource.NfsSecondaryStorageResource] (agentRequest-Handler-3:null) 
Executing command [mount ].
   cloud.log:2023-08-22 16:52:45,747 DEBUG 
[storage.resource.NfsSecondaryStorageResource] (agentRequest-Handler-3:null) 
Successfully executed process [6772] for command [mount ].
   cloud.log:2023-08-22 16:52:45,747 DEBUG 
[storage.resource.NfsSecondaryStorageResource] (agentRequest-Handler-3:null) 
Some device already mounted at 
/mnt/SecStorage/8601b06f-9918-378d-b31a-c4b7d8b492d4, no need to mount 
nfs://192.168.122.250/mnt/secondary/vmware
   cloud.log:2023-08-22 16:52:48,115 DEBUG 
[storage.resource.NfsSecondaryStorageResource] (agentRequest-Handler-4:null) 
Executing command "ReadyCommand" 
[{"dcId":2,"hostId":69,"enableHumanReadableSizes":true,"contextMap":{"logid":"f0bc454e"},"wait":0,"bypassHostMaintenance":false}].
   cloud.log:2023-08-22 16:52:48,187 DEBUG 
[storage.resource.NfsSecondaryStorageResource] (agentRequest-Handler-5:null) 
Executing command "ReadyCommand" 
[{"dcId":2,"hostId":69,"msHostList":["192.168.122.212"],"lbAlgorithm":"static","lbCheckInterval":0,"enableHumanReadableSizes":true,"contextMap":{"logid":"f0bc454e"},"wait":0,"bypassHostMaintenance":false}].
   cloud.log:2023-08-22 16:52:54,823 DEBUG 
[storage.resource.NfsSecondaryStorageResource] (agentRequest-Handler-1:null) 
Executing command "GetStorageStatsCommand" 
[{"store":{"_url":"nfs://192.168.122.250/mnt/secondary/vmware","_role":"Image","nfsVersion":"4"},"nfsVersion":"4","contextMap":{"logid":"99844c35"},"wait":0,"bypassHostMaintenance":false}].
   cloud.log:2023-08-22 16:52:54,823 DEBUG 
[storage.resource.NfsSecondaryStorageResource] (agentRequest-Handler-1:null) 
Trying to get root directory from secondary storage URL 
[nfs://192.168.122.250/mnt/secondary/vmware] using NFS version [4].
   ```
   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]

Reply via email to