Bug 1519296
| Summary: | Image triggers don't start Custom Builds in 3.6 | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Vadim Rutkovsky <vrutkovs> |
| Component: | Build | Assignee: | Jim Minter <jminter> |
| Status: | CLOSED ERRATA | QA Contact: | Wenjing Zheng <wzheng> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.6.0 | CC: | acarter, aos-bugs, ccoleman, twaugh, wewang |
| Target Milestone: | --- | ||
| Target Release: | 3.6.z | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
Cause: imagetrigger-controller was missing the permission to create custom Build objects.
Consequence: builds with customStrategy and ImageStreamTag triggers were not started whenever the ImageStreamTag was updated.
Fix: add permission to the imagetrigger-controller.
Result: builds with customStrategy and ImageStreamTag triggers are now started when the ImageStreamTag is updated.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-12-14 21:02:32 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: | |||
|
Description
Vadim Rutkovsky
2017-11-30 14:52:06 UTC
Jim please provide the backport to ose 3.6, thanks. Can easily fix by updating the role on affected clusters. verified in released version: openshift v3.6.173.0.83 steps : 1. Create project wewang 2. Create image stream $ oc import-image origin-wenwang --from='docker.io/wewang58/origin-custom-docker-builder' --confirm=true --insecure=true --all=true -n wewang 3. Create custom build $oc new-app -f https://raw.githubusercontent.com/openshift/origin/master/examples/sample-app/application-template-custombuild.json 4. Edit bc with new imagestram and tag "from": { "kind": "ImageStreamTag", "name": "origin-wenwang:latest", "namespace": "wewang" } 5. will trigger new build automatically [root@dhcp-128-91 ~]# oc get builds NAME TYPE FROM STATUS STARTED DURATION ruby-sample-build-1 Custom Git Complete 6 minutes ago 56s ruby-sample-build-2 Custom Git Complete 3 minutes ago 34s 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-2017:3438 |