I just imported opensearch 2.0, after lots of improvements from pkv@ and sthen@.
Yifei Zhan <openbsd@zhan.science> wrote: > Stuart mentioned that I should start opensearch via rcctl to ensure > the correct login class is set (doas -u _opensearch alone won't work), > after doing so and disable the security plugin with: > > plugins.security.disabled: true just a note: the new readme for the 2.0 version mentions how to set up locally instead of disabling the security plugin. > ...I got some different errors, but it starts normally, however, > rcctl still shows a failed status: > > # rcctl check opensearch > opensearch(failed) this is probably a mismatch between the pexp the service uses and how the process is actually ran. Showing the relevant lines from rc.conf.local would be helpful in debugging this. However, if you're insterested in running opensearch, I'd suggest to roll back the changes, update to the imported 2.0.1 version and see if the issue persist. Hopefully we could at least document this in the port' README. Thanks, Omar Polo > ... despite opensearch seems to work fine: > > # tail /var/log/opensearch/opensearch.log > > [2022-06-15T12:37:13,345][INFO ][o.o.i.m.ISMTemplateService] > [PortWorks.my.domain] Use 2022-06-15T11:36:13.320Z as migrating ISM template > last_updated_time > [2022-06-15T12:37:13,346][INFO ][o.o.i.m.ISMTemplateService] > [PortWorks.my.domain] ISM templates: {} > [2022-06-15T12:37:13,347][INFO ][o.o.i.m.ISMTemplateService] > [PortWorks.my.domain] Policies to update: [] > [2022-06-15T12:37:13,355][INFO ][o.o.i.m.ISMTemplateService] > [PortWorks.my.domain] Failure experienced when migrating ISM Template and > update ISM policies: {} > [2022-06-15T12:37:13,428][INFO ][o.o.c.s.ClusterSettings ] > [PortWorks.my.domain] updating > [plugins.index_state_management.template_migration.control] from [0] to [-1] > [2022-06-15T12:37:13,435][INFO ][o.o.i.m.ISMTemplateService] > [PortWorks.my.domain] Successfully update template migration setting > [2022-06-15T12:38:13,358][INFO ][o.o.i.i.ManagedIndexCoordinator] > [PortWorks.my.domain] Cancel background move metadata process. > [2022-06-15T12:38:13,359][INFO ][o.o.i.i.ManagedIndexCoordinator] > [PortWorks.my.domain] Performing move cluster state metadata. > [2022-06-15T12:38:13,360][INFO ][o.o.i.i.MetadataService ] > [PortWorks.my.domain] Move metadata has finished. > [2022-06-15T12:41:10,002][INFO ][o.o.j.s.JobSweeper ] > [PortWorks.my.domain] Running full sweep