Project

General

Profile

Bug #20207

Error message when upgrading the frontend

Added by Marco Mambelli over 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
Start date:
06/21/2018
Due date:
% Done:

0%

Estimated time:
First Occurred:
Occurs In:
Stakeholders:
Duration:

Description

While upgrading from 3.2.22 I observed the following error in the frontend:

[root@fermicloud109 ~]# yum upgrade --enablerepo=osg-upcoming-testing glidein\*
Loaded plugins: langpacks, priorities
osg-upcoming-testing                                                                                                                                                                      | 3.0 kB  00:00:00
osg-upcoming-testing/x86_64/primary_db                                                                                                                                                    |  49 kB  00:00:00
3446 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package glideinwms-common-tools.noarch 0:3.2.22.2-4.osg34.el7 will be updated
---> Package glideinwms-common-tools.noarch 0:3.4-1.osgup.el7 will be an update
---> Package glideinwms-condor-common-config.noarch 0:3.2.22.2-4.osg34.el7 will be updated
---> Package glideinwms-condor-common-config.noarch 0:3.4-1.osgup.el7 will be an update
---> Package glideinwms-factory.noarch 0:3.2.22.2-4.osg34.el7 will be updated
---> Package glideinwms-factory.noarch 0:3.4-1.osgup.el7 will be an update
---> Package glideinwms-factory-condor.noarch 0:3.2.22.2-4.osg34.el7 will be updated
---> Package glideinwms-factory-condor.noarch 0:3.4-1.osgup.el7 will be an update
---> Package glideinwms-glidecondor-tools.noarch 0:3.2.22.2-4.osg34.el7 will be updated
---> Package glideinwms-glidecondor-tools.noarch 0:3.4-1.osgup.el7 will be an update
---> Package glideinwms-libs.noarch 0:3.2.22.2-4.osg34.el7 will be updated
---> Package glideinwms-libs.noarch 0:3.4-1.osgup.el7 will be an update
---> Package glideinwms-minimal-condor.noarch 0:3.2.22.2-4.osg34.el7 will be updated
---> Package glideinwms-minimal-condor.noarch 0:3.4-1.osgup.el7 will be an update
---> Package glideinwms-usercollector.noarch 0:3.2.22.2-4.osg34.el7 will be updated
---> Package glideinwms-usercollector.noarch 0:3.4-1.osgup.el7 will be an update
---> Package glideinwms-userschedd.noarch 0:3.2.22.2-4.osg34.el7 will be updated
---> Package glideinwms-userschedd.noarch 0:3.4-1.osgup.el7 will be an update
---> Package glideinwms-vofrontend.noarch 0:3.2.22.2-4.osg34.el7 will be updated
---> Package glideinwms-vofrontend.noarch 0:3.4-1.osgup.el7 will be an update
---> Package glideinwms-vofrontend-standalone.noarch 0:3.2.22.2-4.osg34.el7 will be updated
---> Package glideinwms-vofrontend-standalone.noarch 0:3.4-1.osgup.el7 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

=================================================================================================================================================================================================================
 Package                                                         Arch                                  Version                                         Repository                                           Size
=================================================================================================================================================================================================================
Updating:
 glideinwms-common-tools                                         noarch                                3.4-1.osgup.el7                                 osg-upcoming-testing                                 82 k
 glideinwms-condor-common-config                                 noarch                                3.4-1.osgup.el7                                 osg-upcoming-testing                                 17 k
 glideinwms-factory                                              noarch                                3.4-1.osgup.el7                                 osg-upcoming-testing                                3.5 M
 glideinwms-factory-condor                                       noarch                                3.4-1.osgup.el7                                 osg-upcoming-testing                                 22 k
 glideinwms-glidecondor-tools                                    noarch                                3.4-1.osgup.el7                                 osg-upcoming-testing                                 24 k
 glideinwms-libs                                                 noarch                                3.4-1.osgup.el7                                 osg-upcoming-testing                                185 k
 glideinwms-minimal-condor                                       noarch                                3.4-1.osgup.el7                                 osg-upcoming-testing                                 18 k
 glideinwms-usercollector                                        noarch                                3.4-1.osgup.el7                                 osg-upcoming-testing                                 20 k
 glideinwms-userschedd                                           noarch                                3.4-1.osgup.el7                                 osg-upcoming-testing                                 19 k
 glideinwms-vofrontend                                           noarch                                3.4-1.osgup.el7                                 osg-upcoming-testing                                 17 k
 glideinwms-vofrontend-standalone                                noarch                                3.4-1.osgup.el7                                 osg-upcoming-testing                                3.3 M

Transaction Summary
=================================================================================================================================================================================================================
Upgrade  11 Packages

Total download size: 7.2 M
Is this ok [y/d/N]: y
Downloading packages:
No Presto metadata available for osg-upcoming-testing
(1/11): glideinwms-common-tools-3.4-1.osgup.el7.noarch.rpm                                                                                                                                |  82 kB  00:00:00
(2/11): glideinwms-condor-common-config-3.4-1.osgup.el7.noarch.rpm                                                                                                                        |  17 kB  00:00:00
(3/11): glideinwms-factory-condor-3.4-1.osgup.el7.noarch.rpm                                                                                                                              |  22 kB  00:00:00
(4/11): glideinwms-glidecondor-tools-3.4-1.osgup.el7.noarch.rpm                                                                                                                           |  24 kB  00:00:00
(5/11): glideinwms-libs-3.4-1.osgup.el7.noarch.rpm                                                                                                                                        | 185 kB  00:00:00
(6/11): glideinwms-factory-3.4-1.osgup.el7.noarch.rpm                                                                                                                                     | 3.5 MB  00:00:00
(7/11): glideinwms-minimal-condor-3.4-1.osgup.el7.noarch.rpm                                                                                                                              |  18 kB  00:00:00
(8/11): glideinwms-usercollector-3.4-1.osgup.el7.noarch.rpm                                                                                                                               |  20 kB  00:00:00
(9/11): glideinwms-userschedd-3.4-1.osgup.el7.noarch.rpm                                                                                                                                  |  19 kB  00:00:00
(10/11): glideinwms-vofrontend-3.4-1.osgup.el7.noarch.rpm                                                                                                                                 |  17 kB  00:00:00
(11/11): glideinwms-vofrontend-standalone-3.4-1.osgup.el7.noarch.rpm                                                                                                                      | 3.3 MB  00:00:00
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                            9.0 MB/s | 7.2 MB  00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Updating   : glideinwms-common-tools-3.4-1.osgup.el7.noarch                                                                                                                                               1/22
  Updating   : glideinwms-libs-3.4-1.osgup.el7.noarch                                                                                                                                                       2/22
  Updating   : glideinwms-glidecondor-tools-3.4-1.osgup.el7.noarch                                                                                                                                          3/22
  Updating   : glideinwms-condor-common-config-3.4-1.osgup.el7.noarch                                                                                                                                       4/22
  Updating   : glideinwms-minimal-condor-3.4-1.osgup.el7.noarch                                                                                                                                             5/22
  Updating   : glideinwms-userschedd-3.4-1.osgup.el7.noarch                                                                                                                                                 6/22
  Updating   : glideinwms-vofrontend-standalone-3.4-1.osgup.el7.noarch                                                                                                                                      7/22
error reading information on service gwms-frontend: No such file or directory
  Updating   : glideinwms-usercollector-3.4-1.osgup.el7.noarch                                                                                                                                              8/22
  Updating   : glideinwms-factory-condor-3.4-1.osgup.el7.noarch                                                                                                                                             9/22
  Updating   : glideinwms-factory-3.4-1.osgup.el7.noarch                                                                                                                                                   10/22
  Updating   : glideinwms-vofrontend-3.4-1.osgup.el7.noarch                                                                                                                                                11/22
  Cleanup    : glideinwms-factory-3.2.22.2-4.osg34.el7.noarch                                                                                                                                              12/22
  Cleanup    : glideinwms-vofrontend-3.2.22.2-4.osg34.el7.noarch                                                                                                                                           13/22
  Cleanup    : glideinwms-vofrontend-standalone-3.2.22.2-4.osg34.el7.noarch                                                                                                                                14/22
  Cleanup    : glideinwms-userschedd-3.2.22.2-4.osg34.el7.noarch                                                                                                                                           15/22
  Cleanup    : glideinwms-usercollector-3.2.22.2-4.osg34.el7.noarch                                                                                                                                        16/22
  Cleanup    : glideinwms-glidecondor-tools-3.2.22.2-4.osg34.el7.noarch                                                                                                                                    17/22
  Cleanup    : glideinwms-minimal-condor-3.2.22.2-4.osg34.el7.noarch                                                                                                                                       18/22
  Cleanup    : glideinwms-factory-condor-3.2.22.2-4.osg34.el7.noarch                                                                                                                                       19/22
  Cleanup    : glideinwms-condor-common-config-3.2.22.2-4.osg34.el7.noarch                                                                                                                                 20/22
  Cleanup    : glideinwms-libs-3.2.22.2-4.osg34.el7.noarch                                                                                                                                                 21/22
  Cleanup    : glideinwms-common-tools-3.2.22.2-4.osg34.el7.noarch                                                                                                                                         22/22
  Verifying  : glideinwms-glidecondor-tools-3.4-1.osgup.el7.noarch                                                                                                                                          1/22
  Verifying  : glideinwms-userschedd-3.4-1.osgup.el7.noarch                                                                                                                                                 2/22
  Verifying  : glideinwms-vofrontend-standalone-3.4-1.osgup.el7.noarch                                                                                                                                      3/22
  Verifying  : glideinwms-factory-condor-3.4-1.osgup.el7.noarch                                                                                                                                             4/22
  Verifying  : glideinwms-factory-3.4-1.osgup.el7.noarch                                                                                                                                                    5/22
  Verifying  : glideinwms-vofrontend-3.4-1.osgup.el7.noarch                                                                                                                                                 6/22
  Verifying  : glideinwms-minimal-condor-3.4-1.osgup.el7.noarch                                                                                                                                             7/22
  Verifying  : glideinwms-usercollector-3.4-1.osgup.el7.noarch                                                                                                                                              8/22
  Verifying  : glideinwms-condor-common-config-3.4-1.osgup.el7.noarch                                                                                                                                       9/22
  Verifying  : glideinwms-libs-3.4-1.osgup.el7.noarch                                                                                                                                                      10/22
  Verifying  : glideinwms-common-tools-3.4-1.osgup.el7.noarch                                                                                                                                              11/22
  Verifying  : glideinwms-factory-condor-3.2.22.2-4.osg34.el7.noarch                                                                                                                                       12/22
  Verifying  : glideinwms-vofrontend-standalone-3.2.22.2-4.osg34.el7.noarch                                                                                                                                13/22
  Verifying  : glideinwms-usercollector-3.2.22.2-4.osg34.el7.noarch                                                                                                                                        14/22
  Verifying  : glideinwms-glidecondor-tools-3.2.22.2-4.osg34.el7.noarch                                                                                                                                    15/22
  Verifying  : glideinwms-condor-common-config-3.2.22.2-4.osg34.el7.noarch                                                                                                                                 16/22
  Verifying  : glideinwms-common-tools-3.2.22.2-4.osg34.el7.noarch                                                                                                                                         17/22
  Verifying  : glideinwms-minimal-condor-3.2.22.2-4.osg34.el7.noarch                                                                                                                                       18/22
  Verifying  : glideinwms-vofrontend-3.2.22.2-4.osg34.el7.noarch                                                                                                                                           19/22
  Verifying  : glideinwms-userschedd-3.2.22.2-4.osg34.el7.noarch                                                                                                                                           20/22
  Verifying  : glideinwms-factory-3.2.22.2-4.osg34.el7.noarch                                                                                                                                              21/22
  Verifying  : glideinwms-libs-3.2.22.2-4.osg34.el7.noarch                                                                                                                                                 22/22

