Actions
Bug #9607
closeddiscovery search fails on ip address
Difficulty:
Triaged:
Description
2015-03-02 14:43:28 [I] Started GET "/discovered_hosts/auto_complete_search?search=++facts" for 10.35.4.108 at 2015-03-02 14:43:28 +0000 2015-03-02 14:43:28 [I] Processing by DiscoveredHostsController#auto_complete_search as JSON 2015-03-02 14:43:28 [I] Parameters: {"search"=>" facts"} 2015-03-02 14:43:28 [W] Operation FAILED: Host::Discovered(id: integer, name: string, last_compile: datetime, last_freshcheck: datetime, last_report: datetime, updated_at: datetime, source_file_id: integer, created_at: datetime, root_pass: string, serial: string, puppet_status: integer, architecture_id: integer, operatingsystem_id: integer, environment_id: integer, ptable_id: integer, medium_id: integer, build: boolean, comment: text, disk: text, installed_at: datetime, model_id: integer, hostgroup_id: integer, owner_id: integer, owner_type: string, enabled: boolean, puppet_ca_proxy_id: integer, managed: boolean, use_image: boolean, image_file: text, puppet_proxy_id: integer, uuid: string, compute_resource_id: integer, certname: string, image_id: integer, organization_id: integer, location_id: integer, type: string, compute_profile_id: integer, provision_method: string, otp: string, realm_id: integer, grub_pass: string, discovery_rule_id: integer) doesn't have column :ip. 2015-03-02 14:43:28 [I] Rendered common/500.html.erb (3.9ms) 2015-03-02 14:43:28 [I] Completed 500 Internal Server Error in 19.2ms (Views: 4.7ms | ActiveRecord: 1.4ms)
Updated by Dominic Cleal almost 10 years ago
- Target version set to Discovery Plugin 3.0.0
- Translation missing: en.field_release deleted (
28)
Updated by Ori Rabin almost 10 years ago
This also happens with mac.
Just picking ip/mac to search before even adding a value the log shows:
ActiveRecord::UnknownAttributeError (Host::Discovered(id: integer, name: string, last_compile: datetime, last_freshcheck: datetime, last_report: datetime, updated_at: datetime, source_file_id: integer, created_at: datetime, root_pass: string, serial: string, puppet_status: integer, architecture_id: integer, operatingsystem_id: integer, environment_id: integer, ptable_id: integer, medium_id: integer, build: boolean, comment: text, disk: text, installed_at: datetime, model_id: integer, hostgroup_id: integer, owner_id: integer, owner_type: string, enabled: boolean, puppet_ca_proxy_id: integer, managed: boolean, use_image: boolean, image_file: string, uuid: string, compute_resource_id: integer, puppet_proxy_id: integer, certname: string, image_id: integer, organization_id: integer, location_id: integer, type: string, otp: string, realm_id: integer, compute_profile_id: integer, provision_method: string, grub_pass: string, discovery_rule_id: integer) doesn't have column :ip.)
Updated by Lukas Zapletal almost 10 years ago
- Category set to Discovery plugin
- Priority changed from Normal to Low
- Target version deleted (
Discovery Plugin 3.0.0)
Updated by The Foreman Bot almost 10 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman_discovery/pull/178 added
- Pull request deleted (
)
Updated by Lukas Zapletal over 9 years ago
- Related to Bug #10445: Searching for hosts in discovery view throws postgres error added
Updated by Anonymous over 9 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset foreman_discovery|f64719b2e87f4c2c0c913e765b3019f9d48b7470.
Actions