theforeman/foreman · error · ProxyException

Unable to delete PuppetCA autosign for %s

Error message

Unable to delete PuppetCA autosign for %s

What it means

Error "Unable to delete PuppetCA autosign for %s" thrown in theforeman/foreman.

Source

Thrown at app/services/proxy_api/puppet_ca.rb:26

    def autosign
      parse(get("autosign"))
    rescue => e
      raise ProxyException.new(url, e, N_("Unable to get PuppetCA autosign"))
    end

    def set_autosign(certname)
      parse(post("", "autosign/#{certname}"))
    rescue => e
      raise ProxyException.new(url, e, N_("Unable to set PuppetCA autosign for %s"), certname)
    end

    def del_autosign(certname)
      parse(delete("autosign/#{certname}"))
    rescue RestClient::ResourceNotFound
      # entry doesn't exists anyway
      true
    rescue => e
      raise ProxyException.new(url, e, N_("Unable to delete PuppetCA autosign for %s"), certname)
    end

    def sign_certificate(certname)
      parse(post("", certname))
    rescue => e
      raise ProxyException.new(url, e, N_("Unable to sign PuppetCA certificate for %s"), certname)
    end

    def del_certificate(certname)
      parse(delete(certname.to_s))
    rescue RestClient::ResourceNotFound
      # entry doesn't exists anyway
      true
    rescue => e
      raise ProxyException.new(url, e, N_("Unable to delete PuppetCA certificate for %s"), certname)
    end

    def all

View on GitHub (pinned to 6b05625475)

When it happens

Trigger: Thrown at app/services/proxy_api/puppet_ca.rb:26 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of theforeman/foreman@6b05625475 (2026-08-23). Data as JSON: /api/errors/a9ca97d830b26a42. Report an issue: GitHub.