btcpayserver / btcpayserver/btcpayserver-googlecloud
btcserver-googlecloud deployment resource error (network)
- Dominant language
- PowerShell
- Stars
- 19
- Forks
- 12
- PR merge metrics
- No merged PRs in 30d
Description
https://github.com/btcpayserver/btcpayserver-googlecloud/blob/dbd47b846af4b4e8aca04032581efbcd52eaeca3/vm.jinja#L26
When I attempt to deploy this template with cloud shell (to us-west1-c), I receive the following error:
> ERROR: (gcloud.deployment-manager.deployments.create) Error in Operation [redacted]: errors:
> code: RESOURCE_ERROR
> location: /deployments/redacted/resources/redacted-vm
> message: "{\"ResourceType\":\"compute.v1.instance\",\"ResourceErrorCode\":\"400\"\
> ,\"ResourceErrorMessage\":{\"code\":400,\"errors\":[{\"domain\":\"global\",\"\
> message\":\"Invalid value for field 'resource.networkInterfaces[0].network': ''.\
> \ The referenced network resource cannot be found.\",\"reason\":\"invalid\"}],\"\
> message\":\"Invalid value for field 'resource.networkInterfaces[0].network': ''.\
> \ The referenced network resource cannot be found.\",\"statusMessage\":\"Bad Request\"\
> ,\"requestPath\":\"https://compute.googleapis.com/compute/v1/projects/redacted/zones/us-west1-c/instances\"\
> ,\"httpMethod\":\"POST\"}}"
>
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with vm.jinja at line 26 and compare the network configuration used by the compute.v1.instance resource with the deployment context. Reproduce the template deployment from Cloud Shell in us-west1-c and use the reported networkInterfaces error to guide the investigation. Done means the deployment completes without the referenced network resource error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- google-cloud
- Domain
- cloud, infrastructure
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100