SUSE / velum

Dashboard for CaaS Platform clusters (v1, v2 and v3)
https://www.suse.com/
Apache License 2.0
54 stars 30 forks source link

[bsc#1099015] when rebooting admin, set tx_update_reboot_needed to false #608

Closed MaximilianMeister closed 6 years ago

MaximilianMeister commented 6 years ago

otherwise we have a window after the restart, where the reboot admin button is still shown, as the event proccessor still needs time to update the grains

bsc#1099015

Signed-off-by: Maximilian Meister mmeister@suse.de

@ereslibre i have first tried to add a Minion.update_grains statement to the end of bin/init or just before launching puma in bin/run but for some reason that didn't set the tx_update_reboot_needed flag to false after the reboot... then i came up with this solution