Unable to create instance using Juno and Ubuntu 14.04
Hello,
I am trying to create an instance via command line using below command on Controller node:
# nova boot --flavor m1.tiny --image cirros-0.3.3-x86_64 --nic net-id=fe77e77c-6e7e-4204-9819-f550732a7361 --security-group default --key-name demo-key demo-instance
1
+--------------------------------------+------------------------------------------------------------+
| Property | Value |
+--------------------------------------+------------------------------------------------------------+
| OS-DCF:diskConfig | MANUAL |
| OS-EXT-AZ:availability_zone | nova |
| OS-EXT-STS:power_state | 0 |
| OS-EXT-STS:task_state | scheduling |
| OS-EXT-STS:vm_state | building |
| OS-SRV-USG:launched_at | - |
| OS-SRV-USG:terminated_at | - |
| accessIPv4 | |
| accessIPv6 | |
| adminPass | 3sWdpY74DRcL |
| config_drive | |
| created | 2015-09-15T15:46:42Z |
| flavor | m1.tiny (1) |
| hostId | |
| id | 1f854f64-17a2-4e25-9965-5b4ca4d61b13 |
| image | cirros-0.3.3-x86_64 (e9c91005-9b29-4682-b792-7964ab8a31c1) |
| key_name | demo-key |
| metadata | {} |
| name | demo-instance1 |
| os-extended-volumes:volumes_attached | [] |
| progress | 0 |
| security_groups | default |
| status | BUILD |
| tenant_id | 7de542ff415240cba7daf2401db05da8 |
| updated | 2015-09-15T15:46:42Z |
| user_id | 2a6c37a0baa944e596fda43f5749ff7c |
+--------------------------------------+------------------------------------------------------------+
Below is output of nova list:
# nova list
+--------------------------------------+----------------+--------+------------+-------------+----------------------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+----------------+--------+------------+-------------+----------------------+
| 1f854f64-17a2-4e25-9965-5b4ca4d61b13 | demo-instance1 | ERROR | - | NOSTATE | demo-net=192.168.1.6 |
+--------------------------------------+----------------+--------+------------+-------------+----------------------+
Please review below nova-compute.log and advise me with resolution. Thank you in advance!
2015-09-15 08:44:53.718 13550 AUDIT nova.compute.resource_tracker [-] Free disk (GB): 28
2015-09-15 08:44:53.718 13550 AUDIT nova.compute.resource_tracker [-] Total usable vcpus: 32, total allocated vcpus: 0
2015-09-15 08:44:53.718 13550 AUDIT nova.compute.resource_tracker [-] PCI stats: []
2015-09-15 08:44:53.719 13550 INFO nova.compute.resource_tracker [-] Compute_service record updated for WTC2SZAICSBBL06:WTC2SZAICSBBL06.eng.mobilephone.net
2015-09-15 08:45:55.001 13550 AUDIT nova.compute.resource_tracker [-] Auditing locally available compute resources
2015-09-15 08:45:55.715 13550 AUDIT nova.compute.resource_tracker [-] Total physical ram (MB): 64390, total allocated virtual ram (MB): 512
2015-09-15 08:45:55.715 13550 AUDIT nova.compute.resource_tracker [-] Free disk (GB): 28
2015-09-15 08:45:55.716 13550 AUDIT nova.compute.resource_tracker [-] Total usable vcpus: 32, total allocated vcpus: 0
2015-09-15 08:45:55.716 13550 AUDIT nova.compute.resource_tracker [-] PCI stats: []
2015-09-15 08:45:55.717 13550 INFO nova.compute.resource_tracker [-] Compute_service record updated for WTC2SZAICSBBL06:WTC2SZAICSBBL06.eng.mobilephone.net
2015-09-15 08:46:42.411 13550 AUDIT nova.compute.manager [req-c78bc430-b6c4-4cbe-9a57-e20ced3768e8 None] [instance: 1f854f64-17a2-4e25-9965-5b4ca4d61b13] Starting instance...
2015-09-15 08:46:42.498 13550 AUDIT nova.compute.claims [-] [instance: 1f854f64-17a2-4e25-9965-5b4ca4d61b13] Attempting claim: memory 512 MB, disk 1 GB
2015-09-15 08:46:42.498 13550 AUDIT nova.compute.claims [-] [instance: 1f854f64-17a2-4e25-9965-5b4ca4d61b13] Total memory: 64390 MB, used: 512.00 MB
2015-09-15 08:46:42.499 13550 AUDIT nova.compute.claims [-] [instance: 1f854f64-17a2-4e25-9965-5b4ca4d61b13] memory limit: 96585.00 MB, free: 96073.00 MB
2015-09-15 08:46:42.499 13550 AUDIT nova.compute.claims [-] [instance: 1f854f64-17a2-4e25-9965-5b4ca4d61b13] Total disk: 28 GB, used: 0.00 GB
2015-09-15 08:46:42.500 13550 AUDIT nova.compute.claims [-] [instance: 1f854f64-17a2-4e25-9965-5b4ca4d61b13] disk limit not specified, defaulting to unlimited
2015-09-15 08:46:42.515 13550 AUDIT nova.compute.claims [-] [instance: 1f854f64-17a2-4e25-9965-5b4ca4d61b13] Claim successful
2015-09-15 08:46:42.663 13550 INFO nova.scheduler.client.report [-] Compute_service record updated for ('WTC2SZAICSBBL06', 'WTC2SZAICSBBL06.eng.mobilephone.net')
2015-09-15 08:46:42.781 13550 INFO nova.scheduler.client.report [-] Compute_service record updated for ('WTC2SZAICSBBL06', 'WTC2SZAICSBBL06.eng.mobilephone.net')
2015-09-15 08:46:43.051 13550 INFO nova.virt.libvirt.driver [-] [instance: 1f854f64-17a2-4e25-9965-5b4ca4d61b13] Creating image
2015-09-15 08:46:43.187 13550 INFO nova.virt.disk.vfs.api [-] Unable to import guestfsfalling ...
Check if libvirt is installed and configured to be used by qemu on your compute nodes:
It would be more useful the log from nova-scheduler