Git Product home page Git Product logo

Comments (7)

livespotty avatar livespotty commented on June 12, 2024

found out the root cause of this issue. oci cli tool is not getting installed on admin host

==================
module.oke.null_resource.write_kubeconfig_on_admin[0] (remote-exec): Checking Host Key: false
module.policies.null_resource.update_dynamic_group[0] (remote-exec): Connected!
module.oke.null_resource.write_kubeconfig_on_admin[0] (remote-exec): Connected!
module.policies.null_resource.update_dynamic_group[0] (remote-exec): /home/opc/update_dynamic_group.sh: line 5: oci: command not found

from terraform-oci-oke.

livespotty avatar livespotty commented on June 12, 2024

The fix is to modify the following script
/modules/oke/scripts/install_kubectl.template.sh

and add the following line
sudo yum install -y python-oci-cli-2.9.0-1.el7

this will install oci-cli tool.

from terraform-oci-oke.

hyder avatar hyder commented on June 12, 2024

Ok thanks. I will fix this in the base module accordingly

from terraform-oci-oke.

hyder avatar hyder commented on June 12, 2024

Hi, I was not able to replicate the issue. oci-cli installed correctly as the generation of kubeconfig and the subsequent installation of calico. Can you please share your var file (minus the credentials)?

from terraform-oci-oke.

livespotty avatar livespotty commented on June 12, 2024

This issue was because of the new OL image for Admin server. The oracle-oclne-release-el7 package was broken. I tested with old OL image and it was fine.

from terraform-oci-oke.

hyder avatar hyder commented on June 12, 2024

The oracle-oclne-release-el7 is used only for kubectl, not for oci-cli which is what you reported the issue. Does the problem still exist or we can close this?

from terraform-oci-oke.

livespotty avatar livespotty commented on June 12, 2024

Closed this issue, since this problem was due to OL image.

from terraform-oci-oke.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.