Skip to content

Conditionally report Onegate READY=YES #47

@dann1

Description

@dann1

Description
When running an workload that exposes some kind of service through a port automatically on boot, for example, a web server, it could be useful to further restrict the READY=YES reporting done by onegate by further checking whether the workload has finished binding to the port specified in the VM Template.

Instead of the VM reporting at the time the context service has finished execution, the report will be delayed until the port is up in the VM localhost address.

Use case
Make a stricter definition of the READY state which itself is already a stricter definition of the RUNNING state.

Interface Changes
A new variable ONEGATE_PORT_CHECK will be added within the CONTEXT section. This variable will hold the value of the port that will be checked by one-context. If such variable doesn't exist, then the behavior will be as usual.

Progress Status

  • Code committed
  • Testing - QA
  • Documentation (Release notes - resolved issues, compatibility, known issues)

Metadata

Metadata

Assignees

Labels

category: context linuxLinux OS contextualization packagescategory: context windowsWindows OS contextualization packagessponsoredThis issue is sponsored by user or company

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions