allow congress to run with no datasources

Bug #1395119 reported by Aaron Rosen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
congress
Fix Released
Undecided
Unassigned

Bug Description

2014-11-21 11:12:17.696 21825 INFO congress.dse.deepsix [-] engine:: subscribed to api-rule with dataindex policy-update
2014-11-21 11:12:17.696 21825 INFO congress.dse.deepsix [-] engine:: sending SUB msg <to:api-rule, from:engine, corrId:48bb044c-3e38-4532-9c31-7fa284132c6a, type:sub, dataindex:policy-update, body:{}>
2014-11-21 11:12:17.696 21825 DEBUG congress.service [-] 'NoneType' object has no attribute 'service_object' wrapper /home/nicira/congress/congress/service.py:34
2014-11-21 11:12:17.696 21825 TRACE congress.service Traceback (most recent call last):
2014-11-21 11:12:17.696 21825 TRACE congress.service File "/home/nicira/congress/congress/service.py", line 32, in wrapper
2014-11-21 11:12:17.696 21825 TRACE congress.service return f(*args, **kw)
2014-11-21 11:12:17.696 21825 TRACE congress.service File "/home/nicira/congress/congress/service.py", line 59, in congress_app_factory
2014-11-21 11:12:17.696 21825 TRACE congress.service congress_server.initialize_resources(api_resource_mgr, cage)
2014-11-21 11:12:17.696 21825 TRACE congress.service File "/home/nicira/congress/congress/server/congress_server.py", line 131, in initialize_resources
2014-11-21 11:12:17.696 21825 TRACE congress.service policies = cage.service_object('api-policy')
2014-11-21 11:12:17.696 21825 TRACE congress.service AttributeError: 'NoneType' object has no attribute 'service_object'
2014-11-21 11:12:17.696 21825 TRACE congress.service
2014-11-21 11:12:17.697 21825 CRITICAL congress.service [-] 'NoneType' object has no attribute 'service_object'

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to congress (master)

Reviewed: https://review.openstack.org/136462
Committed: https://git.openstack.org/cgit/stackforge/congress/commit/?id=6b81799a1d9f64ec52ffe07151e1897cc0126162
Submitter: Jenkins
Branch: master

commit 6b81799a1d9f64ec52ffe07151e1897cc0126162
Author: Aaron Rosen <email address hidden>
Date: Fri Nov 21 11:01:16 2014 -0800

    Allow congress to run with no datasources

    Previously congress would no return cage so congress-server would
    fail to start. Now it does.

    Change-Id: I8ff7d7c4aee5196a11e97935e8b07669ad00834c
    Closes-bug: 1395119

Changed in congress:
status: New → Fix Committed
Tim Hinrichs (thinrichs)
Changed in congress:
milestone: none → kilo-3
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.