Bug 1165070 - db-control advices to stop all services except "postgresql" on a system with only "postgresql92-postgresql" installed
Summary: db-control advices to stop all services except "postgresql" on a system with ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Server
Version: 570
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
Assignee: Michael Mráka
QA Contact: Jan Hutař
URL:
Whiteboard:
Depends On:
Blocks: sat570-blockers
TreeView+ depends on / blocked
 
Reported: 2014-11-18 09:32 UTC by Jan Hutař
Modified: 2015-01-13 10:25 UTC (History)
3 users (show)

Fixed In Version: spacewalk-web-2.3.2-19-sat
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-01-13 10:25:27 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jan Hutař 2014-11-18 09:32:57 UTC
Description of problem:
db-control advices to stop all services except "postgresql" on a system with only "postgresql92-postgresql" installed


Version-Release number of selected component (if applicable):
Satellite-5.7.0-RHEL6-re20141114.0-x86_64
# rpm -qa | grep -e postgresql -e dobby | sort
postgresql-8.4.20-1.el6_5.x86_64
postgresql92-postgresql-9.2.8-2.el6.x86_64
postgresql92-postgresql-contrib-9.2.8-2.el6.x86_64
postgresql92-postgresql-libs-9.2.8-2.el6.x86_64
postgresql92-postgresql-pltcl-9.2.8-2.el6.x86_64
postgresql92-postgresql-server-9.2.8-2.el6.x86_64
postgresql92-runtime-1.1-21.el6.x86_64
postgresql-jdbc-8.4.704-2.el6.noarch
postgresql-libs-8.4.20-1.el6_5.x86_64
spacewalk-backend-sql-postgresql-2.3.3-18.el6sat.noarch
spacewalk-dobby-2.3.2-18.el6sat.noarch
spacewalk-java-postgresql-2.3.8-67.el6sat.noarch
spacewalk-postgresql-2.3.0-1.5.el6sat.noarch
spacewalk-setup-postgresql-2.3.0-8.el6sat.noarch


How reproducible:
always


Steps to Reproduce:
1. Have Satellite with embedded PostgreSQL 9.2 DB
2. # rhn-satellite restart   # make sure all your services are running
3. # db-control restore /some/backup


Actual results:
# db-control restore /tmp/tmp.5J0Zhj6na1/online-backup-dir/backup
There are running spacewalk services which are using database.
Run 'spacewalk-service --exclude=postgresql stop' to stop them.


Expected results:
Hint could look like:

  Run 'spacewalk-service --exclude=postgresql92-postgresql stop' to stop them.

Comment 1 Tomas Lestach 2014-11-19 11:00:00 UTC
Taking ...

Comment 2 Michael Mráka 2014-11-20 21:22:01 UTC
Fixed in spacewalk master by
commit 1ff960e80118520294d57a1cdf9175c316a8d812
    1165070 - use correct service name

Comment 3 Michael Mráka 2014-11-20 21:42:17 UTC
Backported to SATELLITE-5.7 as
commit 7ed9e038dbf7119d7ed879782798c62a83a325fe
    1165070 - use correct service name

Comment 6 Clifford Perry 2015-01-13 10:25:27 UTC
With the release of Red Hat Satellite 5.7 on January 12th 2015 this bug is
being moved to a Closed Current Release state. 

The Satellite 5.7 GA Errata:
 - https://rhn.redhat.com/errata/RHSA-2015-0033.html 

Satellite 5.7 Release Notes:
 -
https://access.redhat.com/documentation/en-US/Red_Hat_Satellite/5.7/html-single/Release_Notes/index.html

Satellite Customer Portal Blog announcement for release:
 - https://access.redhat.com/blogs/1169563/posts/1315743 

Cliff

NOTE: This bug has not been re-verified (moved to RELEASE_PENDING) prior to release. We assume that the bug has indeed been fixed and not regressed since we initially verified it. Please re-open in the future if needed.


Note You need to log in before you can comment on or make changes to this bug.