Community
cancel
Showing results for 
Search instead for 
Did you mean: 
fa2233
New Contributor I
1,149 Views

when i enter automation run run.sh i get grpc etcd3 connectionFailedError

Traceback (most recent call last):
File "classifier_startup.py", line 204, in <module>
config_client = cfg_mgr.get_config_client("etcd", conf)
File "/EIS/libs/ConfigManager/python/config_manager.py", line 39, in get_config_client
return EtcdCli(config)
File "/EIS/libs/ConfigManager/python/etcd/etcd_client.py", line 67, in __init__
self._setEnv()
File "/EIS/libs/ConfigManager/python/etcd/etcd_client.py", line 71, in _setEnv
value = self.etcd.get("/GlobalEnv/")
File "/usr/local/lib/python3.6/dist-packages/etcd3-0.10.0-py3.6.egg/etcd3/client.py", line 285, in get
range_response = self.get_response(key, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/etcd3-0.10.0-py3.6.egg/etcd3/client.py", line 48, in handler
_translate_exception(exc)
File "/usr/local/lib/python3.6/dist-packages/etcd3-0.10.0-py3.6.egg/etcd3/client.py", line 32, in _translate_exception
raise exception
etcd3.exceptions.ConnectionFailedError
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/etcd3-0.10.0-py3.6.egg/etcd3/client.py", line 46, in handler
return f(*args, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/etcd3-0.10.0-py3.6.egg/etcd3/client.py", line 263, in get_response
metadata=self.metadata
File "/usr/local/lib/python3.6/dist-packages/grpcio-1.31.0rc1-py3.6-linux-x86_64.egg/grpc/_channel.py", line 826, in __call__
return _end_unary_response_blocking(state, call, False, None)
File "/usr/local/lib/python3.6/dist-packages/grpcio-1.31.0rc1-py3.6-linux-x86_64.egg/grpc/_channel.py", line 729, in _end_unary_response_blocking
raise _InactiveRpcError(state)
grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
status = StatusCode.UNAVAILABLE
details = "failed to connect to all addresses"
debug_error_string = "{"created":"@1595759187.224109373","description":"Failed to pick subchannel","file":"src/core/ext/filters/client_channel/client_channel.cc","file_line":4089,"referenced_errors":[{"created":"@1595759187.224107472","description":"failed to connect to all addresses","file":"src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc","file_line":393,"grpc_status":14}]}"

Labels (1)
0 Kudos
10 Replies
fa2233
New Contributor I
885 Views

i get my fail , i run automation with no chang run.sh    run both modules pcb and time-series-analysis, 

it will show disconnected for time-series-analysis

 

fa2233
New Contributor I
875 Views

still fail  i re-install EIS set the development mode  fail at  waiting for containers to be up and healthy, ia_telegraf container get error log like above error log

 

Murni_J_Intel
Moderator
861 Views

Hi @fa2233 

 

Can you help to try the solution that has been provided in the EIS running Automation tool post? 

there is a step provided that you need to copy the docker-compose.yml file for both PCB and time series analysis. 

 

In the readme file, it is mentioned that If you run the automation for both modules video-streaming and time-series-analysis, the demo will be displayed for video-streaming then exits while doing setup for time-series-analysis module. 

 

do let me know if the problem still persists after you follow the step at EIS running Automation tool post. 

 

fa2233
New Contributor I
796 Views

ia_video_ingestion container is up and healthy.
ERROR: ia_video_analytics Container is not Up even after 15 minutes,so please check 'docker ps'on the device, Exiting.
**Note**: Use cmd: 'docker logs -f <<container-name>>' find out the reason for container failure.
+++ ia_visualizer setup completed successfully +++

fa2233
New Contributor I
792 Views

how to solve this     i try 3 times  ./run.sh        get this error message

Murni_J_Intel
Moderator
743 Views

Hi @fa2233 

 

can you list me the step that you did in order to get this error?

have you changed the docker-compose file?

fa2233
New Contributor I
687 Views

i just comment the secrets sections , and copy  to pcb floder

how to set DEV_MODE true ,i remove all images  re-install EIS choose development , when installion finish it display disconnect windows,the DEV_MODE = true .  i use command  "docker-compose  down" stop this . but when i enter automation floder run "sudo ./run.sh" ,the DEV_MODE change to false ,i get two kind error   pcd demo  have an error , time-series analysis display two terminal show time-series data .the output floder only have an empty testlog.log file.

1.

ERROR : (Error Code: 1) ia_visualizer image does not exist on host machine. Please check with docker images.
cleanup function doesn't exist
ERROR : (Error Code: 1) ia_video_analytics image does not exist on host machine. Please check with docker images.
cleanup function doesn't exist
ERROR : (Error Code: 1) ia_video_ingestion image does not exist on host machine. Please check with docker images.
cleanup function doesn't exist
ERROR : (Error Code: 1) ia_eisbase image does not exist on host machine. Please check with docker images.
cleanup function doesn't exist
ERROR : (Error Code: 1) ia_openvino_base image does not exist on host machine. Please check with docker images.
cleanup function doesn't exist
ERROR : (Error Code: 1) ia_etcd_ui image does not exist on host machine. Please check with docker images.
cleanup function doesn't exist
ERROR : (Error Code: 1) ia_common image does not exist on host machine. Please check with docker images.
cleanup function doesn't exist
ERROR : (Error Code: 1) ia_etcd_provision image does not exist on host machine. Please check with docker images.
cleanup function doesn't exist
ERROR : (Error Code: 1) ia_etcd image does not exist on host machine. Please check with docker images.

2 the pcb demo don't display  the time-series-analysis display .

pcb error : ia_video_analytics Container is not Up even after 15 minutes,

time-series-analysis error: ia_data_analytics container is not up even for 15 minutes.

Screenshot from 2020-07-28 15-37-49.png

when i try to see the logs file  it show me no_such_container

 

fa2233
New Contributor I
637 Views

two logs

fa2233
New Contributor I
685 Views

i get this log during  EIS installation finish . the display show disconnect

Jia-Shing_W_Intel
Moderator
723 Views

I would encourage you to start the EIS services you had set up directly from the docker_setup directory by running "docker-compose up -d". If you look at the installer/automation/src, you can find that when you run automation testing, it actually runs canned test setups from there, regardless of the actual configurations you had used to build your Docker images. For example, you might have built the images with all security features disabled, but the default docker-compose.yml files there have the secrets section enabled. The other thing is, if you made your own customization changes in the docker-compose file, they are lost too. 

By starting EIS from the docker_setup directory, it's a lot more cleaner and expected, and it's how you will want to develop your code, package it, and ship to your customers.

Reply