I installed per the instructions at 
https://opensearch.org/docs/latest/install-and-configure/install-opensearch/debian/#install-opensearch-from-an-apt-repository,
 but it fails to start:

> $ sudo systemctl start opensearch
> Job for opensearch.service failed because the control process exited with 
> error code.
> See "systemctl status opensearch.service" and "journalctl -xeu 
> opensearch.service" for details.

> $ systemctl status opensearch.service
> × opensearch.service - OpenSearch
>      Loaded: loaded (/lib/systemd/system/opensearch.service; enabled; preset: 
> enabled)
>      Active: failed (Result: exit-code) since Tue 2023-12-19 15:24:58 UTC; 
> 7min ago
>        Docs: https://opensearch.org/
>     Process: 43719 ExecStart=/usr/share/opensearch/bin/systemd-entrypoint -p 
> ${PID_DIR}/opensearch.pid --quiet (code=exited, status=1/FAILURE)
>    Main PID: 43719 (code=exited, status=1/FAILURE)
>         CPU: 2.001s


This is on opensearch.spi-tools.eqiad1.wikimedia.cloud 
<https://horizon.wikimedia.org/project/instances/c282d273-6007-4320-9df2-69cd949a1a37/>.
  It’s a brand new  debian bookworm instance I just spun up for this.  The only 
configuration I’ve done was to increase vm.max_map_count per their 
recommendation:

> $ cat /proc/sys/vm/max_map_count 
> 262144


Any ideas?



> On Dec 18, 2023, at 6:08 AM, Francesco Negri <fne...@wikimedia.org> wrote:
> 
> On Sun, Dec 17, 2023 at 10:04 PM Roy Smith <r...@panix.com> wrote:
>> I want to install elasticsearch on a VPS instance.  I’m guessing this 
>> involves puppet, but can’t figure out the details.  The instructions at 
>> https://wikitech.wikimedia.org/wiki/Help:Puppet don’t match what I’m 
>> actually seeing in Horizon.  I go to the Puppet Configuration tab for my 
>> instance and there’s no project/common/all sub-pages as described under 
>> Apply a puppet role to or change hiera config of an individual instance.
> 
> Hi Roy,
> 
> Elasticsearch is licensed under a non-free license, so I would
> encourage you to use OpenSearch instead, as the Cloud Services terms
> of use [1] require that only OSI-compliant software is installed in
> Cloud VPS instances.
> 
> The screenshots included in
> https://wikitech.wikimedia.org/wiki/Help:Puppet are a bit old, the
> interface is now slightly different. We will update that page, but in
> the meantime my recommendation is to ignore Puppet and install
> OpenSearch by logging into your Cloud VPS instance and following the
> upstream instructions at
> https://opensearch.org/docs/latest/install-and-configure/install-opensearch/debian/
> 
> Let us know if that works or if you run into further issues!
> 
> Thanks,
> Francesco
> 
> [1] https://wikitech.wikimedia.org/wiki/Wikitech:Cloud_Services_Terms_of_use
> 
> -- 
> Francesco Negri (he/him) -- IRC: dhinus
> Site Reliability Engineer, Cloud Services team
> Wikimedia Foundation
> _______________________________________________
> Cloud mailing list -- cloud@lists.wikimedia.org
> List information: 
> https://lists.wikimedia.org/postorius/lists/cloud.lists.wikimedia.org/

_______________________________________________
Cloud mailing list -- cloud@lists.wikimedia.org
List information: 
https://lists.wikimedia.org/postorius/lists/cloud.lists.wikimedia.org/

Reply via email to