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

JClouds does not honor security group against OpenStack

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

      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.

          [JENKINS-22587] JClouds does not honor security group against OpenStack

          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.

          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.

          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 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.

          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/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/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

          Fritz Elfert added a comment -

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

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

          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)

          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

          Fritz Elfert added a comment -

          Fixed in v2.9

          Fritz Elfert added a comment - Fixed in v2.9

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

              Created:
              Updated:
              Resolved: