Code Monkey home page Code Monkey logo

ansible-role-voms-client's People

Contributors

brucellino avatar dependabot[bot] avatar enolfc avatar gwarf avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ansible-role-voms-client's Issues

Malformed LSC file during the generation of the proxy

Hi,

During the creation of a proxy (with any VO) I have the following error message:
org.italigrid.voms.VOMSError: LSC fiel parsing error: Malformed LSC file (vo=vo.grif.fr, host=grid12.lal.in2p3.fr): No distinguished name entries found

Thabn you.
Cheers, Giuseppe

Have an inner and outer loop for VOs and associated VOMS servers.

There is not a 1-1 mapping between VOs and their VOMS servers. Sometimes VOs have no VOMS server, and sometimes they have more than 1. Currently, the task which configures the vomses file for the VO has a loop over VO, and has two issues:

  1. The task fails when there is no VOMSES configuration for the VO
  2. The task only configures the first VOMS found, and does not do all of them.

This should be fixed by having an outer loop over VOs and an inner loop over VOMSes.

Good luck ๐Ÿค”

Implement a means to filter the VoVoms JSON array based on "bad" VOs

Some VOs do not have vomses.
The json array passed by lavoisier contains all VOs, some of which we know the task will fail on, since they have a nonstandard structure - this causes the json_query lookup to fail.
At the moment (pre v0.1.0), we have a dirty hack to run the configure tasks across known-good slices of the array. It would be nice to pass known-bad items to the query in order to exclude them.

Prepare release v0.1.0

A branch has been created for release v0.1.0-rc.

We need to check the following before merging it into master and tagging the release:

  • Community Health check
  • Builds passing
  • Test coverage described and implemented
  • All necessary documentation is in place
  • Example realistic playbook provided
  • Repository enabled in Zenodo
  • Role enabled in Galaxy
  • Authors file up to date

Missing entries in VOMS Certs JSON

The VOMS certs json given by http://cclavoisier01.in2p3.fr:8080/lavoisier/voms-certificates?accept=json has some entries which do not follow the general structure:

{
    "expiry": "Sat May 04 22:57:06 CEST 2019",
    "host": "voms.fnal.gov",
    "X509Cert": [{
      "DN": ["/DC=org/DC=opensciencegrid/O=Open Science Grid/OU=Services/CN=voms1.fnal.gov"]
    }, {
      "CA_DN": ["/DC=org/DC=cilogon/C=US/O=CILogon/CN=CILogon OSG CA 1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QUFBwMBMDcGA1UdEQQwMC6CDnZvbXMxLmZuYWwuZ292gg12b21zLmZuYWwu\nZ292gQ10aW1tQGZuYWwuZ292MA0GCSqGSIb3DQEBCwUAA4IBAQCSSCQ3ptGUM+j5Cp/AHJu0Cw1v\nJQp+eVJGjdShCdm/HK6jaqbNmNggqU2uurcGplnZEON4iaKVuT6vFEWbG0O2yluMCAdaqSJBws5m\ni55kuja4IbsJ8KeSjQlTkrszU3VNQofa4gcNWSql+VYjxggDrnsAunL8lG6CfSHXFDX23zx1yfEk\nw8syQXYZevUq8dky1tNMHCspMY7g9cA+UOCbHvE0xBMdQOU08R4PFpNMP4/AskCadui+ObFqomzB\nVDr5D3FGurRSVNyHXm5FAiIxQcf2sDf9jZRk11jCyjOigZzOoMNOHDHzFlrmCl2NVxklAfEyq6rU\nt2CVYeQq3CJN\n-----END CERTIFICATE-----\n"]
    }, {
      "SerialNumber": ["4295017101"]
    }]
}

Instead, they have errors:

{
    "entries": [{
      "key": "key",
      "entry": ["glow-voms.cs.wisc.edu"]
    }, {
      "key": "ERROR",
      "entry": ["fr.in2p3.lavoisier.interfaces.error.InitializationException: Exception raised for view 'voms-certificate-url' [java.net.SocketTimeoutException: connect timed out]"]
    }]
  }

This causes a task which asks for X509Cert to fail.

I could implement a little filter to exclude entries which do not follow the right structure, but I was wondering whether this data can be cleaned by passing different options to lavoisier.

Write a python3 compatible cache script

The python script to cache data from Lavoisier is only python2 compatible and will give errors in python3, as pointed out by @enolfc in #12

Either update the script to be compatible for both environments, or add a new one which will work for python3.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.