[openstack-dev] q-agt error

abhishek jain ashujain9727 at gmail.com
Wed May 28 09:36:54 UTC 2014


Hi Asaf

Thanks
I'm able to solve the above error but I'm stuck in the another one.


Below is the code 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.




On Wed, May 28, 2014 at 3:00 PM, Assaf Muller <amuller at redhat.com> wrote:

>
>
> ----- Original Message -----
> > Hi
> >
> > I'm trying to run my q-agt service and getting following error ...
> >
>
> You've stumbled on the development mailing list. You will have better
> luck with ask.openstack.org or the users mailing list.
>
> Good luck!
>
> >
> > -05-28 02:00:51.205 15377 DEBUG neutron.agent.linux.utils [-]
> > Command: ['ip', '-o', 'link', 'show', 'br-int']
> > Exit code: 0
> > Stdout: '28: br-int: <BROADCAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state
> > UNKNOWN mode DEFAULT \\ link/ether 3a:ed:a9:bd:14:19 brd
> > ff:ff:ff:ff:ff:ff\n'
> > Stderr: '' execute /opt/stack/neutron/neutron/agent/linux/utils.py:74
> > 2014-05-28 02:00:51.209 15377 CRITICAL neutron [-] Policy configuration
> > policy.json could not be found
> > 2014-05-28 02:00:51.209 15377 TRACE neutron Traceback (most recent call
> > last):
> > 2014-05-28 02:00:51.209 15377 TRACE neutron File
> > "/usr/local/bin/neutron-openvswitch-agent", line 10, in <module>
> > 2014-05-28 02:00:51.209 15377 TRACE neutron sys.exit(main())
> > 2014-05-28 02:00:51.209 15377 TRACE neutron File
> >
> "/opt/stack/neutron/neutron/plugins/openvswitch/agent/ovs_neutron_agent.py",
> > line 1485, in main
> > 2014-05-28 02:00:51.209 15377 TRACE neutron agent =
> > OVSNeutronAgent(**agent_config)
> > 2014-05-28 02:00:51.209 15377 TRACE neutron File
> >
> "/opt/stack/neutron/neutron/plugins/openvswitch/agent/ovs_neutron_agent.py",
> > line 207, in __init__
> >
> > Please help regarding this.
> >
> >
> > Thanks
> > Abhishek Jain
> >
> > _______________________________________________
> > OpenStack-dev mailing list
> > OpenStack-dev at lists.openstack.org
> > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> >
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140528/b6d1dc7c/attachment.html>


More information about the OpenStack-dev mailing list