
Hi, we got a problem with starting a vm after changing some of its parameters via REST (JSON) this is the command to create the vm (this works): POST request on https://virt-mgmt-01.internal/api/vms/ {"name":"vr00002","cluster":{"id":"2ad11b5e-9e74-499a-b317-5a9a3027cfca"},"template":{"id":"374a12df-5ffc-4feb-a2bf-c912f059675f"}} Then we tweak memory and cpu: PUT request on https://virt-mgmt-01.internal/api/vms/42dba82f-e7ea-40ff-a76e-70056912b47f {"memory":2048,"cpu":{"topology":{"sockets":1,"cores":1}}} and then we start it: POST request on https://virt-mgmt-01.internal/api/vms/42dba82f-e7ea-40ff-a76e-70056912b47f/s... {"vm":{"initialization":{"cloudInit":{"host":{"address":"vr00002"},"networkConfiguration":{"nics":{"nics":[{"name":"eth0","bootProtocol":"STATIC","network":{"ip":{"address":"10.0.1.12","netmask":"255.255.255.252","gateway":"10.0.1.9"}},"onBoot":true}]},"dns":{"servers":{"hosts":[{"address":"46.30.62.99"},{"address":"46.30.62.98"},{"address":"46.30.62.97"}]}}},"users":{"users":[{"name":"root","password":"lPzYG06qV63+Tne7"},{"name":"vr00002","password":"lPzYG06qV63+Tne7"}]},"files":{"files":[{"name":"\/foo\/ip-configuration","content":"extern_v4address1 185.15.194.7\npassword1 lPzYG06qV63+Tne7","type":"PLAINTEXT"}]}}}}} the error we get: Operation Failed","detail":"[Cannot run VM. There is no host that satisfies current scheduling constraints. See bellow for details:]" when we start the vm without altering memory and cpu it starts just fine. Is this not supported via JSON, or is this a bug? PS: BTW there seems to be a spelling bug in the error message ("bellow"). -- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH & Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen