Uploaded image for project: 'genius'
  1. genius
  2. GENIUS-106

Upgrade-ability mode flag must be settable by file

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      The upgrading flag introduced in https://git.opendaylight.org/gerrit/#/c/65299/ must be able to be set pre boot by a file which director can set.

      As is this currently is not possible, and probably requires making it use injecting the config via odl:clustered-app-config, like the TracingBroker does.

      While we're at this we'll also change the YANG model introduced in c/65299 to match the suggestions mades by Sam Hague post merge of that initial change.

      One this is implemented (and merged), we need to create a task in LaunchPad for director to create this file during upgrade (not update) before triggering the full sync, and then reset its value via REST Conf call when done, and remove that file again.

      Alternatively, perhaps Director could just set this flag via REST Conf immediately after ODL has come up but before letting any traffic hit it?

      We should start working on this task once there is at least 1 usage of UpgradeState; as of right now we have the infra (from c/65299) but no users of it, yet.

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              Assignee:
              vorburger Michael Vorburger
              Reporter:
              vorburger Michael Vorburger
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: