Bug 1333510
Summary: | Project is missing a push secret | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Stefanie Forrester <dakini> |
Component: | apiserver-auth | Assignee: | David Eads <deads> |
Status: | CLOSED ERRATA | QA Contact: | Bing Li <bingli> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 3.2.0 | CC: | aos-bugs, bingli, bparees, dakini, deads, haowang, jliggitt, maszulik, tdawson, vdinh |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-09-27 09:32:17 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1303130 |
Description
Stefanie Forrester
2016-05-05 17:09:23 UTC
Possibly related. https://bugzilla.redhat.com/show_bug.cgi?id=1324179 The related BZ was moved to VERIFIED, is this still an issue? I think this issue is resolved. I would like to reopen this issue as we still encounter this problem on the INT cluster. Vu I have met this issue several times in online too. Sometimes image would be fail to pushed after succcessfully built, but it could secceed when I just start build again with the same buildconfig. Logs are same with Stefanie described in this bug. David can you look into it, iirc all the secrets are auto-generated, even if one removes them they should be re-created instantaneously. At least that's what I've experienced last Friday when dealing with other bug with secrets. @bparees is this just the ordering problem between the secrets and the build getting started before they're present? If so, don't you already have cards/issues/bugs about it? There appear to be two things being discussed in this bug. The original problem was a case of a project in which the secrets *never* got created: "In INT, we have a single project that is missing its push secret, and therefore cannot push to the registry during builds. It's unknown how it got into that state. The project name is 'vdinh-project'." You're correct that we have other bugs around the ordering problems of retrying when secrets don't exist "yet" but will soon. https://github.com/openshift/origin/issues/4518 https://bugzilla.redhat.com/show_bug.cgi?id=1333030 (in which i disagree that builds should take any special action in this scenario). I'm assigning this back to you for the original issue of secrets never being created/recreated for the project. If you feel it's resolved, feel free to put it ON_QA. https://github.com/openshift/ose/pull/278 resolved the original issue with push secrets not getting created I think the issue of secrets never being created/recreated has been resolved on dev-preview-stg. But in dev-preview-int, sometimes secrets still can't be created succussfully now, like below: # oc get sa NAME SECRETS AGE builder 1 18m default 1 18m deployer 2 18m # oc get secret NAME TYPE DATA AGE builder-token-4cghx kubernetes.io/service-account-token 3 19m default-token-1a1h5 kubernetes.io/service-account-token 3 19m default-token-jrebj kubernetes.io/service-account-token 3 19m deployer-dockercfg-kp2ao kubernetes.io/dockercfg 1 19m deployer-token-s9wcu kubernetes.io/service-account-token 3 19m deployer-token-wefka kubernetes.io/service-account-token 3 19m 1333030 is not the right spot. 1333030 is referring to a case where we know the secret is not available and apparently some people expect the build to retry until the secret is available (I don't agree, hence why that bug has not moved forward). but a case where the secret actually does exist, but the build doesn't find/use it should be opened as a new bug. This one seems fixed. The issue of "secrets not being created" has be fixed. Move this bug to verified. Thanks! Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2016:1933 |