Uploaded image for project: 'Optimization Framework'
  1. Optimization Framework
  2. OPTFRA-198

resolve_demands throwing exception due to missing keyspace

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: High High
    • Beijing Release
    • Beijing Release
    • None
    • None

      2018-03-22 09:57:08.564 162789 INFO conductor.common.music.messaging.component [-] Message fd5d8a53-a65e-47f5-bd60-24b4e607b194 method resolve_demands received
      2018-03-22 09:57:26.012 162789 INFO conductor.common.music.api [-] Initializing Music API
      2018-03-22 09:57:26.033 162789 WARNING conductor.common.rest [-] Response Status: 500
      2018-03-22 09:57:26.035 162789 WARNING conductor.common.rest [-] Retry #2/3
      2018-03-22 09:57:26.048 162789 WARNING conductor.common.rest [-] Response Status: 500
      2018-03-22 09:57:26.051 162789 WARNING conductor.common.rest [-] Retry #3/3
      2018-03-22 09:57:26.063 162789 WARNING conductor.common.rest [-] Response Status: 500
      2018-03-22 09:57:26.065 162789 ERROR conductor.common.rest [-] Status 500 after 3 retries for URL: http://10.3.79.140:8080/MUSIC/rest/keyspaces/None/tables/plans/rows?id=0ab620a3-5682-400b-b38b-833309fbfbf8
      2018-03-22 09:57:42.449 162789 ERROR conductor.common.music.messaging.component [-] Exception during message handling: AttributeError: 'Response' object has no attribute 'items'
      2018-03-22 09:57:42.449 162789 ERROR conductor.common.music.messaging.component Traceback (most recent call last):
      2018-03-22 09:57:42.449 162789 ERROR conductor.common.music.messaging.component File "/home/otc/ONAP/has/conductor/conductor/common/music/messaging/component.py", line 415, in _do
      2018-03-22 09:57:42.449 162789 ERROR conductor.common.music.messaging.component result = method(msg.ctxt, msg.args)
      2018-03-22 09:57:42.449 162789 ERROR conductor.common.music.messaging.component File "/home/otc/ONAP/has/conductor/conductor/data/service.py", line 542, in resolve_demands
      2018-03-22 09:57:42.449 162789 ERROR conductor.common.music.messaging.component log_util.setLoggerFilter(LOG, ctx.get('keyspace'), ctx.get('plan_id'))
      2018-03-22 09:57:42.449 162789 ERROR conductor.common.music.messaging.component File "/home/otc/ONAP/has/conductor/conductor/common/utils/conductor_logging_util.py", line 32, in setLoggerFilter
      2018-03-22 09:57:42.449 162789 ERROR conductor.common.music.messaging.component logger_filter.transaction_id = getTransactionId(keyspace, plan_id)
      2018-03-22 09:57:42.449 162789 ERROR conductor.common.music.messaging.component File "/home/otc/ONAP/has/conductor/conductor/common/utils/conductor_logging_util.py", line 16, in getTransactionId
      2018-03-22 09:57:42.449 162789 ERROR conductor.common.music.messaging.component for row_id, row_value in rows.items():
      2018-03-22 09:57:42.449 162789 ERROR conductor.common.music.messaging.component AttributeError: 'Response' object has no attribute 'items'
      2018-03-22 09:57:42.449 162789 ERROR conductor.common.music.messaging.component
      2018-03-22 09:57:44.947 162789 INFO conductor.common.music.messaging.component [-] Message fd5d8a53-a65e-47f5-bd60-24b4e607b194 method resolve_demands, status: error

            dileep.ranganathan dileep.ranganathan
            dileep.ranganathan dileep.ranganathan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: