OpenVisualCloud / Smart-City-Sample

The smart city reference pipeline shows how to integrate various media building blocks, with analytics powered by the OpenVINO™ Toolkit, for traffic or stadium sensing, analytics and management tasks.
BSD 3-Clause "New" or "Revised" License
189 stars 81 forks source link

VCAC-A setup not working properly #775

Open Kautik-Aivid opened 3 years ago

Kautik-Aivid commented 3 years ago

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
xwu2git commented 3 years ago

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.

Kautik-Aivid commented 3 years ago

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
xwu2git commented 3 years ago

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

Kautik-Aivid commented 3 years ago

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