openstack assign bigger resources than exist in compute nodes to instances
Hi,
I run OpenStack in 4 nodes: a controller node, a network node and two compute node. My first compute node have 7GB hard and 2GB ram and 1 core, my second compute node have 34GB hard and 5GB ram and 6 core. I want to create a instance that openstack allocate it the whole volume of both compute nodes, so I create a custom Flavors and define:
VCPUs:2 , RAM (MB):6048 , Root Disk (GB):2 , Ephemeral Disk (GB):39 and Swap Disk (MB):100.
When I create instance and chose this flavor, after build it I see that the whole configure part was allocated from second compute node. It means that openstack assign amount of resources that bigger than the really resource that exist in second compute node.
I also create 4 instance that perched in first compute node and have totally bigger resources from really resource of first compute node.
Does this thing was mistake? if yes, How can I mange and solve this problem.
Thanks a lot in advance.