[JBoss JIRA] (JBIDE-25673) New Application Wizard: launching new app wizard errors about previously killed project (open.paas.redhat.com)
by Dmitrii Bocharov (JIRA)
[ https://issues.jboss.org/browse/JBIDE-25673?page=com.atlassian.jira.plugi... ]
Dmitrii Bocharov commented on JBIDE-25673:
------------------------------------------
Created an upstream issue
> New Application Wizard: launching new app wizard errors about previously killed project (open.paas.redhat.com)
> --------------------------------------------------------------------------------------------------------------
>
> Key: JBIDE-25673
> URL: https://issues.jboss.org/browse/JBIDE-25673
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.5.2.Final
> Reporter: Andre Dietisheim
> Assignee: Dmitrii Bocharov
> Fix For: 4.6.0.AM1
>
> Attachments: image-2018-01-29-15-55-13-151.png
>
>
> steps:
> # ASSERT: have a connection to open.paas.redhat.com
> # EXEC: create a new project (ex. called "dromedary")
> # EXEC: delete this project
> # EXEC: immediately after deleting it, launch new application wizard
> Result:
> Launching errors complaining about the project that you deleted right before launching the wizard
> !image-2018-01-29-15-55-13-151.png!
> In the Eclipse log you find the following:
> {code}
> com.openshift.restclient.authorization.ResourceForbiddenException: User "adietish" cannot list imagestreams in project "dromedary" User "adietish" cannot list imagestreams in project "dromedary"
> at com.openshift.internal.restclient.okhttp.ResponseCodeInterceptor.createOpenShiftException(ResponseCodeInterceptor.java:106)
> at com.openshift.internal.restclient.okhttp.ResponseCodeInterceptor.intercept(ResponseCodeInterceptor.java:65)
> at okhttp3.RealCall$ApplicationInterceptorChain.proceed(RealCall.java:190)
> at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:163)
> at okhttp3.RealCall.execute(RealCall.java:57)
> at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:257)
> at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:228)
> at com.openshift.internal.restclient.DefaultClient.list(DefaultClient.java:161)
> at com.openshift.internal.restclient.DefaultClient.list(DefaultClient.java:149)
> at com.openshift.internal.restclient.DefaultClient.list(DefaultClient.java:137)
> at org.jboss.tools.openshift.core.connection.Connection.getResources(Connection.java:471)
> at org.jboss.tools.openshift.internal.ui.wizard.newapp.ApplicationSourceTreeItems.loadImageStreams(ApplicationSourceTreeItems.java:66)
> at org.jboss.tools.openshift.internal.ui.wizard.newapp.ApplicationSourceTreeItems.createChildren(ApplicationSourceTreeItems.java:59)
> at org.jboss.tools.openshift.internal.ui.treeitem.ObservableTreeItem.loadChildren(ObservableTreeItem.java:69)
> at org.jboss.tools.openshift.internal.ui.treeitem.ObservableTreeItem.load(ObservableTreeItem.java:56)
> at org.jboss.tools.openshift.internal.ui.treeitem.ObservableTreeItem.load(ObservableTreeItem.java:59)
> at org.jboss.tools.openshift.internal.ui.wizard.newapp.NewApplicationWizardModel.loadResources(NewApplicationWizardModel.java:244)
> at org.jboss.tools.openshift.internal.ui.wizard.common.AbstractProjectPage$4.doRun(AbstractProjectPage.java:221)
> at org.jboss.tools.openshift.internal.common.core.job.AbstractDelegatingMonitorJob.run(AbstractDelegatingMonitorJob.java:37)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
> {code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 11 months
[JBoss JIRA] (JBIDE-25833) OpenShift ITests: Create ITests for deploying various docker image to OpenShift
by Josef Kopriva (JIRA)
[ https://issues.jboss.org/browse/JBIDE-25833?page=com.atlassian.jira.plugi... ]
Josef Kopriva closed JBIDE-25833.
---------------------------------
Resolution: Done
Closing. PR is merged and test is in stable suite.
> OpenShift ITests: Create ITests for deploying various docker image to OpenShift
> -------------------------------------------------------------------------------
>
> Key: JBIDE-25833
> URL: https://issues.jboss.org/browse/JBIDE-25833
> Project: Tools (JBoss Tools)
> Issue Type: Task
> Components: integration-tests, openshift
> Affects Versions: 4.5.3.AM3
> Reporter: Josef Kopriva
> Assignee: Josef Kopriva
> Fix For: 4.6.0.AM1
>
>
> Try images like:
> - saturnism/spring-boot-helloworld-ui (this create a long resource name, check validation, modify resource name)
> - sonatype/nexus (check environment variables in the wizard, ports and that it is working via browser)
> - try image with underscore (forbidden character in resource name), it should be replaced
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 11 months
[JBoss JIRA] (JBIDE-25700) Server adapter: hot deploy of Spring Boot errors with permission issues when rsyncing local->pod (OS Online and CDK)
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-25700?page=com.atlassian.jira.plugi... ]
Andre Dietisheim commented on JBIDE-25700:
------------------------------------------
once the new oc client is released we'll have to include a warning when selecting the oc binary in the preferences (and in the connection). This warning would then pop up if the user selects an older oc binary, informing him that permission errors can occur when rsync'ing.
> Server adapter: hot deploy of Spring Boot errors with permission issues when rsyncing local->pod (OS Online and CDK)
> --------------------------------------------------------------------------------------------------------------------
>
> Key: JBIDE-25700
> URL: https://issues.jboss.org/browse/JBIDE-25700
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.5.2.Final
> Reporter: Aurélien Pupier
> Assignee: Andre Dietisheim
> Labels: server_adapter, springboot
> Fix For: 4.6.0.AM1
>
> Attachments: permission-error-rsync-fc26.png, server-adapter-rebublish-state.png
>
>
> neither with open.paas.redhat.com
> so only when using the CDK.
> it seems to be due to the fact that the user in the pod are not the same.
> Jeff said:
> {quote}
> For SpringBoot deployments, the application file is called a fat jar and it placed in the /deployments folder (images are upstream fabric8/s2i-java or imagestream redhat-openjdk18-openshift). In order to get live update the file is then unzipped to the /deployments folder leaded to new sub folders BOOT-INF and META-INF
> The user permissions on those folders are the following:
> /deployments: writable by user jboss and group root
> /deployments/BOOT-INF: writable by user jboss readable only by group root
> /deployments/META-INF: writable by user jboss readable only by group root
> The rsync process with create some sub folders under /deployments/BOOT-INF. The problem that we have is that the user that is assigned for the rsync operation (or when you open a terminal in the OpenShift console) is not jboss (as opposed to Minishift/CDK) and thus we have permissions errors during the rsync operation.
> {quote}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 11 months