Hi,
Has anyone replicated this error/issue I'm seeing? What part of the setup or
systemvm build sets or creates the /var/cloudstack/mnt/VM/ directory and WHY
would it be restrictive?
[root@ ~]# ls -al /var/cloudstack/mnt/VM/345050029058.1f7af2bf
total 12
drwxr-xr-x. 4 nobody nobody 4096 Jul 8 11:15 .
drwxr-xr-x. 3 cloud cloud35 Jul 8 14:06 ..
drwxrwxr-x. 2 cloud cloud 4096 Jul 8 10:58 systemvm
drwxr-xr-x. 3 nobody nobody 4096 Jul 8 11:15 template
[root@usphlmvcsmt01 ~]#
-Original Message-
From: Corey, Mike
Sent: Wednesday, July 8, 2020 2:45 PM
To: users@cloudstack.apache.org
Subject: RE: Initial SystemVM Creation Failing
Gone over the installation now twice (reverted to snapshot of CentOS VM) and
still getting weird storage/permission type issues.
The permissions and ownership of the systemvm folder looks correct.
[root@ ~]# ls -al /mnt/secondary/
total 16
drwxr-xr-x. 4 root root 4096 Jul 8 11:15 .
drwxr-xr-x. 4 root root38 Jul 8 11:15 ..
drwxrwxrwx. 12 root root 4096 Jul 8 11:05 .snapshot
drwxrwxr-x. 2 cloud cloud 4096 Jul 8 10:58 systemvm
drwxr-xr-x. 3 root root 4096 Jul 8 11:15 template
However, I'm still seeing the copy iso error and the VMs keep creating and
deleting with the log suggesting the vmx file of the VM doesn't exist on the
datastore (can create files/folder on datastore identified in errror from
vCenter).
2020-07-08 14:22:36,486 INFO [c.c.h.v.m.DatastoreMO]
(DirectAgent-51:ctx-7e6d5dc9 usphlmvesxt155.phl.global.corp.sap, job-6/job-37,
cmd: StartCommand) (logid:b828ac16) Folder v-6-VM does not exist on datastore
2020-07-08 14:22:36,494 INFO [c.c.h.v.m.DatastoreMO]
(DirectAgent-51:ctx-7e6d5dc9 usphlmvesxt155.phl.global.corp.sap, job-6/job-37,
cmd: StartCommand) (logid:b828ac16) Search file v-6-VM.vmx on
[50cc970ffbe23b459cb5b8bcdb6dbff5]
2020-07-08 14:22:36,522 INFO [c.c.h.v.m.DatastoreMO]
(DirectAgent-51:ctx-7e6d5dc9 usphlmvesxt155.phl.global.corp.sap, job-6/job-37,
cmd: StartCommand) (logid:b828ac16) File [50cc970ffbe23b459cb5b8bcdb6dbff5]
v-6-VM.vmx does not exist on datastore
2020-07-08 14:22:36,522 INFO [c.c.h.v.m.DatastoreMO]
(DirectAgent-51:ctx-7e6d5dc9 usphlmvesxt155.phl.global.corp.sap, job-6/job-37,
cmd: StartCommand) (logid:b828ac16) Searching file v-6-VM.vmx in
[50cc970ffbe23b459cb5b8bcdb6dbff5]
2020-07-08 14:22:36,641 INFO [c.c.h.v.m.HypervisorHostHelper]
(DirectAgent-51:ctx-7e6d5dc9 usphlmvesxt155.phl.global.corp.sap, job-6/job-37,
cmd: StartCommand) (logid:b828ac16) Create blank VM. cpuCount: 1,
cpuSpeed(MHz): 500, mem(Mb): 1024
2020-07-08 14:22:36,692 DEBUG [c.c.h.v.m.ClusterMO]
(DirectAgent-51:ctx-7e6d5dc9 usphlmvesxt155.phl.global.corp.sap, job-6/job-37,
cmd: StartCommand) (logid:b828ac16) Retrieved recommended disk controller for
guest OS : otherLinux64Guest in cluster PHL-CSM01 : VirtualLsiLogicController
2020-07-08 14:22:37,115 DEBUG [c.c.h.v.m.HostMO] (DirectAgent-51:ctx-7e6d5dc9
usphlmvesxt155.phl.global.corp.sap, job-6/job-37, cmd: StartCommand)
(logid:b828ac16) find VM v-6-VM on host
2020-07-08 14:22:37,115 INFO [c.c.h.v.m.HostMO] (DirectAgent-51:ctx-7e6d5dc9
usphlmvesxt155.phl.global.corp.sap, job-6/job-37, cmd: StartCommand)
(logid:b828ac16) VM v-6-VM not found in host cache
2020-07-08 14:22:37,115 DEBUG [c.c.h.v.m.HostMO] (DirectAgent-51:ctx-7e6d5dc9
usphlmvesxt155.phl.global.corp.sap, job-6/job-37, cmd: StartCommand)
(logid:b828ac16) load VM cache on host
2020-07-08 14:22:37,155 DEBUG [c.c.h.v.m.HostMO] (DirectAgent-51:ctx-7e6d5dc9
usphlmvesxt155.phl.global.corp.sap, job-6/job-37, cmd: StartCommand)
(logid:b828ac16) find VM v-6-VM on host
2020-07-08 14:22:37,155 DEBUG [c.c.h.v.m.HostMO] (DirectAgent-51:ctx-7e6d5dc9
usphlmvesxt155.phl.global.corp.sap, job-6/job-37, cmd: StartCommand)
(logid:b828ac16) VM v-6-VM found in host cache
2020-07-08 14:22:37,375 INFO [c.c.h.v.m.VmwareManagerImpl]
(DirectAgent-51:ctx-7e6d5dc9 usphlmvesxt155.phl.global.corp.sap, job-6/job-37,
cmd: StartCommand) (logid:b828ac16) Inject SSH key pairs before copying
systemvm.iso into secondary storage
2020-07-08 14:22:37,377 INFO [c.c.s.ConfigurationServerImpl]
(DirectAgent-51:ctx-7e6d5dc9 usphlmvesxt155.phl.global.corp.sap, job-6/job-37,
cmd: StartCommand) (logid:b828ac16) Processing updateKeyPairs
2020-07-08 14:22:37,377 INFO [c.c.s.ConfigurationServerImpl]
(DirectAgent-51:ctx-7e6d5dc9 usphlmvesxt155.phl.global.corp.sap, job-6/job-37,
cmd: StartCommand) (logid:b828ac16) Keypairs already in database, updating
local copy
2020-07-08 14:22:37,381 INFO [c.c.s.ConfigurationServerImpl]
(DirectAgent-51:ctx-7e6d5dc9 usphlmvesxt155.phl.global.corp.sap, job-6/job-37,
cmd: StartCommand) (logid:b828ac16) Going to update systemvm iso with generated
keypairs if needed
2020-07-08 14:22:37,381 INFO [c.c.s.ConfigurationServerImpl]
(DirectAgent-51:ctx-7e6d5dc9 usphlmvesxt155.phl.global.corp.sap,