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

Add NAT router configuration also for Ops Manager #70

Open
wants to merge 2 commits into
base: release
Choose a base branch
from

Conversation

jsoriano
Copy link
Contributor

@jsoriano jsoriano commented Jan 13, 2021

Terraform configuration creates an storage bucket for the Ops Manager,
but Ops Manager cannot connect to google cloud if it doesn't have a NAT
router.

These errors appear if the management subnet doesn't have a NAT router config:

Task 4 | 18:42:58 | Error: Failed to create GCS object, code 1, output: 'Get https://www.googleapis.com/storage/v1/b/project-id-pcf-ops-manager-36547?alt=json&prettyPrint=false&projection=full: oauth2: cannot fetch token: Post https://oauth2.googleapis.com/token: dial tcp 216.58.205.42:443: i/o timeout
', error: '2021/01/11 18:42:58 performing operation put: Get https://www.googleapis.com/storage/v1/b/project-id-pcf-ops-manager-36547?alt=json&prettyPrint=false&projection=full: oauth2: cannot fetch token: Post https://oauth2.googleapis.com/token: dial tcp 216.58.205.42:443: i/o timeout

Terraform configuration creates an storage bucket for the Ops Manager,
but Ops Manager cannot connect to google cloud if it doesn't have a NAT
router.
@bgandon
Copy link

bgandon commented May 13, 2021

I've run into the same issue, and cherry-picking the patch helped me a lot, thank you!
Maintainers, it would be great to merge this PR 👍

@jaristiz jaristiz self-requested a review November 11, 2021 18:30
@jaristiz jaristiz force-pushed the gcp-nat-router-ops-manager branch from 31409fe to acd9d02 Compare November 15, 2021 15:04
@jaristiz
Copy link
Contributor

jaristiz commented Nov 18, 2021

Looks good to me.
Will schedule it to be included on the next release

@bgandon
Copy link

bgandon commented Jan 6, 2022

Nice, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants