Project

General

Profile

Actions

VM Creation #9665

closed

Create new VM for social-networking-ws in preprod

Added by Costantino Perciante over 7 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Target version:
Start date:
Sep 12, 2017
Due date:
% Done:

100%

Infrastructure:
Pre-Production
RAM:
2
CPU:
2
DiskSpace:
10
Smartgears:
Yes
Smartgears Version:
latest
Application Instructions:
Smartgears scopes:

/gcube
/gcube/preprod

Applications list and version:

social-networking-library-ws 2-1-0
oauth 1-0-0

Applications context path:

/social-networking-library-ws
/gcube-oauth

External storage data disk:
Smartgears auth connector:
data transfer enabled:
No
PostgreSQL database:
No
Number of VMs:
1

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.
Actions #1

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"

Actions #2

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.

Actions #3

Updated by Costantino Perciante over 7 years ago

  • Applications list and version updated (diff)
  • Applications context path updated (diff)

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

Actions #4

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
Actions #5

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.

Actions #6

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.

Actions #7

Updated by Andrea Dell'Amico over 7 years ago

About the logs: yes, the configuration changed. I'll announce it properly today

Actions #8

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

Actions #9

Updated by Andrea Dell'Amico over 7 years ago

  • Status changed from Feedback to Closed
  • % Done changed from 90 to 100
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 8.91 MB)