Closed arashkaffamanesh closed 6 years ago
O.k, it seems there are other problems too, docker-registry-1-deploy and router-1-deploy keep pending:
[ec2-user@ip-10-0-1-154 ~]$ oc get pods
NAME READY STATUS RESTARTS AGE
docker-registry-1-deploy 0/1 Pending 0 13m
registry-console-1-vq7w8 1/1 Running 1 13m
router-1-deploy 0/1 Pending 0 14m
The reason why docker registry and router are pending is because of missing infra nodes: https://docs.openshift.com/container-platform/3.10/install/configuring_inventory_file.html
If there is not a node in the [nodes] section that matches the selector settings,
the default router and registry will be deployed as failed with Pending status.
Hey @arashkaffamanesh - I got it working:
The key was to update the AMIs to RHEL 7.5 (apparently 7.4 upwards will do). This fixes the kernel module issue. I also updated the code to tag the master node as an infra node (thanks for your tips on this one!)
Some minor changes needs to be done to provide support for OKD 3.10, the main changes in inventory.template.cfg are:
and in install-from-bastion.sh set the branch to release-3.10:
But after the first run the following failure summary is shown, but the second run succeeds:
Could one confirm this behaviour on his / her side?
It seems this issue https://github.com/dwmkerr/terraform-aws-openshift/issues/40 was already reported: