nvazquez commented on PR #7712: URL: https://github.com/apache/cloudstack/pull/7712#issuecomment-1699419993
I've also tried a custom service offering which autopopulates the CPU cores, speed and memory in the import wizard but the import also fails because of the network VLAN mismatch: <img width="861" alt="Screenshot 2023-08-30 at 12 41 31" src="https://github.com/apache/cloudstack/assets/5295080/668d3a2e-6c64-4268-8ac1-e2ed19c26978"> ```` 2023-08-30 15:39:49,254 DEBUG [c.c.a.ApiServlet] (qtp649329985-20:ctx-fd04e471 ctx-0c677f14) (logid:925e0d35) ===END=== 10.0.3.251 -- GET name=i-2-6-VM&clusterid=a932b7f8-22b3-48ca-8890-192070c4f312&displayname=imported&serviceofferingid=aab792a0-2d45-4758-a35d-2236e497cfc8&details[0].cpuNumber=1&details[0].cpuSpeed=512&details[0].memory=512&templateid=1f7ba8de-4660-11ee-9315-1e0055000182&nicnetworklist[0].nic=0&nicnetworklist[0].network=339960a7-47de-4af1-92f9-5183ae7fddec&command=importUnmanagedInstance&response=json 2023-08-30 15:39:49,265 DEBUG [c.c.u.AccountManagerImpl] (API-Job-Executor-48:ctx-7dacbe7b job-58 ctx-a458528e) (logid:d5162234) Access granted to Account [{"accountName":"admin","id":2,"uuid":"48eec3eb-4660-11ee-9315-1e0055000182"}] to Service offering {"id":13,"name":"Custom","uuid":"aab792a0-2d45-4758-a35d-2236e497cfc8"}. by AffinityGroupAccessChecker 2023-08-30 15:39:49,266 TRACE [o.a.c.a.c.a.v.ImportUnmanagedInstanceCmd] (API-Job-Executor-48:ctx-7dacbe7b job-58 ctx-a458528e) (logid:d5162234) nic, '0', goes on net, '339960a7-47de-4af1-92f9-5183ae7fddec' 2023-08-30 15:39:49,341 DEBUG [c.c.a.t.Request] (API-Job-Executor-48:ctx-7dacbe7b job-58 ctx-a458528e) (logid:d5162234) Seq 1-1833527998293218438: Received: { Ans: , MgmtId: 167780591, via: 1(ref-trl-5532-k-Ma8-nicolas-vazquez-kvm1), Ver: v1, Flags: 10, { GetUnmanagedInstancesAnswer } } 2023-08-30 15:39:49,341 DEBUG [c.c.a.m.AgentManagerImpl] (API-Job-Executor-48:ctx-7dacbe7b job-58 ctx-a458528e) (logid:d5162234) Details from executing class com.cloud.agent.api.GetUnmanagedInstancesCommand: True 2023-08-30 15:39:49,343 DEBUG [c.c.u.AccountManagerImpl] (API-Job-Executor-48:ctx-7dacbe7b job-58 ctx-a458528e) (logid:d5162234) Access granted to Account [{"accountName":"admin","id":2,"uuid":"48eec3eb-4660-11ee-9315-1e0055000182"}] to Service offering {"id":13,"name":"Custom","uuid":"aab792a0-2d45-4758-a35d-2236e497cfc8"}. by AffinityGroupAccessChecker 2023-08-30 15:39:49,349 INFO [c.c.n.NetworkModelImpl] (API-Job-Executor-48:ctx-7dacbe7b job-58 ctx-a458528e) (logid:d5162234) Checking permission for account admin (48eec3eb-4660-11ee-9315-1e0055000182) on network L2 (339960a7-47de-4af1-92f9-5183ae7fddec) 2023-08-30 15:39:49,351 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-48:ctx-7dacbe7b job-58) (logid:d5162234) Complete async job-58, jobStatus: FAILED, resultCode: 530, result: org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":"530","errortext":"VLAN of network(ID: 339960a7-47de-4af1-92f9-5183ae7fddec) vlan://1978 is found different from the VLAN of nic(ID: 0) vlan://-1 during VM import"} 2023-08-30 15:39:49,352 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-48:ctx-7dacbe7b job-58) (logid:d5162234) Publish async job-58 complete on message bus 2023-08-30 15:39:49,352 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-48:ctx-7dacbe7b job-58) (logid:d5162234) Wake up jobs related to job-58 2023-08-30 15:39:49,352 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-48:ctx-7dacbe7b job-58) (logid:d5162234) Update db status for job-58 2023-08-30 15:39:49,353 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-48:ctx-7dacbe7b job-58) (logid:d5162234) Wake up jobs joined with job-58 and disjoin all subjobs created from job- 58 2023-08-30 15:39:49,356 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-48:ctx-7dacbe7b job-58) (logid:d5162234) Done executing org.apache.cloudstack.api.command.admin.vm.ImportUnmanagedInstanceCmd for job-58 ```` -- 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]
