Ask Your Question
0

nova compute --Falling back to VFSLocalFS

asked 2014-05-27 01:32:46 -0500

Sonia gravatar image

updated 2014-05-27 01:54:18 -0500

Hi 

Below is the code to which I'm going to reffer to..

 vim /opt/stack/nova/nova/virt/disk/vfs/api.py

#####################################################################

try:
            LOG.debug(_("Trying to import guestfs"))
            importutils.import_module("guestfs")
            hasGuestfs = True
        except Exception:
            pass

        if hasGuestfs:
            LOG.debug(_("Using primary VFSGuestFS"))
            return importutils.import_object(
                "nova.virt.disk.vfs.guestfs.VFSGuestFS",
                imgfile, imgfmt, partition)
        else:
            LOG.debug(_("Falling back to VFSLocalFS"))
            return importutils.import_object(
                "nova.virt.disk.vfs.localfs.VFSLocalFS",
                imgfile, imgfmt, partition)

#######################################################

When I'm launching  VM from the controller node onto compute node,the nova compute logs on the compute node displays...Falling back to VFSLocalFS and the result is that the VM is stuck in spawning state.

However When I'm trying to launch a VM onto controller node form the controller node itself,the nova compute logs on the controller node dislpays ...Using primary VFSGuestFS and I'm able to launch VM on controller node.

Is there any module in the kernel or any package that i need to enable.
Please help regarding this.

Thanks
Sonia
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2014-05-27 09:47:31 -0500

@Sonia,

Please check if you have the following on your compute node and controller node :

$ rpm -qa | grep guestfs
libguestfs-1.20.11-2.el6.x86_64
libguestfs-tools-c-1.20.11-2.el6.x86_64
python-libguestfs-1.20.11-2.el6.x86_64
edit flag offensive delete link more

Comments

Hi

I'm able to proceed after enabling the above packages.

Thanks

Sonia gravatar imageSonia ( 2014-05-27 23:41:28 -0500 )edit

You are very welcome!

Lawrence Lo gravatar imageLawrence Lo ( 2014-05-28 08:02:02 -0500 )edit

One more quiry Lawrence.

After installing libguestfs-test-tool on powerpc compute node similar to x86 controller node,I'm able to achieve the desired logs i.e Using primary VFSGuestFS on the compute node.

Also while installing  libguestfs-test-tool on powerpc ,one more package i.e supermin_5.1.8-2_powerpc.deb was needed to be installed.

Now when I boot VM from controller node over compute node,the Vm is still in spawning state and I'm getting below logs for nova-compute..


/opt/stack/data/nova/instances/66d920e4-55bd-41e7-8436-be78ed71cab3/disk with error Error mounting /opt/stack/data/nova/instances/66d920e4-55bd-41e7-8436-be78ed71cab3/disk with libguestfs (/usr/bin/supermin exited with error status 1.^M
To see full error messages you may need to enable debugging.^M
See http://libguestfs.org/guestfs-faq.1.html#debugging-libguestfs). Cannot resize. is_image_partitionless /opt/stack/nova/nova/virt/disk/api.py:187^M
2014-05-28 06:56:20.245 DEBUG nova.openstack.common ...
(more)
Sonia gravatar imageSonia ( 2014-05-30 04:19:53 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-05-27 01:32:46 -0500

Seen: 1,475 times

Last updated: May 27 '14