VM Creation #7855
closedProvide node to install GeoFence application
100%
/gcube
/gcube/devsec
/gcube/devsec/devVRE
/gcube/devNext
/gcube/devNext/NextNext
/geofence
      
      Updated by Andrea Dell'Amico over 8 years ago
      
    
    Which kind of node? a smartgears one?
- Resources? cpu, ram, disk space?
 - scopes list?
 
      
      Updated by Fabio Sinibaldi over 8 years ago
      
    
    The node needs to be a SmartGears with small hw requirements.
Scopes should be :
/gcube
/gcube/devsec/
/gcube/devsec/devVRE
/gcube/devNext
/gcube/devNext/NextNext
Suggested name : geofence-d-d4s.d4science.org
      
      Updated by Andrea Dell'Amico over 8 years ago
      
    
    
    
    
      
      Updated by Andrea Dell'Amico over 8 years ago
      
    
    - Status changed from New to In Progress
 
      
      Updated by Andrea Dell'Amico over 8 years ago
      
    
    - Status changed from In Progress to Feedback
 - % Done changed from 0 to 100
 
The VM is ready.
The reverse proxy has been configured to redirect the http requests to https, while the smartgears is still publishing itself on port 80.
      
      Updated by Fabio Sinibaldi over 8 years ago
      
    
    There seems to be a mismatch between container tokens and declared tcp port. 
In ghn.log I can see messages like 
WARN  ContainerManager: the token d555ade1-1a1c-4b08-bb59-74f5837f6807-98187548 cannot be used, the client id geofence-d-d4s.d4science.org:443 resolved with the token is not the same of the one specified in this container
for every token in container.xml. 
Resolving token d555ade1-1a1c-4b08-bb59-74f5837f6807-98187548 we have 
AuthorizationEntry [clientInfo=ContainerInfo [host=geofence-d-d4s.d4science.org, port=443], context=/gcube, map=null, qualifier=TOKEN, policies=[]]
while in container.xml the declared port is 80.
      
      Updated by Andrea Dell'Amico over 8 years ago
      
    
    I think I've understood the problem. I'll let you know asap.
      
      Updated by Andrea Dell'Amico over 8 years ago
      
    
    smartgears deploys correctly now. The logs say that the geofence app fails.
      
      Updated by Fabio Sinibaldi over 8 years ago
      
    
    - Smartgears scopes updated (diff)
 
GeoFence application has been now integrated with SmartGears. Requested action will be reported on wiki for further automation of the process.
There is just a misconfiguration in container.xml file. 
As I wrongly asked in this ticket, a token has been generated for scope "/gcube/devsec/". The last '/' character prevents the service to retrieve the related scope map. I'm updating this ticket with the right scope names. Please evaluate if any further action/check needs to be implemented/performed.
      
      Updated by Andrea Dell'Amico over 8 years ago
      
    
    Reconfigured with the fixed scopes list. Let me know.
      
      Updated by Andrea Dell'Amico over 8 years ago
      
    
    - Status changed from Feedback to Closed
 
      
      Updated by Pasquale Pagano over 8 years ago
      
    
    - Project changed from 2 to D4Science Infrastructure
 - Category deleted (
spatial-data) - Infrastructure Development added
 
      
      Updated by Fabio Sinibaldi over 8 years ago
      
    
    - Parent task changed from #7854 to #8293