Bug 69196 - Cannot Publish Errata
Cannot Publish Errata
Status: CLOSED RAWHIDE
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Server (Show other bugs)
unspecified
i386 Linux
high Severity high
: ---
: ---
Assigned To: Adrian Likins
Fanny Augustin
/network/errata_editor/confirm_publis...
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2002-07-18 16:00 EDT by Matt Jamison
Modified: 2007-07-31 15:19 EDT (History)
7 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2002-07-18 17:39:28 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Traceback from sat-app.test.redhat.com (2.05 KB, text/plain)
2002-07-18 16:03 EDT, Josef Komenda
no flags Details

  None (edit)
Description Josef Komenda 2002-07-18 16:00:21 EDT
Description of Problem: 500 error on final errata publis confirmation screen.


Version-Release number of selected component (if applicable): see bug 63780


Steps to Reproduce:
1. Create a 7.2 errata on your satellite 
2. Add a package to a custom child channel
3. publish the errata to the channel
4. Confirm publication of errata to channel

Actual Results: 500 error

Expected Results: happy confirmation


Additional Information: log into sat-app.test.redhat.com to confirm
    user: sat-app
    pass: pink4all
Comment 1 Josef Komenda 2002-07-18 16:03:09 EDT
Created attachment 65849 [details]
Traceback from sat-app.test.redhat.com
Comment 2 Robin Norwood 2002-07-18 16:21:11 EDT
Argument "@@rhnproc_port@@" isn't numeric in subroutine entry at
/usr/lib/perl5/5.6.1/i386-linux/Socket.pm line 315.
Use of uninitialized value in subroutine entry at
/usr/lib/perl5/5.6.1/i386-linux/Socket.pm line 315.


Classic case of garbage in, garbage out.  Looks like the value isn't getting
substituted in /etc/rhn/rhn.conf: 

web.rhnproc_server = @@rhnproc_server@@
web.rhnproc_port =   @@rhnproc_port@@

proper values for a satellite server are *proabably* it's hostname ('localhost'
should work) and 12121

Confirmed that this works on sat-app after file is fixed - old file saved on
sat-app as /etc/rhn/rhn.conf.old for comparison.
Comment 3 Josef Komenda 2002-07-18 17:21:18 EDT
Fixed, closing.
Comment 4 Josef Komenda 2002-07-18 17:38:47 EDT
Whoops, not really fixed - over to Adrian to make a fix to the installer to add
the right default values for:

web.rhnproc_server = @@rhnproc_server@@
web.rhnproc_port =   @@rhnproc_port@@

proper values for a satellite server are hostname ('localhost'
should work) and 12121
Comment 5 Josef Komenda 2002-07-19 13:20:30 EDT
Confirmed good in latest version of installer. Closing.

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