Summary
Deployed a VM with the opensearch service role attached, with a real
generated admin_password submitted (16 chars, mixed upper/lower/digit/
special - meets the role's own documented complexity requirement), on the
Ubuntu 24.x "with PlusClouds Service" image. After SSH login succeeded,
systemctl is-active opensearch reported inactive, and
https://127.0.0.1:9200/ (with basic auth against the submitted password,
falling back to plain http if https wasn't reachable at all) never became
reachable, even after waiting an extended 600s budget (to account for the
JVM startup + vm.max_map_count sysctl step this role's description
mentions).
Caveat: I have not independently confirmed the actual OpenSearch
systemd unit name on this image - opensearch is the standard name from
its official apt/dnf packaging, but if this role installs it under a
different unit name, systemctl is-active opensearch would report a
"not active"-ish result for the wrong reason. The HTTP check failing too
(a name-independent signal) is what makes this worth filing regardless,
but worth confirming service naming during triage. Also worth checking:
whether a valid admin_password was actually accepted/applied, since the
role's description says it "fails fast with a clear error" on an invalid
one - if it silently treated a technically-valid-but-unexpected password
as invalid, that would explain a stalled install.
Repro
POST /leo/iaas/virtual-machines/create-wizard with
service_roles: {"opensearch": {"config": {"admin_password": "<16-char password meeting the complexity rule>"}}}
against the Ubuntu 24.x "with PlusClouds Service" image, then after boot
(waited up to 600s):
systemctl is-active opensearch # -> inactive
curl -k -u admin:<password> https://127.0.0.1:9200/ # -> unreachable
The VM was deployed and torn down automatically as part of the test run,
so the live VM/install-script output is gone - filed from the test's
captured output, not a live inspection.
Found via leo4.tester's iaas-service-roles automated test scenario.
Summary
Deployed a VM with the
opensearchservice role attached, with a realgenerated
admin_passwordsubmitted (16 chars, mixed upper/lower/digit/special - meets the role's own documented complexity requirement), on the
Ubuntu 24.x "with PlusClouds Service" image. After SSH login succeeded,
systemctl is-active opensearchreportedinactive, andhttps://127.0.0.1:9200/(with basic auth against the submitted password,falling back to plain http if https wasn't reachable at all) never became
reachable, even after waiting an extended 600s budget (to account for the
JVM startup +
vm.max_map_countsysctl step this role's descriptionmentions).
Caveat: I have not independently confirmed the actual OpenSearch
systemd unit name on this image -
opensearchis the standard name fromits official apt/dnf packaging, but if this role installs it under a
different unit name,
systemctl is-active opensearchwould report a"not active"-ish result for the wrong reason. The HTTP check failing too
(a name-independent signal) is what makes this worth filing regardless,
but worth confirming service naming during triage. Also worth checking:
whether a valid
admin_passwordwas actually accepted/applied, since therole's description says it "fails fast with a clear error" on an invalid
one - if it silently treated a technically-valid-but-unexpected password
as invalid, that would explain a stalled install.
Repro
POST /leo/iaas/virtual-machines/create-wizardwithservice_roles: {"opensearch": {"config": {"admin_password": "<16-char password meeting the complexity rule>"}}}against the Ubuntu 24.x "with PlusClouds Service" image, then after boot
(waited up to 600s):
The VM was deployed and torn down automatically as part of the test run,
so the live VM/install-script output is gone - filed from the test's
captured output, not a live inspection.
Found via
leo4.tester'siaas-service-rolesautomated test scenario.