google-cloud-filestore-log-troubleshooting
Fungsinya
Skill ini mendiagnosis masalah mount Filestore. Skill ini ditujukan untuk insinyur yang aplikasinya tidak dapat me-mount share file, atau mount-nya timeout maupun ditolak.
Kapan dipakai
- âSaat mount NFS macet atau gagal dari VM, pod GKE, layanan Cloud Run, atau beban kerja Vertex AI.
- âSaat mount.nfs melaporkan Connection timed out atau access denied by server.
- âSaat Anda perlu memeriksa apakah aturan firewall VPC atau opsi ekspor memblokir mount.
Link skill
https://github.com/google/skills/blob/main/skills/cloud/google-cloud-filestore-log-troubleshooting/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
âVM saya tidak bisa me-mount share Filestore dan menyebutkan koneksi timed out. Cari tahu mengapa.â
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Skill ini memeriksa akses ekspor instance, aturan firewall VPC, dan log audit atau CSI, lalu menunjuk lapisan yang gagal. Skill ini memberikan langkah perbaikan, seperti memperbarui aturan ekspor atau aturan firewall.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
Filestore Log-Based Troubleshooting
Diagnoses, troubleshoots, and remediates Filestore client mount failures, permission errors (EACCES), and network timeouts (ETIMEDOUT) across projects.
Prerequisites & Quick Start
Required IAM roles on target project(s) (and Shared VPC host project if applicable):
- Read:
roles/file.viewer(instance & export ACLs),roles/compute.networkViewer(VPC firewall rules),roles/logging.viewer(Cloud Audit & GKE CSI logs),roles/mcp.toolUser(if using MCP tools). - Write (Remediation only):
roles/file.editor(export ACL updates),roles/compute.securityAdmin(firewall rule creation).
Authenticate, verify billing/APIs, and configure your environment:
gcloud auth login && gcloud auth application-default login
gcloud billing projects describe {project_id} --format="value(billingEnabled)"
gcloud services enable file.googleapis.com compute.googleapis.com logging.googleapis.com --quiet
gcloud config set project {project_id} && gcloud config set compute/region {region}
Attribution
Prefix every gcloud command provided or executed with the skill metrics environment:
CLOUDSDK_METRICS_ENVIRONMENT="gcs-skills gcs-skills/1.0 (skill:google-cloud-filestore-log-troubleshooting)" \
gcloud filestore instances describe ...
On direct REST API calls, append HTTP header: User-Agent: gcs-skills/1.0 (skill:google-cloud-filestore-log-troubleshooting).
Conceptual & Informational Queries (CRITICAL)
For purely conceptual, architectural, or educational questions (e.g., "What causes EACCES on Filestore?", "Why does GKE Node IP appear instead of Pod IP?", "What ports does Filestore require?", "Explain root squash"):
- Rule: Answer immediately using pre-trained knowledge and the workflow rules below. Answering directly minimizes tool latency and token usage when the user only seeks architectural guidance.
- Constraint: Do not execute external tool calls or API requests for basic knowledge questions.
Handling "No-Command" Constraints (CRITICAL)
If the user prompt contains constraints like "Do not execute commands", "without executing", or "read-only":
- Rule: Strictly avoid calling
run_commandto execute any shell, Python, orgcloudcommands. - Discovery:
- First, check if Filestore MCP tools (
get_instance,list_instances) are available and use them (API calls, not command executions). - If MCP tools are unavailable, read
references/mock-fleet-data.mdonly if the requested instance matches one of the evaluation scenarios (finance-share,shared-nfs,ml-data,data-hub,prod-share). Never report mock data as live production state. If the instance is not listed there, state that live access is required and provide the exact commands for the user to run. - Fast-Path Stop Rule: Once you locate the target instance in
references/mock-fleet-data.md, stop reading additional files immediately and formulate your response. Do NOT readscripts/quick_diagnose.py,scripts/diagnose_lib.py,_internal/quick_diagnose_test.py, orEVAL.*files when command execution is disabled, as inspecting code/test files wastes turns and triggers timeouts. - Explain the required diagnostic steps and output the exact attributed commands for manual execution.
- First, check if Filestore MCP tools (
- Mandatory User Confirmation Requirement: Even when command execution is disabled or the user asks only for recommendations, your response MUST STILL end with a clear question prompting the user for explicit confirmation before applying any remediation (e.g., "Would you like me to proceed with creating the VPC ingress firewall rule
[rule_name]? Please confirm to proceed.").
Multi-Runtime Execution Options
Option 1: Bundled Python CLI Script (Recommended for CLI / Terminal Agents)
# Single instance diagnosis
python3 scripts/quick_diagnose.py --instance="<INSTANCE_ID>" --location="<LOCATION_OR_ZONE>" \
[--project="<PROJECT_ID>"] [--client-ip="<CLIENT_IP>"] [--client-subnet="<CLIENT_SUBNET_CIDR>"]
# Bulk project-wide fleet diagnosis
python3 scripts/quick_diagnose.py --all --project="<PROJECT_ID>" [--json]
| Flag | Purpose |
|---|---|
--instance, --location |
Filestore instance ID and region/zone (--zone is a legacy alias). Required unless --all. |
--project |
GCP project ID (defaults to active gcloud project). |
| `--cli |
Pertanyaan umum
Error apa saja yang dicakupnya?
Error izin seperti EACCES dan error jaringan seperti ETIMEDOUT.
Apakah perlu peran khusus?
Peran viewer untuk Filestore, jaringan, dan log, serta peran editor hanya untuk perbaikan.
Apakah mencakup Shared VPC?
Ya. Jika proyek host Shared VPC terlibat, skill ini juga memeriksa proyek tersebut.
Detail
Deskripsi asli dari pembuat
Diagnoses and resolves Filestore client mount failures on Google Cloud, permission errors (EACCES), and network timeouts (ETIMEDOUT). Use when an NFS mount hangs or fails from a Compute Engine VM, GKE pod, Cloud Run service, or Vertex AI workload, when `mount.nfs` reports "Connection timed out" or "access denied by server", when checking whether VPC ingress firewall rules or `nfsExportOptions` allow a client IP, or when a previously working Filestore share suddenly stops mounting after an administrative change. Don't use for Cloud Storage (GCS) buckets, Persistent Disk, or Cloud NetApp Volumes
repo: google/skills
Popularitas
- Bintang GitHub
- 22k
- Peringkat
- #10309
- Lisensi
- Apache-2.0
- Diperbarui
- 2/11/2026
Komentar
- âŠ
Skill lain dari repositori ini
finding-google-skills
22kMembantu agent Anda menemukan panduan Google yang tepat untuk tugas pengaturan, seperti hosting, database, penyimpanan, login, atau penyajian model AI.
gcloud
22kMembantu agent Anda menulis dan memeriksa perintah gcloud Google Cloud, dengan mencari sintaks yang tepat sebelum menjalankan apa pun agar tidak menebak flag.
google-cloud-recipe-auth
22kMemandu agent Anda melalui identitas dan akses Google Cloud, termasuk cara orang dan layanan masuk serta izin apa yang mereka dapatkan.
google-cloud-recipe-onboarding
22kMemandu pengembang baru melalui langkah pertama di Google Cloud, termasuk memilih proyek, menautkan penagihan, dan men-deploy sumber daya pertama.
Skill serupa
openclaw-update
394kMembantu agent Anda memperbarui OpenClaw Gateway yang sudah ada, dengan memilih metode pembaruan yang sesuai cara pemasangannya dan menjaga sesi Anda tetap berjalan.
diagnose-gateway
394kMembantu agent Anda mencari tahu mengapa OpenClaw Gateway gagal dengan memeriksa pengaturan, channel, dan port tanpa mengubah apa pun.
crabbox-apps
394kMembantu agent Anda membuka dan menjalankan aplikasi di mesin cloud sementara, lalu menampilkan tampilannya di panel samping chat Anda.