-
Notifications
You must be signed in to change notification settings - Fork 278
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG][2.0.0]PA not running in RPM distribution #2043
Comments
@peterzhuamazon Can we also add automated validation for PA to capture these issues for RPM, TAR and Docker bundle once we align on a solution? |
Is the fix in this repo or PA? Can we please move this issue to the right repo and assign to an engineer in PA? |
@peterzhuamazon I am also more inclined towards option 1. We can have PA references these configuration files in code as well, which needs to be fixed. https://github.com/opensearch-project/performance-analyzer/blob/main/packaging/rpm/postinst |
Created an issue in PA: opensearch-project/performance-analyzer#197 |
The error log:
This error is caused by the change of config directory in RPM.
Not in
$OPENSEARCH_HOME/config
anymore, but in/etc/opensearch
.How to resolve:
bin/opensearch-performance-analyzer/performance-analyzer-agent-cli
to point to$OPENSEARCH_PATH_CONF
instead of$OPENSEARCH_HOME/config
.config
symlink in the rpm pointed to/etc/opensearch
, the problem with this approach is security demo cert installation script is checking whether$OPENSEARCH_HOME/config
exists. If so, install as tar; if not, install as rpm.I prefer to have 1 as that is the minimum changes as well as changes in
scripts/legacy/tar/linux/opensearch-tar-install.sh
to addOPENSEARCH_PATH_CONF
values and exports.Thanks.
The text was updated successfully, but these errors were encountered: