Comment 50 for bug 1740892

Revision history for this message
Eric Desrochers (slashd) wrote :

[XENIAL (pre-SRU)]

== BEFORE UPGRADE ==

# dpkg -l | egrep "corosync|pacemaker"
ii corosync 2.3.5-3ubuntu2 amd64 cluster engine daemon and utilities
ii crmsh 2.2.0-1 amd64 CRM shell for the pacemaker cluster manager
ii libcorosync-common4:amd64 2.3.5-3ubuntu2 amd64 cluster engine common library
ii pacemaker 1.1.14-2ubuntu1.3 amd64 cluster resource manager
ii pacemaker-cli-utils 1.1.14-2ubuntu1.3 amd64 cluster resource manager command line utilities
ii pacemaker-common 1.1.14-2ubuntu1.3 all cluster resource manager common files
ii pacemaker-resource-agents 1.1.14-2ubuntu1.3 all cluster resource manager general resource agents

# systemctl status corosync | egrep "Active:|Main PID"
   Active: active (running) since Mon 2018-02-19 15:14:44 UTC; 16min ago
 Main PID: 3228 (corosync)

# systemctl status pacemaker | egrep "Active:|Main PID"
   Active: active (running) since Mon 2018-02-19 15:14:44 UTC; 16min ago
 Main PID: 3321 (pacemakerd)

== UPGRADE ==

# apt-cache policy corosync
corosync:
  Installed: 2.3.5-3ubuntu2
  Candidate: 2.3.5-3ubuntu2.1
  Version table:
     2.3.5-3ubuntu2.1 500
        500 http://ppa.launchpad.net/slashd/test/ubuntu xenial/main amd64 Packages
 *** 2.3.5-3ubuntu2 500
        500 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
        100 /var/lib/dpkg/status

# apt-get install corosync
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
  libfreetype6
Use 'apt autoremove' to remove it.
The following additional packages will be installed:
  pacemaker
Suggested packages:
  fence-agents
The following packages will be upgraded:
  corosync pacemaker
2 upgraded, 0 newly installed, 0 to remove and 55 not upgraded.
Need to get 766 kB of archives.
After this operation, 2048 B of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://ppa.launchpad.net/slashd/test/ubuntu xenial/main amd64 pacemaker amd64 1.1.14-2ubuntu1.4 [404 kB]
Get:2 http://ppa.launchpad.net/slashd/test/ubuntu xenial/main amd64 corosync amd64 2.3.5-3ubuntu2.1 [361 kB]
Fetched 766 kB in 1s (507 kB/s)
(Reading database ... 28089 files and directories currently installed.)
Preparing to unpack .../pacemaker_1.1.14-2ubuntu1.4_amd64.deb ...
Unpacking pacemaker (1.1.14-2ubuntu1.4) over (1.1.14-2ubuntu1.3) ...
Preparing to unpack .../corosync_2.3.5-3ubuntu2.1_amd64.deb ...
Unpacking corosync (2.3.5-3ubuntu2.1) over (2.3.5-3ubuntu2) ...
Processing triggers for systemd (229-4ubuntu21) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up corosync (2.3.5-3ubuntu2.1) ...
Setting up pacemaker (1.1.14-2ubuntu1.4) ...

== AFTER UPGRADE ==

# dpkg -l | egrep "corosync|pacemaker"
ii corosync 2.3.5-3ubuntu2.1 amd64 cluster engine daemon and utilities
ii crmsh 2.2.0-1 amd64 CRM shell for the pacemaker cluster manager
ii libcorosync-common4:amd64 2.3.5-3ubuntu2 amd64 cluster engine common library
ii pacemaker 1.1.14-2ubuntu1.4 amd64 cluster resource manager
ii pacemaker-cli-utils 1.1.14-2ubuntu1.3 amd64 cluster resource manager command line utilities
ii pacemaker-common 1.1.14-2ubuntu1.3 all cluster resource manager common files
ii pacemaker-resource-agents 1.1.14-2ubuntu1.3 all cluster resource manager general resource agents

# systemctl status corosync | egrep "Active:|Main PID"
   Active: active (running) since Mon 2018-02-19 15:33:25 UTC; 30s ago
 Main PID: 4769 (corosync)

# systemctl status pacemaker | egrep "Active:|Main PID"
   Active: active (running) since Mon 2018-02-19 15:33:25 UTC; 35s ago
 Main PID: 4844 (pacemakerd)

---------------------------------------

* The packages also installs sucessfully and as it should during a fresh new install (no package upgrade involve)