Skip to content

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