Uploaded image for project: 'Puppet Server'
  1. Puppet Server
  2. SERVER-3181

committing empty commits to ssl-data

    XMLWordPrintable

Details

    • Bug
    • Status: Open
    • Normal
    • Resolution: Unresolved
    • SERVER 6.18.0
    • None
    • None
    • Needs Assessment
    • 47606
    • 1
    • Needs Assessment

    Description

      There is the possibility to create empty commits to ss-data repo by following this process.

      Generate a certificate request from a node but leave it as an unsigned certificate. Then run `puppet node purge <NODE>` and the following gets produced as a response to the command:

       

      [root@pe-server-9678d5-0 ~]# puppet node purge cent0s7-2-d05ff5-0.us-west1-c.c.customer-support-scratchpad.internal
      Notice: Cleaned files related to cent0s7-2-d05ff5-0.us-west1-c.c.customer-support-scratchpad.internal
      Node "cent0s7-2-d05ff5-0.us-west1-c.c.customer-support-scratchpad.internal" was purged.
      To ensure a node can not check into any compilers, run 'puppet agent -t' on all compilers.
      To re-add a node to your Puppet Enterprise infrastructure:
      On the node:
      1. Run 'puppet ssl clean' to purge that node's local certificates.
      2. Run 'puppet agent -t' to generate a new certificate request.
      

       

      as per `puppetserver` log the following gets registered:

       

      2022-03-29T11:15:49.331Z INFO [clojure-agent-send-off-pool-20] [p.e.s.f.file-sync-storage-core] Automatically committing due to changes in staging-dir '/etc/puppetlabs/puppet/ssl' 
      2022-03-29T11:15:49.332Z INFO [clojure-agent-send-off-pool-0] [p.e.s.f.file-sync-storage-core] Automatically committing due to changes in staging-dir '/etc/puppetlabs/puppet/ssl/ca' 
      2022-03-29T11:15:49.332Z INFO [clojure-agent-send-off-pool-92] [p.e.s.f.file-sync-storage-core] Committing staging directory /etc/puppetlabs/puppet/ssl to file sync storage service 
      2022-03-29T11:15:49.339Z INFO [clojure-agent-send-off-pool-92] [p.e.s.f.file-sync-storage-core] Committing repo /etc/puppetlabs/puppet/ssl 
      2022-03-29T11:15:49.339Z INFO [clojure-agent-send-off-pool-92] [p.e.s.f.file-sync-storage-core] Committing the following changes: Added Files: Removed Files: Changed Files: Added Submodules: Updated Submodules: 
      2022-03-29T11:15:49.343Z INFO [clojure-agent-send-off-pool-92] [p.e.s.f.file-sync-storage-core] Completed commit of repo :ssl-data 2022-03-29T11:15:49.367Z INFO [clojure-agent-send-off-pool-96] [p.e.s.f.file-sync-storage-core] Committing staging directory /etc/puppetlabs/puppet/ssl/ca to file sync storage service 
      2022-03-29T11:15:49.370Z INFO [clojure-agent-send-off-pool-96] [p.e.s.f.file-sync-storage-core] Committing repo /etc/puppetlabs/puppet/ssl/ca 
      2022-03-29T11:15:49.370Z INFO [clojure-agent-send-off-pool-96] [p.e.s.f.file-sync-storage-core] Committing the following changes: Added Files: Removed Files: Changed Files: Added Submodules: Updated Submodules: 
      2022-03-29T11:15:49.373Z INFO [clojure-agent-send-off-pool-96] [p.e.s.f.file-sync-storage-core] Completed commit of repo :ca-data

       
       
       

      Attachments

        Activity

          People

            Unassigned Unassigned
            jordi.garcia Jordi Garcia
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Zendesk Support