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

JClouds does not honor security group against OpenStack

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: jclouds-plugin
    • Labels:
    • Environment:
      CentOS 6.5
      OpenJDK 1.7.0
      Jenkins 1.558
      JClouds plugin 2.5.1
      OpenStack (Havanna)
    • Similar Issues:

      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

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

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

          Show
          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.
          Hide
          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)

          Show
          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)
          Hide
          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

          Show
          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
          Hide
          felfert Fritz Elfert added a comment -

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

          Show
          felfert Fritz Elfert added a comment - Should be fixed in git now. For those who build it themselves, please try out latest master.
          Hide
          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)

          Show
          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
          Hide
          felfert Fritz Elfert added a comment -

          Fixed in v2.9

          Show
          felfert Fritz Elfert added a comment - Fixed in v2.9

            People

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

              Dates

              • Created:
                Updated:
                Resolved: