-
Spike
-
Resolution: Unresolved
-
Major
-
None
-
openshift-4.17, openshift-4.18
-
None
-
False
-
-
False
-
-
Description:
Oracle Cloud Infrastructure (OCI) imposes a limitation where the MAC addresses of instances cannot be determined in advance. This limitation prevents the assignment of host roles via the `agent-config.yaml` file during deployment.
OCI instances, however, support specifying a cloud-init script. This capability can be leveraged to dynamically assign a role to each instance.
Ref: https://docs.oracle.com/en-us/iaas/Content/ContEng/Tasks/contengusingcustomcloudinitscripts.htm
The role assignment can then be processed by a new `systemd` service that runs conditionally on OCI instances.
Objectives:
1. Investigate the use of OCI's cloud-init script to embed role information into the instance configuration.
2. Explore the feasibility of a systemd service that:
- Detects whether it is running on an OCI instance.
- Reads the role assigned via cloud-init.
- Propagates this role to the agent configuration or a relevant service.
3. Evaluate potential edge cases, such as:
- Multiple roles per instance.
- Non-OCI environments misinterpreting OCI-specific configurations.
This spike will help establish a robust mechanism to assign host roles in OCI environments without relying on MAC address information.