Hello,

It was a typo; I meant to refer to 4.19.1.2.

I resolved the first issue, "Permission denied," by downloading the cloud
scripts from Git and running "chmod +x" on all files in /opt/cloud/bin/*
before archiving and copying them to /usr/share/cloudstack-common/vms. I
believe this issue is linked to a previous test of patch #8741.

As for the error regarding "/opt/cloud/bin/keystore*: No such file or
directory," I used SCP to manually copy the keystore from the management
server to the system vms.

Regards,
Cristian


-----Original Message-----
From: Rohit Yadav <rohit.ya...@shapeblue.com> 
Sent: Friday, October 18, 2024 4:44 PM
To: users@cloudstack.apache.org
Subject: Re: ACS 4.18-19 /opt/cloud/bin/patched.sh: Permission denied -
systemvms

Hi Cristian,

There's no CloudStack version 4.19.2.0 released yet - so what packages did
you upgrade to or got them from where?

Based on the error, either you've got the wrong systemvm template or the
systemvm failed to be patched properly (i.e. Missing keystore script/paths).


Regards.

________________________________
From: cristian.c@istream.today <cristian.c@istream.today>
Sent: Thursday, October 17, 2024 22:24
Cc: users@cloudstack.apache.org <users@cloudstack.apache.org>
Subject: ACS 4.18-19 /opt/cloud/bin/patched.sh: Permission denied -
systemvms

Hello,



I have faced this issue before, but I can't remember how I resolved it. Now,
even after upgrading to version 4.19.2, I am still getting this error and
cannot successfully create all the system VMs across multiple zones.



Here is the initial error :



2024-10-17 12:44:32,991 ERROR [c.c.u.s.SshHelper]
(DirectAgent-64:ctx-71168f2e ip-xxxxx.net, job-107315/job-107329, cmd:
StartCommand) (logid:eb7b0c7f) SSH execution

of command /opt/cloud/bin/patched.sh /opt/cloud/bin/keystore* has an error
status code in return. Result output: bash: line 1:
/opt/cloud/bin/patched.sh: Permission denied





If I execute chmod +x /opt/cloud/bin/* on the vm, I end with this error :



2024-10-17 12:47:14,909 ERROR [c.c.u.s.SshHelper]
(DirectAgent-64:ctx-71168f2e ip-xxxxx.net, job-107315/job-107329, cmd:
StartCommand) (logid:eb7b0c7f) SSH execution

of command /opt/cloud/bin/patched.sh /opt/cloud/bin/keystore* has an error
status code in return. Result output: ls: cannot access
'/opt/cloud/bin/keystore*': No such file or directory





Any suggestions?



Thank you,

Cristian


 


Reply via email to