Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Unable to import guestfsfalling back to VFSLocalFS

Hi all,

we having a problem to create new instances on a new compute node. the compute node is installed with nova-compute version: 1:2014.2.2-0ubuntu1~cloud0

The main errors in the log file are:

  • Unable to import guestfsfalling back to VFSLocalFS
  • Error defining a domain with XML: domain type="kvm"

Any suggestions? Thanks in advance,

Alon here is the log file of nova-compute.log:

2015-04-01 20:13:31.652 4698 AUDIT nova.compute.manager [req-d77ecf7b-8e11-4686-9aa2-da61cc9f9a48 None] [instance: 50a8caa4-dcc2-435d-a13a-0b9d7e9dfab6] Starting instance...
2015-04-01 20:13:31.760 4698 AUDIT nova.compute.claims [-] [instance: 50a8caa4-dcc2-435d-a13a-0b9d7e9dfab6] Attempting claim: memory 512 MB, disk 1 GB
2015-04-01 20:13:31.761 4698 AUDIT nova.compute.claims [-] [instance: 50a8caa4-dcc2-435d-a13a-0b9d7e9dfab6] Total memory: 3863 MB, used: 512.00 MB
2015-04-01 20:13:31.762 4698 AUDIT nova.compute.claims [-] [instance: 50a8caa4-dcc2-435d-a13a-0b9d7e9dfab6] memory limit: 5794.50 MB, free: 5282.50 MB
2015-04-01 20:13:31.762 4698 AUDIT nova.compute.claims [-] [instance: 50a8caa4-dcc2-435d-a13a-0b9d7e9dfab6] Total disk: 68 GB, used: 0.00 GB
2015-04-01 20:13:31.763 4698 AUDIT nova.compute.claims [-] [instance: 50a8caa4-dcc2-435d-a13a-0b9d7e9dfab6] disk limit not specified, defaulting to unlimited
2015-04-01 20:13:31.775 4698 AUDIT nova.compute.claims [-] [instance: 50a8caa4-dcc2-435d-a13a-0b9d7e9dfab6] Claim successful
2015-04-01 20:13:31.883 4698 INFO nova.scheduler.client.report [-] Compute_service record updated for ('ubuntuServer4', 'ubuntuServer4')
2015-04-01 20:13:32.001 4698 INFO nova.scheduler.client.report [-] Compute_service record updated for ('ubuntuServer4', 'ubuntuServer4')
2015-04-01 20:13:32.360 4698 INFO nova.virt.libvirt.driver [-] [instance: 50a8caa4-dcc2-435d-a13a-0b9d7e9dfab6] Creating image
2015-04-01 20:13:32.543 4698 INFO nova.scheduler.client.report [-] Compute_service record updated for ('ubuntuServer4', 'ubuntuServer4')
2015-04-01 20:13:32.704 4698 INFO nova.virt.disk.vfs.api [-] Unable to import guestfsfalling back to VFSLocalFS
2015-04-01 20:13:34.019 4698 ERROR nova.virt.libvirt.driver [-] Error defining a domain with XML: <domain type="kvm">
  <uuid>50a8caa4-dcc2-435d-a13a-0b9d7e9dfab6</uuid>
  <name>instance-0000002c</name>
  <memory>524288</memory>
  <vcpu cpuset="0-3">1</vcpu>
  <metadata>
    <nova:instance xmlns:nova="http://openstack.org/xmlns/libvirt/nova/1.0">
      <nova:package version="2014.2.2"/>
      <nova:name>three</nova:name>
      <nova:creationTime>2015-04-01 17:13:32</nova:creationTime>
      <nova:flavor name="m1.tiny">
        <nova:memory>512</nova:memory>
        <nova:disk>1</nova:disk>
        <nova:swap>0</nova:swap>
        <nova:ephemeral>0</nova:ephemeral>
        <nova:vcpus>1</nova:vcpus>
      </nova:flavor>
      <nova:owner>
        <nova:user uuid="268e9696ac504a34a9eb1cb75cb81e35">admin</nova:user>
        <nova:project uuid="d21835e6ea054b6799fba4dceaf9edcc">admin</nova:project>
      </nova:owner>
      <nova:root type="image" uuid="77c39020-845a-487f-ab13-6f79310b78b1"/>
    </nova:instance>
  </metadata>
  <sysinfo type="smbios">
    <system>
      <entry name="manufacturer">OpenStack Foundation</entry>
      <entry name="product">OpenStack Nova</entry>
      <entry name="version">2014.2.2</entry>
      <entry name="serial">81d86ad7-2351-cb11-8423-e9dd7be011fa</entry>
      <entry name="uuid">50a8caa4-dcc2-435d-a13a-0b9d7e9dfab6</entry>
    </system>
  </sysinfo>
  <os>
    <type>hvm</type>
    <boot dev="hd"/>
    <smbios mode="sysinfo"/>
  </os>
  <features>
    <acpi/>
    <apic/>
  </features>
  <clock offset="utc">
    <timer name="pit" tickpolicy="delay"/>
    <timer name="rtc" tickpolicy="catchup"/>
    <timer name="hpet" present="no"/>
  </clock>
  <cpu mode="host-model" match="exact">
    <topology sockets="1" cores="1" threads="1"/>
  </cpu>
  <devices>
    <disk type="file" device="disk">
      <driver name="qemu" type="qcow2" cache="none"/>
      <source file="/var/lib/nova/instances/50a8caa4-dcc2-435d-a13a-0b9d7e9dfab6/disk"/>
      <target bus="virtio" dev="vda"/>
    </disk>
    <interface type="bridge">
      <mac address="fa:16:3e:15:85:f1"/>
      <model type="virtio"/>
      <source bridge="qbr2564fbeb-0d"/>
      <target dev="tap2564fbeb-0d"/>
    </interface>
    <serial type="file">
      <source path="/var/lib/nova/instances/50a8caa4-dcc2-435d-a13a-0b9d7e9dfab6/console.log"/>
    </serial>
    <serial type="pty"/>
    <input type="tablet" bus="usb"/>
    <graphics type="vnc" autoport="yes" keymap="en-us" listen="0.0.0.0"/>
    <video>
      <model type="cirrus"/>
    </video>
    <memballoon model="virtio">
      <stats period="10"/>
    </memballoon>
  </devices>
