Uploaded image for project: 'Razor (moved to puppet.atlassian.net)'
  1. Razor (moved to puppet.atlassian.net)
  2. RAZOR-1022

`repo_file` does not work with repos with remote source

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • RAZOR 1.7.0
    • Server
    • None
    • Hide

      When a repo is created with the url argument, a node bound to a policy using e.g. the vmware_esxi task will retrieve a non-empty result from `http://<razor-server>:8150/svc/file/<node-number>/boot.cfg`.

      Show
      When a repo is created with the url argument, a node bound to a policy using e.g. the vmware_esxi task will retrieve a non-empty result from `http://<razor-server>:8150/svc/file/<node-number>/boot.cfg`.
    • Platform OS
    • 2
    • Needs Assessment
    • Needs Assessment

    Description

      The repo_file function, accessible by tasks, currently only looks for local files in the repo directory. This works fine when the repo is created with the iso_url argument, but not when it's using a remote source via the url argument.

      The fix is for this function is to download from a remote source when url is set, otherwise use the current behavior of using a local source's contents.

      This affects these stock tasks:

      • ESXi
      • Debian

      Attachments

        Activity

          People

            scott.mcclellan Scott McClellan
            scott.mcclellan Scott McClellan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Zendesk Support