leduyquy commented on issue #10661:
URL: https://github.com/apache/cloudstack/issues/10661#issuecomment-2803686524

   I have setup a new zone and this is the log related to secondary storage 
when I create the zone. if you need any more logs please give me more info 
about it, there are quite a few logs and it's confusing me
   
   Note: I have to change the system template because my system is isolated 
from the internet so I need to download it to a local repository and then 
register the system template from there to avoid some errors when it tries to 
download it from the internet.
   
   > 2025-04-15 10:19:35,765 DEBUG [c.c.a.ApiServlet] 
(qtp1404565079-3462:[ctx-e9a4f837]) (logid:5e0fa690) ===START===  <My IP> -- 
GET  
name=gpu_temp&provider=NFS&zoneid=914dcaa9-4e16-4897-b3b3-3f240da4da68&url=nfs:%2F%2F172.29.0.4%2Fexport%2Ftemp-gpu-02&command=addImageStore&response=json&sessionkey=3NI7FMyUKba5a0DnprCgcrGKmBU
   > 2025-04-15 10:19:35,765 DEBUG [c.c.a.ApiServlet] 
(qtp1404565079-3462:[ctx-e9a4f837]) (logid:5e0fa690) Two factor authentication 
is already verified for the user 2, so skipping
   > 2025-04-15 10:19:35,774 DEBUG [c.c.a.ApiServer] 
(qtp1404565079-3462:[ctx-e9a4f837, ctx-5e82adf5]) (logid:5e0fa690) CIDRs from 
which account 'Account 
[{"accountName":"admin","id":2,"uuid":"101eb92f-8616-11ef-9375-0050569bf5b3"}]' 
is allowed to perform API calls: 0.0.0.0/0,::/0
   > 2025-04-15 10:19:35,778 DEBUG [o.a.c.a.StaticRoleBasedAPIAccessChecker] 
(qtp1404565079-3462:[ctx-e9a4f837, ctx-5e82adf5]) (logid:5e0fa690) RoleService 
is enabled. We will use it instead of StaticRoleBasedAPIAccessChecker.
   > 2025-04-15 10:19:35,778 DEBUG [o.a.c.r.ApiRateLimitServiceImpl] 
(qtp1404565079-3462:[ctx-e9a4f837, ctx-5e82adf5]) (logid:5e0fa690) API rate 
limiting is disabled. We will not use ApiRateLimitService.
   > 2025-04-15 10:19:35,787 INFO  
[o.a.c.s.d.l.CloudStackImageStoreLifeCycleImpl] 
(qtp1404565079-3462:[ctx-e9a4f837, ctx-5e82adf5]) (logid:5e0fa690) Trying to 
add a new data store at nfs://<IP  NFS Server>/export/temp-gpu-02 to data 
center 13
   > 2025-04-15 10:19:36,083 ERROR [o.a.c.s.i.TemplateServiceImpl] 
(qtp1404565079-3462:[ctx-e9a4f837, ctx-5e82adf5]) (logid:5e0fa690) No remote 
endpoint to send command, check if host or ssvm is down?
   > 2025-04-15 10:19:36,083 DEBUG [o.a.c.s.i.TemplateServiceImpl] 
(qtp1404565079-3462:[ctx-e9a4f837, ctx-5e82adf5]) (logid:5e0fa690) can not list 
template for secondary storage host 25
   > 2025-04-15 10:19:36,106 DEBUG [c.c.u.s.Script] 
(qtp1404565079-3462:[ctx-e9a4f837, ctx-5e82adf5]) (logid:5e0fa690) Executing 
command [/bin/bash -c sudo mount -t nfs <IP  NFS Server>:/export/temp-gpu-02 
/tmp/tmp3484467797256588955 ].
   > 2025-04-15 10:19:36,269 DEBUG [c.c.u.s.Script] 
(qtp1404565079-3462:[ctx-e9a4f837, ctx-5e82adf5]) (logid:5e0fa690) Successfully 
executed process [1463163] for command [/bin/bash -c sudo mount -t nfs <IP  NFS 
Server>:/export/temp-gpu-02 /tmp/tmp3484467797256588955 ].
   > 2025-04-15 10:19:36,270 INFO  [c.c.u.SystemVmTemplateRegistration] 
(qtp1404565079-3462:[ctx-e9a4f837, ctx-5e82adf5]) (logid:5e0fa690) SystemVM 
template not seeded
   > 2025-04-15 10:19:36,270 INFO  [c.c.u.SystemVmTemplateRegistration] 
(qtp1404565079-3462:[ctx-e9a4f837, ctx-5e82adf5]) (logid:5e0fa690) Unmounting 
store
   > 2025-04-15 10:19:36,270 DEBUG [c.c.u.s.Script] 
(qtp1404565079-3462:[ctx-e9a4f837, ctx-5e82adf5]) (logid:5e0fa690) Executing 
command [/bin/bash -c sudo umount /tmp/tmp3484467797256588955 ].
   > 2025-04-15 10:19:36,317 DEBUG [c.c.u.s.Script] 
(qtp1404565079-3462:[ctx-e9a4f837, ctx-5e82adf5]) (logid:5e0fa690) Successfully 
executed process [1463172] for command [/bin/bash -c sudo umount 
/tmp/tmp3484467797256588955 ].
   > 2025-04-15 10:19:36,318 ERROR [c.c.u.SystemVmTemplateRegistration] 
(qtp1404565079-3462:[ctx-e9a4f837, ctx-5e82adf5]) (logid:5e0fa690) Failed to 
delete temporary directory: /tmp/tmp3484467797256588955
   > 2025-04-15 10:19:36,318 DEBUG [c.c.u.s.Script] 
(qtp1404565079-3462:[ctx-e9a4f837, ctx-5e82adf5]) (logid:5e0fa690) Executing 
command [/bin/bash -c sudo mount -t nfs <IP  NFS Server>:/export/temp-gpu-02 
/tmp/tmp2932083128175864809 ].
   > 2025-04-15 10:19:36,439 DEBUG [c.c.u.s.Script] 
(qtp1404565079-3462:[ctx-e9a4f837, ctx-5e82adf5]) (logid:5e0fa690) Successfully 
executed process [1463176] for command [/bin/bash -c sudo mount -t nfs <IP  NFS 
Server>:/export/temp-gpu-02 /tmp/tmp2932083128175864809 ].
   > 2025-04-15 10:19:36,455 DEBUG [c.c.u.s.Script] 
(qtp1404565079-3462:[ctx-e9a4f837, ctx-5e82adf5]) (logid:5e0fa690) Looking for 
setup-sysvm-tmplt in the classpath
   > 2025-04-15 10:19:36,455 DEBUG [c.c.u.s.Script] 
(qtp1404565079-3462:[ctx-e9a4f837, ctx-5e82adf5]) (logid:5e0fa690) System 
resource: null
   > 2025-04-15 10:19:36,455 DEBUG [c.c.u.s.Script] 
(qtp1404565079-3462:[ctx-e9a4f837, ctx-5e82adf5]) (logid:5e0fa690) Classpath 
resource: 
file:/usr/share/cloudstack-common/scripts/storage/secondary/setup-sysvm-tmplt
   > 2025-04-15 10:19:36,455 DEBUG [c.c.u.s.Script] 
(qtp1404565079-3462:[ctx-e9a4f837, ctx-5e82adf5]) (logid:5e0fa690) Absolute 
path =  /usr/share/cloudstack-common/scripts/storage/secondary/setup-sysvm-tmplt
   > 2025-04-15 10:19:36,455 DEBUG [c.c.u.SystemVmTemplateRegistration] 
(qtp1404565079-3462:[ctx-e9a4f837, ctx-5e82adf5]) (logid:5e0fa690) Executing 
command 
[/usr/share/cloudstack-common/scripts/storage/secondary/setup-sysvm-tmplt -u 
56a71448-0c8f-42f6-802a-747a16db119e -f 
/usr/share/cloudstack-management/templates/systemvm/systemvmtemplate-4.20.0-x86_64-kvm.qcow2.bz2
 -h kvm -d /tmp/tmp2932083128175864809/template/tmpl/1/523 ].
   > 2025-04-15 10:20:50,631 DEBUG [c.c.u.SystemVmTemplateRegistration] 
