Ask Your Question
1

Error: Service q-agt is not running

asked 2014-03-31 14:53:20 -0500

kkvedula gravatar image

I see the below error when I run ./stack.sh:

2014-03-31 14:52:08.319 | + [[ ! -d /opt/stack/status/stack ]] 2014-03-31 14:52:08.321 | ++ ls /opt/stack/status/stack/q-agt.failure 2014-03-31 14:52:08.322 | + failures=/opt/stack/status/stack/q-agt.failure 2014-03-31 14:52:08.324 | + for service in '$failures' 2014-03-31 14:52:08.325 | ++ basename /opt/stack/status/stack/q-agt.failure 2014-03-31 14:52:08.327 | + service=q-agt.failure 2014-03-31 14:52:08.329 | + service=q-agt 2014-03-31 14:52:08.330 | + echo 'Error: Service q-agt is not running' 2014-03-31 14:52:08.332 | Error: Service q-agt is not running 2014-03-31 14:52:08.333 | + '[' -n /opt/stack/status/stack/q-agt.failure ']' 2014-03-31 14:52:08.335 | + die 1164 'More details about the above errors can be found with screen, with ./rejoin-stack.sh' 2014-03-31 14:52:08.336 | + local exitcode=0 2014-03-31 14:52:08.338 | [Call Trace] 2014-03-31 14:52:08.339 | ./stack.sh:1302:service_check 2014-03-31 14:52:08.341 | /home/qa/devstack/functions-common:1164:die 2014-03-31 14:52:08.342 | [ERROR] /home/qa/devstack/functions-common:1164 More details about the above errors can be found with screen, with ./rejoin-stack.sh 1323@OpENStkCtl:~/devstack$

q-agt log shows: 2014-03-31 14:52:08.319 | + [[ ! -d /opt/stack/status/stack ]] 2014-03-31 14:52:08.321 | ++ ls /opt/stack/status/stack/q-agt.failure 2014-03-31 14:52:08.322 | + failures=/opt/stack/status/stack/q-agt.failure 2014-03-31 14:52:08.324 | + for service in '$failures' 2014-03-31 14:52:08.325 | ++ basename /opt/stack/status/stack/q-agt.failure 2014-03-31 14:52:08.327 | + service=q-agt.failure 2014-03-31 14:52:08.329 | + service=q-agt 2014-03-31 14:52:08.330 | + echo 'Error: Service q-agt is not running' 2014-03-31 14:52:08.332 | Error: Service q-agt is not running 2014-03-31 14:52:08.333 | + '[' -n /opt/stack/status/stack/q-agt.failure ']' 2014-03-31 14:52:08.335 | + die 1164 'More details about the above errors can be found with screen, with ./rejoin-stack.sh' 2014-03-31 14:52:08.336 | + local exitcode=0 2014-03-31 14:52:08.338 | [Call Trace] 2014-03-31 14:52:08.339 | ./stack.sh:1302:service_check 2014-03-31 14:52:08.341 | /home/qa/devstack/functions-common:1164:die 2014-03-31 14:52:08.342 | [ERROR] /home/qa/devstack/functions-common:1164 More details about the above errors can be found with screen, with ./rejoin-stack.sh @@@OpENStkCtl:~/devstack$

Has anyone see this error before. Can you let me know the workaround?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2014-09-22 08:31:20 -0500

Christian gravatar image

updated 2014-09-23 08:57:26 -0500

Hi,

I came across the same error. I tried devstack on Ubuntu Server 14.04.1 with OpenStack Icehouse.
The log /opt/stack/log/screen/screen-q-agt.log showed this error:

Stderr: 'Traceback (most recent call last):\n File "/usr/local/bin/neutron-rootwrap", line 5, in <module>\n from pkg_resources import require\n File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2749, in <module>\n
working_set = WorkingSet._build_master()\n File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 446, in _build_master\n return cls._build_from_requirements(__requires__)\n File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 459, in _build_from_requirements\n dists = ws.resolve(reqs, Environment())\n File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 628, in resolve\n raise DistributionNotFound(req)\npkg_resources.DistributionNotFound: amqp>=1.4.5,<2.0\n' 2014-09-19 13:47:07.559 10890 TRACE neutron Traceback (most recent call last): 2014-09-19 13:47:07.559 10890 TRACE neutron File "/usr/local/bin/neutron-openvswitch-agent", line 10, in <module> 2014-09-19 13:47:07.559 10890 TRACE neutron
sys.exit(main()) 2014-09-19 13:47:07.559 10890 TRACE neutron
File "/opt/stack/neutron/neutron/plugins/openvswitch/agent/ovs_neutron_agent.py", line 1471, in main 2014-09-19 13:47:07.559 10890 TRACE neutron
agent = OVSNeutronAgent(**agent_config) 2014-09-19 13:47:07.559 10890 TRACE neutron File "/opt/stack/neutron/neutron/plugins/openvswitch/agent/ovs_neutron_agent.py", line 203, in __init__ 2014-09-19 13:47:07.559 10890 TRACE neutron
self.setup_integration_br() 2014-09-19 13:47:07.559 10890 TRACE neutron
File "/opt/stack/neutron/neutron/plugins/openvswitch/agent/ovs_neutron_agent.py", line 672, in setup_integration_br 2014-09-19 13:47:07.559 10890 TRACE neutron
self.int_br.set_secure_mode() 2014-09-19 13:47:07.559 10890 TRACE neutron File "/opt/stack/neutron/neutron/agent/linux/ovs_lib.py", line 130, in set_secure_mode 2014-09-19 13:47:07.559 10890 TRACE neutron check_error=True) 2014-09-19 13:47:07.559 10890 TRACE neutron File "/opt/stack/neutron/neutron/agent/linux/ovs_lib.py", line 75, in run_vsctl 2014-09-19 13:47:07.559 10890 TRACE neutron
ctxt.reraise = False 2014-09-19 13:47:07.559 10890 TRACE neutron
File "/opt/stack/neutron/neutron/openstack/common/excutils.py", line 82, in __exit__ 2014-09-19 13:47:07.559 10890 TRACE neutron
six.reraise(self.type_, self.value, self.tb) 2014-09-19 13:47:07.559 10890 TRACE neutron File "/opt/stack/neutron/neutron/agent/linux/ovs_lib.py", line 68, in run_vsctl 2014-09-19 13:47:07.559 10890 TRACE neutron
return utils.execute(full_args, root_helper=self.root_helper) 2014-09-19 13:47:07.559 10890 TRACE neutron File "/opt/stack/neutron/neutron/agent/linux/utils.py", line 76, in execute 2014-09-19 13:47:07.559 10890 TRACE neutron
raise RuntimeError(m) 2014-09-19 13:47:07.559 10890 TRACE neutron RuntimeError: 2014-09-19 13:47:07.559 10890 TRACE neutron Command: ['sudo', '/usr/local/bin/neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ovs-vsctl', '--timeout=10', '--', 'set-fail-mode', 'br-int', 'secure'] 2014-09-19 13:47:07.559 10890 TRACE neutron Exit code: 1 2014-09-19 13:47:07.559 10890 TRACE neutron Stdout: '' 2014-09-19 13:47:07.559 10890 TRACE neutron Stderr ...











(more)
edit flag offensive delete link more

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-03-31 14:53:20 -0500

Seen: 1,461 times

Last updated: Sep 23 '14