DeepSea icon indicating copy to clipboard operation
DeepSea copied to clipboard

exception in validate.pillar

Open denisok opened this issue 5 years ago • 0 comments

Description of Issue/Question

# salt-run validate.pillar cluster=ceph
Exception occurred in runner validate.pillar: Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/salt/client/mixins.py", line 395, in _low
    data['return'] = self.functions[fun](*args, **kwargs)
  File "/srv/modules/runners/validate.py", line 923, in pillar
    v.public_interface()
  File "/srv/modules/runners/validate.py", line 254, in public_interface
    for address in self.grains[node]['ipv4']:
TypeError: 'NoneType' object has no attribute '__getitem__'

Setup

vagrant-ceph, tiny setup.

Steps to Reproduce Issue

salt-run validate.pillar cluster=ceph

Versions Report

0.8.8+git.0.d6faf0eac

Name        : salt-minion                                                  
Version     : 2016.11.4                                                    
Release     : 48.7.1                                                       
Architecture: x86_64                                                       
Install Date: Wed Jan 23 06:35:06 2019                                     
Group       : System/Management                                            
Size        : 38128                                                        
License     : Apache-2.0                                                   
Signature   : RSA/SHA256, Wed Sep  5 07:17:04 2018, Key ID 70af9e8139db7c82
Source RPM  : salt-2016.11.4-48.7.1.src.rpm                                
Build Date  : Wed Sep  5 07:14:38 2018                                     
Build Host  : sheep09                                                      
Relocations : (not relocatable)                                            
Packager    : https://www.suse.com/                                        
Vendor      : SUSE LLC <https://www.suse.com/>                             
URL         : http://saltstack.org/                                        
Summary     : The client component for Saltstack                           
Description :                                                              
Salt minion is queried and controlled from the master.                     
Listens to the salt master and execute the commands.                       
Distribution: SUSE Linux Enterprise 12                                     
Name        : salt-master                                                      
Version     : 2016.11.4                                                        
Release     : 48.7.1                                                           
Architecture: x86_64                                                           
Install Date: Wed Jan 23 06:35:10 2019                                         
Group       : System/Management                                                
Size        : 1662872                                                          
License     : Apache-2.0                                                       
Signature   : RSA/SHA256, Wed Sep  5 07:17:04 2018, Key ID 70af9e8139db7c82    
Source RPM  : salt-2016.11.4-48.7.1.src.rpm                                    
Build Date  : Wed Sep  5 07:14:38 2018                                         
Build Host  : sheep09                                                          
Relocations : (not relocatable)                                                
Packager    : https://www.suse.com/                                            
Vendor      : SUSE LLC <https://www.suse.com/>                                 
URL         : http://saltstack.org/                                            
Summary     : The management component of Saltstack with zmq protocol supported
Description :                                                                  
The Salt master is the central server to which all minions connect.            
Enabled commands to remote systems to be called in parallel rather             
than serially.                                                                 
Distribution: SUSE Linux Enterprise 12                                         

denisok avatar Jan 24 '19 10:01 denisok