From nobody Wed Jul 21 11:14:57 2021 X-Original-To: elastic@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 57E9C12BA4FB for ; Wed, 21 Jul 2021 11:14:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GVCfT1m5Vz3h8V for ; Wed, 21 Jul 2021 11:14:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1B1A81D138 for ; Wed, 21 Jul 2021 11:14:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 16LBEv7o041375 for ; Wed, 21 Jul 2021 11:14:57 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 16LBEv2i041374 for elastic@FreeBSD.org; Wed, 21 Jul 2021 11:14:57 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: elastic@FreeBSD.org Subject: [Bug 257309] sysutils/beats7: 7.13 compatibility to non-Elastic distributions Date: Wed, 21 Jul 2021 11:14:57 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: freebsd.org@neant.ro X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: elastic@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Support of ElasticSearch-related ports List-Archive: https://lists.freebsd.org/archives/freebsd-elastic List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-elastic@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257309 --- Comment #2 from bgdnlp --- (In reply to Kubilay Kocak from comment #1) Yes, I can add more details, but I can't yet confirm the workaround works. Pretty sure it does. Basically we downgraded to beats 7.10. The error that shows up in logs is this: ERROR [publisher_pipeline_output] pipeline/output.go:154 Failed to connect to backoff(elasticsearch(https://my.elasticsearch.url:443)): Connec= tion marked as failed because the onConnect callback failed: could not connect t= o a compatible version of Elasticsearch: unauthorized access, could not connect= to the xpack endpoint, verify your credentials The pull request that broke it is: https://github.com/elastic/beats/pull/25351/files This other pull request that would have restored functionality was rejected: https://github.com/elastic/beats/pull/26305 (I don't know what the code does or if it works as intended) My workaround is to downgrade to 7.10, which is thankfully still available = in quarterly repo, then lock the package: sudo service filebeat stop sudo pkg remove beats7 fetch https://pkg.freebsd.org/FreeBSD:12:amd/quarterly/All/beats7-7.10.1.txz sudo pkg install -y beats7-7.10.1.txz sudo pkg lock -y beats7-7.10.1 I guess one way forward would be to provide a 'beats7-oss' package or simil= ar which would only be upgraded after beats7 is (inevitably) forked to be patc= hed to work with non-Elastic distributions of ES. --=20 You are receiving this mail because: You are the assignee for the bug.=