scripts: mark multipath scripts as executable (#8524)

This PR marks the multipath scripts as executable.

This fixes the issue that in 4.19.0.0-RC2, vms can not be stopped in ubuntu hosts.

2024-01-17 12:56:26,061 ERROR [c.c.v.VmWorkJobHandlerProxy] (Work-Job-Executor-4:ctx-e3503563 job-38/job-39 ctx-42706275) (logid:81ede4e9) Invocation exception, caused by: com.cloud.utils.exception.CloudRuntimeException: Unable to stop the virtual machine due to java.lang.NullPointerException
        at com.cloud.utils.script.Script.getExitValue(Script.java:74)
        at com.cloud.hypervisor.kvm.storage.MultipathSCSIAdapterBase.runScript(MultipathSCSIAdapterBase.java:476)
        at com.cloud.hypervisor.kvm.storage.MultipathSCSIAdapterBase.disconnectPhysicalDiskByPath(MultipathSCSIAdapterBase.java:226)
        at com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.disconnectPhysicalDiskByPath(KVMStoragePoolManager.java:205)
        at com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.cleanupDisk(LibvirtComputingResource.java:3335)
        at com.cloud.hypervisor.kvm.resource.wrapper.LibvirtStopCommandWrapper.execute(LibvirtStopCommandWrapper.java:101)
        at com.cloud.hypervisor.kvm.resource.wrapper.LibvirtStopCommandWrapper.execute(LibvirtStopCommandWrapper.java:49)
        at com.cloud.hypervisor.kvm.resource.wrapper.LibvirtRequestWrapper.execute(LibvirtRequestWrapper.java:78)
        at com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1903)
This commit is contained in:
Wei Zhou 2024-01-18 13:36:28 +01:00 committed by GitHub
parent c3b77cb7b8
commit 62efe7433d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 0 additions and 0 deletions

0
scripts/storage/multipath/cleanStaleMaps.sh Normal file → Executable file
View File

0
scripts/storage/multipath/connectVolume.sh Normal file → Executable file
View File

0
scripts/storage/multipath/copyVolume.sh Normal file → Executable file
View File

0
scripts/storage/multipath/disconnectVolume.sh Normal file → Executable file
View File

0
scripts/storage/multipath/resizeVolume.sh Normal file → Executable file
View File