Re: Post 2021.02 upgrade issues
Julio Ah! - this gave me the clue I was looking for I had somehow failed to set this repo up for scheduled synchronisation with the result that the new salt packages were not availabe My fault - and many thanks for the guidance! 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 <jgonzalez@suse.com> 05/03/2021 16:35 >>> I don't recall we ever shipped Salt 2019 to Stable.
Julio
Many thanks - here is the result
salt-2019.2.3-18.1.uyuni.x86_64 python2-salt-2019.2.3-18.1.uyuni.x86_64 salt-minion-2019.2.3-18.1.uyuni.x86_64
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 <jgonzalez@suse.com> 05/03/2021 14:51 >>>
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
Maybe you got those packages from the "Master" client tools? Those client tools are not production ready. Please check what repositories you are using on that CentOS7 client (and any other CentOS7 clients). Make sure they are the Stable repositories. If they are not, change the CentoS7 clients to the Stable repositories (you can use "System Set Manager" if you want to change several clients at the same time) Then update the salt packages at the CentOS7 clients (you will get salt 3000), and the problem should go away. On viernes, 5 de marzo de 2021 17:18:39 (CET) Tim Shaw wrote: 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
-- Julio González Gil Release Engineer, SUSE Manager and Uyuni jgonzalez@suse.com
On viernes, 5 de marzo de 2021 18:03:30 (CET) Tim Shaw wrote:
Julio
Ah! - this gave me the clue I was looking for
I had somehow failed to set this repo up for scheduled synchronisation with the result that the new salt packages were not availabe
My fault - and many thanks for the guidance!
Good to see it's working! But still, I don't recall we ever released Salt 2019 to the Stable Client Tools for CentOS7 repositories. Check if you are using them for the CentOS7 client tools. If you are using Master/Devel Client Tools for CentOS7 repositories, those are not really production ready, and can break at any moment.
*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 <jgonzalez@suse.com> 05/03/2021 16:35 >>>
I don't recall we ever shipped Salt 2019 to Stable.
Maybe you got those packages from the "Master" client tools? Those client tools are not production ready.
Please check what repositories you are using on that CentOS7 client (and any other CentOS7 clients).
Make sure they are the Stable repositories. If they are not, change the
CentoS7 clients to the Stable repositories (you can use "System Set Manager" if you want to change several clients at the same time)
Then update the salt packages at the CentOS7 clients (you will get salt 3000), and the problem should go away.
On viernes, 5 de marzo de 2021 17:18:39 (CET) Tim Shaw wrote:
Julio
Many thanks - here is the result
salt-2019.2.3-18.1.uyuni.x86_64 python2-salt-2019.2.3-18.1.uyuni.x86_64 salt-minion-2019.2.3-18.1.uyuni.x86_64
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 <jgonzalez@suse.com> 05/03/2021 14:51 >>>
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
-- Julio González Gil Release Engineer, SUSE Manager and Uyuni jgonzalez@suse.com
participants (2)
-
Julio González Gil
-
Tim Shaw