[JBoss JIRA] (JBIDE-22626) Updating deployed docker image on OpenShift does not work
by Jeff Cantrill (JIRA)
[ https://issues.jboss.org/browse/JBIDE-22626?page=com.atlassian.jira.plugi... ]
Jeff Cantrill commented on JBIDE-22626:
---------------------------------------
I'm not certain the expectation here is properly framed. I believe you are asking why the image does not get redeployed when a new image is available. Based upon the sample provided:
{code}
from:
kind: ImageStreamTag
namespace: sample-project
name: 'aloha:0.1'
{code}
A new deployment will only occur if you push a new image that has the tag 'aloha:0.1'. It looks as though you are expecting that pushing a new tag (e.g. 0.2) will produce a new deployment. This is not the case. You will need to either update the name to be 'aloha:latest' and push a new image or edit the name to the desired tag
> Updating deployed docker image on OpenShift does not work
> ---------------------------------------------------------
>
> Key: JBIDE-22626
> URL: https://issues.jboss.org/browse/JBIDE-22626
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.4.0.Final
> Reporter: Marián Labuda
> Assignee: Dmitrii Bocharov
> Priority: Critical
> Labels: docker, openshift_v3
> Fix For: 4.4.2.AM1
>
> Attachments: ImageStreamTags.jpg
>
>
> In JBIDE-22515 was fixed use case when user have an image with specific tag. That works now ok.
> But if user deploys image with tag e.g. :0.8 to OpenShift, resources are created for this specific tag. When I am trying to Deploy to OS image with tag :0.9 afterwards, everything finish without an error. No new resources are created, but no existing resources are modified to contain this new image. Deployment config still contains tag :0.8 and thus new deployment is not done.
> Basically we need to modify deployment config in such cases to contains newer tag and let OpenShift do all magic and redeploy it.
> In order to add this version tag after semicolon, right-click on the image -> Add tag -> Re-type namespace/imagename + add ":0.8" e.g.
> Tagging Images: https://docs.openshift.com/enterprise/latest/dev_guide/managing_images.ht...
> Image Change Trigger: https://docs.openshift.com/enterprise/latest/dev_guide/deployments.html#i...
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 6 months
[JBoss JIRA] (JBIDE-23182) NullPointerException in PodLogsHandler.handleEvent
by Viacheslav Kabanovich (JIRA)
[ https://issues.jboss.org/browse/JBIDE-23182?page=com.atlassian.jira.plugi... ]
Viacheslav Kabanovich commented on JBIDE-23182:
-----------------------------------------------
Ok, then we need a helper that performs this chain of calls checking each object for null.
The reporting bot is very keen at catching failures that may happen at closing Eclipse, which are quite rare for a user who is not likely to close Eclipse one millisecond after he calls a menu action, but that is the very likely thing for a bot to do.
> NullPointerException in PodLogsHandler.handleEvent
> --------------------------------------------------
>
> Key: JBIDE-23182
> URL: https://issues.jboss.org/browse/JBIDE-23182
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Reporter: Automated Error Reporting Bot
>
> The following problem was reported via the automated error reporting:
> Message: Unhandled event loop exception
> {noformat}
> java.lang.NullPointerException: null
> at org.jboss.tools.openshift.internal.ui.handler.PodLogsHandler.handleEvent(PodLogsHandler.java:46)
> at org.jboss.tools.openshift.internal.ui.handler.AbstractOpenShiftCliHandler.execute(AbstractOpenShiftCliHandler.java:70)
> at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:295)
> at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:90)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(null:-2)
> at sun.reflect.NativeMethodAccessorImpl.invoke(null:-1)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(null:-1)
> at java.lang.reflect.Method.invoke(null:-1)
> at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:54)
> {noformat}
> Bundles:
> | org.eclipse.e4.core.di | 1.6.0.v20160319-0612 | 1.6.0.v20160319-0612 |
> | org.eclipse.ui | 3.108.0.v20160518-1929 | 3.108.0.v20160518-1929 |
> | org.jboss.tools.openshift.ui | 3.3.0.v20160831-0703 | 3.3.0.v20160831-0703 |
> Operating Systems:
> | Windows | 10.0.0 | 10.0.0 |
> The above information is a snapshot of the collected data. Visit [this page|https://redhat.ctrlflow.com/reviewers/#!/problems/57d6df25e4b0fd7621...] for the latest data.
> Thank you for your assistance.
> Your friendly error-reports-inbox.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 6 months