Change hfs controller to be level-triggered when handling bmh updates#995
Conversation
|
/test-integration |
|
/lgtm |
|
@elfosardo: adding LGTM is restricted to approvers and reviewers in OWNERS files. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
98d901d to
e8c86d4
Compare
|
/cc @zaneb |
|
@bfournie: The specified target(s) for
Use
DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
After reviewing all the changes, on a second thought I'm getting convinced that probably the relationships between BMH and HFS could be relaxed a little bit, possibly leading to a simplified approach that will honor all the points previously discussed. Following the main general points:
I understand that this means a significant change to the current design, but the overall idea is to look for a simplified approach that maybe could be reused also in future for other similar situations. Wdyt? |
e8c86d4 to
ca9f989
Compare
I think its a good idea and will simplify the hfs controller. I've updated the PR to:
|
|
/test-v1b1-centos-integration |
ca9f989 to
29c9d2c
Compare
|
/test-v1b1-integration |
1 similar comment
|
/test-v1b1-integration |
29c9d2c to
24bb040
Compare
|
/test-v1b1-centos-integration |
|
/test-v1b1-centos-integration |
|
/retest |
|
/test-v1b1-centos-integration |
24bb040 to
8a144dd
Compare
|
/test-v1b1-centos-integration |
Change to use the Preparing state end time as a trigger that cleaning has just completed instead of relying on state difference. In addition, the following changes were made to address follow-on comments in metal3-io#938. - added Preparing state to OperationalMetrics so its end time can be used for level-trigger - split Status Settings into LocalData (ReadOnly or Unique fields) and writeable Settings - changed name of condition `UpdateRequested` to `FirmwareSettingsChangeDetected` - add each hostFirmwareSettings as owner of its FirmwareSchema so that garbage collection can be done - Change the SetOwnerReference/SetControllerReference calls to before Create so the Update could be removed - When building BIOS settings for cleaning make sure the hfs settings don't overwrite the vendor-agnostic settings - When generating the hash for the firmwareSchema include the schema values in addition to the names in the hash
8a144dd to
dab9035
Compare
|
/test-v1b1-centos-integration |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: andfasano, elfosardo The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/lgtm |
Change to use a poll cycle in the hfs reconciler to get data from Ironic instead of relying on state difference. In addition, the following changes were made to address follow-on comments in
#938.
UpdateRequestedtoFirmwareSettingsChangeDetected