Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update how to set libvirt master memory add wait-for installer-complete #28

Merged
merged 1 commit into from
Apr 7, 2020

Conversation

sallyom
Copy link
Collaborator

@sallyom sallyom commented Apr 2, 2020

/cc @praveenkumar
/cc @ironcladlou

@@ -40,6 +44,11 @@ gcloud compute instances create "${INSTANCE}" \
--network "${INSTANCE}" \
--subnet "${INSTANCE}"

# pause for ssh for a few seconds
echo pause for 10s before copying the pull-secret
sleep 10s
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sallyom Are we sure that within 10s the ssh command is available for use? Can we poll with ssh command with a timeout around 30-40sec?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, I was meaning to update that, you're right, this last cmd fails even w/ the 10s - i'll update it

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added, done

openshift-install create cluster --log-level=debug --dir="$CLUSTER_DIR"
# Add master memory to 12 GB
# This is only valid for openshift 4.3 onwards
yq write --inplace ${CLUSTER_DIR}/openshift/99_openshift-cluster-api_master-machines-0.yaml spec.providerSpec.value[domainMemory] 14336
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

1) set libvirt master memory via machineconfigs
2) add wait-for installer-complete
3) ensure OPENSHIFT_INSTALL_RELEASE_IMAGE_OVERRIDE is set when running create-cluster
4) retry with scp copy in create-gcp-resources script
5) pretty colors in create/teardown scripts, README update
@sallyom sallyom merged commit 06a921f into ironcladlou:rhel8 Apr 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants