Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1362236

Summary: Upgrade to Sat 6.2 fails when proxy registration happens before Apache is started
Product: Red Hat Satellite Reporter: Ash Westbrook <awestbro>
Component: Docs Install GuideAssignee: Stephen Wadeley <swadeley>
Status: CLOSED CURRENTRELEASE QA Contact: satellite-doc-list
Severity: high Docs Contact:
Priority: high    
Version: 6.2.0CC: bbuckingham, chrobert, dwoodruf, jcallaha, kdixon, ktordeur, mmccune, parmstro, swadeley, xdmoon
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-10-19 09:53:17 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1362234, 1385841    

Description Ash Westbrook 2016-08-01 16:09:05 UTC
Description of problem:

Satellite upgrade for some customers fails with:

 "[ERROR 2016-07-29 14:30:14 verbose]  /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[<FQDN>]: Could not evaluate: Proxy <FQDN> cannot be registered (Connection refused - connect(2)): N/A"


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

Satellite 6.1.9 upgrade attempt to 6.2.0

How reproducible:

I have reproduced this on my own private instance. Other customers have as well.

Steps to Reproduce:
1. https://access.redhat.com/documentation/en/red-hat-satellite/6.2/paged/installation-guide/chapter-6-upgrading-satellite-server-and-capsule-server

While running the command at step 17 " satellite-installer --scenario satellite --upgrade --verbose --noop"
2.hit issue
3.check installer log and find the a proxy error.
4. Seems to be the same issue as noted in this foreman bug with httpd not running:

projects.theforeman.org/issues/3083

Actual results:

upgrade fails


Expected results:

upgrade should succeed


Additional info:

Comment 2 Kathryn Dixon 2016-08-01 18:40:36 UTC
 satellite-installer --scenario satellite --upgrade --verbose

Running this without the --noops is successful for me.

Comment 3 Stephen Wadeley 2016-08-02 13:58:47 UTC
*** Bug 1362559 has been marked as a duplicate of this bug. ***

Comment 7 Chris Roberts 2016-08-12 23:43:43 UTC
*** Bug 1360938 has been marked as a duplicate of this bug. ***

Comment 8 Stephen Wadeley 2016-08-19 13:02:46 UTC
Hello

is this not really a docs bug?


Please see new text at link [1]


We changed the text a bit and used bold to emphasize that this was an optional step. We also added a substep to add an include line in '/etc/httpd/conf/httpd.conf' for '/etc/httpd/conf.modules.d/*.conf' to stop the error occurring that was confusing people.

This is the fist two lines from the step (currently step 18) at [1]

QUOTE: If you have custom configurations, they will be reverted to the installation defaults in the next step. If you want to see what will be changed *when you perform the upgrade*,


near the end is this line:

QUOTE: to see what changes *would be applied* if the --noop option was omitted 




[1]
https://access.redhat.com/documentation/en/red-hat-satellite/6.2/paged/installation-guide/chapter-6-upgrading-satellite-server-and-capsule-server#upgrading_satellite_server

Comment 9 Xixi 2016-10-04 22:50:02 UTC
Bug 1363731 - Error while trying to evaluate the Satellite upgrade process using --noop option 
looks like a duplicate of this one

Comment 11 Stephen Wadeley 2016-10-19 09:53:17 UTC
Hello

Changes as per BZ#1367674 are now live on the customer portal.