You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Affected Puppet, Ruby, OS and module versions/distributions
Puppet: Puppet 7
Ruby:
Distribution: Ubuntu 22.04
Module version: 1.1.0
How to reproduce (e.g Puppet code you use)
Creating of a new install.
What are you seeing
Getting an install error.
What behaviour did you expect instead
Successful install
Output log
...
Error: /Stage[main]/Opensearch::Install::Package/Package[opensearch]/ensure: change from 'purged' to 'present' failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install opensearch' returned 100: Reading package lists...
...
ERROR: Something went wrong during demo configuration installation. Please see the logs in /var/log/opensearch/install_demo_configuration.log
dpkg: error processing package opensearch (--configure):
installed opensearch package post-installation script subprocess returned error exit status 1
...
Any additional information you'd like to impart
On a new install I get an installation failure.
...
Error: /Stage[main]/Opensearch::Install::Package/Package[opensearch]/ensure: change from 'purged' to 'present' failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install opensearch' returned 100: Reading package lists...
...
ERROR: Something went wrong during demo configuration installation. Please see the logs in /var/log/opensearch/install_demo_configuration.log
dpkg: error processing package opensearch (--configure):
installed opensearch package post-installation script subprocess returned error exit status 1
...
This is the last rows in the log file mentioned.
...
Detected OpenSearch Version: 2.15.0
Detected OpenSearch Security Version: 2.15.0.0
No custom admin password found. Please provide a password via the environment variable OPENSEARCH_INITIAL_ADMIN_PASSWORD.
Setting OPENSEARCH_INITIAL_ADMIN_PASSWORD before running puppet fixes the problem but would be nice if not needed. You may have to purge the failed package first.
The text was updated successfully, but these errors were encountered:
This "new" behavior of OpenSearch installation does not make sense. It should be fixed upstream rather than worked around in every piece of code that wants to setup OpenSearch.
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
Creating of a new install.
What are you seeing
Getting an install error.
What behaviour did you expect instead
Successful install
Output log
Any additional information you'd like to impart
On a new install I get an installation failure.
This is the last rows in the log file mentioned.
Setting OPENSEARCH_INITIAL_ADMIN_PASSWORD before running puppet fixes the problem but would be nice if not needed. You may have to purge the failed package first.
The text was updated successfully, but these errors were encountered: