Repository navigation
Set build status message in case of error - #4872
openshift-bot merged 1 commit into
Conversation
|
It turned out that With this PR, the I don't see the message in the Web Console though. |
|
Also, the message is not visible via Should we be triggering an event in addition to setting the status message? |
|
So will I see something other than "new" when I do "oc get build SOMEBUILDID"? |
|
@thoraxe not yet. Neither
I think as a result of this PR we definitely should see the error condition with ease. |
|
@rhcarvalho describe should definitely be updated to display build.status.message if it's set. putting it into the default oc get output would probably be too lengthy. @jwforres should make sure the console gets updated to display build.status.message if it's not currently doing so, on the detailed build display page (not the list of builds page) |
|
@bparees how about this (notice the status line): I'll create an event as well and we can see how it looks. |
a80ae54 to
45f5fd7
Compare
|
can you put status at the bottom? |
|
With an event: This does show in the Browse>Events tab of the Web Console, but not in the Overview nor Browse>Builds tabs. The event is (re)generated at ~1 event/second, but that may not be a big deal since we're grouping the events and just incrementing the counter. @bparees would you still want the status at the bottom? It would read like this: |
45f5fd7 to
84e81ae
Compare
|
[test] |
|
continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin/5305/) |
|
yeah i think i still prefer the bottom. |
84e81ae to
040ed9f
Compare
|
Evaluated for origin test up to 040ed9f |
|
@bparees PTAL Now we have this in case a build completes successfully: And this for the error case: |
|
lgtm 👍 |
|
continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/merge_pull_requests_origin/3452/) (Image: devenv-fedora_2439) |
|
Evaluated for origin merge up to 040ed9f |
…tput.to Merged by openshift-bot
|
Needs a test case - preferably integration, but I'd accept extended |
|
So when I do |
|
@thoraxe yes the build is going to stay in the new state, it can't go to pending until we can create the pod and we can't create the pod until we can resolve the imagestream. |
|
We should consider showing the status message (while in new) like pods can. Also, can you set a "Reason" on status like pods that is a machine readable On Oct 1, 2015, at 9:20 PM, Ben Parees [email protected] wrote: @thoraxe https://github.com/thoraxe yes the build is going to stay in the — |
|
@bparees I think there's some confusion. This issue is linked form https://bugzilla.redhat.com/show_bug.cgi?id=1262883 That BZ describes the situation where @smarterclayton suggested that, like And what happens in the UI in this case? |
|
There is a separate issue open for any console changes On Thu, Oct 1, 2015 at 4:48 PM, Erik M Jacobs [email protected]
|
@thoraxe, as per @bparees's comment on BZ, that build is not failed, because as long as you have more resources available the build pod will be created. What I understood is that, in that case described in BZ, the build will have status New until you either manually cancel the build, there are resources available to start your pod, or we give up retrying, whatever happens first. |
|
@thoraxe I'll do a follow up to add more descriptive info to |
|
Right, but the issue is that only some commands give you the info you need to understand the problem. But it looks like #4909 is the fix. Would In the case of the referenced bugzilla, where the most recent event was |
|
@thoraxe yes, you'll see what you expect. The output would be similar to this: |
Fixes #4362 and https://bugzilla.redhat.com/show_bug.cgi?id=1262883.