- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 |
+--------------------------+-----------------------------+---------+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you need any additional information, please submit a new question as this thread will no longer be monitored.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page