# US 2023/0273834 A1 · Techniques for preventing concurrent execution of declarative infrastructure provisioners

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2023/0273834 A1
- Document ID: US20230273834A1
- Status: Published application
- Kind: A1
- Application number: 18/142,000
- Filed: 2023-05-01
- Published: 2023-08-31
- Earliest claimed: 2020-01-20
- Assignees: Oracle International Corporation
- Applicants: Oracle International Corporation
- Inventors: Nathaniel Martin Glass
- Web page: https://patentgrep.com/patent/US20230273834A1

## CPC

- G06F 3/04842: Selection of displayed objects or displayed text elements (G06F3/0482 takes precedence)
- G06F 3/0482: Interaction with lists of selectable items, e.g. menus
- G06F 3/0484: for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F 3/04847: Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
- G06F 8/60: Software deployment
- G06F 8/71: Version control (security arrangements therefor G06F21/57); Configuration management
- G06F 9/3836: {Instruction issuing, e.g. dynamic instruction scheduling or out of order instruction execution}
- G06F 9/4411: {Configuring for operating with peripheral devices; Loading of device drivers}
- G06F 9/44505: {Configuring for program initiating, e.g. using registry, configuration files}
- G06F 9/451: Execution arrangements for user interfaces
- G06F 9/485: {Task life-cycle, e.g. stopping, restarting, resuming execution (G06F9/4881 takes precedence)}
- G06F 9/4856: {resumption being on a different machine, e.g. task migration, virtual machine migration (G06F9/5088 takes precedence)}
- G06F 9/5011: {the resources being hardware resources other than CPUs, Servers and Terminals}
- G06F 9/5022: {Mechanisms to release resources}
- G06F 9/5027: {the resource being a machine, e.g. CPUs, Servers, Terminals}
- G06F 9/5038: {considering the execution order of a plurality of tasks, e.g. taking priority or time dependency constraints into consideration (scheduling strategies G06F9/4881 and subgroups)}
- G06F 9/505: {considering the load}
- G06F 9/5061: {Partitioning or combining of resources}
- G06F 9/5072: {Grid computing}
- G06F 9/5077: {Logical partitioning of resources; Management or configuration of virtualized resources (specific details on emulation or internal functioning of virtual machines G06F9/455)}
- G06F 11/0757: {by exceeding a time limit, i.e. time-out, e.g. watchdogs}
- G06F 11/1469: {Backup restoration techniques}
- G06F 11/327: {Alarm or error message display}
- G06F 11/3684: {for test design, e.g. generating new test cases}
- G06F 11/3698: Environments for analysis, debugging or testing of software
- G06F 16/9024: {Graphs; Linked lists (G06F16/9027 takes precedence)}
- H04L 41/0806: for initial configuration or provisioning, e.g. plug-and-play
- H04L 41/0816: the condition being an adaptation, e.g. in response to network events
- H04L 41/0895: Configuration of virtualised networks or elements, e.g. virtualised network function or OpenFlow elements
- H04L 41/122: of virtualised topologies, e.g. software-defined networks [SDN] or network function virtualisation [NFV]
- H04L 41/40: using virtualisation of network functions or resources, e.g. SDN or NFV entities
- H04L 41/5041: characterised by the time relationship between creation and deployment of a service
- H04L 41/5048: {Automatic or semi-automatic definitions, e.g. definition templates}
- H04L 41/5054: Automatic deployment of services triggered by the service manager, e.g. service implementation by automatic configuration of network components
- H04L 41/5096: {wherein the managed service relates to distributed or central networked applications}
- H04L 67/10: in which an application is distributed across nodes in the network (software deployment G06F8/60; multiprogramming arrangements G06F9/46)
- H04L 67/1008: based on parameters of servers, e.g. available memory or workload (monitoring of computer activity G06F11/30)
- H04L 67/1031: Controlling of the operation of servers by a load balancer, e.g. adding or removing servers that serve requests
- H04L 67/34: {involving the movement of software or configuration parameters (network booting or remote initial program loading [RIPL] G06F9/4416)}
- H04L 67/566: Grouping or aggregating service requests, e.g. for unified processing
- G06F 8/61: Installation
- G06F 11/0709: {in a distributed system consisting of a plurality of standalone computer nodes, e.g. clusters, client-server systems}
- G06F 11/0751: {Error or fault detection not based on redundancy (power supply failures G06F1/30; network fault management H04L41/06)}
- G06F 11/0793: {Remedial or corrective actions (recovery from an exception in an instruction pipeline G06F9/3861; by retry G06F11/1402; for recovering from a failure of a protocol instance or entity H04L69/40)}
- H04L 41/145: {involving simulating, designing, planning or modelling of a network}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Techniques for preventing concurrent execution of an infrastructure orchestration service are described. Worker nodes can receive instructions, or tasks, for deploying infrastructure resources and can provide heartbeat notifications to scheduler nodes, also considered a lease. A signing proxy can track the heartbeat notifications sent from the worker nodes to the scheduler node. The signing proxy can receive requests corresponding to a performance of the tasks assigned to the worker nodes. The signing proxy can determine whether the lease between each worker node and the scheduler is valid. If the lease is valid, the signing proxy may make a call to services on behalf of the worker node, and if the lease is not valid, the signing proxy may not make a call to services on behalf of the worker node. Instead, the signing proxy may cut off all outgoing network traffic, blocking access of the worker node to services.

