Uploaded image for project: 'IT: Release Engineering'
  1. IT: Release Engineering
  2. RELENG-21

Deploy staging fails due to SNI

    Issue XMLXMLWordPrintable

Details

    • Story
    • Status: Archived
    • Minor
    • Resolution: Won't Do
    • None
    • None
    • None
    • None

    Description

      (This was migrated from ODL Releng Trello https://trello.com/c/VBeO8STM)

      We're having an issue producing staging repos with Nexus do to SNI issues similar to the one reported here [0]. I've also pasted the error message we receive when we try to use the plugin below.

      [0] https://issues.jenkins-ci.org/browse/JENKINS-40903

      [ERROR] Failed to execute goal org.sonatype.plugins:nexus-staging-maven-plugin:1.6.8:deploy-staged-repository (default-cli) on project standalone-pom: Execution default-cli of goal org.sonatype.plugins:nexus-staging-maven-plugin:1.6.8:deploy-staged-repository failed: Nexus connection problem to URL [https://nexus.opendaylight.org ]: com.sun.jersey.api.client.ClientHandlerException: javax.net.ssl.SSLException: hostname in certificate didn't match: <nexus.opendaylight.org> != <logs.opendaylight.org> OR <logs.opendaylight.org> -> [Help 1]

      A workaround https://git.opendaylight.org/gerrit/53498 is in place however not a good solution. We are working with Sonatype to get a new release of Nexus / Staging plugin that resolves this issue.

      Attachments

        JEditor

          Activity

            We're blocked on this one until Sonatype fixes Nexus.

            zxiiro Thanh Ha (zxiiro) added a comment - We're blocked on this one until Sonatype fixes Nexus.

            zxiiro Have we moved off of this particular issue with the changes to our staging jobs now since we can deploy to a staging repo using curl now correct?

            agrimberg Andrew Grimberg added a comment - zxiiro Have we moved off of this particular issue with the changes to our staging jobs now since we can deploy to a staging repo using curl now correct?
            zxiiro Thanh Ha (zxiiro) added a comment - - edited

            That's right. In theory no longer an issue for us. (But it is an issue for Sonatype). We can close this out unless we want to keep it around as a reminder of the issue.

            Edit: Maybe we can add this as a note to our Nexus infrastructure doc under troubleshooting.

            zxiiro Thanh Ha (zxiiro) added a comment - - edited That's right. In theory no longer an issue for us. (But it is an issue for Sonatype). We can close this out unless we want to keep it around as a reminder of the issue. Edit: Maybe we can add this as a note to our Nexus infrastructure doc under troubleshooting.

            That works for me. I've just opened RELENG-806 about it. I'm going to close this issue.

            agrimberg Andrew Grimberg added a comment - That works for me. I've just opened RELENG-806 about it. I'm going to close this issue.

            People

              zxiiro Thanh Ha (zxiiro)
              zxiiro Thanh Ha (zxiiro)
              Andrew Grimberg, Thanh Ha (zxiiro)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: