Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-1359

fix a few issues with our puppet_toolchain code

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.7.0
    • Fix Version/s: 0.8.0
    • Component/s: build
    • Labels:
      None

      Description

      While working on BIGTOP-1323 I've noticed that our bigtop_toolchain is not supporting all the platforms we use as build slaves.

        Issue Links

          Activity

          Hide
          cos Konstantin Boudnik added a comment -

          That's a good point. Could you please copy/paste to the other JIRA as well? I want to make sure it doesn't fall through the cracks. Thanks!

          Show
          cos Konstantin Boudnik added a comment - That's a good point. Could you please copy/paste to the other JIRA as well? I want to make sure it doesn't fall through the cracks. Thanks!
          Hide
          jeid Julien Eid added a comment - - edited

          I took a look at the trick you posted. I understand there is no technical limitation to getting the Oracle JDK and JRE but there is still a legal limitation on it. At the top of the trick he says

          "Oracle has recently disallowed direct downloads of java from their servers (without going through the browser and agreeing to their terms, which you can look at here: http://www.oracle.com/technetwork/java/javase/terms/license/index.html). "

          Which reinforces that licensing issue with the JDK and JRE for us. And even if we went through with using that wget method, it has broken in the past and has possibility of breaking in the future if Oracle changes the headers to pass to them.

          Show
          jeid Julien Eid added a comment - - edited I took a look at the trick you posted. I understand there is no technical limitation to getting the Oracle JDK and JRE but there is still a legal limitation on it. At the top of the trick he says "Oracle has recently disallowed direct downloads of java from their servers (without going through the browser and agreeing to their terms, which you can look at here: http://www.oracle.com/technetwork/java/javase/terms/license/index.html ). " Which reinforces that licensing issue with the JDK and JRE for us. And even if we went through with using that wget method, it has broken in the past and has possibility of breaking in the future if Oracle changes the headers to pass to them.
          Hide
          cos Konstantin Boudnik added a comment -

          Actually, you can - there's even a JIRA on that, where I am explaining how to do it. Here's it is BIGTOP-1352

          Show
          cos Konstantin Boudnik added a comment - Actually, you can - there's even a JIRA on that, where I am explaining how to do it. Here's it is BIGTOP-1352
          Hide
          jeid Julien Eid added a comment -

          I was under the impression that we could not just wget the Oracle JDK and JRE due to licensing problems. They require every install to have someone agree to the download. I currently just have it so that when someone sets up Puppet in the container, they have the binary's in the jdk/ folder and it gets copied into the container upon creation.

          Show
          jeid Julien Eid added a comment - I was under the impression that we could not just wget the Oracle JDK and JRE due to licensing problems. They require every install to have someone agree to the download. I currently just have it so that when someone sets up Puppet in the container, they have the binary's in the jdk/ folder and it gets copied into the container upon creation.
          Hide
          cos Konstantin Boudnik added a comment -

          Looks good (without testing though).
          I still believe that we can get more bang on a buck with using wget to download binary bits off Oracle website. But it might be a next step.

          +1

          Show
          cos Konstantin Boudnik added a comment - Looks good (without testing though). I still believe that we can get more bang on a buck with using wget to download binary bits off Oracle website. But it might be a next step. +1
          Hide
          jeid Julien Eid added a comment -

          +1, though I've only tested it on Fedora 20 and CentOS 6.4. For others that want to test it, you can use my Dockerfile here https://github.com/jeid64/bigtop-dockerfiles/blob/master/build/fedora/20/Dockerfile to test it out. I'll try to test SLES and the different Ubuntu versions tomorrow.

          Show
          jeid Julien Eid added a comment - +1, though I've only tested it on Fedora 20 and CentOS 6.4. For others that want to test it, you can use my Dockerfile here https://github.com/jeid64/bigtop-dockerfiles/blob/master/build/fedora/20/Dockerfile to test it out. I'll try to test SLES and the different Ubuntu versions tomorrow.

            People

            • Assignee:
              rvs Roman Shaposhnik
              Reporter:
              rvs Roman Shaposhnik
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development