## Claims

### Claim 1

A method comprising:
executing, by a set of computing devices, a system for deploying a set of resources at an execution target;
receiving, by a first computing device of the set of computing devices, a first configuration file for a first deployment of the set of resources at the execution target, the first configuration file comprising a first release identifier;
storing, by the first computing device, a current state of the set of resources at the execution target;
receiving, by the first computing device, a second configuration file for a second deployment of the set of resources at the execution target, the second configuration file comprising a second release identifier, and the second configuration file defining a desired state of the set of resources;
determining, by the first computing device, whether a difference exists between the current state of the set of resources stored at the execution target and the desired state of the set of resources defined in the second configuration file; and
executing, by the first computing device, the second deployment of the set of resources at the execution target according to the second configuration file based in accordance with a determination that the difference exists between the current state of the set of resources stored at the execution target and the desired state of the set of resources defined in the second configuration file.

### Claim 2 (depends on 1)

The method of claim 1, wherein determining, by the first computing device, whether the difference exists between the current state of the set of resources stored at the execution target and the desired state of the set of resources defined in the second configuration file comprises:
transmitting, by the first computing device, the first configuration file and the second configuration file to a second computing device of the one or more computing devices; and
receiving, by the first computing device, an indication from the second computing device that the first release identifier of the first configuration file is not a same identifier as the second release identifier of the second configuration file, wherein the determination that the difference exists is responsive to the indication.

### Claim 3 (depends on 2)

The method of claim 2, wherein the second computing device runs on a same host as the first computing device.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
determining, by the first computing device, whether the difference does not exist between the current state of the set of resources stored at the execution target and the desired state of the set of resources defined in the second configuration file.

### Claim 5 (depends on 4)

The method of claim 4, wherein determining whether the difference does not exist between the current state of the set of resources stored at the execution target and the desired state of the set of resources defined in the second configuration file comprises:
transmitting, by the first computing device, the first configuration file and the second configuration file to a second computing device of the one or more computing devices; and
receiving, by the first computing device, an indication from the second computing device that the first release identifier of the first configuration file is a same identifier as the second release identifier of the second configuration file, wherein the determination that the difference does not exist is responsive to the indication.

### Claim 6 (depends on 5)

The method of claim 5, further comprising:
in accordance with a determination that the difference does not exist between the current state of the set of resources stored at the execution target and the desired state of the set of resources defined in the second configuration file, including an instruction not to execute, by the first computing device, the second deployment of the set of resources at the execution target according to the second configuration file.

### Claim 7 (depends on 4)

The method of claim 4, wherein determining whether the difference does not exist between the current state of the set of resources stored at the execution target and the desired state of the set of resources defined in the second configuration file comprises:
comparing, by a second computing device of the set of computing devices, a first execution identifier of the first configuration file with a second execution identifier of the second configuration file;
responsive to the comparing, determining, by the second computing device, that the first execution identifier is different from the second execution identifier;
responsive to determining that the first execution identifier is different from the second execution identifier, determining, by the second computing device, a release status of the first configuration file; and
transmitting, by the second computing node, the release status of the first configuration file to the first computing device.

### Claim 8 (depends on 7)

The method of claim 7, further comprising:
determining, by the first computing device, that the first deployment of the set of resources was not successful based on the release status of the first configuration file; and
responsive to determining that the first deployment of the set of resources was not successful, executing, by the first computing device, the second deployment of the set of resources at the execution target according to the second configuration file.

### Claim 9 (depends on 7)

The method of claim 7, wherein the first execution identifier comprises information identifying a set of unique execution attempts for executing the first deployment of the set of resources at the execution target.

### Claim 10 (depends on 7)

The method of claim 7, wherein the second execution identifier comprises information identifying a set of unique execution attempts for executing the second deployment of the set of resources at the execution target.

### Claim 11 (depends on 1)

The method of claim 1, wherein the set of computing devices are configured to implement code of a declarative infrastructure provisioning tool.

### Claim 12

A system, comprising:
a memory; and
one or more processors configured to perform processing for deploying a set of resources at an execution target, the processing comprising:
receiving a first configuration file for a first deployment of the set of resources at the execution target, the first configuration file comprising a first release identifier;
storing a current state of the set of resources at the execution target;
receiving a second configuration file for a second deployment of the set of resources at the execution target, the second configuration file comprising a second release identifier, and the second configuration file defining a desired state of the set of resources;
determining whether a difference exists between the current state of the set of resources stored at the execution target and the desired state of the set of resources defined in the second configuration file; and
executing the second deployment of the set of resources at the execution target according to the second configuration file based in accordance with a determination that the difference exists between the current state of the set of resources stored at the execution target and the desired state of the set of resources defined in the second configuration file.

### Claim 13 (depends on 12)

The system of claim 12, wherein determining whether the difference exists between the current state of the set of resources stored at the execution target and the desired state of the set of resources defined in the second configuration file comprises:
transmitting the first configuration file and the second configuration file to a second computing device of the one or more computing devices; and
receiving an indication from the second computing device that the first release identifier of the first configuration file is not a same identifier as the second release identifier of the second configuration file, wherein the determination that the difference exists is responsive to the indication.

### Claim 14 (depends on 12)

The system of claim 12, further comprising determining whether the difference does not exist between the current state of the set of resources stored at the execution target and the desired state of the set of resources defined in the second configuration file.

### Claim 15 (depends on 14)

The system of claim 14, wherein the determining further comprises:
transmitting the first configuration file and the second configuration file to a second computing device of the one or more computing devices; and
receiving an indication from the second computing device that the first release identifier of the first configuration file is a same identifier as the second release identifier of the second configuration file, wherein the determination that the difference does not exist is responsive to the indication.

### Claim 16 (depends on 15)

The system of claim 15, further comprising:
in accordance with a determination that the difference does not exist between the current state of the set of resources stored at the execution target and the desired state of the set of resources defined in the second configuration file, including an instruction not to execute, by the first computing device, the second deployment of the set of resources at the execution target according to the second configuration file.

### Claim 17 (depends on 1)

The system of claim 1, wherein the set of computing devices are configured to implement code of a declarative infrastructure provisioning tool.

### Claim 18

A computer-readable storage medium storing computer-executable instructions that, when executed by one or more processors, cause the one or more processors to perform operations comprising:
executing a system for deploying a set of resources at an execution target;
receiving a first configuration file for a first deployment of the set of resources at the execution target, the first configuration file comprising a first release identifier;
storing a current state of the set of resources at the execution target;
receiving a second configuration file for a second deployment of the set of resources at the execution target, the second configuration file comprising a second release identifier, and the second configuration file defining a desired state of the set of resources;
determining whether a difference exists between the current state of the set of resources stored at the execution target and the desired state of the set of resources defined in the second configuration file; and
executing the second deployment of the set of resources at the execution target according to the second configuration file based in accordance with a determination that the difference exists between the current state of the set of resources stored at the execution target and the desired state of the set of resources defined in the second configuration file.

### Claim 19 (depends on 18)

The non-transitory computer-readable medium of claim 18, wherein determining whether the difference exists between the current state of the set of resources stored at the execution target and the desired state of the set of resources defined in the second configuration file comprises:
transmitting the first configuration file and the second configuration file to a second computing device of the one or more computing devices; and
receiving an indication from the second computing device that the first release identifier of the first configuration file is not a same identifier as the second release identifier of the second configuration file, wherein the determination that the difference exists is responsive to the indication.

### Claim 20 (depends on 19)

The non-transitory computer-readable medium of claim 19, wherein the second computing device runs on a same host as the first computing device.
