Thank you for the tip Harikrishna, We found the root cause. It seems that the Instance had a Data disk and during recreation the instance was being brought up on another host which does not have access to the data disk (as we are working with local SRs).
Best regards, Jordan On Mon, Mar 20, 2023 at 3:23 PM Harikrishna Patnala < [email protected]> wrote: > Hi Jordan, > > I think the error that you have shared is not related to VM deployment. > > Can you look into the logs starting from the deployVirtualMachine API for > more details. > > Thanks, > Harikrishna > > From: jordan j <[email protected]> > Date: Monday, 20 March 2023 at 5:34 PM > To: [email protected] <[email protected]> > Subject: instance recreation with Terraform fails > Hey everyone! > > Setup is 4.17.2 with XCP-NG - Advanced Zone + SG on local SR. > > While recreating an instance on Cloudstack with Terraform, the job fails > with this error in Cloudstack logs: > > 2023-03-20 07:34:07,707 ERROR [c.c.u.s.SshHelper] > (AgentTaskPool-6:ctx-dbbda9d1) (logid:8d26a6f8) SSH execution of command xe > sm-list | grep "resigning of duplicates" has an error status code in > return. Result output: > > I am not really sure how to continue troubleshooting from here as creating > an instance from the GUI works just fine. > > Regards, > Jordan > > > >
