VM Creation #9665
closedCreate new VM for social-networking-ws in preprod
100%
/gcube
/gcube/preprod
social-networking-library-ws 2-1-0
oauth 1-0-0
/social-networking-library-ws
/gcube-oauth
Description
We currently have a unique machine socialnetworking-d-d4s.d4science.org for preprod and dev environments. It would be better to have two different machines for these phases.
This is the main ticket about the already available machine https://support.d4science.org/issues/6345
We can keep it for development of course.
Latest build from etics for the service http://maven.research-infrastructures.eu/nexus/content/repositories/gcube-staging/org/gcube/portal/social-networking-library-ws/2.1.0-4.6.1-152935/
Last but not least:
notice that In addition it is very important that this node has a postfix configured to send email by using the same SMTP Relay of the Gateways.
Updated by Tommaso Piccioli over 7 years ago
- Status changed from New to In Progress
- % Done changed from 0 to 30
The name ill be "socialnetworking-t.pre.d4science.org"
Updated by Andrea Dell'Amico over 7 years ago
- Assignee changed from _InfraScience Systems Engineer to Andrea Dell'Amico
Is gcube-oauth also needed? I see that's installed on the dev and prod instances.
Updated by Costantino Perciante over 7 years ago
Andrea Dell'Amico wrote:
Is gcube-oauth also needed? I see that's installed on the dev and prod instances.
You are right. Since we are trying to separate the infrastructures, it is ok to add it there as well. Thanks
Updated by Andrea Dell'Amico over 7 years ago
- Status changed from In Progress to Feedback
- % Done changed from 30 to 90
The VM has been provided and the smtp server configured.
The social-networking-library-ws app fails with the following exception:
2017-09-14 18:41:59,483 [localhost-startStop-1] ERROR org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/social-networking-library-ws]- StandardWrapper.Throwable java.lang.NoClassDefFoundError: io/swagger/jaxrs/config/BeanConfig at org.gcube.portal.social.networking.swagger.config.Bootstrap.init(Bootstrap.java:23) at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1279) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1192) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1087) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5247) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5530) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632) at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1073) at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1857) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused by: java.lang.ClassNotFoundException: io.swagger.jaxrs.config.BeanConfig at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1719) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1570) ... 17 more
Updated by Costantino Perciante over 7 years ago
Just restarted and everything seems ok http://socialnetworking-t.pre.d4science.org/social-networking-library-ws/rest/
Just one more question: why the ghn.log file is placed under /home/gcube/tomcat/logs/? Something has changed, hasn't it?
I'm going to modify the old node to work with the development infrastructure only, if no more tests are needed by developers for this release.
Updated by Roberto Cirillo over 7 years ago
Costantino Perciante wrote:
I'm going to modify the old node to work with the development infrastructure only, if no more tests are needed by developers for this release.
I suggest to stop this new VM and leave the old service in preproduction environment until the rollout in production is performed. The test for the current release are ongoing.
Updated by Andrea Dell'Amico over 7 years ago
About the logs: yes, the configuration changed. I'll announce it properly today
Updated by Costantino Perciante over 7 years ago
Roberto Cirillo wrote:
Costantino Perciante wrote:
I'm going to modify the old node to work with the development infrastructure only, if no more tests are needed by developers for this release.
I suggest to stop this new VM and leave the old service in preproduction environment until the rollout in production is performed. The test for the current release are ongoing.
Sure, let's keep the new vm stopped and the old one as it is for now
Andrea Dell'Amico wrote:
About the logs: yes, the configuration changed. I'll announce it properly today
Ok
Updated by Andrea Dell'Amico over 7 years ago
- Status changed from Feedback to Closed
- % Done changed from 90 to 100