[GENIUS-106] Upgrade-ability mode flag must be settable by file Created: 12/Dec/17  Updated: 11/Jan/18  Resolved: 11/Jan/18

Status: Resolved
Project: genius
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Medium
Reporter: Michael Vorburger Assignee: Michael Vorburger
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Blocks
is blocked by GENIUS-107 Ordering issues in genius preventing ... Resolved

 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 shague 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.



 Comments   
Comment by Michael Vorburger [ 11/Jan/18 ]

done in https://git.opendaylight.org/gerrit/#/c/66566/

Generated at Wed Feb 07 19:59:55 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.