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

Rundeck configuration is removed on plugin update

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Critical
    • Resolution: Unresolved
    • Component/s: rundeck-plugin
    • Labels:
    • Environment:
      Jenkins v2.108
      rundeck-plugin v3.6.4
    • Similar Issues:

      Description

      We began using rundeck-plugin around version 3.6 and every time we update the plugin, we have to recreate the server configuration in Jenkins' Global settings. This doesn't seem like the right behavior but it is possible we are saving configuration in the wrong place.

      Please let me know if I can more useful information from the plugin to help debug/fix this.

      Thanks,
      -Matt

        Attachments

          Activity

          Hide
          deogracia Lionel FÉLICITÉ added a comment - - edited

          Hi,

          I upgrade from 2.107 to 2.116 with rundeck plugin 3.6.4 and at first reboot, I lost my global rundeck conf

          In log file, I got

          org.rundeck.api.RundeckClient in file:/data/jenkins/plugins/rundeck/WEB-INF/lib/rundeck-api-java-client-13.2.jar might be dangerous, so rejecting; see https://jenkins.io/redirect/class-filter/
          org.jenkinsci.plugins.rundeck.RundeckNotifier$RundeckDescriptor initializeRundeckJobCache
          Rundeck job cache DISABLED.
          org.jenkinsci.plugins.rundeck.cache.DummyRundeckJobCache invalidate
          
          

          Later, I got

          org.jenkinsci.remoting.util.AnonymousClassWarnings warn
          Attempt to (de-)serialize anonymous class hudson.model.ParametersDefinitionProperty$1 in file:/var/cache/jenkins/war/WEB-INF/lib/jenkins-core-2.116.jar; see: https://jenkins.io/redirect/serialization-of-anonymous-classes
          org.jenkinsci.plugins.rundeck.RundeckNotifier getProjectAction
          Unable to create rundeck job project linked action for 'JOB XXXX'. Exception: IllegalArgumentException: rundeckClient should not be null !
          

          In Jenkins UI, I got (i forgot to get the exact message) some "data stored in an older format and/or unreadable data."
          When I go to "/jenkins/configure", here's what I got logged

          cf . stack_01.txt

          When I host "save": cf. stack_02.txt

          I downgrade jenkins back to 2.107: I still got the same errors, even with rundeck plugin 3.6.3

           
           

          Show
          deogracia Lionel FÉLICITÉ added a comment - - edited Hi, I upgrade from 2.107 to 2.116 with rundeck plugin 3.6.4 and at first reboot, I lost my global rundeck conf In log file, I got org.rundeck.api.RundeckClient in file:/data/jenkins/plugins/rundeck/WEB-INF/lib/rundeck-api-java-client-13.2.jar might be dangerous, so rejecting; see https: //jenkins.io/redirect/ class- filter/ org.jenkinsci.plugins.rundeck.RundeckNotifier$RundeckDescriptor initializeRundeckJobCache Rundeck job cache DISABLED. org.jenkinsci.plugins.rundeck.cache.DummyRundeckJobCache invalidate Later, I got org.jenkinsci.remoting.util.AnonymousClassWarnings warn Attempt to (de-)serialize anonymous class hudson.model.ParametersDefinitionProperty$1 in file:/ var /cache/jenkins/war/WEB-INF/lib/jenkins-core-2.116.jar; see: https: //jenkins.io/redirect/serialization-of-anonymous-classes org.jenkinsci.plugins.rundeck.RundeckNotifier getProjectAction Unable to create rundeck job project linked action for 'JOB XXXX' . Exception: IllegalArgumentException: rundeckClient should not be null ! In Jenkins UI, I got (i forgot to get the exact message) some "data stored in an older format and/or unreadable data." When I go to "/jenkins/configure", here's what I got logged cf . stack_01.txt When I host "save": cf. stack_02.txt I downgrade jenkins back to 2.107: I still got the same errors, even with rundeck plugin 3.6.3    
          Hide
          toklian Alex Mikhnenko added a comment - - edited

          We are experiencing the same issue: Rundeck configuration disappears once jenkins is updated with new version.

          JobConfigHistory shows that configuration update is performed under user who is doing Jenkins update via WebUI

          Rundeck Plugin 3.6.x, Jenkins 2.107.x

          Show
          toklian Alex Mikhnenko added a comment - - edited We are experiencing the same issue: Rundeck configuration disappears once jenkins is updated with new version. JobConfigHistory shows that configuration update is performed under user who is doing Jenkins update via WebUI Rundeck Plugin 3.6.x, Jenkins 2.107.x
          Hide
          alvaroperea Alvaro Perea added a comment - - edited

          Hi, 

          Apparently, we have the same issue but occur when we reboot the service or the instance, always lost the rundeck job cache configuration.

          We are using Jenkins 2.130 and plugin Rundeck 3.6.4

          Best regards,

           

          Show
          alvaroperea Alvaro Perea added a comment - - edited Hi,  Apparently, we have the same issue but occur when we reboot the service or the instance, always lost the rundeck job cache configuration. We are using Jenkins 2.130 and plugin Rundeck 3.6.4 Best regards,  
          Hide
          akempwill Andy Williams added a comment -

          We are experiencing the same difficulties.  Any time Jenkins or a plugin is updated, and Jenkins is restarted, the Rundeck instance is deleted.  Rundeck 3.6.4. Jenkins 2.121.  Please fix this!

          Show
          akempwill Andy Williams added a comment - We are experiencing the same difficulties.  Any time Jenkins or a plugin is updated, and Jenkins is restarted, the Rundeck instance is deleted.  Rundeck 3.6.4. Jenkins 2.121.  Please fix this!
          Hide
          alvaroperea Alvaro Perea added a comment -

          Hi,

          I updated Jenkins to version 2.134 and the problem continues.

          I assigned it to Ullie Hafner, because we need a solution soon please.

          Regards, 

          Show
          alvaroperea Alvaro Perea added a comment - Hi, I updated Jenkins to version 2.134 and the problem continues. I assigned it to Ullie Hafner, because we need a solution soon please. Regards, 
          Hide
          drulli Ulli Hafner added a comment -

          Why did you assign it to me? I'm not a developer of this plugin.

          Show
          drulli Ulli Hafner added a comment - Why did you assign it to me? I'm not a developer of this plugin.

            People

            Assignee:
            vbehar Vincent Behar
            Reporter:
            mwarren42 Matt Warren
            Votes:
            8 Vote for this issue
            Watchers:
            12 Start watching this issue

              Dates

              Created:
              Updated: