Bug 1229540
| Summary: | [beta4] eap6 example somehow causes multiple builds to get started | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Erik M Jacobs <ejacobs> |
| Component: | Build | Assignee: | Ben Parees <bparees> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.0.0 | CC: | cewong, chunchen |
| 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: | 2015-09-08 17:35:15 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
Erik M Jacobs
2015-06-09 03:13:51 UTC
Cesar, isn't this likely the race condition we had with imagechange trigger? it's either that or the issue the middleware team was seeing where the buildconfig doesn't get updated with the lastchangedimagetriggerid, which again should be fixed by the same fix since we won't run a build now if we fail to update the buildconfig. I agree, I would think it's more likely the latter. Moving this bug to fixed. It' fixed, verified against the latest OSE env, the openshift version as below:
oc v0.6.0.1-38-g0e02a6b
kubernetes v0.17.1-804-g496be63
And please refer to the below results:
1. Add the eap6-basic-sti.json template to project using the commandline:
$ oc create -f eap6-basic-sti.json
2. Create the secret for the EAP template:
$ oc create -f eap-app-secret.json
3. Go into the web console.
4. Find the project you created and click on it.
5. Click the "Create..." button.
6. Click the "Browse all templates..." button.
7. Click the "eap6-basic-sti" example.
8. Click "Select template".
9. Check the builds
$ oc get builds
10. Edit the resulting buildConfig
$ oc edit bc helloworld
---- edit the strategy section to look like the following: ----
strategy:
sourceStrategy:
from:
kind: ImageStreamTag
name: jboss-eap6-openshift:6.4
namespace: openshift
11. Check the builds
$ oc get builds
Results:
at step 9:
$ oc get builds
NAME TYPE STATUS POD
at step 11:
$ oc get build
NAME TYPE STATUS POD
helloworld-1 Source Running helloworld-1-build
Closing this as part of a bulk update/cleanup of multiple bugs that were VERIFIED before OSE 3.0 GA but were left open and haven't been updated since. If this bug was meant to stay open for some reason please reopen. |