Updated:
  glideinwms-common-tools.noarch 0:3.4-1.osgup.el7                    glideinwms-condor-common-config.noarch 0:3.4-1.osgup.el7                   glideinwms-factory.noarch 0:3.4-1.osgup.el7
  glideinwms-factory-condor.noarch 0:3.4-1.osgup.el7                  glideinwms-glidecondor-tools.noarch 0:3.4-1.osgup.el7                      glideinwms-libs.noarch 0:3.4-1.osgup.el7
  glideinwms-minimal-condor.noarch 0:3.4-1.osgup.el7                  glideinwms-usercollector.noarch 0:3.4-1.osgup.el7                          glideinwms-userschedd.noarch 0:3.4-1.osgup.el7
  glideinwms-vofrontend.noarch 0:3.4-1.osgup.el7                      glideinwms-vofrontend-standalone.noarch 0:3.4-1.osgup.el7

Complete!
You have new mail in /var/spool/mail/root
[root@fermicloud109 ~]#

It does not seem to affect the functioning

History

#1 Updated by Marco Mambelli over 1 year ago

  • Target version changed from v3_4_1 to v3_5

#2 Updated by Lorena Lobato Pardavila over 1 year ago

  • Assignee set to Lorena Lobato Pardavila

#3 Updated by Lorena Lobato Pardavila over 1 year ago

Note that this happens when:

- Node is running on el7
- When the operation is upgrading
- It happens only with the Frontend

#4 Updated by Marco Mambelli about 1 year ago

  • Assignee changed from Lorena Lobato Pardavila to Marco Mambelli

The error is caused by the command:
/sbin/chkconfig --add gwms-frontend

The command for RHEL7 is
systemctl enable gwms-frontend

Anyway It is best practice and recommended from OSG (verified w/ email to B.Lin) to leave system enabling to the sysadmins (like it happens already for the factory), so the line should be removed.

Then there is also the undo during package removal (line 556 and 572).
This should also probably be removed

%preun vofrontend-standalone
# $1 = 0 - Action is uninstall
# $1 = 1 - Action is upgrade

if [ "$1" = "0" ] ; then
   /sbin/chkconfig --del gwms-frontend
fi

%preun factory
if [ "$1" = "0" ] ; then
   /sbin/chkconfig --del gwms-factory
fi
if [ "$1" = "0" ]; then
   rm -f %{factory_dir}/log
   rm -f %{factory_dir}/monitor
fi

#5 Updated by Marco Mambelli about 1 year ago

The commands are actually adding/removing the service, not enabling/disabling it.
The equivalent RHEL7 command is: systemctl daemon-reload

Added sections like:

%if %{?rhel}%{!?rhel:0} == 7
systemctl daemon-reload
%else
/sbin/chkconfig --add gwms-factory
%endif

#6 Updated by Marco Mambelli about 1 year ago

  • Status changed from New to Feedback
  • Assignee changed from Marco Mambelli to Lorena Lobato Pardavila

Changes in v35/20207

#7 Updated by Lorena Lobato Pardavila about 1 year ago

  • Status changed from Feedback to Resolved
  • Assignee changed from Lorena Lobato Pardavila to Marco Mambelli

All good now

[root@fermicloud309 ~]# yum update --enablerepo=osg-development glideinwms\*
Loaded plugins: langpacks, priorities
osg-development                                                    | 3.1 kB  00:00:00
osg-development/x86_64/primary_db                                  | 223 kB  00:00:00
1110 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package glideinwms-common-tools.noarch 0:3.4.1-1.osg34.el7 will be updated
---> Package glideinwms-common-tools.noarch 0:3.4.2-1.osg34.el7 will be an update
---> Package glideinwms-condor-common-config.noarch 0:3.4.1-1.osg34.el7 will be updated
---> Package glideinwms-condor-common-config.noarch 0:3.4.2-1.osg34.el7 will be an update
---> Package glideinwms-glidecondor-tools.noarch 0:3.4.1-1.osg34.el7 will be updated
---> Package glideinwms-glidecondor-tools.noarch 0:3.4.2-1.osg34.el7 will be an update
---> Package glideinwms-libs.noarch 0:3.4.1-1.osg34.el7 will be updated
---> Package glideinwms-libs.noarch 0:3.4.2-1.osg34.el7 will be an update
---> Package glideinwms-minimal-condor.noarch 0:3.4.1-1.osg34.el7 will be updated
---> Package glideinwms-minimal-condor.noarch 0:3.4.2-1.osg34.el7 will be an update
---> Package glideinwms-usercollector.noarch 0:3.4.1-1.osg34.el7 will be updated
---> Package glideinwms-usercollector.noarch 0:3.4.2-1.osg34.el7 will be an update
---> Package glideinwms-userschedd.noarch 0:3.4.1-1.osg34.el7 will be updated
---> Package glideinwms-userschedd.noarch 0:3.4.2-1.osg34.el7 will be an update
---> Package glideinwms-vofrontend.noarch 0:3.4.1-1.osg34.el7 will be updated
---> Package glideinwms-vofrontend.noarch 0:3.4.2-1.osg34.el7 will be an update
---> Package glideinwms-vofrontend-standalone.noarch 0:3.4.1-1.osg34.el7 will be updated
---> Package glideinwms-vofrontend-standalone.noarch 0:3.4.2-1.osg34.el7 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

