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

Does not sync existing credentials

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • openshift-sync-plugin
    • None
    • Jenkins 2.289.2, k8s plugin 1.30.1, k8s cred plugin 0.9.0, k8s CLI plugin 1.10.3

      This was working in 1.0.46 but has not worked in any version since.
      The plugin does not sync existing secrets. I can create a new secret and it appears straight away, but existing secrets are not synced. 
      I can have a secret syncing, restart Jenkins and it no longer syncs. 
      I have enabled finest logging on io.fabric8.jenkins.openshiftsync and .SecretInformaer .CredentislUtils, GlobalPluginConfiguration and can see no errors.
      I do see :

      Aug 27, 2021 8:55:00 AM INFO io.fabric8.jenkins.openshiftsync.SecretInformer start
      Starting secret informer {} !!oceanus-dev
      Aug 27, 2021 8:55:00 AM FINE io.fabric8.jenkins.openshiftsync.SecretInformer start
      listing Secret resources
      Aug 27, 2021 8:55:00 AM INFO io.fabric8.jenkins.openshiftsync.SecretInformer start
      Secret informer started for namespace: {}oceanus-dev
      Aug 27, 2021 8:55:00 AM INFO io.fabric8.jenkins.openshiftsync.GlobalPluginConfigurationTimerTask start
      All the namespaced informers have been registered!! ... starting all registered informers
      Aug 27, 2021 8:55:00 AM INFO io.fabric8.jenkins.openshiftsync.GlobalPluginConfigurationTimerTask start
      All registered informers have been started
      Aug 27, 2021 8:55:02 AM FINE io.fabric8.jenkins.openshiftsync.SecretInformer onAdd
      Secret informer  received add event for: {}null
      Aug 27, 2021 8:55:02 AM FINE io.fabric8.jenkins.openshiftsync.SecretInformer onAdd
      Secret informer  received add event for: {}null
      Aug 27, 2021 8:55:02 AM FINE io.fabric8.jenkins.openshiftsync.SecretInformer onAdd
      Secret informer  received add event for: {}null
      Aug 27, 2021 8:55:02 AM FINE io.fabric8.jenkins.openshiftsync.SecretInformer onAdd
      Secret informer  received add event for: {}null
      Aug 27, 2021 8:55:02 AM FINE io.fabric8.jenkins.openshiftsync.SecretInformer onAdd
      Secret informer  received add event for: {}null
      Aug 27, 2021 8:55:02 AM FINE io.fabric8.jenkins.openshiftsync.SecretInformer onAdd
      Secret informer  received add event for: {}null
      Aug 27, 2021 8:55:02 AM FINE io.fabric8.jenkins.openshiftsync.SecretInformer onAdd
      Secret informer  received add event for: {}null
      Aug 27, 2021 8:55:02 AM FINE io.fabric8.jenkins.openshiftsync.SecretInformer onAdd
      Secret informer  received add event for: {}null
      Aug 27, 2021 8:55:02 AM FINE io.fabric8.jenkins.openshiftsync.SecretInformer onAdd
      Secret informer  received add event for: {}null
      Aug 27, 2021 8:55:05 AM FINE io.fabric8.jenkins.openshiftsync.SecretInformer onUpdate
      Secret informer received update event for: {} to: {}nullnull
      Aug 27, 2021 8:55:10 AM FINE io.fabric8.jenkins.openshiftsync.SecretInformer onUpdate
      Secret informer received update event for: {} to: {}nullnull
      Aug 27, 2021 8:55:15 AM FINE io.fabric8.jenkins.openshiftsync.SecretInformer onUpdate
      Secret informer received update event for: {} to: {}nullnull
      Aug 27, 2021 8:55:20 AM FINE io.fabric8.jenkins.openshiftsync.SecretInformer onUpdate
      Secret informer received update event for: {} to: {}nullnull
      Aug 27, 2021 8:55:25 AM FINE io.fabric8.jenkins.openshiftsync.SecretInformer onUpdate
      Secret informer received update event for: {} to: {}nullnull
      Aug 27, 2021 8:55:30 AM FINE io.fabric8.jenkins.openshiftsync.SecretInformer onUpdate
      Secret informer received update event for: {} to: {}nullnull
      Aug 27, 2021 8:55:35 AM FINE io.fabric8.jenkins.openshiftsync.SecretInformer onUpdate
      Secret informer received update event for: {} to: {}nullnull
      Aug 27, 2021 8:55:40 AM FINE io.fabric8.jenkins.openshiftsync.SecretInformer onUpdate
      

            adambkaplan Adam Kaplan
            max_allan max allan
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: