theforeman/foreman · error · Foreman::Exception
%s is an unknown attribute
Error message
%s is an unknown attribute
What it means
Error "%s is an unknown attribute" thrown in theforeman/foreman.
Source
Thrown at app/models/compute_attribute.rb:28
serialize :vm_attrs, Hash
before_save :update_name
delegate :provider_friendly_name, :to => :compute_resource
scoped_search :on => [:name], :complete_value => true
scoped_search :on => :id, :complete_enabled => false, :only_explicit => true, :validator => ScopedSearch::Validators::INTEGER
scoped_search :relation => :compute_resource, :on => :name, :rename => :compute_resource, :complete_value => true
scoped_search :relation => :compute_profile, :on => :name, :rename => :compute_profile, :complete_value => true
def method_missing(method, *args, &block)
method = method.to_s
return super if method[-1] == "="
return super if method == 'vm_attrs'
if vm_attrs.has_key?(method)
vm_attrs[method]
else
raise Foreman::Exception.new(N_('%s is an unknown attribute'), method)
end
end
def respond_to_missing?(method, include_private = false)
vm_attrs.has_key?(method.to_s) || super
end
def normalized_vm_attrs
compute_resource.normalize_vm_attrs(vm_attrs)
end
def normalized_new_vm_attrs(new_vm_attrs)
compute_resource.normalize_vm_attrs(new_vm_attrs)
end
def vm_interfaces
attribute_values(compute_resource.interfaces_attrs_name)
endView on GitHub (pinned to 6b05625475)
When it happens
Trigger: Thrown at app/models/compute_attribute.rb:28 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of theforeman/foreman@6b05625475 (2026-08-23).
Data as JSON: /api/errors/782ad72aac6b4e9d.
Report an issue: GitHub.