Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-22587

JClouds does not honor security group against OpenStack

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • jclouds-plugin
    • CentOS 6.5
      OpenJDK 1.7.0
      Jenkins 1.558
      JClouds plugin 2.5.1
      OpenStack (Havanna)

    Description

      Version 2.5.1 of the JClouds plugin added the ability to define Security Groups that VMs should launch under. I've seen in the logs that it is setting something related to it but VMs are still being forcibly created in the jclouds-<instance_name> security group which eventually gets deleted when no more slaves are in it and not recreated on the next slave creation.

      Attachments

        Activity

          tykeal Andrew Grimberg created issue -
          bcourt Barnaby Court added a comment -

          I am seeing this with version 2.8 of the plugin as well. I am specifying a security group to use but it is always creating the jclouds-<instance_name> security group.

          bcourt Barnaby Court added a comment - I am seeing this with version 2.8 of the plugin as well. I am specifying a security group to use but it is always creating the jclouds-<instance_name> security group.
          bcourt Barnaby Court made changes -
          Field Original Value New Value
          Component/s jclouds [ 16529 ]
          Component/s jclouds-jenkins [ 17483 ]

          Hi guys, any updates here?

          This issue is critical in case if OpenStack provider has reached limitation for security groups. Plugin cannot create a new instance.

          nikolay_borisenko Nikolay Borisenko added a comment - Hi guys, any updates here? This issue is critical in case if OpenStack provider has reached limitation for security groups. Plugin cannot create a new instance.
          felfert Fritz Elfert made changes -
          Assignee Fritz Elfert [ felfert ]
          felfert Fritz Elfert made changes -
          Status Open [ 1 ] In Progress [ 3 ]

          Code changed in jenkins
          User: Artur Borys
          Path:
          jclouds-plugin/src/main/java/jenkins/plugins/jclouds/compute/JCloudsSlaveTemplate.java
          http://jenkins-ci.org/commit/jclouds-plugin/ad0db36ac09fb51caf4a0491da81779a6f85184d
          Log:
          fix JENKINS-22587 (JClouds does not honor security group against OpenStack)

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Artur Borys Path: jclouds-plugin/src/main/java/jenkins/plugins/jclouds/compute/JCloudsSlaveTemplate.java http://jenkins-ci.org/commit/jclouds-plugin/ad0db36ac09fb51caf4a0491da81779a6f85184d Log: fix JENKINS-22587 (JClouds does not honor security group against OpenStack)

          Code changed in jenkins
          User: Fritz Elfert
          Path:
          jclouds-plugin/src/main/java/jenkins/plugins/jclouds/compute/JCloudsSlaveTemplate.java
          http://jenkins-ci.org/commit/jclouds-plugin/4fdf55501258c0a7215d167d70ed3d2fb417daaf
          Log:
          Merge pull request #90 from arthyrik/feature/fix_openstack_security_groups_bug

          JENKINS-22587 JClouds does not honor security group against OpenStack

          Compare: https://github.com/jenkinsci/jclouds-plugin/compare/09507788190d...4fdf55501258

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Fritz Elfert Path: jclouds-plugin/src/main/java/jenkins/plugins/jclouds/compute/JCloudsSlaveTemplate.java http://jenkins-ci.org/commit/jclouds-plugin/4fdf55501258c0a7215d167d70ed3d2fb417daaf Log: Merge pull request #90 from arthyrik/feature/fix_openstack_security_groups_bug JENKINS-22587 JClouds does not honor security group against OpenStack Compare: https://github.com/jenkinsci/jclouds-plugin/compare/09507788190d...4fdf55501258
          felfert Fritz Elfert added a comment -

          Should be fixed in git now. For those who build it themselves, please try out latest master.

          felfert Fritz Elfert added a comment - Should be fixed in git now. For those who build it themselves, please try out latest master.
          tonybui88 Tony Bui added a comment -

          Was wondering if there will be a new plugin update releasing soon for jenkins? Looks like the latest release was back in September of 2014 (2.8)

          tonybui88 Tony Bui added a comment - Was wondering if there will be a new plugin update releasing soon for jenkins? Looks like the latest release was back in September of 2014 (2.8) https://wiki.jenkins-ci.org/display/JENKINS/JClouds+Plugin
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 154693 ] JNJira + In-Review [ 185503 ]
          felfert Fritz Elfert made changes -
          Status In Progress [ 3 ] Open [ 1 ]
          felfert Fritz Elfert added a comment -

          Fixed in v2.9

          felfert Fritz Elfert added a comment - Fixed in v2.9
          felfert Fritz Elfert made changes -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Closed [ 6 ]

          People

            felfert Fritz Elfert
            tykeal Andrew Grimberg
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: