nvazquez commented on PR #7712:
URL: https://github.com/apache/cloudstack/pull/7712#issuecomment-1699054629

   @itsayushpandey I'm trying to import an unmanaged instance and I'm getting 
this error either through the UI or API, can you take a look? 
   
   <img width="1136" alt="Screenshot 2023-08-30 at 09 16 14" 
src="https://github.com/apache/cloudstack/assets/5295080/d62d8d94-d855-4eab-aff2-fe54dbef1595";>
   
   ````
   (localcloud) 🐱 > import unmanagedinstance hostname=i-2-4-VM 
displayname=importedVM templateid=1f7ba8de-4660-11ee-9315-1e0055000182 
serviceofferingid=da88a0aa-b(localcloud) 🐱 > import unmanagedinstance 
name=i-2-4-VM displayname=importedVM 
templateid=1f7ba8de-4660-11ee-9315-1e0055000182 
serviceofferingid=da88a0aa-bf82-40ae-ab32-a6e4c88b5ce8 
clusterid=a932b7f8-22b3-48ca-8890-192070c4f312 
   {
     "account": "admin",
     "accountid": "48eec3eb-4660-11ee-9315-1e0055000182",
     "cmd": 
"org.apache.cloudstack.api.command.admin.vm.ImportUnmanagedInstanceCmd",
     "completed": "2023-08-30T12:12:39+0000",
     "created": "2023-08-30T12:12:39+0000",
     "domainid": "1f74d7bc-4660-11ee-9315-1e0055000182",
     "domainpath": "ROOT",
     "jobid": "dabfa8bc-6a42-44f9-be0b-3e1a8715fc9d",
     "jobprocstatus": 0,
     "jobresult": {
       "errorcode": 530,
       "errortext": "Failed to import VM: i-2-4-VM. Service offering 
(da88a0aa-bf82-40ae-ab32-a6e4c88b5ce8) 500MHz CPU speed does not match VM CPU 
speed 250MHz and VM is not in powered off state (Power state: PowerOn)"
     },
     "jobresultcode": 530,
     "jobresulttype": "object",
     "jobstatus": 2,
     "userid": "48f16909-4660-11ee-9315-1e0055000182"
   }
   🙈 Error: async API failed for job dabfa8bc-6a42-44f9-be0b-3e1a8715fc9d
   ````


-- 
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]

Reply via email to