[JBoss JIRA] (JBIDE-25918) Minishift server adapter is not supposed to call setup-cdk
by Ondrej Dockal (JIRA)
[ https://issues.jboss.org/browse/JBIDE-25918?page=com.atlassian.jira.plugi... ]
Ondrej Dockal updated JBIDE-25918:
----------------------------------
Steps to Reproduce:
1. Download & install & start mentioned devstudio
2. Create new Minishift 1.7+ server adapter with proper minishift binary (get it downloaded manually or by 'Download and install runtime' link)
3. Start Minishift server adapter
4. Assert: no setup-cdk dialog is shown, adapter is started
Actual result: Warning dialog pops up offering user to initialize CDK, which is not right in this context, adapter is never started, even though that dialog is canceled.
Environment: Devstudio: 11.3.0.GA-v20180412-0600-B2346
> Minishift server adapter is not supposed to call setup-cdk
> ----------------------------------------------------------
>
> Key: JBIDE-25918
> URL: https://issues.jboss.org/browse/JBIDE-25918
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: cdk
> Affects Versions: 4.5.3.Final
> Environment: Devstudio: 11.3.0.GA-v20180412-0600-B2346
> Reporter: Ondrej Dockal
> Assignee: Rob Stryker
> Priority: Blocker
> Fix For: 4.5.3.Final
>
> Attachments: Minishift_setupcdk.png
>
>
> Starting of Minishift 1.7+ server adapter triggers Setup CDK job, Warning dialog pops up asking user if he wants to run setup-cdk (this makes no sense in context of minishift), but if this action is confirmed, minishift does not use such action (even do not know the command) and so error dialog is shown and adapter is not started.
> See:
> !Minishift_setupcdk.png|thumbnail!
> Console output:
> {code}
> Error: unknown command "setup-cdk" for "minishift"
> Run 'minishift --help' for usage.
> unknown command "setup-cdk" for "minishift"
> {code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 12 months
[JBoss JIRA] (JBIDE-25918) Minishift server adapter is not supposed to call setup-cdk
by Pavol Srna (JIRA)
[ https://issues.jboss.org/browse/JBIDE-25918?page=com.atlassian.jira.plugi... ]
Pavol Srna commented on JBIDE-25918:
------------------------------------
cc'ing: [~rpdavis], [~nickboldt], [~jeffmaury], [~rob.stryker]
> Minishift server adapter is not supposed to call setup-cdk
> ----------------------------------------------------------
>
> Key: JBIDE-25918
> URL: https://issues.jboss.org/browse/JBIDE-25918
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: cdk
> Affects Versions: 4.5.3.Final
> Reporter: Ondrej Dockal
> Assignee: Rob Stryker
> Priority: Blocker
> Fix For: 4.5.3.Final
>
> Attachments: Minishift_setupcdk.png
>
>
> Starting of Minishift 1.7+ server adapter triggers Setup CDK job, Warning dialog pops up asking user if he wants to run setup-cdk (this makes no sense in context of minishift), but if this action is confirmed, minishift does not use such action (even do not know the command) and so error dialog is shown and adapter is not started.
> See:
> !Minishift_setupcdk.png|thumbnail!
> Console output:
> {code}
> Error: unknown command "setup-cdk" for "minishift"
> Run 'minishift --help' for usage.
> unknown command "setup-cdk" for "minishift"
> {code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 12 months
[JBoss JIRA] (JBIDE-25504) Support hot deploy for workspace dependencies for SpringBoot applications on OpenShift
by Nick Boldt (JIRA)
[ https://issues.jboss.org/browse/JBIDE-25504?page=com.atlassian.jira.plugi... ]
Nick Boldt updated JBIDE-25504:
-------------------------------
Fix Version/s: 4.6.0.AM1
(was: 4.5.x)
> Support hot deploy for workspace dependencies for SpringBoot applications on OpenShift
> --------------------------------------------------------------------------------------
>
> Key: JBIDE-25504
> URL: https://issues.jboss.org/browse/JBIDE-25504
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: openshift
> Affects Versions: 4.5.2.AM2
> Reporter: Jeff MAURY
> Assignee: Andre Dietisheim
> Labels: openshift, openshift_v3, server_adapter
> Fix For: 4.6.0.AM1
>
> Attachments: springboot-dependencies.zip
>
>
> When a SpringBoot application is being deployed on OpenShift with the server adapter, we should support the following use case:
> * the SpringBoot app has a dependency which is avalailable in the workspace
> * when a modifiction is done on the dependency code, it should be synced to OpenShift by the server adapter
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 12 months
[JBoss JIRA] (JBIDE-25504) Support hot deploy for workspace dependencies for SpringBoot applications on OpenShift
by Nick Boldt (JIRA)
[ https://issues.jboss.org/browse/JBIDE-25504?page=com.atlassian.jira.plugi... ]
Nick Boldt commented on JBIDE-25504:
------------------------------------
-1, PR job is STILL red. Also adding new features after feature freeze 3 weeks ago is highly discouraged. Recommend slipping this to the AM1 sprint of JBT 4.6, so QE has the requisite time to test and shake the problems out. (There will be no 4.5.4.)
> Support hot deploy for workspace dependencies for SpringBoot applications on OpenShift
> --------------------------------------------------------------------------------------
>
> Key: JBIDE-25504
> URL: https://issues.jboss.org/browse/JBIDE-25504
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: openshift
> Affects Versions: 4.5.2.AM2
> Reporter: Jeff MAURY
> Assignee: Andre Dietisheim
> Labels: openshift, openshift_v3, server_adapter
> Fix For: 4.6.0.AM1
>
> Attachments: springboot-dependencies.zip
>
>
> When a SpringBoot application is being deployed on OpenShift with the server adapter, we should support the following use case:
> * the SpringBoot app has a dependency which is avalailable in the workspace
> * when a modifiction is done on the dependency code, it should be synced to OpenShift by the server adapter
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 12 months
[JBoss JIRA] (JBIDE-25910) Deploy EAP-CD docker image in CDK
by Ondrej Dockal (JIRA)
[ https://issues.jboss.org/browse/JBIDE-25910?page=com.atlassian.jira.plugi... ]
Ondrej Dockal resolved JBIDE-25910.
-----------------------------------
Resolution: Done
We find some paths to make eap-cd image running in cdk. Google docs was written and revised. Another tasks could be taken in follow up jiras.
> Deploy EAP-CD docker image in CDK
> ---------------------------------
>
> Key: JBIDE-25910
> URL: https://issues.jboss.org/browse/JBIDE-25910
> Project: Tools (JBoss Tools)
> Issue Type: Task
> Affects Versions: 4.5.3.Final
> Environment: Fedora 27
> Reporter: Ondrej Dockal
> Assignee: Ondrej Dockal
> Priority: Critical
> Fix For: 4.5.3.Final
>
>
> Deploy and verify that EAP-CD container is running on CDK/Minishift.
> * find out steps necessary to make eap-cd image running on CDK (openshift)
> * Put it together to ease possible automation
> * Create and share google docs
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 12 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 edited comment on JBIDE-25700 at 4/12/18 6:34 AM:
-------------------------------------------------------------------
I cannot reproduce this. Here's my rsync output:
{code}
building file list ... done
classes/.DS_Store
classes/application.properties
classes/logback.xml
classes/META-INF/
classes/META-INF/MANIFEST.MF
classes/META-INF/spring-devtools.properties
classes/META-INF/fabric8/
classes/META-INF/fabric8/kubernetes.json
classes/META-INF/fabric8/kubernetes.yml
classes/META-INF/fabric8/openshift.json
classes/META-INF/fabric8/openshift.yml
classes/META-INF/fabric8/kubernetes/
classes/META-INF/fabric8/kubernetes/camel-ose-springboot-xml-deployment.yml
classes/META-INF/fabric8/kubernetes/camel-ose-springboot-xml-svc.yml
classes/META-INF/fabric8/openshift/
classes/META-INF/fabric8/openshift/camel-ose-springboot-xml-deploymentconfig.yml
classes/META-INF/fabric8/openshift/camel-ose-springboot-xml-svc.yml
classes/META-INF/maven/
classes/META-INF/maven/org.mycompany/
classes/META-INF/maven/org.mycompany/camel-ose-springboot-xml/
classes/META-INF/maven/org.mycompany/camel-ose-springboot-xml/pom.properties
classes/META-INF/maven/org.mycompany/camel-ose-springboot-xml/pom.xml
classes/org/.DS_Store
classes/org/mycompany/Application.class
classes/org/mycompany/MyTransformer.class
classes/spring/camel-context.xml
sent 41670 bytes received 528 bytes 6492.00 bytes/sec
total size is 43320 speedup is 1.03
building file list ... done
classes/.DS_Store
classes/application.properties
classes/logback.xml
classes/META-INF/
classes/META-INF/MANIFEST.MF
classes/META-INF/spring-devtools.properties
classes/META-INF/fabric8/
classes/META-INF/fabric8/kubernetes.json
classes/META-INF/fabric8/kubernetes.yml
classes/META-INF/fabric8/openshift.json
classes/META-INF/fabric8/openshift.yml
classes/META-INF/fabric8/kubernetes/
classes/META-INF/fabric8/kubernetes/camel-ose-springboot-xml-deployment.yml
classes/META-INF/fabric8/kubernetes/camel-ose-springboot-xml-svc.yml
classes/META-INF/fabric8/openshift/
classes/META-INF/fabric8/openshift/camel-ose-springboot-xml-deploymentconfig.yml
classes/META-INF/fabric8/openshift/camel-ose-springboot-xml-svc.yml
classes/META-INF/maven/
classes/META-INF/maven/org.mycompany/
classes/META-INF/maven/org.mycompany/camel-ose-springboot-xml/
classes/META-INF/maven/org.mycompany/camel-ose-springboot-xml/pom.properties
classes/META-INF/maven/org.mycompany/camel-ose-springboot-xml/pom.xml
classes/org/.DS_Store
classes/org/mycompany/Application.class
classes/org/mycompany/MyTransformer.class
classes/spring/camel-context.xml
sent 41670 bytes received 528 bytes 9377.33 bytes/sec
total size is 43320 speedup is 1.03
building file list ... done
sent 825 bytes received 20 bytes 187.78 bytes/sec
total size is 43320 speedup is 51.27
{code}
was (Author: adietish):
I cannot reproduce this.
> 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
> Priority: Critical
> Labels: server_adapter, springboot
> Fix For: 4.5.3.AM3
>
>
> 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, 12 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:
------------------------------------------
I cannot reproduce this.
> 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
> Priority: Critical
> Labels: server_adapter, springboot
> Fix For: 4.5.3.AM3
>
>
> 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, 12 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:
------------------------------------------
[~jkopriva] this looks like you dont have the latest fabric8/s2i-java docker image.
> 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
> Priority: Critical
> Labels: server_adapter, springboot
> Fix For: 4.5.3.AM3
>
>
> 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, 12 months