google-cloud-filestore-log-troubleshooting
하는 일
이 스킬은 Filestore 마운트 문제를 진단합니다. 파일 공유를 마운트하지 못하거나, 마운트가 시간 초과되거나 거부되는 엔지니어를 위한 스킬입니다.
사용하는 경우
- ✓VM, GKE 파드, Cloud Run 서비스 또는 Vertex AI 워크로드에서 NFS 마운트가 멈추거나 실패할 때.
- ✓mount.nfs가 Connection timed out 또는 access denied by server를 보고할 때.
- ✓VPC 방화벽 규칙이나 내보내기 옵션이 마운트를 막는지 확인해야 할 때.
스킬 링크
https://github.com/google/skills/blob/main/skills/cloud/google-cloud-filestore-log-troubleshooting/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“VM이 Filestore 공유를 마운트하지 못하고 연결 시간이 초과되었다고 나옵니다. 이유를 찾아 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
인스턴스의 내보내기 접근, VPC 방화벽 규칙, 감사 또는 CSI 로그를 확인한 다음, 실패하는 계층을 짚어냅니다. 내보내기 규칙이나 방화벽 규칙 업데이트 같은 해결 단계를 제공합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 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 |
자주 묻는 질문
어떤 오류를 다루나요?
EACCES 같은 권한 오류와 ETIMEDOUT 같은 네트워크 시간 초과를 다룹니다.
특별한 역할이 필요한가요?
Filestore, 네트워킹, 로그에 대한 뷰어 역할이 필요하며, 해결 작업에만 편집자 역할이 필요합니다.
Shared VPC도 다루나요?
네. Shared VPC 호스트 프로젝트가 관련되어 있으면 그 프로젝트도 확인합니다.
상세 정보
작성자의 원본 설명
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
인기도
- GitHub 스타
- 22k
- 순위
- #10309
- 라이선스
- Apache-2.0
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
finding-google-skills
22k에이전트가 호스팅, 데이터베이스, 저장소, 로그인, AI 모델 제공처럼 설정 작업에 맞는 Google 가이드를 찾도록 돕습니다.
gcloud
22k에이전트가 Google Cloud gcloud 명령을 작성하고 확인하도록 돕습니다. 플래그를 추측하지 않도록 무엇이든 실행하기 전에 정확한 문법을 확인합니다.
google-cloud-recipe-auth
22k에이전트가 Google Cloud의 신원과 접근 권한을 안내합니다. 사람과 서비스가 어떻게 로그인하고 어떤 권한을 받는지 포함합니다.
google-cloud-recipe-onboarding
22k새 개발자가 Google Cloud에서 프로젝트 선택, 결제 연결, 첫 리소스 배포 같은 첫 단계를 밟도록 안내합니다.
비슷한 스킬
openclaw-update
394k에이전트가 설치 방식에 맞는 방법을 골라 기존 OpenClaw Gateway를 업데이트하고, 세션이 계속 작동하도록 돕습니다.
diagnose-gateway
394k에이전트가 설정, 채널, 포트를 확인해 OpenClaw Gateway가 왜 실패하는지 찾되, 아무것도 바꾸지 않도록 돕습니다.
crabbox-apps
394k에이전트가 임시 클라우드 머신에서 앱을 열고 실행한 뒤, 그 화면을 채팅의 측면 패널에 보여 주도록 돕습니다.