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

Rundeck configuration is removed on plugin update

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • rundeck-plugin
    • Jenkins v2.108
      rundeck-plugin v3.6.4

      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

          [JENKINS-50495] Rundeck configuration is removed on plugin update

          Matt Warren created issue -
          Lionel FÉLICITÉ made changes -
          Assignee Original: Vincent Behar [ vbehar ] New: Lionel FÉLICITÉ [ deogracia ]
          Lionel FÉLICITÉ made changes -
          Attachment New: stack_01.txt [ 42326 ]
          Lionel FÉLICITÉ made changes -
          Attachment New: stack_01.txt [ 42327 ]
          Lionel FÉLICITÉ made changes -
          Attachment New: stack_02.txt [ 42328 ]
          Lionel FÉLICITÉ made changes -
          Attachment Original: stack_01.txt [ 42327 ]

          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

           
           

          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    
          Lionel FÉLICITÉ made changes -
          Assignee Original: Lionel FÉLICITÉ [ deogracia ] New: Vincent Behar [ vbehar ]
          Lionel FÉLICITÉ made changes -
          Labels New: JEP-200

          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

          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

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

              Created:
              Updated: