[Openstack-operators] Problem with custom flavors "virtual size larger than flavor root disk size"
Juan José Pavlik Salles
jjpavlik at gmail.com
Mon Nov 18 18:31:27 UTC 2013
Hi guys, i've deleted the default flavors and created our own like this:
+-----+--------+-----------+------+-----------+------+-------+-------------+-----------+-------------+
| ID | Name | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor
| Is_Public | extra_specs |
+-----+--------+-----------+------+-----------+------+-------+-------------+-----------+-------------+
| 100 | small | 512 | 10 | 0 | 512 | 1 | 1.0
| True | {} |
| 101 | medium | 1024 | 10 | 0 | 512 | 2 | 1.0
| True | {} |
| 102 | big | 4096 | 10 | 0 | 512 | 4 | 1.0
| True | {} |
| 103 | large | 8192 | 10 | 0 | 512 | 8 | 1.0
| True | {} |
+-----+--------+-----------+------+-----------+------+-------+-------------+-----------+-------------+
We can create instances with all of them with no problems at all, but...
when i try to do soft reboot to , for instance, a medium flavor instance i
get this in nova-compute.log
2013-11-18 17:41:27.862 ERROR nova.virt.libvirt.imagebackend
[req-55af4cf8-5936-4764-817c-47f165ea61ee 20390b639d4449c18926dca5e038ec5e
d1e3aae242f14c488d2225dcbf1e96d6] /var/lib/nova/instances/_base/swap
virtual size larger than flavor root disk size 536870912
2013-11-18 17:41:27.863 ERROR nova.compute.manager
[req-55af4cf8-5936-4764-817c-47f165ea61ee 20390b639d4449c18926dca5e038ec5e
d1e3aae242f14c488d2225dcbf1e96d6] [instance:
da36019f-036b-4ca7-9ce2-6223db882ba6] Cannot reboot instance: Image is
larger than instance type allows
The solution was to do a hard reboot to the instance, that... somehow
solved the problem. Any ideas?
Cheers!!!
--
Pavlik Salles Juan José
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20131118/03317ddb/attachment.html>
More information about the OpenStack-operators
mailing list