Closed mathieu-benoit closed 6 months ago
error provisioning resource dns#modules.my-sample-workload.externals.dns GuResID: 10ea245ffd9c2f5850a6c8f30fdb61856ec2950b. Status: False. Reason: ResourceProvisionError. Message: resolving resource input secrets: getting remote secret orgs/humanitec/resources/dynamic/default-humanitec-dns/account: secret not found
Deployment ID: 17c786dd6c0ef9d4
Deployment failed for PR-119! :x:
Errors:
Errors details
### Errors details: ```json [ { "apiVersion": "entity.humanitec.io/v1b1", "entity": {}, "kind": "DeploymentError", "metadata": { "app_id": "my-sample-app", "deploy_id": "17c786dd6c0ef9d4", "env_id": "pr-119", "org_id": "mabenoit" }, "status": { "code": "OPR-001", "error_type": "", "message": "error provisioning resource dns#modules.my-sample-workload.externals.dns GuResID: 10ea245ffd9c2f5850a6c8f30fdb61856ec2950b. Status: False. Reason: ResourceProvisionError. Message: resolving resource input secrets: getting remote secret orgs/humanitec/resources/dynamic/default-humanitec-dns/account: secret not found", "object_id": "", "scope": "environment", "summary": "Humanitec Operator error" } }, { "apiVersion": "entity.humanitec.io/v1b1", "entity": {}, "kind": "DeploymentError", "metadata": { "app_id": "my-sample-app", "deploy_id": "17c786dd6c0ef9d4", "env_id": "pr-119", "org_id": "mabenoit" }, "status": { "code": "OPR-001", "error_type": "", "message": "error provisioning resource base-env#base-env GuResID: 0e0944be7150b17b44edd91711a9672ae14456f9. Status: False. Reason: DriverFailed. Message: unexpected response code (500) and error provisioning the resource: HTTP-500: Failed to fetch the resource status", "object_id": "", "scope": "environment", "summary": "Humanitec Operator error" } } ] ```View in Humanitec
Deployment ID: 17c786dd6c0ef9d4
Domains:
Deployment diff
### Deployment diff: ```json { "modules": { "add": { "my-sample-workload": { "externals": { "dns": { "class": "default", "type": "dns" }, "route": { "class": "default", "params": { "host": "${externals.dns.host}", "path": "/", "port": 8080 }, "type": "route" } }, "profile": "humanitec/default-module", "spec": { "annotations": { "humanitec.io/managed-by": "Score", "humanitec.io/workload-artefact-name": "my-sample-app/my-sample-workload", "humanitec.io/workload-source": "https://github.com/mathieu-benoit/sail-sharp/blob/score-compose-init-generate/score/score.yaml" }, "containers": { "my-sample-container": { "env": [ { "name": "POD_NAME", "value": "${pod.metadata.name}" }, { "name": "NAMESPACE_NAME", "value": "${pod.metadata.namespace}" } ], "id": "my-sample-container", "image": "us-east4-docker.pkg.dev/mathieu-benoit-gcp/containers/my-sample-app@sha256:406d04f7f94e11ce1b03dc6d273e90334c25d3a55a5ff2981b4edf9f3bd41ed0", "resources": { "limits": { "cpu": "250m", "memory": "256Mi" }, "requests": { "cpu": "25m", "memory": "64Mi" } }, "variables": { "MESSAGE": "Hello, World!" } } }, "service": { "ports": { "tcp": { "container_port": 8080, "protocol": "TCP", "service_port": 8080 } } } } } }, "remove": [], "update": null }, "shared": null } ```