Uploaded image for project: 'Policy Framework'
  1. Policy Framework
  2. POLICY-4057

KPI-MS Policy Sidecar Istanbul : Issue 401 Unauthorized

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: High High
    • None
    • Istanbul Release
    • xacml-pdp
    • None
    • Policy 13/04/22-27/04/22

      Was trying to update Policy for KPI-MS using sidecar Istanbul Release.

      Updated the following in the values.yaml
      dcaePolicySyncImage: onap/org.onap.dcaegen2.deployments.dcae-services-policy-sync:1.0.1
      policies:
      policyID: |
      '["com.Config_KPIMS_CONFIG_POLICY"]'

      Getting the following issue:
      [2022-03-16 17:16:24,553][INFO ]Executing periodic check of PDP policies
      [2022-03-16 17:16:24,554][INFO ]Starting policy update process...
      [2022-03-16 17:16:24,614][ERROR]Conncection Error while connecting to PDP
      Traceback (most recent call last):
      File "/policysync/lib/python3.8/site-packages/policysync/inventory.py", line 93, in get_policy_content
      policy_bodies = await self.client.get_config(
      File "/policysync/lib/python3.8/site-packages/policysync/clients.py", line 365, in get_config
      data = await self._run_request(self.decision, request_data)
      File "/policysync/lib/python3.8/site-packages/policysync/clients.py", line 72, in _run_request
      async with session.post(
      File "/policysync/lib/python3.8/site-packages/aiohttp/client.py", line 1117, in aenter
      self._resp = await self._coro
      File "/policysync/lib/python3.8/site-packages/aiohttp/client.py", line 625, in _request
      resp.raise_for_status()
      File "/policysync/lib/python3.8/site-packages/aiohttp/client_reqrep.py", line 1000, in raise_for_status
      raise ClientResponseError(
      aiohttp.client_exceptions.ClientResponseError: 401, message='Unauthorized', url=URL('https://policy-xacml-pdp:6969/policy/pdpx/v1/decision')

      Issue: 401 Unauthorized

            prativa prativa
            sr00434311 sr00434311
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: