Intel® Edge Software Hub
Get answers from community peers to your questions about building Edge Software Hub solutions for edge compute node.
Announcements
Welcome to the Intel Community! If you like the answer to your question, please mark it as 'Accepted Solution' to help others.

The Edge Software Vision Package for Red Hat Enterprise Linux is now available here.

Learn more about developing on Intel® Hardware and Software here.
403 Discussions

TLS2.0 Key (username)=(admin) already exists issue

Lin__Joey
Innovator
1,129 Views

Dear EIS Team,

The error log attached appears after running ./setup_TLS_docker.sh 

Please provide your expertise. Thanks in advance,

Best regards,

Joey

 

Labels (1)
0 Kudos
1 Solution
WengWai_C_Intel
Moderator
1,053 Views

Hi @Lin__Joey

For the key already exists message, basically it will not cause any issue and from your logfile we can see the 5 cvat related containers (cvat,  nginx, cvat_cvat_ui, redis and postgres) already up running. In order to have a clean rebuild, below are some suggestions for you to re-run the setup:

1) Go to path <TLS_repo>/webservices/components/cvat directory, run the command below:

     sudo docker-compose down

 

2) Go to path <TLS_repo>/ directory, run the command below:

    sudo docker-compose down

 

3) Run the command below to remove the directories:

    sudo rm -r /opt/intel/tls

 

4) Go to path <TLS_repo>/thirdparty directory, run command below:

    sudo ./cleanup_docker.sh

 

5) Finally, in the same directory, run the setup script again without sudo.

     ./setup_TLS_docker.sh

 

Let me know if you can rebuild the system and running. 

Thanks!

View solution in original post

0 Kudos
4 Replies
JesusE_Intel
Moderator
1,090 Views

Hi Joey,


Thanks for reaching out, the DETAIL: Key (username)=(admin) already exists is alerting that the user name exists, likely the command was previously executed.


However, the issue indicates there is already a docker container with the device /opt/intel/openvino.


ERROR: Configuration for volume openvino specifies "device" driver_opt None, but a volume with the same name uses a different "device" driver_opt (/opt/intel/openvino). If you wish to use the new configuration, please remove the existing volume "training-and-learning-suite_openvino" first:


If possible, please try to clean the docker containers and re-run the setup_TLS_docker.sh script. Please note this will completely remove the docker contains and they will be re-downloaded.


cd <TLS_repo>/thirdparty

sudo ./cleanup_docker.sh

sudo ./cleanup.sh


Regards,

Jesus


0 Kudos
Lin__Joey
Innovator
1,069 Views

I tried it with no luck with error log attached. Does that mean the keys stores somewhere else in the system? The error appeared after I failed to restart TLS docker.  It baffles me for the correct procedure to restart the TLS server.  Do you have any other suggestion?

Thanks a lot,

Joey

 

  

0 Kudos
WengWai_C_Intel
Moderator
1,054 Views

Hi @Lin__Joey

For the key already exists message, basically it will not cause any issue and from your logfile we can see the 5 cvat related containers (cvat,  nginx, cvat_cvat_ui, redis and postgres) already up running. In order to have a clean rebuild, below are some suggestions for you to re-run the setup:

1) Go to path <TLS_repo>/webservices/components/cvat directory, run the command below:

     sudo docker-compose down

 

2) Go to path <TLS_repo>/ directory, run the command below:

    sudo docker-compose down

 

3) Run the command below to remove the directories:

    sudo rm -r /opt/intel/tls

 

4) Go to path <TLS_repo>/thirdparty directory, run command below:

    sudo ./cleanup_docker.sh

 

5) Finally, in the same directory, run the setup script again without sudo.

     ./setup_TLS_docker.sh

 

Let me know if you can rebuild the system and running. 

Thanks!

0 Kudos
JesusE_Intel
Moderator
1,028 Views

If you need any additional information, please submit a new question as this thread will no longer be monitored.


0 Kudos
Reply