Unable to create instance on juno using centos 7 nova network

asked 2015-01-09 16:54:50 -0500

Rajan433 gravatar image

updated 2015-01-13 15:33:37 -0500

rbowen gravatar image

https://ask.openstack.org/en/account/...

I am following the openstack juno user guide for RHEL/CentOS and while creating instance, it fails with the errors as below, please advise:

// Command ran to create and boot instance

[root@controller ~]# nova boot --flavor m1.tiny --image cirros-0.3.3-x86_64 --nic net-id=6ad418c1-aa99-45f6-8a0c-49b39ee77fb6 --security-group default --key-name demo-key demo-instance1

// Getting following errors looking at nova-compute logs

2015-01-09 17:33:39.498 1120 AUDIT nova.compute.manager [req-cda1d213-4b78-4096-827c-32f3cf634d43 None] [instance: 8040f0b1-6360-4104-8d8c-d7961d3e7ead] Starting instance...
2015-01-09 17:33:39.623 1120 AUDIT nova.compute.claims [-] [instance: 8040f0b1-6360-4104-8d8c-d7961d3e7ead] Attempting claim: memory 512 MB, disk 1 GB
2015-01-09 17:33:39.623 1120 AUDIT nova.compute.claims [-] [instance: 8040f0b1-6360-4104-8d8c-d7961d3e7ead] Total memory: 7821 MB, used: 512.00 MB
2015-01-09 17:33:39.623 1120 AUDIT nova.compute.claims [-] [instance: 8040f0b1-6360-4104-8d8c-d7961d3e7ead] memory limit: 11731.50 MB, free: 11219.50 MB
2015-01-09 17:33:39.624 1120 AUDIT nova.compute.claims [-] [instance: 8040f0b1-6360-4104-8d8c-d7961d3e7ead] Total disk: 35 GB, used: 0.00 GB
2015-01-09 17:33:39.624 1120 AUDIT nova.compute.claims [-] [instance: 8040f0b1-6360-4104-8d8c-d7961d3e7ead] disk limit not specified, defaulting to unlimited
2015-01-09 17:33:39.639 1120 AUDIT nova.compute.claims [-] [instance: 8040f0b1-6360-4104-8d8c-d7961d3e7ead] Claim successful
2015-01-09 17:33:39.776 1120 INFO nova.scheduler.client.report [-] Compute_service record updated for ('compute1', 'compute1')
2015-01-09 17:33:39.939 1120 INFO nova.scheduler.client.report [-] Compute_service record updated for ('compute1', 'compute1')
2015-01-09 17:33:40.635 1120 INFO nova.virt.libvirt.driver [-] [instance: 8040f0b1-6360-4104-8d8c-d7961d3e7ead] Creating image
2015-01-09 17:34:29.949 1120 WARNING nova.virt.disk.vfs.guestfs [-] Unable to force TCG mode, libguestfs too old? 'GuestFS' object has no attribute 'set_backend_settings'
2015-01-09 17:34:29.970 1120 AUDIT nova.compute.resource_tracker [-] Auditing locally available compute resources
2015-01-09 17:34:30.191 1120 INFO nova.scheduler.client.report [-] Compute_service record updated for ('compute1', 'compute1')
2015-01-09 17:34:30.648 1120 AUDIT nova.compute.resource_tracker [-] Total physical ram (MB): 7821, total allocated virtual ram (MB): 1024
2015-01-09 17:34:30.649 1120 AUDIT nova.compute.resource_tracker [-] Free disk (GB): 34
2015-01-09 17:34:30.650 1120 AUDIT nova.compute.resource_tracker [-] Total usable vcpus: 4, total allocated vcpus: 0
2015-01-09 17:34:30.650 1120 AUDIT nova.compute.resource_tracker [-] PCI stats: []
2015-01-09 17:34:30.677 1120 INFO nova.scheduler.client.report [-] Compute_service record updated for ('compute1', 'compute1')
2015-01-09 17:34:30.678 1120 INFO nova.compute.resource_tracker [-] Compute_service record updated for compute1:compute1
2015-01-09 17:34:48.526 1120 WARNING nova.virt.disk.vfs.guestfs [-] Failed to close augeas aug_close: do_aug_close: you must call 'aug-init' first to initialize Augeas
2015-01-09 17:34:49.018 1120 INFO nova.virt.libvirt.firewall [-] [instance: 8040f0b1-6360-4104-8d8c-d7961d3e7ead] Called setup_basic_filtering in nwfilter
2015-01-09 17:34:49.019 1120 INFO nova.virt.libvirt.firewall [-] [instance: 8040f0b1-6360-4104-8d8c-d7961d3e7ead] Ensuring static filters
2015-01-09 17:34:50.518 1120 ERROR nova.virt.libvirt.driver [-] Error launching a defined domain with XML: <domain type='qemu'>
  <name>instance-0000000b</name>
  <uuid>8040f0b1-6360-4104-8d8c-d7961d3e7ead</uuid>
  <metadata>
    <nova:instance xmlns:nova="http://openstack.org/xmlns/libvirt/nova/1.0">
      <nova:package version ...
(more)
edit retag flag offensive close merge delete

Comments

Instance fail to spawn because: 2015-01-09 17:34:50.520 1120 TRACE nova.compute.manager [instance: 8040f0b1-6360-4104-8d8c-d7961d3e7ead] libvirtError: internal error: referenced filter 'no-mac-spoofing' is missing

Ranjit gravatar imageRanjit ( 2015-01-14 00:27:55 -0500 )edit

Similar problem is discussed here: https://ask.openstack.org/en/question...

Ranjit gravatar imageRanjit ( 2015-01-14 00:28:36 -0500 )edit

Thanks Ranjit. I installed those missing packages and now I can create instances.

Rajan433 gravatar imageRajan433 ( 2015-01-15 17:41:36 -0500 )edit