==========================================================================================
 Package                            Arch     Version              Repository         Size
==========================================================================================
Updating:
 glideinwms-common-tools            noarch   3.4.2-1.osg34.el7    osg-development    84 k
 glideinwms-condor-common-config    noarch   3.4.2-1.osg34.el7    osg-development    18 k
 glideinwms-glidecondor-tools       noarch   3.4.2-1.osg34.el7    osg-development    24 k
 glideinwms-libs                    noarch   3.4.2-1.osg34.el7    osg-development   183 k
 glideinwms-minimal-condor          noarch   3.4.2-1.osg34.el7    osg-development    18 k
 glideinwms-usercollector           noarch   3.4.2-1.osg34.el7    osg-development    20 k
 glideinwms-userschedd              noarch   3.4.2-1.osg34.el7    osg-development    20 k
 glideinwms-vofrontend              noarch   3.4.2-1.osg34.el7    osg-development    17 k
 glideinwms-vofrontend-standalone   noarch   3.4.2-1.osg34.el7    osg-development   3.4 M

Transaction Summary
==========================================================================================
Upgrade  9 Packages

Total download size: 3.7 M
Is this ok [y/d/N]: y
Downloading packages:
No Presto metadata available for osg-development
(1/9): glideinwms-condor-common-config-3.4.2-1.osg34.el7.noarch.rp |  18 kB  00:00:00
(2/9): glideinwms-common-tools-3.4.2-1.osg34.el7.noarch.rpm        |  84 kB  00:00:00
(3/9): glideinwms-glidecondor-tools-3.4.2-1.osg34.el7.noarch.rpm   |  24 kB  00:00:00
(4/9): glideinwms-libs-3.4.2-1.osg34.el7.noarch.rpm                | 183 kB  00:00:00
(5/9): glideinwms-minimal-condor-3.4.2-1.osg34.el7.noarch.rpm      |  18 kB  00:00:00
(6/9): glideinwms-usercollector-3.4.2-1.osg34.el7.noarch.rpm       |  20 kB  00:00:00
(7/9): glideinwms-userschedd-3.4.2-1.osg34.el7.noarch.rpm          |  20 kB  00:00:00
(8/9): glideinwms-vofrontend-3.4.2-1.osg34.el7.noarch.rpm          |  17 kB  00:00:00
(9/9): glideinwms-vofrontend-standalone-3.4.2-1.osg34.el7.noarch.r | 3.4 MB  00:00:00
------------------------------------------------------------------------------------------
Total                                                     5.2 MB/s | 3.7 MB  00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Updating   : glideinwms-libs-3.4.2-1.osg34.el7.noarch                              1/18
  Updating   : glideinwms-glidecondor-tools-3.4.2-1.osg34.el7.noarch                 2/18
  Updating   : glideinwms-common-tools-3.4.2-1.osg34.el7.noarch                      3/18
  Updating   : glideinwms-condor-common-config-3.4.2-1.osg34.el7.noarch              4/18
  Updating   : glideinwms-minimal-condor-3.4.2-1.osg34.el7.noarch                    5/18
  Updating   : glideinwms-userschedd-3.4.2-1.osg34.el7.noarch                        6/18
  Updating   : glideinwms-vofrontend-standalone-3.4.2-1.osg34.el7.noarch             7/18
  Updating   : glideinwms-usercollector-3.4.2-1.osg34.el7.noarch                     8/18
  Updating   : glideinwms-vofrontend-3.4.2-1.osg34.el7.noarch                        9/18
  Cleanup    : glideinwms-vofrontend-3.4.1-1.osg34.el7.noarch                       10/18
  Cleanup    : glideinwms-vofrontend-standalone-3.4.1-1.osg34.el7.noarch            11/18
  Cleanup    : glideinwms-userschedd-3.4.1-1.osg34.el7.noarch                       12/18
  Cleanup    : glideinwms-usercollector-3.4.1-1.osg34.el7.noarch                    13/18
  Cleanup    : glideinwms-glidecondor-tools-3.4.1-1.osg34.el7.noarch                14/18
  Cleanup    : glideinwms-minimal-condor-3.4.1-1.osg34.el7.noarch                   15/18
  Cleanup    : glideinwms-condor-common-config-3.4.1-1.osg34.el7.noarch             16/18
  Cleanup    : glideinwms-libs-3.4.1-1.osg34.el7.noarch                             17/18
  Cleanup    : glideinwms-common-tools-3.4.1-1.osg34.el7.noarch                     18/18
  Verifying  : glideinwms-userschedd-3.4.2-1.osg34.el7.noarch                        1/18
  Verifying  : glideinwms-glidecondor-tools-3.4.2-1.osg34.el7.noarch                 2/18
  Verifying  : glideinwms-condor-common-config-3.4.2-1.osg34.el7.noarch              3/18
  Verifying  : glideinwms-vofrontend-3.4.2-1.osg34.el7.noarch                        4/18
  Verifying  : glideinwms-common-tools-3.4.2-1.osg34.el7.noarch                      5/18
  Verifying  : glideinwms-vofrontend-standalone-3.4.2-1.osg34.el7.noarch             6/18
  Verifying  : glideinwms-usercollector-3.4.2-1.osg34.el7.noarch                     7/18
  Verifying  : glideinwms-libs-3.4.2-1.osg34.el7.noarch                              8/18
  Verifying  : glideinwms-minimal-condor-3.4.2-1.osg34.el7.noarch                    9/18
  Verifying  : glideinwms-glidecondor-tools-3.4.1-1.osg34.el7.noarch                10/18
  Verifying  : glideinwms-vofrontend-standalone-3.4.1-1.osg34.el7.noarch            11/18
  Verifying  : glideinwms-common-tools-3.4.1-1.osg34.el7.noarch                     12/18
  Verifying  : glideinwms-minimal-condor-3.4.1-1.osg34.el7.noarch                   13/18
  Verifying  : glideinwms-usercollector-3.4.1-1.osg34.el7.noarch                    14/18
  Verifying  : glideinwms-libs-3.4.1-1.osg34.el7.noarch                             15/18
  Verifying  : glideinwms-condor-common-config-3.4.1-1.osg34.el7.noarch             16/18
  Verifying  : glideinwms-userschedd-3.4.1-1.osg34.el7.noarch                       17/18
  Verifying  : glideinwms-vofrontend-3.4.1-1.osg34.el7.noarch                       18/18

Updated:
  glideinwms-common-tools.noarch 0:3.4.2-1.osg34.el7
  glideinwms-condor-common-config.noarch 0:3.4.2-1.osg34.el7
  glideinwms-glidecondor-tools.noarch 0:3.4.2-1.osg34.el7
  glideinwms-libs.noarch 0:3.4.2-1.osg34.el7
  glideinwms-minimal-condor.noarch 0:3.4.2-1.osg34.el7
  glideinwms-usercollector.noarch 0:3.4.2-1.osg34.el7
  glideinwms-userschedd.noarch 0:3.4.2-1.osg34.el7
  glideinwms-vofrontend.noarch 0:3.4.2-1.osg34.el7
  glideinwms-vofrontend-standalone.noarch 0:3.4.2-1.osg34.el7

Complete!

#8 Updated by Marco Mambelli about 1 year ago

  • Target version changed from v3_5 to v3_4_2

#9 Updated by Marco Mambelli about 1 year ago

  • Status changed from Resolved to Closed


Also available in: Atom PDF