Project

General

Profile

Actions

Bug #9186

closed

Multinic migration db skiped for unmanaged hosts

Added by Romain Vrignaud about 9 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Facts
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

It seems that multinic migration db is not done for unmanaged hosts.
We have errors during chef facts import like :

RuntimeError: Host::Base#domain= delegated to primary_interface.domain=, but primary_interface is nil: #<Host::Managed id: 110, name: "xxx", last_compile: "2015-02-01 20:02:26", last_freshcheck: nil, last_report: "2015-02-01 19:53:35", updated_at: "2015-02-01 20:02:32", source_file_id: nil, created_at: "2014-11-26 00:24:43", root_pass: "$6$xxx", serial: nil, puppet_status: 0, architecture_id: nil, operatingsystem_id: 1, environment_id: 6, ptable_id: nil, medium_id: nil, build: false, comment: nil, disk: nil, installed_at: nil, model_id: nil, hostgroup_id: nil, owner_id: nil, owner_type: nil, enabled: true, puppet_ca_proxy_id: nil, managed: false, use_image: nil, image_file: nil, uuid: nil, compute_resource_id: nil, puppet_proxy_id: nil, certname: nil, image_id: nil, organization_id: nil, location_id: nil, type: "Host::Managed", otp: nil, realm_id: nil, compute_profile_id: nil, provision_method: nil, grub_pass: "$6$xxx", chef_proxy_id: nil>

Related issues 1 (1 open0 closed)

Related to Foreman - Tracker #2409: NetworkingNew

Actions
Actions #1

Updated by Romain Vrignaud about 9 years ago

Actions #2

Updated by Marek Hulán about 9 years ago

  • Category set to Facts
  • translation missing: en.field_release set to 28

we should probably fix the importer rather than change the migration

Actions #3

Updated by Marek Hulán about 9 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Marek Hulán
  • Pull request https://github.com/theforeman/foreman/pull/2139 added
  • Pull request deleted ()

This issue would be "fixed" for you by #9104 but proper fix is in linked PR. It would start failing again when foreman_chef would support interface parsing.

Actions #4

Updated by Marek Hulán about 9 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF