Re: [openstack-dev] q-agt error

2014-05-28 Thread Assaf Muller


- 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:  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 
> 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@lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> 

___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] q-agt error

2014-05-28 Thread abhishek jain
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  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:  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 
> > 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@lists.openstack.org
> > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> >
>
> ___
> OpenStack-dev mailing list
> OpenStack-dev@lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] q-agt error

2014-05-28 Thread abhishek jain
Hi

I'm trying to run my q-agt service and getting following error ...


-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:  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 
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@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] q-agt error

2014-05-05 Thread sonia verma
Hi Aaron

Thanks for the reply.
Following are the nova-compute logs...

pt/stack/nova/nova/openstack/common/processutils.py:172
2014-05-05 13:52:37.632 DEBUG nova.virt.disk.mount.api
[req-3cc7cbae-1ef2-4602-bdc8-82b50f8207c6 admin admin] Failed to mount
filesystem: Unexpected error while running command.
Command: sudo nova-rootwrap /etc/nova/rootwrap.conf mount /dev/nbd10
/tmp/openstack-vfs-localfsCn1KbQ
Exit code: 12
Stdout: ''
Stderr: "Failed to read bootsector (size=0)\nFailed to mount '/dev/nbd10':
Invalid argument\nThe device '/dev/nbd10' doesn't seem to have a valid
NTFS.\nMaybe the wrong device is used? Or the whole disk instead of
a\npartition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?\n"
mnt_dev /opt/stack/nova/nova/virt/disk/mount/api.py:198
2014-05-05 13:52:37.633 DEBUG nova.virt.disk.mount.api
[req-3cc7cbae-1ef2-4602-bdc8-82b50f8207c6 admin admin] Fail to mount,
tearing back down do_mount /opt/stack/nova/nova/virt/disk/mount/api.py:219
2014-05-05 13:52:37.633 DEBUG nova.virt.disk.mount.api
[req-3cc7cbae-1ef2-4602-bdc8-82b50f8207c6 admin admin] Unmap dev /dev/nbd10
unmap_dev /opt/stack/nova/nova/virt/disk/mount/api.py:184
2014-05-05 13:52:37.634 DEBUG nova.virt.disk.mount.nbd
[req-3cc7cbae-1ef2-4602-bdc8-82b50f8207c6 admin admin] Release nbd device
/dev/nbd10 unget_dev /opt/stack/nova/nova/virt/disk/mount/nbd.py:128
2014-05-05 13:52:37.636 DEBUG nova.openstack.common.processutils
[req-3cc7cbae-1ef2-4602-bdc8-82b50f8207c6 admin admin] Running cmd
(subprocess): sudo nova-rootwrap /etc/nova/rootwrap.conf qemu-nbd -d
/dev/nbd10 execute
/opt/stack/nova/nova/openstack/common/processutils.py:147
2014-05-05 13:52:37.803 DEBUG nova.virt.disk.vfs.localfs
[req-3cc7cbae-1ef2-4602-bdc8-82b50f8207c6 admin admin] Failed to mount
image Failed to mount filesystem: Unexpected error while running command.
Command: sudo nova-rootwrap /etc/nova/rootwrap.conf mount /dev/nbd10
/tmp/openstack-vfs-localfsCn1KbQ
Exit code: 12

Also the q-gt logs in the previous mail are repeatedly comnig.Is that any
issue?


Please help regarding that.



On Tue, May 6, 2014 at 11:40 AM, Aaron Rosen  wrote:

> I don't see any error in the above logs you've pasted. I'd check the
> nova-compute logs as well.
>
> Aaron
>
>
> On Mon, May 5, 2014 at 10:51 PM, sonia verma wrote:
>
>> Hi all
>>
>> I want to boot VM from openstack dashboard onto compute node using
>> devstack.When I'm booting VM from opensatck dashboard onto compute node,the
>> VM status is stuck at 'SPAWNING' and never changes to 'ACTIVE'.  I'm also
>> able to get tap interface of the VM onto compute node.I'm getting following
>> error in q-agt service...
>>
>> Stdout:
>> '{"data":[["qvo4b71e52b-d1",["map",[["attached-mac","fa:16:3e:83:6d:7c"],["iface-id","4b71e52b-d14d-48cc-bbce-0eb07719e830"],["iface-status","active"],["vm-uuid","037cbf7a-e3b7-401d-b941-9e0b1c5aaf99",["br-tun",["map",[]]],["br-int",["map",[]]],["qvo2ce34d70-ab",["map",[["attached-mac","fa:16:3e:31:97:c4"],["iface-id","2ce34d70-ab92-456a-aa12-8823df2c007f"],["iface-status","active"],["vm-uuid","370a2bec-7a56-4aa4-87d0-a22470e169fe"],"headings":["name","external_ids"]}\n'
>>
>> Stderr: '' execute /opt/stack/neutron/neutron/agent/linux/utils.py:73
>> 2014-05-05 14:00:50.082 14236 DEBUG neutron.agent.linux.utils [-]
>> Running command: ['sudo', '/usr/local/bin/neutron-rootwrap',
>> '/etc/neutron/rootwrap.conf', 'ovs-vsctl', '--timeout=2', 'list-ports',
>> 'br-int'] create_process /opt/stack/neutron/neutron/agent/linux/utils.py:47
>> 2014-05-05 14:00:50.446 14236 DEBUG neutron.agent.linux.utils [-]
>> Command: ['sudo', '/usr/local/bin/neutron-rootwrap',
>> '/etc/neutron/rootwrap.conf', 'ovs-vsctl', '--timeout=2', 'list-ports',
>> 'br-int']
>> Exit code: 0
>> Stdout: 'qvo2ce34d70-ab\nqvo4b71
>>
>>
>> Please help regarding this.
>>
>> Thanks
>> Sonia
>>
>> ___
>> OpenStack-dev mailing list
>> OpenStack-dev@lists.openstack.org
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>>
>
> ___
> OpenStack-dev mailing list
> OpenStack-dev@lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] q-agt error

2014-05-05 Thread Aaron Rosen
I don't see any error in the above logs you've pasted. I'd check the
nova-compute logs as well.

Aaron


On Mon, May 5, 2014 at 10:51 PM, sonia verma wrote:

> Hi all
>
> I want to boot VM from openstack dashboard onto compute node using
> devstack.When I'm booting VM from opensatck dashboard onto compute node,the
> VM status is stuck at 'SPAWNING' and never changes to 'ACTIVE'.  I'm also
> able to get tap interface of the VM onto compute node.I'm getting following
> error in q-agt service...
>
> Stdout:
> '{"data":[["qvo4b71e52b-d1",["map",[["attached-mac","fa:16:3e:83:6d:7c"],["iface-id","4b71e52b-d14d-48cc-bbce-0eb07719e830"],["iface-status","active"],["vm-uuid","037cbf7a-e3b7-401d-b941-9e0b1c5aaf99",["br-tun",["map",[]]],["br-int",["map",[]]],["qvo2ce34d70-ab",["map",[["attached-mac","fa:16:3e:31:97:c4"],["iface-id","2ce34d70-ab92-456a-aa12-8823df2c007f"],["iface-status","active"],["vm-uuid","370a2bec-7a56-4aa4-87d0-a22470e169fe"],"headings":["name","external_ids"]}\n'
>
> Stderr: '' execute /opt/stack/neutron/neutron/agent/linux/utils.py:73
> 2014-05-05 14:00:50.082 14236 DEBUG neutron.agent.linux.utils [-] Running
> command: ['sudo', '/usr/local/bin/neutron-rootwrap',
> '/etc/neutron/rootwrap.conf', 'ovs-vsctl', '--timeout=2', 'list-ports',
> 'br-int'] create_process /opt/stack/neutron/neutron/agent/linux/utils.py:47
> 2014-05-05 14:00:50.446 14236 DEBUG neutron.agent.linux.utils [-]
> Command: ['sudo', '/usr/local/bin/neutron-rootwrap',
> '/etc/neutron/rootwrap.conf', 'ovs-vsctl', '--timeout=2', 'list-ports',
> 'br-int']
> Exit code: 0
> Stdout: 'qvo2ce34d70-ab\nqvo4b71
>
>
> Please help regarding this.
>
> Thanks
> Sonia
>
> ___
> OpenStack-dev mailing list
> OpenStack-dev@lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] q-agt error

