launching congress-server failed because import error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
congress |
Fix Released
|
Undecided
|
Rui Chen |
Bug Description
stack@devstack:
commit 50d3d073c425690
Author: Alexander Yip <email address hidden>
Date: Fri Apr 24 14:53:13 2015 -0700
Add status api calls for policy and rule
This change allows an API client to request the status of a rule or policy.
The response will reflect the state of the policy engine, not the state of the
database, since the policy engine and the database can become out of sync.
For a policy that exists, the API response will contain the policy name and
id. For a rule that exists, the API response will contain the rule name, id,
comment, and original string. If the rule or policy does not exist, the
congress server will return a 404 error.
Change-Id: I5c134e14d1ae5f
Launching congress-server failed.
cd /opt/stack/congress && python /usr/local/
2015-05-27 15:37:43.612 11230 INFO congress.
2015-05-27 15:37:43.613 11230 INFO congress.
2015-05-27 15:37:43.655 11230 CRITICAL congress [-] ImportError: No module named webserivce
2015-05-27 15:37:43.655 11230 TRACE congress Traceback (most recent call last):
2015-05-27 15:37:43.655 11230 TRACE congress File "/usr/local/
2015-05-27 15:37:43.655 11230 TRACE congress sys.exit(main())
2015-05-27 15:37:43.655 11230 TRACE congress File "/opt/stack/
2015-05-27 15:37:43.655 11230 TRACE congress cfg.CONF.
2015-05-27 15:37:43.655 11230 TRACE congress File "/opt/stack/
2015-05-27 15:37:43.655 11230 TRACE congress app = deploy.
2015-05-27 15:37:43.655 11230 TRACE congress File "/usr/lib/
2015-05-27 15:37:43.655 11230 TRACE congress return loadobj(APP, uri, name=name, **kw)
2015-05-27 15:37:43.655 11230 TRACE congress File "/usr/lib/
2015-05-27 15:37:43.655 11230 TRACE congress return context.create()
2015-05-27 15:37:43.655 11230 TRACE congress File "/usr/lib/
2015-05-27 15:37:43.655 11230 TRACE congress return self.object_
2015-05-27 15:37:43.655 11230 TRACE congress File "/usr/lib/
2015-05-27 15:37:43.655 11230 TRACE congress **context.
2015-05-27 15:37:43.655 11230 TRACE congress File "/usr/lib/
2015-05-27 15:37:43.655 11230 TRACE congress val = callable(*args, **kw)
2015-05-27 15:37:43.655 11230 TRACE congress File "/usr/lib/
2015-05-27 15:37:43.655 11230 TRACE congress app = loader.
2015-05-27 15:37:43.655 11230 TRACE congress File "/usr/lib/
2015-05-27 15:37:43.655 11230 TRACE congress name=name, global_
2015-05-27 15:37:43.655 11230 TRACE congress File "/usr/lib/
2015-05-27 15:37:43.655 11230 TRACE congress return self.object_
2015-05-27 15:37:43.655 11230 TRACE congress File "/usr/lib/
2015-05-27 15:37:43.655 11230 TRACE congress **context.
2015-05-27 15:37:43.655 11230 TRACE congress File "/usr/lib/
2015-05-27 15:37:43.655 11230 TRACE congress val = callable(*args, **kw)
2015-05-27 15:37:43.655 11230 TRACE congress File "/opt/stack/
2015-05-27 15:37:43.655 11230 TRACE congress app = loader.
2015-05-27 15:37:43.655 11230 TRACE congress File "/usr/lib/
2015-05-27 15:37:43.655 11230 TRACE congress name=name, global_
2015-05-27 15:37:43.655 11230 TRACE congress File "/usr/lib/
2015-05-27 15:37:43.655 11230 TRACE congress APP, name=name, global_
2015-05-27 15:37:43.655 11230 TRACE congress File "/usr/lib/
2015-05-27 15:37:43.655 11230 TRACE congress section)
2015-05-27 15:37:43.655 11230 TRACE congress File "/usr/lib/
2015-05-27 15:37:43.655 11230 TRACE congress value = import_
2015-05-27 15:37:43.655 11230 TRACE congress File "/usr/lib/
2015-05-27 15:37:43.655 11230 TRACE congress return pkg_resources.
2015-05-27 15:37:43.655 11230 TRACE congress File "/usr/local/
2015-05-27 15:37:43.655 11230 TRACE congress return self.resolve()
2015-05-27 15:37:43.655 11230 TRACE congress File "/usr/local/
2015-05-27 15:37:43.655 11230 TRACE congress module = __import_
2015-05-27 15:37:43.655 11230 TRACE congress File "/opt/stack/
2015-05-27 15:37:43.655 11230 TRACE congress from congress.api import router
2015-05-27 15:37:43.655 11230 TRACE congress File "/opt/stack/
2015-05-27 15:37:43.655 11230 TRACE congress from congress.
2015-05-27 15:37:43.655 11230 TRACE congress ImportError: No module named webserivce
2015-05-27 15:37:43.655 11230 TRACE congress
congress failed to start
Changed in congress: | |
assignee: | nobody → Rui Chen (kiwik-chenrui) |
Changed in congress: | |
milestone: | none → liberty-2 |
status: | Fix Committed → Fix Released |
Fix proposed to branch: master /review. openstack. org/185871
Review: https:/