Closed DarshitChanpura closed 8 months ago
[Triage] Hi @DarshitChanpura, thank you for filing this issue. Looks good.
- Run ./opensearch-tar-install.sh without no initialAdminPassword environment variable set, no initialAdminPassword.txt. a. Verify a secure password is generated b. Verify that admin:admin fails authentication c. Verify that admin:${Generated Password} succeeds authentication
- Run ./opensearch-tar-install.sh initialAdminPassword environment variable set a. Verify that a "weak" password fails and stops script execution in a clean way b. Verify that a "strong" password succeeds i. Verify that admin:admin fails authentication ii. Verify that admin:${initialAdminPassword} succeeds authentication
- Run ./opensearch-tar-install.sh no initialAdminPassword environment variable set, initialAdminPassword.txt present. a. Verify that a "weak" password fails and stops script execution in a clean way b. Verify that a "strong" password succeeds i. Verify that admin:admin fails authentication ii. Verify that admin:${initialAdminPassword.txt contents} succeeds authentication
Works
Works
Works
TAR distribution works as expected and satisfies all exit criteria.
Description: The changes related to the admin password need to be thoroughly tested for all supported distributions. To achieve this, a systematic approach is required. We will initiate the testing process with one distribution, ensuring end-to-end verification to guarantee the intended functionality of the changes.
Initially, the decision was made to proceed with Docker for testing purposes. However, it was realized that changes to Docker have a broader impact on various components and repositories (such as k8s-operator, helm charts, etc.). Following discussions with the @opensearch-project/engineering-effectiveness team offline, it has been determined that testing these changes on the TAR distribution is more feasible. The TAR distribution is known for its customizability and is relatively simple to test.
Acceptance Criteria: