[agw-cuj-arun-egress-vpc] - missing IAM grants for Agent Gateway service agent
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 72/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- google-cloud
- Lĩnh vực
- cloud, documentation
Hướng nghiên cứu
Mở codelab về egress của Agent Gateway được liên kết và xem lại bước 4, bước 5 cùng lô API ở phần 1. Xác nhận các quyền IAM được báo cáo thuộc về cuối bước 4 và xóa iamconnectors.googleapis.com khỏi lô. Hoàn tất khi codelab có các quyền đó trước bước nhập gateway và có thể bật các API còn lại mà không cần dịch vụ không khả dụng này.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Codelab: Agent Gateway egress from Agent Runtime to VPC network
Thanks for this awesome lab!
Context: fresh project, first time using Agent Gateway, Agent Registry and Agent Runtime. None of these APIs or roles had been enabled or granted before the codelab. Once granted, the roles persist (step 14 does not remove them), so a second run in the same project does not show these errors.
5. Gateway - import fails
gcloud network-services agent-gateways import fails with Config validation failed. The Agent Gateway service agent cannot read the VPC network, the PSC network attachment or the Cloud DNS zones. Single project, steps run as written.
does not have permission to read target network ... grant it roles/compute.networkViewer
does not have permission to read network attachment ... (compute.networkAttachments.get)
does not have permission to list Cloud DNS managed zones ... grant roles/dns.reader in the project
Fix: add to the end of step 4, so IAM propagates before step 5.
# grant compute network viewer to agent gateway service agent
gcloud projects add-iam-policy-binding ${PROJ_ID} \
--member="serviceAccount:service-${PROJ_NO}@gcp-sa-agentgateway.iam.gserviceaccount.com" \
--role="roles/compute.networkViewer" \
--condition=None
# grant dns reader to agent gateway service agent
gcloud projects add-iam-policy-binding ${PROJ_ID} \
--member="serviceAccount:service-${PROJ_NO}@gcp-sa-agentgateway.iam.gserviceaccount.com" \
--role="roles/dns.reader" \
--condition=None
3. Setup - API batch fails
iamconnectors.googleapis.com is not available to projects outside its allowlist. With it included, the whole part 1 batch fails and the other APIs in it (agentregistry, aiplatform, networkservices and others) are not enabled.
Service iamconnectors.googleapis.com is not available to this consumer.
Fix: remove iamconnectors.googleapis.com from part 1 and re-run. The rest of part 1 then enables. No later step uses it.
- Ngôn ngữ chính
- Không có dữ liệu ngôn ngữ
- Star
- 32
- Fork
- 65
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của googlecodelabs/feedback
-
[graph-rag-spanner-omni] Fix missing Property Graph DDL, undefined variable in Step 4, and stray Ollama DockerfileCó thể đã có người làm @AbiramiSukumaran đã nhận 12 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
googlecodelabs/feedback#2389 · 1 người được giao ·
-
Antigravity-cli-hands-on]Có thể làm lại được @rominirani đã nhận 36 ngày trước và không có pull request nào đang mở. Đang mở
Độ khó 2/5 Dưới một giờ Mức phù hợp với người mới 75/100
googlecodelabs/feedback#2364 · 1 người được giao ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
googlecodelabs/feedback#2243 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
googlecodelabs/feedback#2237 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
googlecodelabs/feedback#2225 ·
Tất cả issue của googlecodelabs/feedback
Issue tương tự
-
CI
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 73/100
earth-mover/icechunk#2560 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
floci-io/floci#8666 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
gke-labs/kube-agents#6094 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
apache/cloudstack#14715 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 79/100
aws/aws-emulator#479 ·