Bug 1175596 - some cobbler related debugging output leaks into `./install.pl --upgrade` output and is not saved in rhn_installation.log
Summary: some cobbler related debugging output leaks into `./install.pl --upgrade` out...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Upgrades
Version: 570
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
Assignee: Tomáš Kašpárek
QA Contact: Jan Hutař
URL:
Whiteboard:
Depends On:
Blocks: sat580-low
TreeView+ depends on / blocked
 
Reported: 2014-12-18 07:11 UTC by Jan Hutař
Modified: 2017-06-21 12:13 UTC (History)
2 users (show)

Fixed In Version: spacewalk-setup-2.5.1-15-sat
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-06-21 12:13:04 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jan Hutař 2014-12-18 07:11:13 UTC
Description of problem:
When I was doing in-place upgrade from 5.6.0 with embedded PostgreSQL84 @ RHEL6 to 5.7.0 with embedded PostgreSQL92, there was some cobbler related debugging output leaked into `./install.pl --upgrade` output and was not saved in rhn_installation.log


Version-Release number of selected component (if applicable):
rhn-upgrade-5.7.0.19-1.el6sat.noarch
Satellite-5.7.0-RHEL6-re20141212.0-x86_64


How reproducible:
always


Steps to Reproduce:
1. Prepare 5.6.0 with embedded PostgreSQL84 @ RHEL6
2. Follow upgrade documentation
3. Notice output of `./install.pl --upgrade` step


Actual results:
# /mnt/tmp/install.pl --upgrade
* Starting Red Hat Satellite installer.
* Performing pre-install checks.
* Pre-install checks complete.  Beginning installation.
* RHN Registration.
** Registration: System is already registered with RHN.  Not re-registering.
* Upgrade flag passed.  Stopping necessary services.
* Purging conflicting packages.
* Checking for uninstalled prerequisites.
** Checking if yum is available ...
There are some packages from Red Hat Enterprise Linux that are not part
of the @base group that Satellite will require to be installed on this
system. The installer will try resolve the dependencies automatically.
However, you may want to install these prerequisites manually.
Do you want the installer to resolve dependencies [y/N]? Y
* Installing RHN packages.
* Now running spacewalk-setup.
* Setting up SELinux..
** Database: Setting up database connection for PostgreSQL backend.
*** Upgrading embedded database.
** Database: Populating database.
** Database: Skipping database population.
* Setting up users and groups.
** GPG: Initializing GPG and importing key.
* Performing initial configuration.
* Activating Red Hat Satellite.
** Certificate not activated.
** Upgrade process requires the certificate to be activated after the schema is upgraded.
* Enabling Monitoring.
* Configuring apache SSL virtual host.
Should setup configure apache's default ssl server for you (saves original ssl.conf) [Y]? Y
* Configuring tomcat.
* Configuring jabberd.
* Creating SSL certificates.
** Skipping SSL certificate generation.
* Deploying configuration files.
* Update configuration in database.
* Setting up Cobbler..
task started: 2014-12-18_074935_sync
task started (id=Sync, time=Thu Dec 18 07:49:35 2014)
running pre-sync triggers
cleaning trees
mkdir: /var/lib/tftpboot/pxelinux.cfg
mkdir: /var/lib/tftpboot/images
mkdir: /var/lib/tftpboot/s390x
mkdir: /var/lib/tftpboot/ppc
mkdir: /var/lib/tftpboot/etc
copying bootloaders
running: /usr/bin/sha1sum /var/lib/cobbler/loaders/pxelinux.0
received: 39ad5c194f52f568bd85b577e12338e8aa8f62c3  /var/lib/cobbler/loaders/pxelinux.0

trying to create cache file /var/lib/.link_cache/39ad5c194f52f568bd85b577e12338e8aa8f62c3
copying: /var/lib/cobbler/loaders/pxelinux.0 -> /var/lib/.link_cache/39ad5c194f52f568bd85b577e12338e8aa8f62c3
trying cachelink /var/lib/cobbler/loaders/pxelinux.0 -> /var/lib/.link_cache/39ad5c194f52f568bd85b577e12338e8aa8f62c3 -> /var/lib/tftpboot/pxelinux.0
running: /usr/bin/sha1sum /var/lib/cobbler/loaders/menu.c32
received: a40da2d52ccfa33e1bb2aecc4a5922345c2ef1ef  /var/lib/cobbler/loaders/menu.c32

trying to create cache file /var/lib/.link_cache/a40da2d52ccfa33e1bb2aecc4a5922345c2ef1ef
copying: /var/lib/cobbler/loaders/menu.c32 -> /var/lib/.link_cache/a40da2d52ccfa33e1bb2aecc4a5922345c2ef1ef
trying cachelink /var/lib/cobbler/loaders/menu.c32 -> /var/lib/.link_cache/a40da2d52ccfa33e1bb2aecc4a5922345c2ef1ef -> /var/lib/tftpboot/menu.c32
running: /usr/bin/sha1sum /var/lib/cobbler/loaders/yaboot
received: 7ba3459c75decf74920af1bc8ef9d5dfe66e1527  /var/lib/cobbler/loaders/yaboot

trying to create cache file /var/lib/.link_cache/7ba3459c75decf74920af1bc8ef9d5dfe66e1527
copying: /var/lib/cobbler/loaders/yaboot -> /var/lib/.link_cache/7ba3459c75decf74920af1bc8ef9d5dfe66e1527
trying cachelink /var/lib/cobbler/loaders/yaboot -> /var/lib/.link_cache/7ba3459c75decf74920af1bc8ef9d5dfe66e1527 -> /var/lib/tftpboot/yaboot
running: /usr/bin/sha1sum /var/lib/cobbler/loaders/bootaa64.efi
received: 0b9088ebb3f32aa9a248eb8770107dfcb233b564  /var/lib/cobbler/loaders/bootaa64.efi

trying to create cache file /var/lib/tftpboot/.link_cache/0b9088ebb3f32aa9a248eb8770107dfcb233b564
copying: /var/lib/cobbler/loaders/bootaa64.efi -> /var/lib/tftpboot/.link_cache/0b9088ebb3f32aa9a248eb8770107dfcb233b564
trying cachelink /var/lib/cobbler/loaders/bootaa64.efi -> /var/lib/tftpboot/.link_cache/0b9088ebb3f32aa9a248eb8770107dfcb233b564 -> /var/lib/tftpboot/aarch64/bootaa64.efi
running: /usr/bin/sha1sum /usr/share/syslinux/memdisk
received: 17a1dd01f4abafc1da68e97d3018b4c490c3f7ab  /usr/share/syslinux/memdisk

trying to create cache file /var/lib/.link_cache/17a1dd01f4abafc1da68e97d3018b4c490c3f7ab
copying: /usr/share/syslinux/memdisk -> /var/lib/.link_cache/17a1dd01f4abafc1da68e97d3018b4c490c3f7ab
trying cachelink /usr/share/syslinux/memdisk -> /var/lib/.link_cache/17a1dd01f4abafc1da68e97d3018b4c490c3f7ab -> /var/lib/tftpboot/memdisk
copying distros
copying images
generating PXE configuration files
cleaning link caches
running: find /var/lib/tftpboot/.link_cache -maxdepth 1 -type f -links 1 -exec rm -f '{}' ';'
received: 
running: find /var/www/cobbler/.link_cache -maxdepth 1 -type f -links 1 -exec rm -f '{}' ';'
received: 
rendering Rsync files
generating PXE menu structure
running post-sync triggers
running python triggers from /var/lib/cobbler/triggers/sync/post/*
running python trigger cobbler.modules.sync_post_restart_services
running shell triggers from /var/lib/cobbler/triggers/sync/post/*
running python triggers from /var/lib/cobbler/triggers/change/*
running python trigger cobbler.modules.scm_track
running shell triggers from /var/lib/cobbler/triggers/change/*
*** TASK COMPLETE ***
Cobbler requires tftp and xinetd services be turned on for PXE provisioning functionality. Enable these services [Y]? Y
This portion of the Red Hat Satellite upgrade process has successfully completed.
Please refer to appropriate upgrade document in /etc/sysconfig/rhn/satellite-upgrade
for any remaining steps in the process.
# grep 'TASK COMPLETE' /var/log/rhn/rhn_installation.log
<no output>


Expected results:
Mostly only lines starting with "*" should be in `./install.pl --upgrade` output and everything printed to user should ba saved into

Comment 6 Tomáš Kašpárek 2017-02-20 14:03:46 UTC
spacewalk.git(master): 2191bff54e81834eb42476fe74d7c528a6041e5e


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