Issues with 2017.7.x upgrades on both CentOS and Ubuntu?

35 views
Skip to first unread message

Wedge Shot

unread,
Oct 15, 2017, 11:38:34 PM10/15/17
to Salt-users
Hello,

Is anyone have problems with system upgrades i.e. via apt-get dist-upgrade(Ubuntu) and yum -y update(CentOS) upgrades when saltstack 2017.7.x versions are installed.

We are constantly having to repair machines after running an upgrades this past month.  Last week I had a few CentOS machines having multiple salt-minion and salt-common packages after performing an upgrade.  Another colleague at work chatted and said he had to perform a apt-get -f install on his Ubuntu machine after we patched all machines salt the master the day or two before.


This is not the first time this has happened so I'm curious if anyone else is seeing this.  I'll try and dig up the term.log as see what is going on.


Thanks in advance

saltycdr

unread,
Oct 16, 2017, 4:58:35 AM10/16/17
to Salt-users
Hi,


I can confirm the multiple salt-minion packages bug on CentOS, happened to 10 out of 200+ servers for me. Really would like to see this improve, I have noticed that upgrading salt can sometime cause a lot of manual actions, it is getting better and better tho.


cDR

Wedge Shot

unread,
Oct 19, 2017, 10:15:31 PM10/19/17
to Salt-users

Here is the mess from a CentOS machine.   I'm trying to find a Ubuntu box in base shape.   I'm not 100% confident that this is salt's fault but seems like the dependency system would prevent the below from happening.


PROMPT#>  yum-complete-transaction
Loaded plugins: fastestmirror

There are 2 outstanding transactions to complete. Finishing the most recent one
The remaining transaction had 9 elements left to run
--> Running transaction check
---> Package initscripts.x86_64 0:9.03.58-1.el6.centos.1 will be erased
---> Package kernel-firmware.noarch 0:2.6.32-696.10.3.el6 will be erased
---> Package kernel-headers.x86_64 0:2.6.32-696.10.3.el6 will be erased
---> Package libcgroup.x86_64 0:0.40.rc1-23.el6 will be erased
---> Package python27-requests.noarch 0:2.6.0-4.el6 will be erased
---> Package python27-urllib3.noarch 0:1.10.2-2.el6 will be erased
---> Package salt.noarch 0:2017.7.0-1.el6 will be erased
---> Package salt.noarch 0:2017.7.1-1.el6 will be erased
--> Processing Dependency: salt = 2017.7.1-1.el6 for package: salt-minion-2017.7.1-1.el6.noarch
---> Package salt-minion.noarch 0:2017.7.0-1.el6 will be erased
--> Running transaction check
---> Package salt-minion.noarch 0:2017.7.1-1.el6 will be erased
--> Finished Dependency Resolution

Dependencies Resolved

PROMPT# > rpm -qa | grep salt

salt-2017.7.2-1.el6.noarch
salt-2017.7.0-1.el6.noarch
salt-minion-2017.7.1-1.el6.noarch
salt-minion-2017.7.2-1.el6.noarch
salt-minion-2017.7.0-1.el6.noarch
salt-2017.7.1-1.el6.noarch


PROMPT#>  rpm -e salt-2017.7.0-1.el6.noarch salt-minion-2017.7.1-1.el6.noarch salt-minion-2017.7.0-1.el6.noarch salt-2017.7.1-1.el6.noarch


PROMPT#>   yum-complete-transaction
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile

There are 1 outstanding transactions to complete. Finishing the most recent one
The remaining transaction had 3 elements left to run
--> Running transaction check
---> Package python27-chardet.noarch 0:2.2.1-2.el6 will be erased
---> Package python27-tornado.x86_64 0:4.2.1-2.el6 will be erased
--> Finished Dependency Resolution

Dependencies Resolved

===============================================================================================================================================================
 Package                                   Arch                            Version                              Repository                                Size
===============================================================================================================================================================
Removing:
 python27-chardet                          noarch                          2.2.1-2.el6                          @repo-saltstack                          1.7 M
 python27-tornado                          x86_64                          4.2.1-2.el6                          @repo-saltstack                          4.1 M

Transaction Summary
===============================================================================================================================================================
Remove        2 Package(s)

Installed size: 5.9 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Erasing    : python27-chardet-2.2.1-2.el6.noarch                                                                                                         1/2 
  Erasing    : python27-tornado-4.2.1-2.el6.x86_64                                                                                                         2/2 
  Verifying  : python27-chardet-2.2.1-2.el6.noarch                                                                                                         1/2 
  Verifying  : python27-tornado-4.2.1-2.el6.x86_64                                                                                                         2/2 

Removed:
  python27-chardet.noarch 0:2.2.1-2.el6                                          python27-tornado.x86_64 0:4.2.1-2.el6                                    




Reply all
Reply to author
Forward
0 new messages