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

Unable to add new OpenStack cloud since Jenkins version 2.264

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • openstack-cloud-plugin
    • None
    • Jenkins: 2.264
      OpenStack: Queens

      I'm unable to add a new OpenStack cloud since Jenkins version 2.264.
      The above steps are working with Jenkins version <2.264.

      Steps to reproduce:

      1. Start a Jenkins in a docker container:
          docker run -p 8080:8080 --rm jenkins/jenkins:2.264
      2. Set it up without installing any plugin and install the openstack-cloud plugin (currently the latest version is 2.56)
      3. Try to add a new cloud (Manage Jenkins -> Manage Nodes and Clouds -> Configure Clouds -> Add a new cloud)
      4. After clicking Save the following warning appears in the container logs and the cloud is not saved
      2021-04-07 14:40:01.964+0000 [id=81]    WARNING hudson.model.Descriptor#newInstancesFromHeteroList: Received unexpected form data element: {"name":"test-cloud","endPointUrl":"https://horizon.my-domain.com:5000/v3/","ignoreSsl":true,"includeUser":"false","credentialsId":"v3-os","zone":"RegionOne","slaveOptions":{"":["0","0"],"bootSource":{"stapler-class":"jenkins.plugins.openstack.compute.slaveopts.BootSource$Unspecified","$class":"jenkins.plugins.openstack.compute.slaveopts.BootSource$Unspecified"},"hardwareId":"","networkId":"","userDataId":"","instanceCap":"","instancesMin":"","floatingIpPool":"","securityGroups":"","availabilityZone":"","startTimeout":"","keyPairName":"","configDrive":"","numExecutors":"","jvmOptions":"","fsRoot":"","retentionTime":"","launcherFactory":{"stapler-class":"jenkins.plugins.openstack.compute.slaveopts.LauncherFactory$Unspecified","$class":"jenkins.plugins.openstack.compute.slaveopts.LauncherFactory$Unspecified"},"hasNodeProperties":false},"stapler-class":["jenkins.plugins.openstack.compute.SlaveOptions","jenkins.plugins.openstack.compute.SlaveOptions","jenkins.plugins.openstack.compute.JCloudsCloud"],"$class":["jenkins.plugins.openstack.compute.SlaveOptions","jenkins.plugins.openstack.compute.SlaveOptions","jenkins.plugins.openstack.compute.JCloudsCloud"],"templates":{"name":"","labels":"","":["0","0"],"bootSource":{"stapler-class":["jenkins.plugins.openstack.compute.slaveopts.BootSource$Unspecified","jenkins.plugins.openstack.compute.slaveopts.BootSource$Image","jenkins.plugins.openstack.compute.slaveopts.BootSource$VolumeSnapshot","jenkins.plugins.openstack.compute.slaveopts.BootSource$VolumeFromImage"],"$class":["jenkins.plugins.openstack.compute.slaveopts.BootSource$Unspecified","jenkins.plugins.openstack.compute.slaveopts.BootSource$Image","jenkins.plugins.openstack.compute.slaveopts.BootSource$VolumeSnapshot","jenkins.plugins.openstack.compute.slaveopts.BootSource$VolumeFromImage"]},"hardwareId":"","networkId":"","userDataId":"","instanceCap":"","instancesMin":"","floatingIpPool":"","securityGroups":"","availabilityZone":"","startTimeout":"","keyPairName":"","configDrive":"","numExecutors":"","jvmOptions":"","fsRoot":"","retentionTime":"","launcherFactory":{"stapler-class":["jenkins.plugins.openstack.compute.slaveopts.LauncherFactory$Unspecified","jenkins.plugins.openstack.compute.slaveopts.LauncherFactory$JNLP","jenkins.plugins.openstack.compute.slaveopts.LauncherFactory$SSH"],"$class":["jenkins.plugins.openstack.compute.slaveopts.LauncherFactory$Unspecified","jenkins.plugins.openstack.compute.slaveopts.LauncherFactory$JNLP","jenkins.plugins.openstack.compute.slaveopts.LauncherFactory$SSH"]},"hasNodeProperties":false,"nodeProperties":[{"stapler-class":"hudson.slaves.EnvironmentVariablesNodeProperty","$class":"hudson.slaves.EnvironmentVariablesNodeProperty"},{"stapler-class":"hudson.tools.ToolLocationNodeProperty","$class":"hudson.tools.ToolLocationNodeProperty"}]}}
      
      

            olivergondza Oliver Gondža
            nilles Norbert
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: