odpi / egeria

Egeria core
https://egeria-project.org
Apache License 2.0
807 stars 261 forks source link

egeria-base chart: Glossary author cannot connect to server #5213

Closed planetf1 closed 3 years ago

planetf1 commented 3 years ago

After deploying the egeria-base chart in master, we cannot use the glossary author UI, which fails with:

Screenshot 2021-05-20 at 18 22 02

Opening here to analyze any issues with the chart itself -likely a config problem. Also need to verify the lab chart

planetf1 commented 3 years ago

Checking logs from configuration pod --

The server reports no error

Config script is in open-metadata-resources/open-metadata-deployment/charts/egeria-base/scripts with the segment:

# Configure the view services
 echo -e '\n\n > Setting up Glossary Author:\n'

  curl -f -k --verbose --basic admin:admin \
    --header "Content-Type: application/json" \
    "${EGERIA_ENDPOINT}/open-metadata/admin-services/users/${EGERIA_USER}/servers/${VIEW_SERVER}/view-services/glossary-author" \
    --data @- <<EOF
 {
   "class": "ViewServiceConfig",
   "omagserverPlatformRootURL": "${EGERIA_ENDPOINT}"
   "omagserverName" : "${EGERIA_SERVER}"
 }
 EOF
planetf1 commented 3 years ago

The error was caused by a missing , in the json body. (no response body is produced in this case)