Uploaded image for project: 'Razor'
  1. Razor
  2. RAZOR-788

Defer installation when repo is not ready

    XMLWordPrintable

Details

    • Bug
    • Status: Ready for Engineering
    • Major
    • Resolution: Unresolved
    • None
    • None
    • DOCS, Server
    • 3

    Description

      One potential frustration for users is the limbo period while a repo is being downloaded. Currently, any installs will fail if the repo is not ready yet. Better behavior would be to defer installation, either via a sleep script (like the microkernel waits for a policy to bind) or a simple reboot.

      In Scope

      • Defer installation of nodes if the repo was created via `iso-url` and has not been successfully created
      • Render delay ipxe script for nodes to call /svc/boot again later
      • Add config `repo_not_ready_retry_timeout` (name debatable) with default of 30 seconds
      • Call /svc/boot again with same arguments after config timeout/sleep expires

      Out of Scope

      • Add `status` field to repo, with values (`pending`, `downloading`, `extracting`, `finished`, and `errored`) [RAZOR-787]
      • Update repo status when created, download starts, extract starts, and extract/move finishes. [RAZOR-787]

      Hint

      • Add a stock "delay" template to render instead of `template = @task.boot_template(@node)` (app.rb:374) if the repo's status != `finished`.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:

                Zendesk Support