Edge Software Catalog
Support for issues related to Edge Software Catalog
472 Discussões

EII package install failed

Neena_M_Intel
Funcionário
4.448 Visualizações

Hi,

I am getting the following error message: 

Failed to provision secrets to vault.

Failed to install eii_installer took 2 minutes 10.17 seconds

Please see attached logs from my terminal

Etiquetas (1)
0 Kudos
1 Solução
WengWai_C_Intel
Moderador
4.297 Visualizações

@Neena_M_Intel 

Upon investigation on your setup, the failure was due to the provisioning script issue a command to read the timezone and the result being return came with an additional warning message that corrupted the .env file. Therefore, the provisioning steps failed and showing an error "Failed to provision secrets to vault". Once the warning message being removed, then it can be build successfully. Although this is something abnormal on this particular machine as the standard command to read the timezone from the system with additional warning message, but we have captured this scenario and see if anything can be done from EII to avoid similar issue if encounter the same system behavior. So, your EII system is good to go now.

Hope these information help.

Ver solução na publicação original

7 Respostas
JesusE_Intel
Moderador
4.428 Visualizações

Hi Neena_M_Intel,


May I know if this is a fresh Ubuntu 18.04 install or did you have a previous version installed on the OS? Looking at the logs, it looks like you have PyYAML version 3.12 installed and the installer is unable to remove it. Could you try removing it manually and installing PyYAML version 5.4.


pip3 install PyYAML==5.4


Once the correct PyYAML version is installed, try running the installation once more.

./edgesoftware install


Regards,

Jesus



Neena_M_Intel
Funcionário
4.421 Visualizações

Hi, I don't have access to the physical system. hence, cannot start from a fresh OS install. I tried to uninstall PyYaml. However, got the following message:

Found existing installation: PyYAML 3.12
ERROR: Cannot uninstall 'PyYAML'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.

Tried a few suggestions from StackOverflow unsuccessfully. Also, tried updating it with pip force reinstall. The edgesoftware CLI still fails. Any suggestions?

Neena_M_Intel
Funcionário
4.416 Visualizações

I uninstalled Python and then installed it back by following the instructions here . Then tried the command 'edgesoftware install'. Still getting the same error. Let me know if I can provide any other logs.

Failed to provision secrets to vault.
Failed to install eii_installer took 1 minutes 39.85 seconds
Installation of package complete
+--------------------------+-----------------------------+---------+
| Id | Module | Status |
+--------------------------+-----------------------------+---------+
| 5f21392e9e63c9002a6fd88d | Docker Community Edition CE | SUCCESS |
| 5f213aae9e63c9002a6fd88e | Docker Compose | SUCCESS |
| 5face41098a1ef002af292fd | eii installer | FAILED |
+--------------------------+-----------------------------+---------+

Neena_M_Intel
Funcionário
4.411 Visualizações

Forgot to mention that my PyYAML version is 5.4 now

 

pip show pyyaml
Name: PyYAML
Version: 5.4
Summary: YAML parser and emitter for Python
Home-page: https://pyyaml.org/
Author: Kirill Simonov
Author-email: xi@resolvent.net
License: MIT
Location: /usr/local/lib/python3.6/dist-packages
Requires:
Required-by:

JesusE_Intel
Moderador
4.344 Visualizações

Hi Neena_M_Intel,

 

Could you please provide the install.log file? It should located under the /var/log/esb-cli/Edge_Insights_for_Industrial_2.4.2/eii_installer/ directory.

 

Regards,

Jesus

 

WengWai_C_Intel
Moderador
4.298 Visualizações

@Neena_M_Intel 

Upon investigation on your setup, the failure was due to the provisioning script issue a command to read the timezone and the result being return came with an additional warning message that corrupted the .env file. Therefore, the provisioning steps failed and showing an error "Failed to provision secrets to vault". Once the warning message being removed, then it can be build successfully. Although this is something abnormal on this particular machine as the standard command to read the timezone from the system with additional warning message, but we have captured this scenario and see if anything can be done from EII to avoid similar issue if encounter the same system behavior. So, your EII system is good to go now.

Hope these information help.

JesusE_Intel
Moderador
4.281 Visualizações

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


Responder