(qtp1404565079-3462:[ctx-e9a4f837, ctx-5e82adf5]) (logid:5e0fa690) Successfully 
executed process [1463183] for command 
[/usr/share/cloudstack-common/scripts/storage/secondary/setup-sysvm-tmplt -u 
56a71448-0c8f-42f6-802a-747a16db119e -f 
/usr/share/cloudstack-management/templates/systemvm/systemvmtemplate-4.20.0-x86_64-kvm.qcow2.bz2
 -h kvm -d /tmp/tmp2932083128175864809/template/tmpl/1/523 ].
   > 2025-04-15 10:20:50,631 DEBUG [c.c.u.SystemVmTemplateRegistration] 
(qtp1404565079-3462:[ctx-e9a4f837, ctx-5e82adf5]) (logid:5e0fa690) + [[ ! -u 
56a71448-0c8f-42f6-802a-747a16db119e -f 
/usr/share/cloudstack-management/templates/systemvm/systemvmtemplate-4.20.0-x86_64-kvm.qcow2.bz2
 -h kvm -d /tmp/tmp2932083128175864809/template/tmpl/1/523 =~ ^-.+ ]]
   > 2025-04-15 10:20:50,632 WARN  [c.c.u.SystemVmTemplateRegistration] 
(qtp1404565079-3462:[ctx-e9a4f837, ctx-5e82adf5]) (logid:5e0fa690) Failed to 
read from template.properties java.io.FileNotFoundException: 
/tmp/tmp2932083128175864809/template/tmpl/1/523/template.properties (Permission 
denied)
   > 2025-04-15 10:20:50,640 INFO  [c.c.u.SystemVmTemplateRegistration] 
(qtp1404565079-3462:[ctx-e9a4f837, ctx-5e82adf5]) (logid:5e0fa690) Unmounting 
store
   > 2025-04-15 10:20:50,640 DEBUG [c.c.u.s.Script] 
(qtp1404565079-3462:[ctx-e9a4f837, ctx-5e82adf5]) (logid:5e0fa690) Executing 
command [/bin/bash -c sudo umount /tmp/tmp2932083128175864809 ].
   > 2025-04-15 10:20:50,697 DEBUG [c.c.u.s.Script] 
(qtp1404565079-3462:[ctx-e9a4f837, ctx-5e82adf5]) (logid:5e0fa690) Successfully 
executed process [1463502] for command [/bin/bash -c sudo umount 
/tmp/tmp2932083128175864809 ].
   > 2025-04-15 10:20:50,796 INFO  [c.c.a.ApiServlet] 
(qtp1404565079-3462:[ctx-e9a4f837, ctx-5e82adf5]) (logid:5e0fa690) (userId=2 
accountId=2 sessionId=node01kshhea6vhla8mgsf216v2ie21) <My IP> -- GET 
name=gpu_temp&provider=NFS&zoneid=914dcaa9-4e16-4897-b3b3-3f240da4da68&url=nfs:%2F%2F172.29.0.4%2Fexport%2Ftemp-gpu-02&command=addImageStore&response=json&sessionkey=3NI7FMyUKba5a0DnprCgcrGKmBU
 200 
{"addimagestoreresponse":{"imagestore":{"id":"200b0d4c-f0ec-4d4b-a43b-c894ece6cbc5","zoneid":"914dcaa9-4e16-4897-b3b3-3f240da4da68","zonename":"C.K.GPU","name":"gpu_temp","url":"nfs://<IP
  NFS 
Server>/export/temp-gpu-02","protocol":"nfs","providername":"NFS","scope":"ZONE","readonly":false,"hasannotations":false}}}
   > 2025-04-15 10:20:50,796 DEBUG [c.c.a.ApiServlet] 
(qtp1404565079-3462:[ctx-e9a4f837, ctx-5e82adf5]) (logid:5e0fa690) ===END===  
<My IP> -- GET  
name=gpu_temp&provider=NFS&zoneid=914dcaa9-4e16-4897-b3b3-3f240da4da68&url=nfs:%2F%2F172.29.0.4%2Fexport%2Ftemp-gpu-02&command=addImageStore&response=json&sessionkey=3NI7FMyUKba5a0DnprCgcrGKmBU
   > 


-- 
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