Smart-City-Sample icon indicating copy to clipboard operation
Smart-City-Sample copied to clipboard

VCAC-A setup not working properly

Open Kautik-Aivid opened this issue 3 years ago • 4 comments

Hi @xwu2git ,

We are facing one trouble, in running VCAC-A based Smart-City-Sample. We have followed all the installation steps given on the github for VCAC-a, so the problem is that all the pods are running fine, except storage and smart-upload, they are stuck with "Searching" statement. and as result UI is not working properly. We are running analytics pods only on vcac-a, by making vcaca-a as a worker node, rest of them are running on host machine as a master. Screenshots are attached for better clarity, please help us on resolving the issue. Running pods: Podes Smart-upload logs smart_upload Storage logs storage UI Screen UI Analytics container logs analytics

Kautik-Aivid avatar May 10 '21 10:05 Kautik-Aivid

From what you showed is actually a good working system (with perhaps the storage service.) Can you login to the cloud-web service and run curl 'db-service:9200/analytics-*/_doc/_search?pretty'? If there is valid output, then the analytics runs ok and the data is saved in the database.

xwu2git avatar May 11 '21 03:05 xwu2git

we went into the db-0 pod using "kubectl exec -it db-0 bash", and there we fired curl 'db-service:9200/analytics-*/_doc/_search?pretty' and the result we got it attached below, please have a look, this is happening only when we are giving platform=vcac-a, otherwise with platform=Xeon, we are able to fetch data from db-0.

Capture

Kautik-Aivid avatar May 11 '21 11:05 Kautik-Aivid

OK. So the database did not receive any data. Can you do the same curl command within the analytics POD?

xwu2git avatar May 11 '21 18:05 xwu2git

I login in analytics POD which is running on VCAC-A card and curl to database this is result : image

Kautik-Aivid avatar May 12 '21 05:05 Kautik-Aivid