</domain>

2015-04-01 20:13:34.021 4698 ERROR nova.compute.manager [-] [instance: 50a8caa4-dcc2-435d-a13a-0b9d7e9dfab6] Instance failed to spawn
2015-04-01 20:13:34.021 4698 TRACE nova.compute.manager [instance: 50a8caa4-dcc2-435d-a13a-0b9d7e9dfab6] Traceback (most recent call last):
2015-04-01 20:13:34.021 4698 TRACE nova.compute.manager [instance: 50a8caa4-dcc2-435d-a13a-0b9d7e9dfab6]   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2252, in _build_resources
2015-04-01 20:13:34.021 4698 TRACE nova.compute.manager [instance: 50a8caa4-dcc2-435d-a13a-0b9d7e9dfab6]     yield resources
2015-04-01 20:13:34.021 4698 TRACE nova.compute.manager [instance: 50a8caa4-dcc2-435d-a13a-0b9d7e9dfab6]   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2122, in _build_and_run_instance
2015-04-01 20:13:34.021 4698 TRACE nova.compute.manager [instance: 50a8caa4-dcc2-435d-a13a-0b9d7e9dfab6]     block_device_info=block_device_info)
2015-04-01 20:13:34.021 4698 TRACE nova.compute.manager [instance: 50a8caa4-dcc2-435d-a13a-0b9d7e9dfab6]   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2622, in spawn
2015-04-01 20:13:34.021 4698 TRACE nova.compute.manager [instance: 50a8caa4-dcc2-435d-a13a-0b9d7e9dfab6]     block_device_info, disk_info=disk_info)
2015-04-01 20:13:34.021 4698 TRACE nova.compute.manager [instance: 50a8caa4-dcc2-435d-a13a-0b9d7e9dfab6]   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 4425, in _create_domain_and_network
2015-04-01 20:13:34.021 4698 TRACE nova.compute.manager [instance: 50a8caa4-dcc2-435d-a13a-0b9d7e9dfab6]     power_on=power_on)
2015-04-01 20:13:34.021 4698 TRACE nova.compute.manager [instance: 50a8caa4-dcc2-435d-a13a-0b9d7e9dfab6]   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 4349, in _create_domain
2015-04-01 20:13:34.021 4698 TRACE nova.compute.manager [instance: 50a8caa4-dcc2-435d-a13a-0b9d7e9dfab6]     LOG.error(err)
2015-04-01 20:13:34.021 4698 TRACE nova.compute.manager [instance: 50a8caa4-dcc2-435d-a13a-0b9d7e9dfab6]   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/excutils.py", line 82, in __exit__
2015-04-01 20:13:34.021 4698 TRACE nova.compute.manager [instance: 50a8caa4-dcc2-435d-a13a-0b9d7e9dfab6]     six.reraise(self.type_, self.value, self.tb)
2015-04-01 20:13:34.021 4698 TRACE nova.compute.manager [instance: 50a8caa4-dcc2-435d-a13a-0b9d7e9dfab6]   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 4333, in _create_domain
2015-04-01 20:13:34.021 4698 TRACE nova.compute.manager [instance: 50a8caa4-dcc2-435d-a13a-0b9d7e9dfab6]     domain = self._conn.defineXML(xml)
2015-04-01 20:13:34.021 4698 TRACE nova.compute.manager [instance: 50a8caa4-dcc2-435d-a13a-0b9d7e9dfab6]   File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 179, in doit
2015-04-01 20:13:34.021 4698 TRACE nova.compute.manager [instance: 50a8caa4-dcc2-435d-a13a-0b9d7e9dfab6]     result = proxy_call(self._autowrap, f, *args, **kwargs)
2015-04-01 20:13:34.021 4698 TRACE nova.compute.manager [instance: 50a8caa4-dcc2-435d-a13a-0b9d7e9dfab6]   File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 139, in proxy_call
2015-04-01 20:13:34.021 4698 TRACE nova.compute.manager [instance: 50a8caa4-dcc2-435d-a13a-0b9d7e9dfab6]     rv = execute(f,*args,**kwargs)
2015-04-01 20:13:34.021 4698 TRACE nova.compute.manager [instance: 50a8caa4-dcc2-435d-a13a-0b9d7e9dfab6]   File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 77, in tworker
2015-04-01 20:13:34.021 4698 TRACE nova.compute.manager [instance: 50a8caa4-dcc2-435d-a13a-0b9d7e9dfab6]     rv = meth(*args,**kwargs)
2015-04-01 20:13:34.021 4698 TRACE nova.compute.manager [instance: 50a8caa4-dcc2-435d-a13a-0b9d7e9dfab6]   File "/usr/lib/python2.7/dist-packages/libvirt.py", line 3240, in defineXML
2015-04-01 20:13:34.021 4698 TRACE nova.compute.manager [instance: 50a8caa4-dcc2-435d-a13a-0b9d7e9dfab6]     if ret is None:raise libvirtError('virDomainDefineXML() failed', conn=self)
2015-04-01 20:13:34.021 4698 TRACE nova.compute.manager [instance: 50a8caa4-dcc2-435d-a13a-0b9d7e9dfab6] libvirtError: internal error: no supported architecture for os type 'hvm'
2015-04-01 20:13:34.021 4698 TRACE nova.compute.manager [instance: 50a8caa4-dcc2-435d-a13a-0b9d7e9dfab6]
2015-04-01 20:13:34.025 4698 AUDIT nova.compute.manager [req-d77ecf7b-8e11-4686-9aa2-da61cc9f9a48 None] [instance: 50a8caa4-dcc2-435d-a13a-0b9d7e9dfab6] Terminating instance
2015-04-01 20:13:34.034 4698 WARNING nova.virt.libvirt.driver [-] [instance: 50a8caa4-dcc2-435d-a13a-0b9d7e9dfab6] During wait destroy, instance disappeared.
2015-04-01 20:13:34.141 4698 INFO nova.virt.libvirt.driver [-] [instance: 50a8caa4-dcc2-435d-a13a-0b9d7e9dfab6] Deleting instance files /var/lib/nova/instances/50a8caa4-dcc2-435d-a13a-0b9d7e9dfab6_del
2015-04-01 20:13:34.143 4698 INFO nova.virt.libvirt.driver [-] [instance: 50a8caa4-dcc2-435d-a13a-0b9d7e9dfab6] Deletion of /var/lib/nova/instances/50a8caa4-dcc2-435d-a13a-0b9d7e9dfab6_del complete
2015-04-01 20:13:34.258 4698 INFO nova.scheduler.client.report [-] Compute_service record updated for ('ubuntuServer4', 'ubuntuServer4')
2015-04-01 20:13:58.035 4698 AUDIT nova.compute.resource_tracker [-] Auditing locally available compute resources
2015-04-01 20:13:58.211 4698 AUDIT nova.compute.resource_tracker [-] Total physical ram (MB): 3863, total allocated virtual ram (MB): 1024
2015-04-01 20:13:58.212 4698 AUDIT nova.compute.resource_tracker [-] Free disk (GB): 67
2015-04-01 20:13:58.213 4698 AUDIT nova.compute.resource_tracker [-] Total usable vcpus: 4, total allocated vcpus: 0
2015-04-01 20:13:58.214 4698 AUDIT nova.compute.resource_tracker [-] PCI stats: []
2015-04-01 20:13:58.252 4698 INFO nova.scheduler.client.report [-] Compute_service record updated for ('ubuntuServer4', 'ubuntuServer4')
2015-04-01 20:13:58.253 4698 INFO nova.compute.resource_tracker [-] Compute_service record updated for ubuntuServer4:ubuntuServer4