Bug 1516931

Summary: Vitrage unable to listen to default port with mod_wsgi
Product: [Community] RDO Reporter: Mohammed Naser <mnaser>
Component: openstack-selinuxAssignee: Lon Hohberger <lhh>
Status: CLOSED CURRENTRELEASE QA Contact: Ofer Blaut <oblaut>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: trunkCC: aschultz, srevivo, ykarel
Target Milestone: ---   
Target Release: trunk   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-selinux-0.8.11-1.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-01-13 07:46:29 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:

Description Mohammed Naser 2017-11-23 15:38:22 UTC
At the moment, Vitrage is not allowed to listen on it's default port of 8999 through HTTPD because of SELinux.

======================================================
2017-11-23 06:40:10.863195 | primary |   Nov 23 06:40:10 centos-7-rax-iad-0001029438 systemd[1]: Starting The Apache HTTP Server...
2017-11-23 06:40:10.863265 | primary |   Nov 23 06:40:10 centos-7-rax-iad-0001029438 httpd[4715]: (13)Permission denied: AH00072: make_sock: could not bind to address [::]:8999
2017-11-23 06:40:10.863344 | primary |   Nov 23 06:40:10 centos-7-rax-iad-0001029438 httpd[4715]: (13)Permission denied: AH00072: make_sock: could not bind to address 0.0.0.0:8999
2017-11-23 06:40:10.863402 | primary |   Nov 23 06:40:10 centos-7-rax-iad-0001029438 httpd[4715]: no listening sockets available, shutting down
2017-11-23 06:40:10.863454 | primary |   Nov 23 06:40:10 centos-7-rax-iad-0001029438 httpd[4715]: AH00015: Unable to open logs
2017-11-23 06:40:10.863520 | primary |   Nov 23 06:40:10 centos-7-rax-iad-0001029438 systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
2017-11-23 06:40:10.863576 | primary |   Nov 23 06:40:10 centos-7-rax-iad-0001029438 kill[4717]: kill: cannot find process ""
2017-11-23 06:40:10.863637 | primary |   Nov 23 06:40:10 centos-7-rax-iad-0001029438 systemd[1]: httpd.service: control process exited, code=exited status=1
2017-11-23 06:40:10.863691 | primary |   Nov 23 06:40:10 centos-7-rax-iad-0001029438 systemd[1]: Failed to start The Apache HTTP Server.
2017-11-23 06:40:10.863744 | primary |   Nov 23 06:40:10 centos-7-rax-iad-0001029438 systemd[1]: Unit httpd.service entered failed state.
2017-11-23 06:40:10.863791 | primary |   Nov 23 06:40:10 centos-7-rax-iad-0001029438 systemd[1]: httpd.service failed.
======================================================

Comment 1 Alex Schultz 2017-12-05 14:37:07 UTC
Passed CI on https://review.openstack.org/#/c/516226/