Project

General

Profile

Actions

Bug #23158

closed

Salt 2018.3 not compatible with Foreman-Salt

Added by Tyler Bishop about 6 years ago. Updated about 6 years ago.

Status:
Feedback
Priority:
High
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Looks like the return data for the top states is broken now.

/var/log/salt/master
2018-04-06 19:37:22,553 [salt.daemons.masterapi:540 ][ERROR ][26821] Top function ext_nodes failed with error 'int' object has no attribute 'communicate' for minion minion1

---
classes:
- ceph
- ceph.mons
- ceph.osds
- default
parameters:
hostgroup: CIN1/Ceph/Ceph Monitors
foreman_subnets:
- name: Provisioning Network
network: 10.10.146.0
mask: 255.255.255.0
gateway: 10.10.146.1
dns_primary: 10.10.146.5
dns_secondary: ''
from: 10.10.146.10
to: 10.10.146.252
boot_mode: DHCP
ipam: DHCP
vlanid: '200'
network_type: IPv4
description: ''
foreman_interfaces:
- ip:
ip6:
mac: f0:4d:a2:08:94:f8
name: ''
attrs:
mtu: 9000
virtual: true
link: true
identifier: br_ex
managed: false
primary: false
provision: false
subnet:
subnet6:
tag: ''
attached_to: br
type: Interface
- ip: 10.10.146.17
ip6: ''
mac: f0:4d:a2:08:94:f8
name: cephmon-1001.prd.cin1
attrs:
netmask: 255.255.255.0
mtu: 1500
network: 10.10.146.0
virtual: false
link: true
identifier: em1
managed: true
primary: true
provision: true
subnet:
name: Provisioning Network
network: 10.10.146.0
mask: 255.255.255.0
gateway: 10.10.146.1
dns_primary: 10.10.146.5
dns_secondary: ''
from: 10.10.146.10
to: 10.10.146.252
boot_mode: DHCP
ipam: DHCP
vlanid: '200'
network_type: IPv4
description: ''
subnet6:
tag:
attached_to:
type: Interface
- ip:
ip6:
mac: f0:4d:a2:08:94:fa
name: ''
attrs:
mtu: 9000
virtual: false
link: false
identifier: em2
managed: false
primary: false
provision: false
subnet:
subnet6:
tag:
attached_to:
type: Interface
- ip:
ip6:
mac: f0:4d:a2:08:94:fc
name: ''
attrs:
mtu: 1500
virtual: false
link: false
identifier: em3
managed: false
primary: false
provision: false
subnet:
subnet6:
tag:
attached_to:
type: Interface
- ip:
ip6:
mac: f0:4d:a2:08:94:fe
name: ''
attrs:
mtu: 1500
virtual: false
link: false
identifier: em4
managed: false
primary: false
provision: false
subnet:
subnet6:
tag:
attached_to:
type: Interface
- ip: 10.1.57.19
ip6: ''
mac: f0:4d:a2:08:95:00
name: ''
attrs:
enabled: true
ipaddress_source: Static Address
subnet_mask: 255.255.252.0
gateway: 10.1.56.1
1_ipaddress_source: Static Address
1_ipaddress: 10.1.57.19
1_subnet_mask: 255.255.252.0
1_macaddress: f0:4d:a2:08:95:00
1_gateway: 10.1.56.1
virtual: false
link: true
identifier: ipmi
managed: false
primary: false
provision: false
subnet:
subnet6:
tag:
attached_to:
type: BMC
provider: IPMI
username: ''
password:
- ip:
ip6: ''
mac: 3e:81:39:06:3b:3f
name: ''
attrs:
mtu: 1500
virtual: true
link: true
identifier: ovs_system
managed: false
primary: false
provision: false
subnet:
subnet6:
tag: ''
attached_to: ovs
type: Interface
- ip: 10.10.142.5
ip6: ''
mac: 8e:5e:8e:da:6e:32
name: ''
attrs:
netmask: 255.255.255.0
mtu: 1500
network: 10.10.142.0
virtual: false
link: true
identifier: rbd
managed: false
primary: false
provision: false
subnet:
subnet6:
tag:
attached_to:
type: Interface
- ip: 10.10.146.52
ip6: ''
mac: 42:55:4a:87:78:a8
name: ''
attrs:
netmask: 255.255.255.0
mtu: 1500
network: 10.10.146.0
virtual: false
link: true
identifier: temp
managed: false
primary: false
provision: false
subnet:
subnet6:
tag:
attached_to:
type: Interface
domainname: prd.cin1.
foreman_domain_description: ''
owner_name: Admin User
owner_email: .
ssh_authorized_keys: []
foreman_users:
admin:
firstname: Admin
lastname: User
mail:
description:
fullname: Admin User
name: admin
ssh_authorized_keys: []
root_pw: "REDACTED"
foreman_config_groups: []
puppetmaster: foreman
puppet_ca: foreman
foreman_env: production
foreman_url: test.com
ntp-server: foreman
ovs_bond_interfaces: em1,em2
ovs_bridge: br-ex
ovs_vinterfaces: rbd142
salt_master: foreman
environment: base

[root@s1101 ~]# salt-call state.highstate
local:
----------
ID: states
Function: no.None
Result: False
Comment: No Top file or external nodes data matches found.
Started:
Duration:
Changes:

Other features seem to work fine still.

Actions #2

Updated by Anonymous about 6 years ago

  • Status changed from New to Feedback
Actions

Also available in: Atom PDF