Agent Diagnostic
The OpenShell gateway (0.0.70) hardcodes agents.x-k8s.io/v1alpha1 when validating sandbox pod ownerReferences during the IssueSandboxToken bootstrap exchange. Agent-sandbox v0.5.0 graduated the CRD to v1beta1, so the controller now sets apiVersion: agents.x-k8s.io/v1beta1 on pod ownerReferences. The gateway's check fails with PERMISSION_DENIED, which the supervisor surfaces as Policy fetch failed: IssueSandboxToken bootstrap exchange failed.
Description
WORKAROUND: Pin agent-sandbox to v0.4.6 (last v1alpha1-only release). Requires deleting the existing CRD and agent-sandbox-system namespace before reinstalling — in-place downgrade is blocked by K8s storage version migration rules.
I wasn't sure if the intention is to move OpenShell to v1beta1 or pin the sandbox, otherwise I would have suggested a further solution.
Reproduction Steps
- Upgraded my in cluster OpenShell to 0.0.7 (helm chart)
- Tried to create a Sandbox
Seemed like this was affecting when I backed out the openshell version, because the sandbox is not pinned in the chart.
Environment
Logs
IssueSandboxToken bootstrap exchange
Agent-First Checklist
Agent Diagnostic
The OpenShell gateway (0.0.70) hardcodes agents.x-k8s.io/v1alpha1 when validating sandbox pod ownerReferences during the IssueSandboxToken bootstrap exchange. Agent-sandbox v0.5.0 graduated the CRD to v1beta1, so the controller now sets apiVersion: agents.x-k8s.io/v1beta1 on pod ownerReferences. The gateway's check fails with PERMISSION_DENIED, which the supervisor surfaces as Policy fetch failed: IssueSandboxToken bootstrap exchange failed.
Description
WORKAROUND: Pin agent-sandbox to v0.4.6 (last v1alpha1-only release). Requires deleting the existing CRD and agent-sandbox-system namespace before reinstalling — in-place downgrade is blocked by K8s storage version migration rules.
I wasn't sure if the intention is to move OpenShell to v1beta1 or pin the sandbox, otherwise I would have suggested a further solution.
Reproduction Steps
Seemed like this was affecting when I backed out the openshell version, because the sandbox is not pinned in the chart.
Environment
Logs
Agent-First Checklist
debug-openshell-cluster,debug-inference,openshell-cli)