cloud-native-toolkit / cloud-native-toolkit/planning

Toolkit fails installation when installed on RedHat OpenShift (OCP) IBM Power.

Open
#850 8 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
4
Forks
1
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
A clear and concise description of what the bug is.

I attempted to install the Cloud Native Toolkit (https://cloudnativetoolkit.dev/setup/fast-start/#installing-the-toolkit) and it failed on the installation. Below is the description of the toolkit job pod. I executed the the fast start installation from my MacOS.

master $ oc describe po ibm-toolkit-g44kq -n default
Name: ibm-toolkit-g44kq
Namespace: default
Priority: 0
Node: worker-3/10.3.158.100
Start Time: Thu, 15 Jul 2021 21:38:33 -0700
Labels: controller-uid=b9c59f3d-a159-4024-a4e8-ed971e471b5f
job-name=ibm-toolkit
run=ibm-toolkit
Annotations: k8s.v1.cni.cncf.io/network-status:
[{
"name": "",
"interface": "eth0",
"ips": [
"10.131.0.17"
],
"default": true,
"dns": {}
}]
k8s.v1.cni.cncf.io/networks-status:
[{
"name": "",
"interface": "eth0",
"ips": [
"10.131.0.17"
],
"default": true,
"dns": {}
}]
Status: Failed
IP: 10.131.0.17
IPs:
IP: 10.131.0.17
Controlled By: Job/ibm-toolkit
Containers:
toolkit:
Container ID: cri-o://a772f7ab464b8312754783e8c0e6138c23fdadd2ff79390a2c352e9d97cc6c0d
Image: quay.io/ibmgaragecloud/cli-tools:v0.10.0-lite
Image ID: quay.io/ibmgaragecloud/cli-tools@sha256:1d7d3409382b87665ed49ee4b26f01d8fd971d9a33c6ef28b922dd6d82436149
Port:
Host Port:
Command:
/bin/bash
-c
set -ex
git clone -b master --depth=1 https://github.com/cloud-native-toolkit/ibm-garage-iteration-zero.git /source
cd /source

# Customize Installation

# Add components
# cp terraform/stages-ocp4/catalog/stage2-jaeger.tf terraform/stages-ocp4/

# Remove any of these if you already have them available outside the cluster
# rm terraform/stages-ocp4/stage2-argocd.tf
# rm terraform/stages-ocp4/stage2-artifactory.tf
# rm terraform/stages-ocp4/stage2-sonarqube.tf
# rm terraform/stages-ocp4/stage2-pactbroker.tf

# Remove Optional addons not utilize during default pipeline runs
# rm terraform/stages-ocp4/stage2-swagger-editor.tf

export TF_VAR_server_url=$(oc whoami --show-server)
set +x
export TF_VAR_login_token=$(oc whoami -t)
STARTTIME=$(date +%s)
./terraform/runTerraform.sh --ocp -a
DURATION=$(($(date +%s) - $STARTTIME))
echo -e "\033[0;92m Toolkit install took: $(($DURATION / 60))m$(($DURATION % 60))s \033[0m"

State: Terminated
Reason: Error
Exit Code: 1
Started: Thu, 15 Jul 2021 21:38:37 -0700
Finished: Thu, 15 Jul 2021 21:38:37 -0700
Ready: False
Restart Count: 0
Environment Variables from:
ibm-toolkit ConfigMap with prefix 'TF_VAR_' Optional: false
Environment:
Mounts:
/source from source (rw)
/var/run/secrets/kubernetes.io/serviceaccount from ibm-toolkit-token-xv4zs (ro)
Conditions:
Type Status
Initialized True
Ready False
ContainersReady False
PodScheduled True
Volumes:
source:
Type: EmptyDir (a temporary directory that shares a pod's lifetime)
Medium:
SizeLimit:
ibm-toolkit-token-xv4zs:
Type: Secret (a volume populated by a Secret)
SecretName: ibm-toolkit-token-xv4zs
Optional: false
QoS Class: BestEffort
Node-Selectors:
Tolerations: node.kubernetes.io/not-ready:NoExecute for 300s
node.kubernetes.io/unreachable:NoExecute for 300s
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal AddedInterface 20m multus Add eth0 [10.131.0.17/23]
Normal Pulled 20m kubelet, worker-3 Container image "quay.io/ibmgaragecloud/cli-tools:v0.10.0-lite" already present on machine
Normal Created 20m kubelet, worker-3 Created container toolkit
Normal Started 20m kubelet, worker-3 Started container toolkit
Normal Scheduled 19m default-scheduler Successfully assigned default/ibm-toolkit-g44kq to worker-3
**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**IBM Cloud**
Select the services and tools affected

- [ ] IBM Kubernetes Service Managed Service
- [ ] Red Hat OpenShift Managed Services
- [ ] Jenkins
- [ ] Tekton
- [ ] SonarQube
- [ ] Pact
- [ ] Artifactory
- [ ] IBM Image Registry

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.