Skip to content

FSS fails to create PV with timeout when OKE is deployed with no public endpoint. #97

@BigTimCowen

Description

@BigTimCowen

If you try to create the stack with a private endpoint and you have fss selected, it fails. It fails due to the issue that the resource manager can't access the private endpoint of the k8s environment.

One approach to solve this is to change this to remote-exec on the operator node to create the pv if oke is a private-endpoint and the operator node is created.

module.oke.module.workers[0].oci_containerengine_node_pool.tfscaled_workers["oke-gpu"]: Modifications complete after 1s [id=ocid1.nodepool.oc1.iad.aaaaaaaapkebvdlb6xcuukwldmtseom5szdnhvnzwcae2x7yjnmlazgmnpla]
module.oke.module.workers[0].oci_containerengine_node_pool.tfscaled_workers["oke-system"]: Modifications complete after 1s [id=ocid1.nodepool.oc1.iad.aaaaaaaat7c7jci6lavusvpc6euipxu7o7ich7mbxwauqvlk7ndq7qtnha2q]
oci_file_storage_export.FSSExport[0]: Still creating... [10s elapsed]
kubernetes_persistent_volume_v1.fss[0]: Still creating... [10s elapsed]
oci_file_storage_export.FSSExport[0]: Creation complete after 14s [id=ocid1.export.oc1.iad.aaaaaa4np2y6yzzbnfqwillqojxwiotjmfsc2ylefuyqaaaa]
kubernetes_persistent_volume_v1.fss[0]: Still creating... [20s elapsed]
kubernetes_persistent_volume_v1.fss[0]: Still creating... [30s elapsed]

Error: Post "https://10.241.0.4:6443/api/v1/persistentvolumes": dial tcp 10.241.0.4:6443: i/o timeout
  with kubernetes_persistent_volume_v1.fss[0],
  on fss.tf line 54, in resource "kubernetes_persistent_volume_v1" "fss" 
  54: resource "kubernetes_persistent_volume_v1" "fss" {

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions