Bug 790663 - "Service unavailable or restarting" happens when SELinux is enforcing
Summary: "Service unavailable or restarting" happens when SELinux is enforcing
Keywords:
Status: CLOSED DUPLICATE of bug 790507
Alias: None
Product: Subscription Asset Manager
Classification: Retired
Component: katello-configure
Version: 1.0.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Bryan Kearney
QA Contact: Eric Sammons
URL:
Whiteboard:
Depends On:
Blocks: 703617
TreeView+ depends on / blocked
 
Reported: 2012-02-15 06:09 UTC by yu zheng
Modified: 2012-02-15 13:01 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-15 13:01:26 UTC
Embargoed:


Attachments (Terms of Use)

Description yu zheng 2012-02-15 06:09:09 UTC
Description of problem:
A newly deployed SAM server doesn't work. All headpin commands return "Service unavailable or restarting, try later".

Build: 2012-02-13.1 on puddle

Version-Release number of selected component (if applicable):
katello-headpin-all-0.1.135-2.el6.noarch
katello-cli-headpin-0.1.15-2.el6.noarch
thumbslug-0.0.21-1.el6.noarch
candlepin-0.5.18-1.el6.noarch

How reproducible:
always

Steps to Reproduce:
1.Install katello-headpin-all and configure to SAM successfully.
2.Use headpin command to get the status of the katello server.
[root@samserv ~]# headpin -u admin -p admin ping
Service unavailable or restarting, try later
3.Get status of SELinux.
[root@samserv ~]# getenforce
Enforcing
  
Actual results:
Katello service is unavailable.

Expected results:
Status of the katello server should display successfully after configuring.

Additional info:
If SElinux is closed manually, the SAM server will work normally.
[root@samserv ~]# setenforce 0
[root@samserv ~]# getenforce
Permissive
[root@samserv ~]# headpin -u admin -p admin ping
--------------------------------------------------------------------------------
                                 Katello Status

 Status   Service          Result   Duration   Message
--------------------------------------------------------------------------------
 ok
          candlepin        ok       2702ms
          candlepin_auth   ok       16ms
          elasticsearch    ok       3343ms
          katello_jobs     ok       1575ms

Comment 1 Bryan Kearney 2012-02-15 13:01:26 UTC

*** This bug has been marked as a duplicate of bug 790507 ***


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