Project

General

Profile

Actions

Bug #17203

closed

hostgroups and salt breaks vmware integration

Added by Dinges XXX over 7 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
High
Assignee:
-
Category:
Foreman Integration
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Foreman version: 1.13.0
Salt plugin: 7.0.0

If I do the steps:
Hosts -> New Host -> Hostgroup: "some_hostgroup"
then the option "deploy to" gets greyed out, so i can't select my Virtual Center.

If I do the steps:
Hosts -> New Host -> Deploy to: "my virtual center"
Hostgroup: "some hostgroup"
then I get the notification that i MUST specify a mac-address. While this should not be given.

easy dirty ducktape fix:
change line 61 in file: /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_salt-7.0.0/app/models/foreman_salt/concerns/host_managed_extensions.rb
from:
def set_hostgroup_defaults_with_salt_proxy
to
def set_hostgroup_defaults_with_salt_proxy(i_dont_care_about_this_boolean_what_does_it_even_do=true)


Related issues 1 (0 open1 closed)

Has duplicate Salt - Bug #17217: "/hosts/process_hostgroup" Action failed | ArgumentError: wrong number of arguments (1 for 0)Duplicate11/04/2016Actions
Actions

Also available in: Atom PDF