System crash: do I create my image and/or instance well?
Hello community
I have a problem when launching a Windows instance. The system gets out of memory until the crash of the compute node.
My "personal" cloud runs Juno.
Following the Openstack installation guide for Ubuntu, I have setup a 4 nodes (controller, Network, Compute, Object Storage) environment. One physical laptop (8Gb of RAM, Intel Core i5-4210U which is Dual Core) runs 3 nodes, each on a virtual VirtualBox VM:
_Controller: Ram: 4 Gb, 1 CPUs
_Compute: Ram: 6 Gb, 4 CPU
_Network (Neutron): Ram: 512 Mb, 1 CPU
On a separate physical machine (an old HP Compaq dc5850 Small Form Factor Business PC), I run one VM for Swift storage.
Glance uses Swift as default repository to store the images.
Hypervisor uses QEMU.
Everything is working fine, when working with Cirros instances.
Now I wanted to run a Windows VM, taken from a VmWare environment. Then I have downloaded an OVA from this website:
https:/
I took the VmWare version of "IE10 - Win7".
Then I have extracted the VMDK file (10Gig), created an image with glance (successfully, as it seems) and launched an instance. During the creation (Instance has the status "BUILD" at the beginning), I can see the memory usage of the physical machine (laptop) increasing, until the whole system get stuck. Then, after 30 minutes, the Compute VM crashes and I can recover my system.
Below are some commands output. I also attach an extract of the nova-compute.log, and a screen capture of the monitoring tools and top command result just before the system gets stuck. Any help would be very appreciated.
![image description](http://
openstack@
compute_
[libvirt]
virt_type=qemu
porouge@
KDM
Disk DescriptorFile
version=1
CID=9048cb38
parentCID=
createType=
glance image-create --name "win7-vmware" --disk-format vmdk --container-format bare --is-public=true --property vmware_
openstack@
openstack@
+--
| ID | Name | Disk Format | Container Format | Size | Status |
+--
| 3642f82a-
| 20ae0f44-
+--
openstack@
+--
| Property | Value |
+--
| Property 'vmware_
| Property 'vmware_disktype' | sparse |
| Property 'vmware_ostype' | windows7Server6
| checksum | 57515f5bead76e0
| container_format | bare |
| created_at | 2016-03-29T19:03:19 |
| deleted | False |
| disk_format | vmdk |
| id | 20ae0f44-
| is_public | True |
| min_disk | 0 |
| min_ram | 0 |
| name | win7-vmware |
| owner | 87689a6b397240a
| protected | False |
| size | 9147252736 |
| status | active |
| updated_at | 2016-03-29T19:09:05 |
+--
openstack@
openstack@
nova boot --flavor m1.tinyForWin --image win7-vmware --nic net-id=
+--
| Property | Value |
+--
| OS-DCF:diskConfig | MANUAL |
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-STS:vm_state | building |
| OS-SRV-
| OS-SRV-
| accessIPv4 | |
| accessIPv6 | |
| adminPass | 9JhXZy6XkHe6 |
| config_drive | |
| created | 2016-04-
| flavor | m1.tinyForWin (7e5ec9b2-
| hostId | |
| id | dc79ccd3-
| image | win7-vmware (20ae0f44-
| key_name | demo-key2 |
| metadata | {} |
| name | win7-swift-vmdk |
| os-extended-
| progress | 0 |
| security_groups | default |
| status | BUILD |
| tenant_id | f6cfdc1857e44cb
| updated | 2016-04-
| user_id | af00028f6daf451
+--
openstack@
+--
| ID | Name | Status | Task State | Power State | Networks |
+--
| 37c13070-
| dc79ccd3-
+--
openstack@
+--
| ID | Name | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor | Is_Public |
+--
| 1 | m1.tiny | 512 | 1 | 0 | | 1 | 1.0 | True |
| 2 | m1.small | 2048 | 20 | 0 | | 1 | 1.0 | True |
| 3 | m1.medium | 4096 | 40 | 0 | | 2 | 1.0 | True |
| 4 | m1.large | 8192 | 80 | 0 | | 4 | 1.0 | True |
| 5 | m1.xlarge | 16384 | 160 | 0 | | 8 | 1.0 | True |
| 7e5ec9b2-
+--
nova-
2016-04-27 19:32:03.710 1912 INFO nova.compute.
2016-04-27 19:32:10.982 1912 AUDIT nova.compute.
2016-04-27 19:32:11.104 1912 AUDIT nova.compute.claims [-] [instance: dc79ccd3-
2016-04-27 19:32:11.105 1912 AUDIT nova.compute.claims [-] [instance: dc79ccd3-
2016-04-27 19:32:11.105 1912 AUDIT nova.compute.claims [-] [instance: dc79ccd3-
2016-04-27 19:32:11.105 1912 AUDIT nova.compute.claims [-] [instance: dc79ccd3-
2016-04-27 19:32:11.106 1912 AUDIT nova.compute.claims [-] [instance: dc79ccd3-
2016-04-27 19:32:11.125 1912 AUDIT nova.compute.claims [-] [instance: dc79ccd3-
2016-04-27 19:32:11.349 1912 INFO nova.scheduler.
2016-04-27 19:32:11.509 1912 INFO nova.scheduler.
2016-04-27 19:32:12.081 1912 INFO nova.virt.
2016-04-27 19:32:12.645 1912 INFO nova.scheduler.
2016-04-27 19:33:04.577 1912 AUDIT nova.compute.
2016-04-27 19:33:04.776 1912 AUDIT nova.compute.
2016-04-27 19:33:04.777 1912 AUDIT nova.compute.
2016-04-27 19:33:04.777 1912 AUDIT nova.compute.
2016-04-27 19:33:04.777 1912 AUDIT nova.compute.
2016-04-27 19:33:04.842 1912 INFO nova.scheduler.
2016-04-27 19:33:04.842 1912 INFO nova.compute.
2016-04-27 19:33:20.503 1912 WARNING nova.compute.
2016-04-27 19:34:06.576 1912 AUDIT nova.compute.
2016-04-27 19:34:06.855 1912 AUDIT nova.compute.
2016-04-27 19:34:06.855 1912 AUDIT nova.compute.
2016-04-27 19:34:06.855 1912 AUDIT nova.compute.
2016-04-27 19:34:06.856 1912 AUDIT nova.compute.
2016-04-27 19:34:06.856 1912 INFO nova.compute.
2016-04-27 19:35:08.576 1912 AUDIT nova.compute.
2016-04-27 19:35:08.765 1912 AUDIT nova.compute.
2016-04-27 19:35:08.766 1912 AUDIT nova.compute.
2016-04-27 19:35:08.766 1912 AUDIT nova.compute.
2016-04-27 19:35:08.767 1912 AUDIT nova.compute.
2016-04-27 19:35:08.767 1912 INFO nova.compute.
2016-04-27 19:36:10.576 1912 AUDIT nova.compute.
2016-04-27 19:36:10.856 1912 AUDIT nova.compute.
2016-04-27 19:36:10.858 1912 AUDIT nova.compute.
2016-04-27 19:36:10.858 1912 AUDIT nova.compute.
2016-04-27 19:36:10.858 1912 AUDIT nova.compute.
2016-04-27 19:36:10.922 1912 INFO nova.scheduler.
2016-04-27 19:36:10.923 1912 INFO nova.compute.
2016-04-27 19:37:12.577 1912 AUDIT nova.compute.
2016-04-27 19:37:12.847 1912 AUDIT nova.compute.
2016-04-27 19:37:12.848 1912 AUDIT nova.compute.
2016-04-27 19:37:12.848 1912 AUDIT nova.compute.
2016-04-27 19:37:12.849 1912 AUDIT nova.compute.
2016-04-27 19:37:12.849 1912 INFO nova.compute.
2016-04-27 19:38:15.931 1912 AUDIT nova.compute.
2016-04-27 19:38:16.163 1912 AUDIT nova.compute.
2016-04-27 19:38:16.164 1912 AUDIT nova.compute.
2016-04-27 19:38:16.164 1912 AUDIT nova.compute.
2016-04-27 19:38:16.164 1912 AUDIT nova.compute.
2016-04-27 19:38:16.380 1912 INFO nova.scheduler.
2016-04-27 19:38:16.381 1912 INFO nova.compute.
2016-04-27 19:39:15.618 1912 AUDIT nova.compute.
2016-04-27 19:39:16.052 1912 AUDIT nova.compute.
2016-04-27 19:39:16.053 1912 AUDIT nova.compute.
2016-04-27 19:39:16.053 1912 AUDIT nova.compute.
2016-04-27 19:39:16.054 1912 AUDIT nova.compute.
2016-04-27 19:39:16.054 1912 INFO nova.compute.
2016-04-27 19:39:28.237 1912 ERROR nova.servicegro
2016-04-27 19:39:28.237 1912 TRACE nova.servicegro
2016-04-27 19:39:28.237 1912 TRACE nova.servicegro
2016-04-27 19:39:28.237 1912 TRACE nova.servicegro
2016-04-27 19:39:28.237 1912 TRACE nova.servicegro
2016-04-27 19:39:28.237 1912 TRACE nova.servicegro
2016-04-27 19:39:28.237 1912 TRACE nova.servicegro
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- Ubuntu nova Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: