/auplc:troubleshoot-aup-learning-cloudfrom auplc
Diagnoses broken AUP Learning Cloud deployments: PXE/netboot failures, agent nodes not joining, GPU notebooks stuck Pending, storage provisioning failures, and login issues. Use when something is broken.
Ships in auplc. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Find the root cause of a failing deployment from runtime evidence, name it, and point at the fix — without thrashing. Gather state first, match the symptom to a known cause, change one thing, re-check. The full symptom → cause → checks matrices live in reference.md.
kubectl, the right KUBECONFIG) and/or the service
machine (for PXE/host issues).aup-learning-cloud for config cross-checks.$DEPLOY_SCRIPTS/detect_cluster.sh is a fast way to snapshot
nodes, GPU labels, storage classes, and the device plugin/labeller state.From any checkout directory, define
REPO_ROOT="$(git rev-parse --show-toplevel)" and
DEPLOY_SCRIPTS="$REPO_ROOT/skills/deploy-aup-learning-cloud/scripts". For an
installed plugin, define DEPLOY_SKILL_DIR as the absolute directory containing
the loaded deploy skill's SKILL.md, then set
DEPLOY_SCRIPTS="$DEPLOY_SKILL_DIR/scripts".
Scope it. Which layer is failing — netboot, node join, GPU scheduling, storage, or auth? One layer at a time.
Gather evidence before acting.
kubectl get nodes -o wide
kubectl get pods -A | grep -Ev 'Running|Completed'
kubectl describe pod -n jupyterhub <pod> # Events explain Pending/ImagePull
"$DEPLOY_SCRIPTS/detect_cluster.sh" # from the deploy skill
Match to a cause using the reference.md matrices.
Change one thing, then re-check the same evidence. Do not stack speculative changes. After ~4 failed attempts with no new evidence, stop and report what you observed and the most likely next step.
Hand off the fix to the right skill (below) rather than improvising.
| Failing layer | Fix with |
|---|---|
| PXE rootfs vars / rebuild, agent netboot, NFS rootfs, k3s token publish | deploy-aup-learning-cloud |
Single-node install / GPU detect / localhost:30890 | install-aup-learning-cloud-single-node |
nodeSelector ↔ GPU label, course/team/quota | configure-aup-learning-cloud-courses |
| Authentication providers, GitHub callback, native login | configure-aup-learning-cloud-auth |
Image tag / ImagePullBackOff from a missing build | build-aup-learning-cloud-images |
| Version mismatch after a bump, chart rollback | upgrade-aup-learning-cloud |
systemctl status dnsmasq nfs-kernel-server apache2,
journalctl -u dnsmasq, firmware boot order + Secure Boot, TFTP files in
/srv/tftp.systemctl status k3s-agent, journalctl -u k3s-agent,
hostname/api_endpoint/token, curl http://<SERVICE_IP>:8080/k3s/token.kubectl get ds -A | grep amd,
kubectl describe node <n> | grep amd.com/gpu, then compare to
custom.accelerators.*.nodeSelector.kubectl get pvc -A, provisioner logs, showmount -e <NFS>,
/etc/exports.kubectl logs -n jupyterhub deploy/hub), custom.auth
provider flags, and the GitHub OAuth callback URL. Check resource visibility
separately through custom.teams.mapping and the user's fallback group.Evidence-first and read-only by default. Stop and get explicit confirmation before any state change, especially:
kubectl delete node <name> (clears a stale node object — debugging only).helm uninstall, helm rollback, or recreating any PVC (data loss).pb-k3s-reset.yml (whole cluster or --limit <node>).pxe_rootfs_force_rebuild).Never commit changes or write secrets (k3s token, OAuth secrets, SSH keys) into tracked files while debugging.
Full symptom → cause → first-checks matrices for netboot, node join, GPU, storage, auth, and kubeconfig, plus the reset/escape hatches: reference.md.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
13 skills in this plugin
/build-aup-learning-cloud-imagesGroup: Plan & deploy AUP Learning Cloud. Builds and publishes the AUP Learning Cloud Docker images — the Hub image and the CPU/GPU notebook and course images — with ./auplc-installer img build. Use when the user wants to build, rebuild, tag, or push AUPLC images, mentions img build / img pull, the dockerfiles/ directory, auplc-hub / auplc-base / auplc-default / auplc-cv / auplc-dl / auplc-llm / auplc-physim / code-cpu / code-gpu, a gfx-specific image tag, the GHCR registry, code-server VS Code extensions, or preparing images for an offline/registry deployment. Covers GPU-target tagging and pushing to a registry. Do not use to install or deploy a cluster (install-/deploy-aup-learning-cloud) or to edit the course catalog in values.yaml (configure-aup-learning-cloud-courses)./configure-aup-learning-cloud-authGroup: Maintain AUP Learning Cloud. Configures authentication for AUP Learning Cloud with custom.auth provider flags for auto-login, dummy, native, GitHub, or native plus GitHub. Covers GitHub App OAuth and team sync, native accounts, password policy, forced first-login change, and custom.adminUser bootstrap. Use for custom.auth, GitHubOAuthenticator, custom.githubOrgName, oauth_callback_url, allowed_organizations, jupyterhub-admin-credentials, login 404s, OAuth callback errors, or "Resource not accessible by integration". Do not use for resource-to-group mapping (configure-aup-learning-cloud-courses), bulk users (manage-aup-learning-cloud-users), or private-repo cloning (configure-aup-learning-cloud-repos)./configure-aup-learning-cloud-coursesGroup: Course & other editor. Edits the AUP Learning Cloud course catalog and access control in the JupyterHub values.yaml: course images, resource requirements, spawn-UI metadata, group ordering, GPU accelerator selectors, team-to-course mappings, and the quota knobs. Use when the user wants to add/remove a course or notebook environment, show/hide an option in the spawn picker, map a GitHub team or group to courses, set per-course CPU/memory/amd.com/gpu requirements, add or retune an accelerator (custom.accelerators), or configure quota (cpuRate, quotaRate, minimumToStart, refresh rules). Triggers include values.yaml, custom.resources.images, custom.teams.mapping, custom.accelerators, custom.quota, acceleratorKeys, launchMode. Do not use to build the images themselves (build-aup-learning-cloud-images) or to install a cluster (install-/deploy-aup-learning-cloud)./configure-aup-learning-cloud-reposGroup: Course & other editor. Configures per-user Git repository cloning: the custom.gitClone block (githubAppName repo picker, defaultAccessToken for private repos, allowedProviders, maxCloneTimeout, defaultPersistence, allowPersistenceChoice) and the per-resource metadata.allowGitClone gate that clones a repo into a user's workspace at spawn time. Use when the user wants to let learners clone a Git repo on startup, enable the spawn-form repo URL/branch field or GitHub repo picker, give access to a private repo (bot PAT or GitHub App token), choose whether cloned repos persist, allow GitLab/Bitbucket, or debug "Repository URL ignored" or a failed clone init container. Triggers include custom.gitClone, allowGitClone, githubAppName, defaultAccessToken, allowedProviders, init-clone-repo. Do not use to set up GitHub login itself (configure-aup-learning-cloud-auth), to publish a course to the catalog (configure-/develop-aup-learning-cloud-courses), or to build images (build-aup-learning-cloud-images)./deploy-aup-learning-cloudGroup: Plan and deploy AUP Learning Cloud. Use when the user wants to install the multi-node JupyterHub-on-k3s platform on physical hardware through either PXE-diskless or SSH-preinstalled nodes. Do not use for the single-node ./auplc-installer flow, notebook image builds, or unrelated JupyterHub and k3s installations./develop-aup-learning-cloud-coursesGroup: Course & other editor. Authors a new learning toolkit for AUP Learning Cloud end to end: write the course notebooks under projects/<NAME>/, package them into a course Docker image (dockerfiles/Courses/<NAME>/ + a Makefile target on the ROCm GPU base), register the course in auplc_installer/catalog.py (COURSE_CATALOG + team mapping), then hand off to build + values wiring. Use when an educator wants to add a new course or lab set, create a toolkit like CV/DL/LLM/PhySim, turn a notebook folder into a spawnable course, add a Dockerfile/build.sh for a course, or add a course key to the catalog. Triggers include projects/CV, projects/DL, projects/LLM, projects/PhySim, dockerfiles/Courses, COURSE_CATALOG, "add a course", "new toolkit". Do not use to only build an existing image (build-aup-learning-cloud-images), to only edit the values catalog for an existing image (configure-aup-learning-cloud-courses), or to clone a user's repo at runtime (configure-aup-learning-cloud-repos).npx claudepluginhub amdresearch/aup-learning-cloud --plugin auplcOther plugins' skills for the same job