![](https://seccdn.libravatar.org/avatar/1ec14db9d641245a97da2b9df9f38f96.jpg?s=120&d=mm&r=g)
Hello Thanks to all who offered advice during the very long 13 hour postgres schema update on my Uyuni system! Since the update completed I've been testing things today and the first issue I see is that hitherto trouble free CentOS7 client systems will now no longer apply patches scheduled from Uyuni. If the packages rather than the patches are scheduled there is no problem. SLES based systems appear to be patching just fine.... The errors look like this: Mar 5 13:40:24 zabbix salt-minion: [ERROR ] An exception occurred in this state: Traceback (most recent call last): Mar 5 13:40:24 zabbix salt-minion: File "/usr/lib/python2.7/site-packages/salt/state.py", line 1939, in call Mar 5 13:40:24 zabbix salt-minion: ret = self.states[cdata['full']](*cdata['args'], **cdata['kwargs']) Mar 5 13:40:24 zabbix salt-minion: File "/usr/lib/python2.7/site-packages/salt/loader.py", line 2006, in wrapper Mar 5 13:40:24 zabbix salt-minion: return f(*args, **kwargs) Mar 5 13:40:24 zabbix salt-minion: File "/usr/lib/python2.7/site-packages/salt/states/pkg.py", line 2160, in patch_installed Mar 5 13:40:24 zabbix salt-minion: targets = _find_advisory_targets(name, advisory_ids, **kwargs) Mar 5 13:40:24 zabbix salt-minion: File "/usr/lib/python2.7/site-packages/salt/states/pkg.py", line 386, in _find_advisory_targets Mar 5 13:40:24 zabbix salt-minion: cur_patches = __salt__['pkg.list_installed_patches'](**kwargs) Mar 5 13:40:24 zabbix salt-minion: File "/usr/lib/python2.7/site-packages/salt/modules/yumpkg.py", line 3273, in list_installed_pat ches Mar 5 13:40:24 zabbix salt-minion: return _get_patches(installed_only=True) Mar 5 13:40:24 zabbix salt-minion: File "/usr/lib/python2.7/site-packages/salt/modules/yumpkg.py", line 3222, in _get_patches Mar 5 13:40:24 zabbix salt-minion: line).groups() Mar 5 13:40:24 zabbix salt-minion: AttributeError: 'NoneType' object has no attribute 'groups' Can anyone offer any ideas as to where to start troubleshooting this please (rebooting the CentOS7 client makes no difference) ? T *Please note I am not normally in the office on Mondays or Fridays* ___________________________________________________________ TIM SHAW - Deputy Director - Network Services Medical Sciences Division - University of Oxford email : tim.shaw@medsci.ox.ac.uk tel : +44 (0)1865 289480
![](https://seccdn.libravatar.org/avatar/f8681a5ce9ab75bcfc59a901a86f6884.jpg?s=120&d=mm&r=g)
Can you provide the output of: rpm -qa|grep salt At that CentOS7 minion? On viernes, 5 de marzo de 2021 15:05:48 (CET) Tim Shaw wrote:
Hello
Thanks to all who offered advice during the very long 13 hour postgres schema update on my Uyuni system!
Since the update completed I've been testing things today and the first issue I see is that hitherto trouble free CentOS7 client systems will now no longer apply patches scheduled from Uyuni. If the packages rather than the patches are scheduled there is no problem.
SLES based systems appear to be patching just fine....
The errors look like this:
Mar 5 13:40:24 zabbix salt-minion: [ERROR ] An exception occurred in this state: Traceback (most recent call last): Mar 5 13:40:24 zabbix salt-minion: File "/usr/lib/python2.7/site-packages/salt/state.py", line 1939, in call Mar 5 13:40:24 zabbix salt-minion: ret = self.states[cdata['full']](*cdata['args'], **cdata['kwargs']) Mar 5 13:40:24 zabbix salt-minion: File "/usr/lib/python2.7/site-packages/salt/loader.py", line 2006, in wrapper Mar 5 13:40:24 zabbix salt-minion: return f(*args, **kwargs) Mar 5 13:40:24 zabbix salt-minion: File "/usr/lib/python2.7/site-packages/salt/states/pkg.py", line 2160, in patch_installed Mar 5 13:40:24 zabbix salt-minion: targets = _find_advisory_targets(name, advisory_ids, **kwargs) Mar 5 13:40:24 zabbix salt-minion: File "/usr/lib/python2.7/site-packages/salt/states/pkg.py", line 386, in _find_advisory_targets Mar 5 13:40:24 zabbix salt-minion: cur_patches = __salt__['pkg.list_installed_patches'](**kwargs) Mar 5 13:40:24 zabbix salt-minion: File "/usr/lib/python2.7/site-packages/salt/modules/yumpkg.py", line 3273, in list_installed_pat ches Mar 5 13:40:24 zabbix salt-minion: return _get_patches(installed_only=True) Mar 5 13:40:24 zabbix salt-minion: File "/usr/lib/python2.7/site-packages/salt/modules/yumpkg.py", line 3222, in _get_patches Mar 5 13:40:24 zabbix salt-minion: line).groups() Mar 5 13:40:24 zabbix salt-minion: AttributeError: 'NoneType' object has no attribute 'groups'
Can anyone offer any ideas as to where to start troubleshooting this please (rebooting the CentOS7 client makes no difference) ?
T
*Please note I am not normally in the office on Mondays or Fridays* ___________________________________________________________ TIM SHAW - Deputy Director - Network Services Medical Sciences Division - University of Oxford email : tim.shaw@medsci.ox.ac.uk tel : +44 (0)1865 289480
-- Julio González Gil Release Engineer, SUSE Manager and Uyuni jgonzalez@suse.com
participants (2)
-
Julio González Gil
-
Tim Shaw