Slackbot
05/27/2023, 12:04 AMraghanag
05/27/2023, 12:49 AM|ERROR | cannot clone policy repo: Cmd('git') failed due to: exit code(128)
cmdline: git clone -v --branch=master -- <https://github.com/permitio/opal-example-policy-repo> /opal/regoclone/opal_repo_clone
stderr: 'Cloning into '/opal/regoclone/opal_repo_clone'...
fatal: unable to access '<https://github.com/permitio/opal-example-policy-repo/>': Could not resolve host: <http://github.com|github.com>
'
Or Weis
05/27/2023, 1:13 AMraghanag
05/27/2023, 2:22 AMraghanag
05/28/2023, 6:29 AMOPAL_SERVER_URL
not a mandatory field in client.extraEnv
in values.yaml https://github.com/permitio/opal-helm-chart/blob/master/values.yamlraghanag
05/28/2023, 6:42 AMRPC Connection failed - [Errno -2] Name or service not known
2023-05-28T06:40:52.040181+0000 | fastapi_websocket_rpc.websocket_rpc_c...| INFO | Trying server - <ws://opal-server:7002/ws>
2023-05-28T06:40:54.064353+0000 | fastapi_websocket_rpc.websocket_rpc_c...| INFO | RPC Connection failed - [Errno -2] Name or service not known
raghanag
05/28/2023, 6:44 AMimage:
registry: <http://docker-master.cdaas.cloud.com|docker-master.cdaas.cloud.com>
postgresImageRegistry: <http://docker-master.cdaas.cloud.com|docker-master.cdaas.cloud.com>
imagePullSecrets: [ ]
server:
port: 7002
policyRepoUrl: "<https://username:6>-pat@gitlab-odx.com/code/titan/opa-policies-and-data.git"
policyRepoClonePath: null
policyRepoMainBranch: main
pollingInterval: 10
dataConfigSources:
config:
entries:
- url: <http://opal-server:7002/policy-data>
topics: ["policy_data"]
dst_path: "/static"
broadcastUri: null
broadcastPgsql: true
uvicornWorkers: 4
replicas: 1
client:
port: 7000
opaPort: 8181
replicas: 1
extraEnv:
OPAL_OPA_HEALTH_CHECK_POLICY_ENABLED: True
OPAL_DATA_UPDATER_ENABLED: True
OPAL_SERVER_URL: <http://opal-server:7002>
Or Weis
05/28/2023, 6:53 AM<http://opal-server:7002|http://opal-server:7002>
could not be resolvedraghanag
05/28/2023, 7:01 AMOPAL_SERVER_URL: <http://opal-server:7002>
is not enough or the client unable to connect?Or Weis
05/28/2023, 7:20 AMraghanag
05/28/2023, 7:21 AMraghanag
05/28/2023, 7:21 AMOr Weis
05/28/2023, 7:23 AMOr Weis
05/28/2023, 7:23 AM