Hi All,
Was trying to update Policy for KPI-MS using sidecar.
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')
Can someone please point me in the right direction.
Thanks
Srini
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#23940): https://lists.onap.org/g/onap-discuss/message/23940
Mute This Topic: https://lists.onap.org/mt/89996366/21656
Mute #policy
dev-policy-xacml-pdp:https://lists.onap.org/g/onap-discuss/mutehashtag/policy
dev-policy-xacml-pdp
Mute #policy:https://lists.onap.org/g/onap-discuss/mutehashtag/policy
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-