Bug 1477245 - spacewalk-hostname-rename: File not found: /usr/share/rhn/config-defaults/rhn_pgversion.conf
Summary: spacewalk-hostname-rename: File not found: /usr/share/rhn/config-defaults/rhn...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Server
Version: 580
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tomáš Kašpárek
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: sat58-errata sat5-cfu
TreeView+ depends on / blocked
 
Reported: 2017-08-01 14:43 UTC by Lukáš Hellebrandt
Modified: 2018-06-01 13:13 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-06-01 13:13:50 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Lukáš Hellebrandt 2017-08-01 14:43:38 UTC
Description of problem:
When running spacewalk-hostname-rename on a satellite withOUT embedded database, spacewalk-hostname rename says:

CONFIG PARSE WARNING: File not found or can't be read /usr/share/rhn/config-defaults/rhn_pgversion.conf
CONFIG PARSE WARNING: key not found in config default dict ('pgversion',)

I do not know of any issues caused by this yet. However, these error messages are not something users should see, particularly the "key not found" one.

How reproducible:
Deterministic

Steps to Reproduce:
On Satellite running against ManagedDB:
#spacewalk-hostname-rename <IP>
CONFIG PARSE WARNING: File not found or can't be read /usr/share/rhn/config-defaults/rhn_pgversion.conf
CONFIG PARSE WARNING: key not found in config default dict ('pgversion',)
Validating IP ... OK
=============================================
hostname: <hostname>
ip: <IP>
=============================================
Stopping rhn-satellite services ... OK
Testing DB connection ... OK
Updating /etc/rhn/rhn.conf ... OK
Actual SSL key pair package: <package>
 No need to re-generate SSL certificate.
Regenerating new bootstrap client-config-overrides.txt ... OK
Updating NOCpulse.ini ... OK
Updating monitoring data ... OK
Updating other DB entries ... OK
Changing cobbler settings ... OK
Changing jabberd settings ... OK
Starting rhn-satellite services ... OK


Actual results:
Warnings, but probably (!) no issues caused

Expected results:
No warning and no issue caused


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