Skip to content

Conversation

@BobyMCbobs
Copy link
Member

@BobyMCbobs BobyMCbobs commented Aug 28, 2024

adds CAPI for OCI.

TODO

  • add Talos support

adds CAPI for OCI
@BobyMCbobs
Copy link
Member Author

For some reason getting

  Normal   OwnerRefNotSet           4m26s (x4 over 4m26s)   ocimachine-controller  Cluster Controller has not yet set OwnerRef
  Normal   WaitingForBootstrapData  3m53s (x4 over 4m26s)   ocimachine-controller  Bootstrap data secret reference is not yet available
  Warning  ReconcileError           3m17s (x13 over 3m40s)  ocimachine-controller  Instance  has invalid lifecycle state TERMINATING
  Warning  ReconcileError           2m15s (x4 over 2m56s)   ocimachine-controller  Instance  has invalid lifecycle state TERMINATED

@hh
Copy link

hh commented Aug 30, 2024

How did this work?

@BobyMCbobs
Copy link
Member Author

How did this work?

@hh, good question!

It's quite fast by the seems.
Currently figuring out the talos bootstrap portion. Trying to provide the nodes with public IPs to enable this but since setting nodes to have public IPs the nodes delete not long after creation which is certainly strange.

adds a public IP to each controlplane node
@BobyMCbobs
Copy link
Member Author

BobyMCbobs commented Sep 1, 2024

Managed to get public IPs to work.
Current issue is that public IPs are never exported to OCIMachine status, which will plumb the data to the Talos CA.
With the current state, a bootstrap will never be able to be performed.
A public node IP in the CA is required to talk to the Talos API.

Created a ticket: oracle/cluster-api-provider-oci#379

@BobyMCbobs
Copy link
Member Author

Alternate fix to the above is to bootstrap from an OCI machine to talking to OCI.

- command for getting resources
- command for deleting the cluster
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants