CanineHQ/canine · error · StandardError
No stack manager found
Error message
No stack manager found
What it means
Error "No stack manager found" thrown in CanineHQ/canine.
Source
Thrown at app/services/k8/connection.rb:28
klass = clusterable.class.name
if klass == "Cluster"
clusterable
elsif klass == "Project"
clusterable.cluster
elsif klass == "AddOn"
clusterable.cluster
else
raise "`clusterable` is not a Cluster, Project, or AddOn"
end
end
def kubeconfig
config = if cluster.in_cluster?
build_in_cluster_kubeconfig
elsif cluster.kubeconfig.present?
cluster.kubeconfig
else
raise StandardError.new("No stack manager found") if stack_manager.blank?
stack = stack_manager.stack.connect(user, allow_anonymous:)
stack.fetch_kubeconfig(cluster)
end
if Rails.configuration.remap_localhost.present?
remap_host = Rails.configuration.remap_localhost
config.dup.tap do |remapped|
remapped['clusters']&.each do |c|
c['cluster']['server'] = K8::Kubeconfig.remap_localhost(c['cluster']['server'], remap_host)
end
end
else
config
end
end
def stack_manager
cluster.account.stack_managerView on GitHub (pinned to ba4ee3968d)
When it happens
Trigger: Thrown at app/services/k8/connection.rb:28 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of CanineHQ/canine@ba4ee3968d (2026-08-23).
Data as JSON: /api/errors/e0575328ac7d8848.
Report an issue: GitHub.