Project

General

Profile

Actions

Bug #12932

closed

Update to 1.8.4 Bonded server cannot be modified

Added by Matheus Gomes over 8 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
High
Assignee:
-
Category:
Network
Target version:
-
Difficulty:
medium
Triaged:
Fixed in Releases:
Found in Releases:

Description

Upgraded to 1.8.4, now i cannot edit hosts at all as i'm getting network error's, i've read comments and tried "ignore_puppet_facts_for_provisioning=true" or false has no impact on issue.
Duplicate interfaces 'eth1' are being created when editing host with a MAC that is not part of the server physical or virtual MAC's

Really need a fix as this has a huge impact on our environment and it seem's 1.9.x is also having same issue so a upgrade wouldn't make a difference as far as i know? unless proven otherwise

Please Help.

Upon a server is build the fallowing is part of our kickstart template which creates the Bonding for the host.

  • 'network --device=bond0 --noipv6 --bootproto=static --onboot=yes --hostname=<%= @host > --ip=<= @host.ip > --net=<= @host.subnet > --gateway=<= @host.subnet.gateway > --nameserver=<= @host.subnet.dns_primary %> --bondslaves=eth0,eth1 --bondopts=mode=802.3ad,xmit_hash_policy=layer3+4'

I've to add a new manifest for deployment and we have over 210 hosts on Foreman.

I've tried almost all combinations possible, deleting all eth's, all but one eth, all but bond, populated with/out IP and Name... really frustrated at this point.

Errors:
  • Some of the interfaces are invalid. Please check the table below.
  • undefined method `changed?' for nil:NilClass.
  • ActionController::RoutingError
    No route matches {:action=>"toggle_manage", :controller=>"hosts", :id=>#<Host::Managed id: 56, name: "", last_compile: "2015-12-23 19:14:57", last_freshcheck: nil, last_report: "2015-12-23 19:14:53", updated_at: "2015-12-23 19:16:01", source_file_id: nil, created_at: "2013-08-19 18:23:44", root_pass: ":)", serial: nil, puppet_status: 18253611008, architecture_id: 1, operatingsystem_id: 3, environment_id: 1, ptable_id: 1, medium_id: 6, build: false, comment: "", disk: "", installed_at: "2013-08-20 22:01:24", model_id: 7, hostgroup_id: 16, owner_id: 2, owner_type: "User", enabled: true, puppet_ca_proxy_id: 1, managed: true, use_image: nil, image_file: nil, uuid: nil, compute_resource_id: nil, puppet_proxy_id: 1, certname: "data2.:).corp", image_id: nil, organization_id: nil, location_id: nil, type: "Host::Managed", compute_profile_id: nil, otp: nil, realm_id: nil, provision_method: "build", grub_pass: ":)", discovery_rule_id: nil>}
    app/helpers/application_helper.rb:28:in `link_to'
    app/helpers/application_helper.rb:163:in `display_link_if_authorized'
    app/views/hosts/edit.html.erb:3:in `_app_views_hosts_edit_html_erb___1766323441748080518_70295838907360'
    app/controllers/application_controller.rb:269:in `process_error'
    app/controllers/hosts_controller.rb:106:in `block in update'
    app/models/taxonomy.rb:54:in `block in no_taxonomy_scope'
    app/models/taxonomy.rb:61:in `block (2 levels) in as_taxonomy'
    app/models/concerns/foreman/thread_session.rb:147:in `as_location'
    app/models/taxonomy.rb:60:in `block in as_taxonomy'
    app/models/concerns/foreman/thread_session.rb:112:in `as_org'
    app/models/taxonomy.rb:59:in `as_taxonomy'
    app/models/taxonomy.rb:53:in `no_taxonomy_scope'
    app/controllers/hosts_controller.rb:99:in `update'
    app/controllers/concerns/application_shared.rb:13:in `set_timezone'
    app/models/concerns/foreman/thread_session.rb:32:in `clear_thread'
    lib/middleware/catch_json_parse_errors.rb:9:in `call'

Any question please feel free to ask, i'll watch this ticket like a Hawk/Owl hybrid.


Files

Foremanissue1.PNG View Foremanissue1.PNG 9.76 KB Snip Matheus Gomes, 12/23/2015 03:44 PM

Related issues 1 (0 open1 closed)

Related to Foreman - Bug #9531: Removing host name from Host#edit throws routing errorClosedTomer Brisker02/24/2015Actions
Actions

Also available in: Atom PDF