2014-05-05 Thread sonia verma
Hi all

I want to boot VM from openstack dashboard onto compute node using
devstack.When I'm booting VM from opensatck dashboard onto compute node,the
VM status is stuck at 'SPAWNING' and never changes to 'ACTIVE'.  I'm also
able to get tap interface of the VM onto compute node.I'm getting following
error in q-agt service...

Stdout:
'{"data":[["qvo4b71e52b-d1",["map",[["attached-mac","fa:16:3e:83:6d:7c"],["iface-id","4b71e52b-d14d-48cc-bbce-0eb07719e830"],["iface-status","active"],["vm-uuid","037cbf7a-e3b7-401d-b941-9e0b1c5aaf99",["br-tun",["map",[]]],["br-int",["map",[]]],["qvo2ce34d70-ab",["map",[["attached-mac","fa:16:3e:31:97:c4"],["iface-id","2ce34d70-ab92-456a-aa12-8823df2c007f"],["iface-status","active"],["vm-uuid","370a2bec-7a56-4aa4-87d0-a22470e169fe"],"headings":["name","external_ids"]}\n'

Stderr: '' execute /opt/stack/neutron/neutron/agent/linux/utils.py:73
2014-05-05 14:00:50.082 14236 DEBUG neutron.agent.linux.utils [-] Running
command: ['sudo', '/usr/local/bin/neutron-rootwrap',
'/etc/neutron/rootwrap.conf', 'ovs-vsctl', '--timeout=2', 'list-ports',
'br-int'] create_process /opt/stack/neutron/neutron/agent/linux/utils.py:47
2014-05-05 14:00:50.446 14236 DEBUG neutron.agent.linux.utils [-]
Command: ['sudo', '/usr/local/bin/neutron-rootwrap',
'/etc/neutron/rootwrap.conf', 'ovs-vsctl', '--timeout=2', 'list-ports',
'br-int']
Exit code: 0
Stdout: 'qvo2ce34d70-ab\nqvo4b71


Please help regarding this.

Thanks
Sonia
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] q-agt error

2014-05-05 Thread abhishek jain
Hi all


I'm getting following error in q-agt service of compute node while booting
VM from controller node onto it..

 14-05-04 08:56:53.508 13530 DEBUG neutron.agent.linux.utils [-]
Command: ['sudo', '/usr/local/bin/neutron-rootwrap',
'/etc/neutron/rootwrap.conf', 'ip6tables-restore', '-c']
Exit code: 2
Stdout: ''
Stderr: "libkmod: ERROR ../libkmod/libkmod.c:554 kmod_search_moddep: could
not open moddep file
'/lib/modules/3.8.13-rt9-QorIQ-SDK-V1.4/modules.dep.bin'\nip6tables-restore
v1.4.18: ip6tables-restore: unable to initialize table 'filter'\n\nError
occurred at line: 2\nTry `ip6tables-restore -h' or 'ip6tables-restore
--help' for more information.\n" execute
/opt/stack/neutron/neutron/agent/linux/utils.py:73
2014-05-04 08:56:53.510 13530 DEBUG neutron.openstack.common.lockutils [-]
Released file lock "iptables" at
/opt/stack/data/neutron/lock/neutron-iptables for method "_apply"... inner
/opt/stack/neutron/neutron/openstack/common/lockutils.py:239
2014-05-04 08:56:53.512 13530 ERROR
neutron.plugins.openvswitch.agent.ovs_neutron_agent [-] Error in agent
event loop
2014-05-04 08:56:53.512 13530 TRACE
neutron.plugins.openvswitch.agent.ovs_neutron_agent Traceback (most recent
call last):
2014-05-04 08:56:53.512 13530 TRACE
neutron.plugins.openvswitch.agent.ovs_neutron_agent   File
"/opt/stack/neutron/neutron/plugins/openvswitch/agent/ovs_neutron_agent.py",
line 1082, in rpc_loop

Please help me regarding this.

Thanks
Abhishek Jain
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev