-
Notifications
You must be signed in to change notification settings - Fork 35
Building and using your own golden image undocumented #294
Comments
Can you check out the logs for your aws-machine-controller pod in openshift-cluter-operator namespace, on the "root" cluster-operator cluster. (this is where the masters are currently created) |
|
This indicates it cannot find the AMI configured in your cluster version. If you're just using our direct development playbooks, you'll see we loaded up a cluster version pointing to an AMI that is only available in our rh-dev account. I'm wondering if you guys are using a different AWS account? If so you need to create your own cluster version, see oc get clusterversions -o yaml for what they look like, or this link for what we create them from: https://github.com/openshift/cluster-operator/blob/master/contrib/examples/cluster-versions-template.yaml I don't think the AWS key is your issue at this point, pretty sure it's something else. |
yep we're using different AWS account. |
You kind of need a "golden" image, we've been building our own (@abutcher has) for development which is what you see in our clusterversion by default. I just cc'd you on an email, trying to track down where or what you could use on another account. |
I've been building our AMIs with https://github.com/openshift/openshift-ansible/blob/master/playbooks/aws/openshift-cluster/build_ami.yml. |
@abutcher Thanks! The READMEs under https://github.com/openshift/openshift-ansible/tree/master/playbooks/aws are pretty great, except for one Catch 22: Gonna try a CentOS image... |
Tried a centos 7 AMI from centos wiki as base_ami, got: |
My base ami is |
Thanks!!
[STATUS: I'm taking a break from this, but I still intend to get the whole process tested & documented eventually] |
Hi. We (cc @nimrodshn) are trying out cluster-operator according to README, in fake=false mode.
We got
MachineSet
andMachine
objects being created but we don't get any AWS instances.Machine
status remains at:Looking at pod logs it seems AWS credentials didn't make it into openshift-ansible:
The pod has AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY set:
The secrets do exist:
How can we troubleshoot it further?
The text was updated successfully, but these errors were encountered: