US 11,698,741 B2
Updating operating system images of inactive compute instances
David Sariel, Raanana (IL); and Arie Bregman, Raanana (IL)
Assigned to Red Hat Israel, Ltd., Raanana (IL)
Filed by Red Hat Israel, Ltd., Raanana (IL)
Filed on Mar. 12, 2021, as Appl. No. 17/199,868.
Application 17/199,868 is a continuation of application No. 16/202,227, filed on Nov. 28, 2018, granted, now 10,949,111.
Prior Publication US 2021/0223978 A1, Jul. 22, 2021
This patent is subject to a terminal disclaimer.
Int. Cl. G06F 8/65 (2018.01); G06F 9/455 (2018.01); G06F 9/4401 (2018.01); G06F 3/06 (2006.01)
CPC G06F 3/0647 (2013.01) [G06F 3/0604 (2013.01); G06F 3/067 (2013.01); G06F 8/65 (2013.01); G06F 9/4418 (2013.01); G06F 9/45541 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A method comprising:
iteratively scanning, by a computing device, a data structure that identifies a plurality of compute instances and a corresponding state of the compute instances, the state of each compute instance comprising one of an inactive state that indicates an operating system (OS) of the corresponding compute instance may be updated and an active state that indicates the OS of the corresponding compute instance may not be updated;
determining, by the computing device based on the data structure, that a first compute instance that boots from an operating system image on a first storage device is in the inactive state;
determining, by the computing device, that updates to the operating system image on the first storage device exist;
copying, by the computing device, the operating system image from the first storage device to a second storage device;
updating, by the computing device, the operating system image on the second storage device with the updates to generate an updated operating system image on the second storage device; and
copying, by the computing device, the updated operating system image from the second storage device to the first storage device in place of the operating system image.