-
Notifications
You must be signed in to change notification settings - Fork 699
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
s2i build, regression with 1.3.2 #1102
Comments
me too. I have the same problem |
I have try v1.1.14 release, it have similar problem |
I have almost the same problem starting with 1.3.2. In my case the image exists in docker.io, but s2i inexplicably uses the 'latest' tag rather than the one I specify. The 'latest' tag does not exist, so it fails.
|
This bug was introduced by #1068. In source-to-image/pkg/cmd/cli/cmd/generate.go Line 109 in 78363ee
Commenting out that line works around the problem. Otherwise, s2i will always try to use the |
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
/remove-lifecycle stale This is still a major bug that prevents S2I from being able to use builders that don't publish a |
If someone would like to put together a pull request + test for this we would be happy to review it. |
@brenthdaniel I moved the issue that you were having to #1123 to be dealt with separately. |
That is a different problem, please open a different issue for that. |
I can not replicate this issue using the latest docker (24.0.2) and S2I (1.3.7). When I build an image using |
No updates from OP since June, closing. |
@coreydaley: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
When using 1.3.2 release (latest release), it seems that "docker.io" is added as prefix of the image.
I have the image wildfly/wildfly-s2i:1.0.1-jdk11-snapshot in the local docker repository, but s2i command line doesn't find it.
This image doesn't exist in docker.io.
It woks just fine with 1.3.1.
Docker version 20.10.21+azure-2, build baeda1f82a10204ec5708d5fbba130ad76cfee49
The logs:
INFO - Executing new S2I build with the command [s2i build --loglevel=5 --pull-policy if-not-present --context-dir=test/test-app-default-config -r=main -E "/tmp/tmpyu2hgquq" http://github.com/wildfly/wildfly-s2i wildfly/wildfly-s2i:1.0.1-jdk11-snapshot integ-wildfly/wildfly-s2i:1.0.1-jdk11-snapshot --incremental ]...
2022-12-20 09:24:06,681 - root - ERROR - I1220 09:24:06.681036 18000 build.go:52] Running S2I version "v1.3.2"
2022-12-20 09:24:06,681 - root - ERROR - I1220 09:24:06.681158 18000 util.go:58] Getting docker credentials for wildfly/wildfly-s2i:1.0.1-jdk11-snapshot
2022-12-20 09:24:07,855 - root - ERROR - I1220 09:24:06.681177 18000 util.go:74] Using credentials for pulling wildfly/wildfly-s2i:1.0.1-jdk11-snapshot
2022-12-20 09:24:07,855 - root - ERROR - I1220 09:24:06.681181 18000 util.go:58] Getting docker credentials for integ-wildfly/wildfly-s2i:1.0.1-jdk11-snapshot
2022-12-20 09:24:07,855 - root - ERROR - I1220 09:24:06.681192 18000 util.go:74] Using credentials for pulling integ-wildfly/wildfly-s2i:1.0.1-jdk11-snapshot
2022-12-20 09:24:07,855 - root - ERROR - W1220 09:24:07.854860 18000 build.go:167] could not inspect the builder image for labels: reading manifest 1.0.1-jdk11-snapshot in docker.io/wildfly/wildfly-s2i: errors:
2022-12-20 09:24:07,856 - root - ERROR - denied: requested access to the resource is denied
2022-12-20 09:24:07,856 - root - ERROR - unauthorized: authentication required
2022-12-20 09:24:07,856 - root - ERROR - I1220 09:24:07.856303 18000 docker.go:500] error inspecting image docker.io/wildfly/wildfly-s2i:latest: Error: No such image: docker.io/wildfly/wildfly-s2i:latest
The text was updated successfully, but these errors were encountered: