Git Product home page Git Product logo

oci-arch-ci-cd's Issues

Job failed with Error Message: Invalid nodeShape: Node shape and image are not compatible.

Error: 400-InvalidParameter
Provider version: 4.51.0, released on 2021-11-03.
Service: Containerengine Node Pool
Error Message: Invalid nodeShape: Node shape and image are not compatible.
OPC request ID: 8677164efd908f4deb5a5d4201db8c16/3BB3AEF3FB0EF4D50F15D34062B7B615/01394B3157B68DB1A72651172472315A
Suggestion: Please Update the parameter(s) in the Terraform config as per error message Invalid nodeShape: Node shape and image are not compatible.

Need documentation on how to ssh to Jenkins server with code created public-private key-pair

When the default installation options are accepted, the installation completes successfully. ie. The Jenkins server is created and is accessible via the browser. But there are no instructions on how to retrieve the private key that would be needed to ssh to the Jenkins server.
Do I use the private_key_pem value from the state file to construct the private key ?
I tried ssh using that and its looking for a passphrase.

Executing with Resource Manager fails on sudo yum install -y xmlstarlet

The setup.sh script fails with:

sudo yum install -y xmlstarlet
module.jenkins-master.oci_core_instance.TFJenkinsMaster (remote-exec): Error: Nothing to do

Executing manually on a separate Oracle Linux 7.9 instance shows:

sudo yum install -y xmlstarlet
Loaded plugins: langpacks, ulninfo
No package xmlstarlet available.
Error: Nothing to do

To make it work, I had to change:
from:
sudo yum install -y xmlstarlet
to:

sudo yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
sleep 10
sudo yum install -y xmlstarlet

Problems with terraform plan

I've cloned the repo, created file terraform.tfvars and I get this message when I type terraform plan:
rror: Invalid index

│ on modules/jenkins-master/main.tf line 41, in resource "oci_core_instance" "TFJenkinsMaster":
│ 41: source_id = data.oci_core_images.InstanceImageOCID.images[0].id
│ ├────────────────
│ │ data.oci_core_images.InstanceImageOCID.images is empty list of object

Any idea?
Thanks!

deployment via custom ssh public key fails

Terraform deployment with personal ssh key pair (public key) fails. Error message
Error: file provisioner error
with module.jenkins.module.jenkins-controller.null_resource.TFJenkinsControllerConfig_via_public_ip[0],
on .terraform/modules/jenkins/modules/jenkins-controller/main.tf line 105, in resource "null_resource" "TFJenkinsControllerConfig_via_public_ip"
105: provisioner "file" {
timeout - last error: SSH authentication failed ([email protected]:22): ssh:
handshake failed: ssh: unable to authenticate, attempted methods [none
publickey], no supported methods remain

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.