-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to add a simulated sensor #752
Comments
By default, the sample configuration includes three offices and each office configures 8 cameras. |
Unfortunately, that is not how it turned out. I did the steps in the
tutorial.
…On Thu, Mar 18, 2021 at 1:11 PM xwu2 ***@***.***> wrote:
By default, the sample configuration includes three offices and each
office configures 8 cameras.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#752 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD52ZGFOJTGMYAD5JZYC77LTEJM7FANCNFSM4ZNG7U2A>
.
|
I had gone through the wiki's. Unfortunately if my base (default) deployment itself is not working correctly, then extending it is even more difficult. For example, I just restarted the swarm and get the same UI with just one office. But got the following in the command window.
|
Did you stop it first by |
I did the stop. I did the make update before the next start and that worked
better. Still no sensors. There is a warning the black box about sensors
disconnected.
…On Fri, Mar 19, 2021 at 10:51 AM xwu2 ***@***.***> wrote:
Did you stop it first by make stop_docker_swarm?
Looks like you are starting on top of a previous run.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#752 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD52ZGFD5E2BVTILDRW2JHLTEOFKPANCNFSM4ZNG7U2A>
.
|
Let's restart. How many nodes are in your swarm? Do you have firewall in between your manager and your swarm nodes? |
Single node which is a Dell Poweredge Xeon 32GB running Ubuntu 18.04
server. So no firewall. I followed
https://github.com/OpenVisualCloud/Smart-City-Sample/wiki/Tutorial:-Running-Smart-City-on-Public-Cloud
but did it with the local server.
***@***.***:~$ docker stack services smtc
ID NAME MODE
REPLICAS IMAGE
PORTS
1maxh2rhspfw smtc_cloud_gateway replicated
1/1 smtc_api_gateway:latest
491iyx66247t smtc_traffic_office1_camera_discovery replicated
1/1 smtc_onvif_discovery:latest
i8sek5789pkh smtc_cloud_storage replicated
1/1 smtc_storage_manager:latest
icaw5xcnmitg smtc_traffic_office1_db_init replicated
1/1 smtc_db_init:latest
inm7nip2xqda smtc_traffic_office1_simulated_cameras replicated
1/1 smtc_sensor_simulation:latest
jfor2f8xc52g smtc_traffic_office1_storage replicated
1/1 smtc_storage_manager:latest
m4u27poolcj1 smtc_traffic_office1_analytics_traffic replicated
1/1 smtc_analytics_object_xeon_gst:latest
si33u8pclu3x smtc_traffic_office1_alert replicated
1/1 smtc_alert:latest
skr89ivkkz0t smtc_traffic_office1_webrtc replicated
1/1 smtc_sensor_webrtc:latest
sq432jhj19na smtc_traffic_office1_mqtt replicated
1/1 eclipse-mosquitto:1.5.8
v29mb5wfojmo smtc_traffic_office1_smart_upload replicated
1/1 smtc_smart_upload:latest
vlqixez3z10y smtc_traffic_office1_gateway replicated
1/1 smtc_api_gateway:latest
x8pydqdmzu3m smtc_db replicated
1/1
docker.elastic.co/elasticsearch/elasticsearch-oss:6.8.13
xeixa9l6zhvx smtc_traffic_office1_mqtt2db replicated
1/1 smtc_mqtt2db:latest
ywhc7u151ua7 smtc_cloud_web replicated
1/1 smtc_web_cloud:latest
***@***.***:~$ docker service logs -f smtc_traffic_office1_camera_discovery
***@***.*** |
Exception: HTTPConnectionPool(host='db', port=9200): Max retries exceeded
with url: /sensors_45d539626_n122d929569/_doc/_search (Caused by
NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection
object at 0x7fb3fcdc2fd0>: Failed to establish a new connection: [Errno
111] Connection refused',))
***@***.*** | Waiting
for DB...
***@***.*** |
Exception: HTTPConnectionPool(host='db', port=9200): Max retries exceeded
with url: /sensors_45d539626_n122d929569/_doc/_search (Caused by
NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection
object at 0x7fb3fcdb7be0>: Failed to establish a new connection: [Errno
111] Connection refused',))
***@***.*** | Waiting
for DB...
***@***.*** |
Exception: HTTPConnectionPool(host='db', port=9200): Max retries exceeded
with url: /sensors_45d539626_n122d929569/_doc/_search (Caused by
NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection
object at 0x7fb3fcdd3860>: Failed to establish a new connection: [Errno
111] Connection refused',))
***@***.*** | Waiting
for DB...
***@***.*** |
Exception: HTTPConnectionPool(host='db', port=9200): Max retries exceeded
with url: /sensors_45d539626_n122d929569/_doc/_search (Caused by
NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection
object at 0x7fb3fcdd3fd0>: Failed to establish a new connection: [Errno
111] Connection refused',))
***@***.*** | Waiting
for DB...
***@***.*** |
Exception: HTTPConnectionPool(host='db', port=9200): Max retries exceeded
with url: /sensors_45d539626_n122d929569/_doc/_search (Caused by
NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection
object at 0x7fb3fccad780>: Failed to establish a new connection: [Errno
111] Connection refused',))
***@***.*** | Waiting
for DB...
***@***.*** |
Exception: HTTPConnectionPool(host='db', port=9200): Max retries exceeded
with url: /sensors_45d539626_n122d929569/_doc/_search (Caused by
NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection
object at 0x7fb3fccadef0>: Failed to establish a new connection: [Errno
111] Connection refused',))
***@***.*** | Waiting
for DB...
***@***.*** |
Exception: HTTPConnectionPool(host='db', port=9200): Max retries exceeded
with url: /sensors_45d539626_n122d929569/_doc/_search (Caused by
NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection
object at 0x7fb3fccb96d8>: Failed to establish a new connection: [Errno
111] Connection refused',))
***@***.*** | Waiting
for DB...
***@***.*** |
Exception: HTTPConnectionPool(host='db', port=9200): Max retries exceeded
with url: /sensors_45d539626_n122d929569/_doc/_search (Caused by
NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection
object at 0x7fb3fccad470>: Failed to establish a new connection: [Errno
111] Connection refused',))
***@***.*** | Waiting
for DB...
***@***.*** |
Exception: HTTPConnectionPool(host='db', port=9200): Max retries exceeded
with url: /sensors_45d539626_n122d929569/_doc/_search (Caused by
NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection
object at 0x7fb3fcdd3f28>: Failed to establish a new connection: [Errno
111] Connection refused',))
***@***.*** | Waiting
for DB...
***@***.*** |
Exception: HTTPConnectionPool(host='db', port=9200): Max retries exceeded
with url: /sensors_45d539626_n122d929569/_doc/_search (Caused by
NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection
object at 0x7fb3fcdd3940>: Failed to establish a new connection: [Errno
111] Connection refused',))
***@***.*** | Waiting
for DB...
***@***.*** |
Exception: HTTPConnectionPool(host='db', port=9200): Max retries exceeded
with url: /sensors_45d539626_n122d929569/_doc/_search (Caused by
NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection
object at 0x7fb3fcdb7470>: Failed to establish a new connection: [Errno
111] Connection refused',))
***@***.*** | Waiting
for DB...
***@***.*** |
Exception: HTTPConnectionPool(host='db', port=9200): Max retries exceeded
with url: /sensors_45d539626_n122d929569/_doc/_search (Caused by
NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection
object at 0x7fb3fccb95c0>: Failed to establish a new connection: [Errno
111] Connection refused',))
***@***.*** | Waiting
for DB...
***@***.*** |
Exception: HTTPConnectionPool(host='db', port=9200): Max retries exceeded
with url: /sensors_45d539626_n122d929569/_doc/_search (Caused by
NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection
object at 0x7fb3fccb9e80>: Failed to establish a new connection: [Errno
111] Connection refused',))
***@***.*** | Waiting
for DB...
***@***.*** |
Exception: HTTPConnectionPool(host='db', port=9200): Max retries exceeded
with url: /sensors_45d539626_n122d929569/_doc/_search (Caused by
NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection
object at 0x7fb3fccb9c50>: Failed to establish a new connection: [Errno
111] Connection refused',))
***@***.*** | Waiting
for DB...
***@***.*** |
Exception: HTTPConnectionPool(host='db', port=9200): Max retries exceeded
with url: /sensors_45d539626_n122d929569/_doc/_search (Caused by
NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection
object at 0x7fb3fcdb7978>: Failed to establish a new connection: [Errno
111] Connection refused',))
***@***.*** | Waiting
for DB...
***@***.*** |
Exception: HTTPConnectionPool(host='db', port=9200): Max retries exceeded
with url: /sensors_45d539626_n122d929569/_doc/_search (Caused by
NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection
object at 0x7fb3fcdd3860>: Failed to establish a new connection: [Errno
111] Connection refused',))
***@***.*** | Waiting
for DB...
***@***.*** |
Exception: HTTPConnectionPool(host='db', port=9200): Max retries exceeded
with url: /sensors_45d539626_n122d929569/_doc/_search (Caused by
NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection
object at 0x7fb3fcdd3f60>: Failed to establish a new connection: [Errno
111] Connection refused',))
***@***.*** | Waiting
for DB...
***@***.*** |
Exception: HTTPConnectionPool(host='db', port=9200): Max retries exceeded
with url: /sensors_45d539626_n122d929569/_doc/_search (Caused by
NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection
object at 0x7fb3fccad128>: Failed to establish a new connection: [Errno
111] Connection refused',))
***@***.*** | Waiting
for DB...
***@***.*** |
Exception: HTTPConnectionPool(host='db', port=9200): Max retries exceeded
with url: /sensors_45d539626_n122d929569/_doc/_search (Caused by
NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection
object at 0x7fb3fccad2e8>: Failed to establish a new connection: [Errno
111] Connection refused',))
***@***.*** | Waiting
for DB...
***@***.*** |
Exception: HTTPConnectionPool(host='db', port=9200): Max retries exceeded
with url: /sensors_45d539626_n122d929569/_doc/_search (Caused by
NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection
object at 0x7fb3fccc7668>: Failed to establish a new connection: [Errno
111] Connection refused',))
***@***.*** | Waiting
for DB...
***@***.*** |
Exception: HTTPConnectionPool(host='db', port=9200): Max retries exceeded
with url: /sensors_45d539626_n122d929569/_doc/_search (Caused by
NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection
object at 0x7fb3fccad940>: Failed to establish a new connection: [Errno
111] Connection refused',))
***@***.*** | Waiting
for DB...
***@***.*** |
Exception: HTTPConnectionPool(host='db', port=9200): Max retries exceeded
with url: /sensors_45d539626_n122d929569/_doc/_search (Caused by
NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection
object at 0x7fb3fccad1d0>: Failed to establish a new connection: [Errno
111] Connection refused',))
***@***.*** | Waiting
for DB...
***@***.*** |
Exception: HTTPConnectionPool(host='db', port=9200): Max retries exceeded
with url: /sensors_45d539626_n122d929569/_doc/_search (Caused by
NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection
object at 0x7fb3fcdd3080>: Failed to establish a new connection: [Errno
111] Connection refused',))
***@***.*** | Waiting
for DB...
***@***.*** |
Exception: HTTPConnectionPool(host='db', port=9200): Max retries exceeded
with url: /sensors_45d539626_n122d929569/_doc/_search (Caused by
NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection
object at 0x7fb3fcdd3e10>: Failed to establish a new connection: [Errno
111] Connection refused',))
***@***.*** | Waiting
for DB...
***@***.*** |
Exception: {'error': {'root_cause': [{'type': 'index_not_found_exception',
'reason': 'no such index', 'resource.type': 'index_or_alias', 'resource.id':
'sensors_45d539626_n122d929569', 'index_uuid': '_na_', 'index':
'sensors_45d539626_n122d929569'}], 'type': 'index_not_found_exception',
'reason': 'no such index', 'resource.type': 'index_or_alias', 'resource.id':
'sensors_45d539626_n122d929569', 'index_uuid': '_na_', 'index':
'sensors_45d539626_n122d929569'}, 'status': 404}
***@***.*** | Waiting
for DB...
***@***.*** |
Exception: {'error': {'root_cause': [{'type': 'index_not_found_exception',
'reason': 'no such index', 'resource.type': 'index_or_alias', 'resource.id':
'sensors_45d539626_n122d929569', 'index_uuid': '_na_', 'index':
'sensors_45d539626_n122d929569'}], 'type': 'index_not_found_exception',
'reason': 'no such index', 'resource.type': 'index_or_alias', 'resource.id':
'sensors_45d539626_n122d929569', 'index_uuid': '_na_', 'index':
'sensors_45d539626_n122d929569'}, 'status': 404}
***@***.*** | Waiting
for DB...
***@***.*** |
Exception: {'error': {'root_cause': [{'type': 'index_not_found_exception',
'reason': 'no such index', 'resource.type': 'index_or_alias', 'resource.id':
'sensors_45d539626_n122d929569', 'index_uuid': '_na_', 'index':
'sensors_45d539626_n122d929569'}], 'type': 'index_not_found_exception',
'reason': 'no such index', 'resource.type': 'index_or_alias', 'resource.id':
'sensors_45d539626_n122d929569', 'index_uuid': '_na_', 'index':
'sensors_45d539626_n122d929569'}, 'status': 404}
***@***.*** | Waiting
for DB...
***@***.*** |
Exception: {'error': {'root_cause': [{'type': 'index_not_found_exception',
'reason': 'no such index', 'resource.type': 'index_or_alias', 'resource.id':
'sensors_45d539626_n122d929569', 'index_uuid': '_na_', 'index':
'sensors_45d539626_n122d929569'}], 'type': 'index_not_found_exception',
'reason': 'no such index', 'resource.type': 'index_or_alias', 'resource.id':
'sensors_45d539626_n122d929569', 'index_uuid': '_na_', 'index':
'sensors_45d539626_n122d929569'}, 'status': 404}
***@***.*** | Waiting
for DB...
***@***.*** |
Exception: {'error': {'root_cause': [{'type': 'index_not_found_exception',
'reason': 'no such index', 'resource.type': 'index_or_alias', 'resource.id':
'sensors_45d539626_n122d929569', 'index_uuid': '_na_', 'index':
'sensors_45d539626_n122d929569'}], 'type': 'index_not_found_exception',
'reason': 'no such index', 'resource.type': 'index_or_alias', 'resource.id':
'sensors_45d539626_n122d929569', 'index_uuid': '_na_', 'index':
'sensors_45d539626_n122d929569'}, 'status': 404}
***@***.*** | Waiting
for DB...
***@***.*** |
Exception: {'error': {'root_cause': [], 'type':
'search_phase_execution_exception', 'reason': 'all shards failed', 'phase':
'query', 'grouped': True, 'failed_shards': []}, 'status': 503}
***@***.*** | Waiting
for DB...
***@***.*** | Waiting
for DB...
***@***.*** | Waiting
for DB...
***@***.*** | Waiting
for DB...
***@***.*** | Waiting
for DB...
***@***.*** | Waiting
for DB...
***@***.*** | Waiting
for DB...
***@***.*** | Waiting
for DB...
***@***.*** | Probing
10.0.4.11:17000
***@***.*** | Scanning
rtsp://10.0.4.11:17000/live.sdp
***@***.*** |
Searching for template
***@***.*** | Ingesting
***@***.*** | Probing
10.0.4.11:17010
***@***.*** | Scanning
rtsp://10.0.4.11:17010/live.sdp
***@***.*** |
Searching for template
***@***.*** | Ingesting
***@***.*** | Probing
10.0.4.11:17020
***@***.*** | Scanning
rtsp://10.0.4.11:17020/live.sdp
***@***.*** |
Searching for template
***@***.*** | Ingesting
***@***.*** | Probing
10.0.4.11:17030
***@***.*** | Scanning
rtsp://10.0.4.11:17030/live.sdp
***@***.*** |
Searching for template
***@***.*** | Ingesting
***@***.*** | Probing
10.0.4.11:17040
***@***.*** | Scanning
rtsp://10.0.4.11:17040/live.sdp
***@***.*** |
Searching for template
***@***.*** | Ingesting
***@***.*** | Probing
10.0.4.11:17000
***@***.*** | Skipping
10.0.4.11:17000:streaming
***@***.*** | Probing
10.0.4.11:17010
***@***.*** | Skipping
10.0.4.11:17010:idle
***@***.*** | Probing
10.0.4.11:17020
***@***.*** | Skipping
10.0.4.11:17020:idle
***@***.*** | Probing
10.0.4.11:17030
***@***.*** | Skipping
10.0.4.11:17030:idle
***@***.*** | Probing
10.0.4.11:17040
***@***.*** | Skipping
10.0.4.11:17040:idle
***@***.*** | Probing
10.0.4.11:17000
***@***.*** | Skipping
10.0.4.11:17000:streaming
***@***.*** | Probing
10.0.4.11:17010
***@***.*** | Skipping
10.0.4.11:17010:idle
***@***.*** | Probing
10.0.4.11:17020
***@***.*** | Skipping
10.0.4.11:17020:idle
***@***.*** | Probing
10.0.4.11:17030
***@***.*** | Skipping
10.0.4.11:17030:idle
***@***.*** | Probing
10.0.4.11:17040
***@***.*** | Skipping
10.0.4.11:17040:idle
***@***.*** | Probing
10.0.4.11:17000
***@***.*** | Skipping
10.0.4.11:17000:streaming
***@***.*** | Probing
10.0.4.11:17010
***@***.*** | Skipping
10.0.4.11:17010:idle
***@***.*** | Probing
10.0.4.11:17020
***@***.*** | Skipping
10.0.4.11:17020:idle
***@***.*** | Probing
10.0.4.11:17030
***@***.*** | Skipping
10.0.4.11:17030:idle
***@***.*** | Probing
10.0.4.11:17040
***@***.*** | Skipping
10.0.4.11:17040:idle
***@***.*** | Probing
10.0.4.11:17000
***@***.*** | Skipping
10.0.4.11:17000:streaming
***@***.*** | Probing
10.0.4.11:17010
***@***.*** | Skipping
10.0.4.11:17010:idle
***@***.*** | Probing
10.0.4.11:17020
s
…On Fri, Mar 19, 2021 at 9:08 PM xwu2 ***@***.***> wrote:
Let's restart. How many nodes are in your swarm? Do you have firewall in
between your manager and your swarm nodes?
Please share your logs of the camera service, the discovery service and
the analytics service.
You can see those services by docker stack services smtc and then docker
service logs -f <name>.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#752 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD52ZGGAKMES4P6K6V2QDDLTEQNUNANCNFSM4ZNG7U2A>
.
|
3-20 15:56:32,995", "message": "===========================", "module":
"pipeline_manager"}
***@***.*** |
{"levelname": "INFO", "asctime": "2021-03-20 15:56:32,995", "message":
"Creating Instance of Pipeline object_detection/1", "module":
"pipeline_manager"}
***@***.*** |
PipelineStatus(avg_fps=0, avg_pipeline_latency=None,
elapsed_time=5.221366882324219e-05, id=1, start_time=1616255793.0177374,
state=<State.QUEUED: 1>)
***@***.*** |
on_created:
/tmp/rec/6hxHUHgBXf6SV0QypOhz/2021/03/20/1616255793505582544_242493403.mp4
***@***.*** |
{"levelname": "ERROR", "asctime": "2021-03-20 15:56:34,813", "message":
"Error on Pipeline 1: gst-library-error-quark: base_inference plugin
intitialization failed (3):
/home/gst-video-analytics/gst/inference_elements/base/inference_singleton.cpp(137):
acquire_inference_instance ():
/GstPipeline:pipeline809/GstGvaDetect:detection:\nFailed to construct
OpenVINOImageInference\n\tSupported primitive descriptors list is empty for
node: extra_pool\n", "module": "gstreamer_pipeline"}
***@***.*** |
PipelineStatus(avg_fps=0, avg_pipeline_latency=None,
elapsed_time=1.795914888381958, id=1, start_time=1616255793.0177374,
state=<State.ERROR: 4>)
***@***.*** |
Pipeline object_detection Version 1 Instance 1 Ended with ERROR
***@***.*** |
Traceback (most recent call last):
***@***.*** | File
"/home/detect-object.py", line 32, in
***@***.*** |
raise Exception("VA exited. This should not happen.")
***@***.*** |
Exception: VA exited. This should not happen.
***@***.*** |
…On Fri, Mar 19, 2021 at 9:08 PM xwu2 ***@***.***> wrote:
Let's restart. How many nodes are in your swarm? Do you have firewall in
between your manager and your swarm nodes?
Please share your logs of the camera service, the discovery service and
the analytics service.
You can see those services by docker stack services smtc and then docker
service logs -f <name>.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#752 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD52ZGGAKMES4P6K6V2QDDLTEQNUNANCNFSM4ZNG7U2A>
.
|
Your camera simulation and discovery work as expected. However, the analytics service does not work. Could you rebuild the analytics image? This is the image under the analytics folder. |
@nnshah1 , can you check what error message means? |
I was able to build and run on Xeon with Ubuntu 18.04 using the git master. The UI shows the map and one office with five cameras. When I click on the camera when it is green, I see the traffic video (sometimes if I am lucky). I don't see any of the simulated sensors and and the simulated sensor service. I am using docker swarm. Could I get a complete cheat-sheet on how to build that simulated sensors and how to add them? The existing readme files did not provide enough info.
The text was updated successfully, but these errors were encountered: