You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If my assumption is correct, then this is a serious problem. The pulsar-all:3.0.0 is actually a version 2.11.0 of Pulsar but with 3.0.0 connectors and offloaders.
I'm rebuilding the pulsar-all image. And then I will publish it to the docker hub.
We also need to fix this dockerfile
If my assumption is correct, then this is a serious problem. The pulsar-all:3.0.0 is actually a version 2.11.0 of Pulsar but with 3.0.0 connectors and offloaders.
I'm rebuilding the pulsar-all image. And then I will publish it to the docker hub. We also need to fix this dockerfile
The configuration file also needs to be checked. I encountered a problem of missing 'enableBrokerSideSubscriptionPatternEvaluation' parameter in the broker.conf, but it is correct in pulsar:3.0.0.
But at the time of building Pulsar 3.0.0, apachepulsar/pulsar:latest was pointing to version 2.11.0(I'm curious why it's not 2.11.1).
@cbornet@RobertIndie
I don't think that this is the root cause. In the current build, all docker images should be built locally without pulling apachepulsar/pulsar:latest from the remote repository. In that case, there's no chance that versions get mixed regardless of the remote versions.
The configuration file also needs to be checked. I encountered a problem of missing 'enableBrokerSideSubscriptionPatternEvaluation' parameter in the broker.conf, but it is correct in pulsar:3.0.0.
This is the same issue. 'enableBrokerSideSubscriptionPatternEvaluation' only be included in 3.0.0. But currently, pulsar-all:3.0.0 is actually an image for 2.11.0. This problem will be fixed after I republish the image.
Here is the verification:
docker run snzkyang/pulsar-all:3.0.0 cat conf/broker.conf | grep enableBrokerSideSubscriptionPatternEvaluation
enableBrokerSideSubscriptionPatternEvaluation=true
I'd rather have the release guide in the GitHub wiki since that would lower the barrier to update the docs if there are issues that need to be addressed.
No. GitHub wiki is a half completed GitHub repo that few people know how to trace its history or collaborate with comment. As a committer you can already update the release process on the site repo without any barrier - what's extra here?
I'd rather have the release guide in the GitHub wiki since that would lower the barrier to update the docs if there are issues that need to be addressed.
No. GitHub wiki is a half completed GitHub repo that few people know how to trace its history or collaborate with comment. As a committer you can already update the release process on the site repo without any barrier - what's extra here?
If the instructions aren't maintained, there might be a barrier. It could be resolved by requesting everyone performing releases to ask for help and/or update the instructions if there are problems.
I'd rather have the release guide in the GitHub wiki since that would lower the barrier to update the docs if there are issues that need to be addressed.
No. GitHub wiki is a half completed GitHub repo that few people know how to trace its history or collaborate with comment. As a committer you can already update the release process on the site repo without any barrier - what's extra here?
@tisonkun The process isn't up-to-date. I created #20438 to track the outdated release process.
changed the title [-][Bug] Unexpected lib version in pulsar-all:3.0.0 image[/-][+][Bug] pulsar-all 3.0.0 docker image contains wrong version 2.11.0[/+]on Jun 28, 2023
Activity
tisonkun commentedon May 29, 2023
cc @cbornet @RobertIndie the Release Manager for this version.
RobertIndie commentedon May 29, 2023
I think the root cause is that we use
apachepulsar/pulsar:latestto build thepulsar-allimage.pulsar/docker/pulsar-all/Dockerfile
Lines 29 to 31 in ab810f4
But at the time of building Pulsar 3.0.0,
apachepulsar/pulsar:latestwas pointing to version 2.11.0(I'm curious why it's not 2.11.1).We can see that the connectors and offloaders are pointing to the 3.0.0:
But the libraries under
lib/are not.If my assumption is correct, then this is a serious problem. The
pulsar-all:3.0.0is actually a version 2.11.0 of Pulsar but with 3.0.0 connectors and offloaders.I'm rebuilding the
pulsar-allimage. And then I will publish it to the docker hub.We also need to fix this dockerfile
tisonkun commentedon May 29, 2023
Thanks for your investigation @RobertIndie!
Then this can be of the same reason #19544 (comment).
cc @nodece @michaeljmarshall for your information.
gaecfov commentedon May 29, 2023
The configuration file also needs to be checked. I encountered a problem of missing 'enableBrokerSideSubscriptionPatternEvaluation' parameter in the broker.conf, but it is correct in pulsar:3.0.0.
lhotari commentedon May 29, 2023
@cbornet @RobertIndie
I don't think that this is the root cause. In the current build, all docker images should be built locally without pulling
apachepulsar/pulsar:latestfrom the remote repository. In that case, there's no chance that versions get mixed regardless of the remote versions.How did the docker images get built and pushed?
We should be updating the release guide if there are problems (which was very common in the past).
I'd rather have the release guide in the GitHub wiki since that would lower the barrier to update the docs if there are issues that need to be addressed.
The current release process is maintained on the website, https://pulsar.apache.org/contribute/release-process/#stage-docker-images . That's fine as long as we continue to maintain it.
RobertIndie commentedon May 29, 2023
@lhotari
When we build the image while preparing the release candidate, we use our own account name as docker hub org name instead of
apachepulsar. You can check the release process here: https://pulsar.apache.org/contribute/release-process/#stage-docker-images (But actually, we need to modify this process because we have changed our build script)Therefore the
apachepulsar/pulsaris not pointed to the locally built image, which causes the issue.RobertIndie commentedon May 29, 2023
Hi, @gaecfov
This is the same issue. 'enableBrokerSideSubscriptionPatternEvaluation' only be included in 3.0.0. But currently,
pulsar-all:3.0.0is actually an image for 2.11.0. This problem will be fixed after I republish the image.Here is the verification:
tisonkun commentedon May 29, 2023
No. GitHub wiki is a half completed GitHub repo that few people know how to trace its history or collaborate with comment. As a committer you can already update the release process on the site repo without any barrier - what's extra here?
nodece commentedon May 29, 2023
I suggest we only use the
apachepulsar/X.Y.Zimage, not thelatestimage, which can avoid this issue.lhotari commentedon May 29, 2023
If the instructions aren't maintained, there might be a barrier. It could be resolved by requesting everyone performing releases to ask for help and/or update the instructions if there are problems.
lhotari commentedon May 29, 2023
I don't think that solves the problem. Both images should be built locally and nothing should ever be pulled.
nodece commentedon May 29, 2023
I submitted #20433 to fix this, please help to review, thank you for your time!
cbornet commentedon May 29, 2023
I'm sorry that this happened.
When doing the RC, I used the following command to have cross-compilation for ARM:
So there's probably something to do better with this command.
lhotari commentedon May 30, 2023
@tisonkun The process isn't up-to-date. I created #20438 to track the outdated release process.
lhotari commentedon May 30, 2023
@cbornet I assigned #20438 to you so that we get these commands documented. Do you have a barrier in updating the release process? (/cc @tisonkun )
packageman commentedon Jun 1, 2023
@RobertIndie Have you pushed the pulsar-all image to the docker hub? I checked it was still pushed a month ago.
tisonkun commentedon Jun 1, 2023
@packageman I suppose the conclusion will be calling for a 3.0.1 release to fix this issue.
RobertIndie commentedon Jun 1, 2023
@packageman We need a new release 3.0.1 to address this issue. Here is the discussion email about the 3.0.1 release: https://lists.apache.org/[email protected]
[-][Bug] Unexpected lib version in pulsar-all:3.0.0 image[/-][+][Bug] pulsar-all 3.0.0 docker image contains wrong version 2.11.0[/+][-][Bug] pulsar-all 3.0.0 docker image contains wrong version 2.11.0[/-][+][Bug] pulsar-all 3.0.0 docker image contains Pulsar 2.11.0[/+]github-actions commentedon Jul 29, 2023
The issue had no activity for 30 days, mark with Stale label.
RobertIndie commentedon Aug 9, 2023
The Pulsar 3.0.1 has been released. Please get the new docker image here: https://hub.docker.com/layers/apachepulsar/pulsar-all/3.0.1/images/sha256-40de86dccb1a76f4b6b011be94d7c36e49c18a0a42560363c0b6dd3fd2935d7a?context=explore