Gabor,

Thanks for finding and highlighting this problem. I confirmed the same
issue and the resolution you noted. The Dockerfile for the dockermaven
module includes the package, but unfortunately the dockerhub module is
out of alignment, resulting in the problem.

I submitted a pull request [1] to include the python3-venv package.

Although it might be considered a build issue that could be resolved
for release, it is early enough in the vote that I am cancelling this
release candidate and will publish another after the resolution is
merged.

Regards,
David Handermann

[1] https://github.com/apache/nifi/pull/8056

On Tue, Nov 21, 2023 at 9:21 AM Gábor Gyimesi <gamezb...@gmail.com> wrote:
>
> It seems the missing dependency is the "python3-venv" package from the
> nifi-docker/dockerhub/Dockerfile, adding the package solves the problem and
> NiFi starts without a problem inside the container.
>
> BR,
> Gabor
>
> On Tue, 21 Nov 2023 at 13:44, Gábor Gyimesi <gamezb...@gmail.com> wrote:
>
> >  -1 (non-binding)
> >
> > Thank you David for handling the release!
> >
> > - Verified binary hashes and signatures
> > - Successfully built NiFi with contrib-check using:
> >   - Apache Maven 3.6.3
> >   - Java 21 2023-09-19 LTS
> >   - Ubuntu 22.04 6.2.0-36-generic
> > - Ran some simple flows successfully
> > - Tested minifi-c2 server successfully with MiNiFi C++ (using a draft of
> > the change conforming the new header requirements
> > https://issues.apache.org/jira/browse/MINIFICPP-2244)
> >
> > One issue I encountered:
> > Built a docker image using the nifi-docker/dockerhub/Dockerfile dockerfile
> > and the binaries provided at
> > https://dist.apache.org/repos/dist/dev/nifi/nifi-2.0.0-M1/ but the NiFi
> > startup failed with the following error: "Failed to communicate with Python
> > Controller".
> > The PythonBridge class may have some dependency that is missing from the
> > docker image for handling the python processors. As this issue may block
> > the release of the new docker image on Docker Hub it may be worth
> > investigating before releasing this version.
> >
> > Best Regards,
> > Gabor
> >
> >
> >
> > On Mon, 20 Nov 2023 at 18:01, David Handermann <
> > exceptionfact...@apache.org> wrote:
> >
> >> Team,
> >>
> >> I am pleased to be calling this vote for the source release of Apache
> >> NiFi 2.0.0-M1.
> >>
> >> Please review the following guide for how to verify a release candidate
> >> build:
> >>
> >>
> >> https://cwiki.apache.org/confluence/display/NIFI/Release+Candidate+Verification
> >>
> >> The source being voted on the and the convenience binaries are
> >> available on the Apache Distribution Repository:
> >>
> >> https://dist.apache.org/repos/dist/dev/nifi/nifi-2.0.0-M1
> >>
> >> The build artifacts are available on the Apache Nexus Repository:
> >>
> >> https://repository.apache.org/content/repositories/orgapachenifi-1246
> >>
> >> Git Tag: nifi-2.0.0-M1-RC4
> >> Git Commit ID: 99f13a89c1b49624e225e53f91d6ae8f3a2a4ab9
> >> GitHub Commit Link:
> >>
> >> https://github.com/apache/nifi/commit/99f13a89c1b49624e225e53f91d6ae8f3a2a4ab9
> >>
> >> Checksums of nifi-2.0.0-M1-source-release.zip
> >>
> >> SHA256: a0b59a66d2f781608775b286ccb08f26d373c7342bd148f4a86f5f5dac841b47
> >> SHA512:
> >> eec87f959037df8620fe314ab8468aac2bfa0ec146c1ed1eabfff999deb3dbd2d416511bf3d8f32aa9f5e7b9343817d5ff08e9784febba7f87e29ea493e4fa6b
> >>
> >> Release artifacts are signed with the following key:
> >>
> >> https://people.apache.org/keys/committer/exceptionfactory.asc
> >>
> >> KEYS file is available on the Apache Distribution Repository:
> >>
> >> https://dist.apache.org/repos/dist/release/nifi/KEYS
> >>
> >> Issues resolved for this version: 948
> >>
> >>
> >> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12316020&version=12339599
> >>
> >> Release note highlights can be found on the project wiki:
> >>
> >>
> >> https://cwiki.apache.org/confluence/display/NIFI/Release+Notes#ReleaseNotes-Version2.0.0-M1
> >>
> >> The vote will be open for 72 hours.
> >>
> >> Please download the release candidate and evaluate the necessary items
> >> including checking hashes, signatures, build from source, and test.
> >> Then please vote:
> >>
> >> [] +1 Release this package as nifi-2.0.0-M1
> >> [] +0 no opinion
> >> [] -1 Do not release this package because...
> >>
> >

Reply via email to