Created
September 11, 2014 07:03
-
-
Save wenjianhn/81aa0bbf4cb9879a5214 to your computer and use it in GitHub Desktop.
runuser: debugging neutron server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@n-controller tmp]# pwd | |
/tmp | |
[root@n-controller tmp]# ls -l ./run_neturon.sh | |
-rwxr--r--. 1 neutron neutron 192 Sep 11 14:59 ./run_neturon.sh | |
[root@n-controller tmp]# cat run_neturon.sh | |
/usr/bin/neutron-server --config-file /usr/share/neutron/neutron-dist.conf --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugin.ini --log-file /var/log/neutron/server.log | |
[root@n-controller tmp]# | |
[root@n-controller tmp]# | |
[root@n-controller tmp]# runuser -s /bin/bash neutron ./run_neturon.sh | |
> /usr/lib/python2.6/site-packages/neutron/plugins/ml2/drivers/mech_openvswitch.py(38)__init__() | |
-> super(OpenvswitchMechanismDriver, self).__init__( | |
(Pdb) l | |
33 network. | |
34 """ | |
35 | |
36 def __init__(self): | |
37 import pdb; pdb.set_trace() | |
38 -> super(OpenvswitchMechanismDriver, self).__init__( | |
39 constants.AGENT_TYPE_OVS, | |
40 portbindings.VIF_TYPE_OVS, | |
41 {portbindings.CAP_PORT_FILTER: True, | |
42 portbindings.OVS_HYBRID_PLUG: sg_rpc.is_firewall_enabled()}) | |
43 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment