{"record":{"id":"0d108cc5be8d5fbc","repo":"theforeman/foreman","slug":"unable-to-delete-tftp-boot-entry-for-s","errorCode":null,"errorMessage":"Unable to delete TFTP boot entry for %s","messagePattern":"Unable to delete TFTP boot entry for (.+?)","errorType":"exception","errorClass":"ProxyException","httpStatus":null,"severity":"error","filePath":"app/services/proxy_api/tftp.rb","lineNumber":31,"sourceCode":"    #    :targetos  => String containing the lowercase operating system name\n    #    :release  => String containing the operating system major and minor version\n    #    :arch  => String containing the operating system architecture\n    #    :bootfile_suffix => String containing the architecture specific boot filename suffix\n    # Returns  : Boolean status\n    def set(kind, mac, args)\n      parse(post(args, \"#{kind}/#{mac}\"))\n    rescue => e\n      raise ProxyException.new(url, e, N_(\"Unable to set TFTP boot entry for %s\"), mac)\n    end\n\n    # Deletes a TFTP boot entry\n    # [+kind+] : PXE template kind\n    # [+mac+] : String in coloned sextuplet format\n    # Returns : Boolean status\n    def delete(kind, mac)\n      parse(super(\"#{kind}/#{mac}\"))\n    rescue => e\n      raise ProxyException.new(url, e, N_(\"Unable to delete TFTP boot entry for %s\"), mac)\n    end\n\n    # Requests that the proxy download the bootfile from the media's source\n    # [+args+] : Hash containing\n    #   :prefix => String containing the location within the TFTP tree to store the file\n    #   :path   => String containing the URL of the file to download\n    # Returns    : Boolean status\n    def fetch_boot_file(args)\n      parse(post(args, \"fetch_boot_file\"))\n    rescue => e\n      raise ProxyException.new(url, e, N_(\"Unable to fetch TFTP boot file\"))\n    end\n\n    # returns the TFTP boot server for this proxy\n    def bootServer\n      if (response = parse(get(\"serverName\"))) && response[\"serverName\"].present?\n        return response[\"serverName\"]\n      end","sourceCodeStart":13,"sourceCodeEnd":49,"githubUrl":"https://github.com/theforeman/foreman/blob/6b05625475cfe6aac31a88f8c8ee6e62e4efe620/app/services/proxy_api/tftp.rb#L13-L49","documentation":"Error \"Unable to delete TFTP boot entry for %s\" thrown in theforeman/foreman.","triggerScenarios":"Thrown at app/services/proxy_api/tftp.rb:31 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"6b05625475cfe6aac31a88f8c8ee6e62e4efe620","analyzedAt":"2026-08-23T17:46:34.094Z","schemaVersion":2},"datasetVersion":"2026-08-23T21:17:23.414Z"}