Bug 1313860
| Summary: | Smart proxy does not start with SYSLOG setting | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Lukas Zapletal <lzap> |
| Component: | Foreman Proxy | Assignee: | Lukas Zapletal <lzap> |
| Status: | CLOSED ERRATA | QA Contact: | Sachin Ghai <sghai> |
| Severity: | high | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 6.2.0 | CC: | bbuckingham, lzap, sghai |
| Target Milestone: | Unspecified | Keywords: | Triaged |
| Target Release: | Unused | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | http://projects.theforeman.org/issues/13427 | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-07-27 09:24:44 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: | 1313857 | ||
|
Description
Lukas Zapletal
2016-03-02 13:16:48 UTC
Upstream bug assigned to lzap Moving to POST since upstream bug http://projects.theforeman.org/issues/13427 has been closed ------------- Anonymous Applied in changeset commit:a838204ef2e21b9c3e89db84894b35a7af059d18. @Lzap: please provide verification steps. I'm assuming foreman-proxy should run on the image. Anything else needs to be tested here ? Please suggest. Steps: Boot a PXE-less or PXE discovery, login to the image, issue something like journalctl -u foreman-proxy and you should see logs from foreman-proxy process (at least startup logs). Verified with sat6.2 beta snap8.2
I can see logs from foreman-proxy process:
[root@fdi ~]# journalctl -u foreman-proxy
-- Logs begin at Tue 2016-04-19 16:42:12 UTC, end at Wed 2016-04-20 06:37:03 UTC. --
Apr 19 16:42:23 fdi systemd[1]: Started Foreman Proxy.
Apr 19 16:44:24 fdi systemd[1]: Stopped Foreman Proxy.
Apr 19 16:44:26 fdi systemd[1]: Starting Foreman Proxy...
Apr 19 16:44:26 fdi generate-proxy-cert[1226]: Generating a 2048 bit RSA private key
Apr 19 16:44:26 fdi generate-proxy-cert[1226]: ...................+++
Apr 19 16:44:26 fdi generate-proxy-cert[1226]: ................................+++
Apr 19 16:44:26 fdi generate-proxy-cert[1226]: writing new private key to '/etc/foreman-proxy/key.pem'
Apr 19 16:44:26 fdi generate-proxy-cert[1226]: -----
Apr 19 16:44:26 fdi foreman-proxy[1275]: Finished initialization of module 'discovery_image'
Apr 19 16:44:26 fdi foreman-proxy[1275]: 'foreman_proxy' settings were initialized with default values: :enabled: true
Apr 19 16:44:26 fdi foreman-proxy[1275]: Finished initialization of module 'foreman_proxy'
Apr 19 16:44:26 fdi foreman-proxy[1275]: Finished initialization of module 'facts'
Apr 19 16:44:26 fdi foreman-proxy[1275]: Finished initialization of module 'bmc'
Apr 19 16:44:26 fdi systemd[1]: PID file /run/foreman-proxy/foreman-proxy.pid not readable (yet?) after start.
Apr 19 16:44:26 fdi systemd[1]: Started Foreman Proxy.
Apr 19 16:44:26 fdi foreman-proxy[1282]: WEBrick 1.3.1
Apr 19 16:44:26 fdi foreman-proxy[1282]: ruby 2.0.0 (2014-11-13) [x86_64-linux]
Apr 19 16:44:26 fdi foreman-proxy[1282]: TCPServer.new(0.0.0.0, 8443)
Apr 19 16:44:26 fdi foreman-proxy[1282]: TCPServer.new(::, 8443)
Apr 19 16:44:26 fdi foreman-proxy[1282]: TCPServer Error: Address already in use - bind(2)
Apr 19 16:44:26 fdi foreman-proxy[1282]: Certificate:
Data:
Version: 3 (0x2)
Serial Number: 11086402602131776804 (0x99dad06da907e524)
Signature Algorithm: sha256WithRSAEncryption
Issuer: CN=192.168.100.10
Validity
Not Before: Apr 19 16:44:26 2016 GMT
Not After : Jan 13 16:44:26 2019 GMT
Subject: CN=192.168.100.10
Subject Public Key Info:
Public Key Algorithm: rsaEncryption
Public-Key: (2048 bit)
lines 1-34
But I can see TCPServer error: Address already in use - bind(2)
verifying this bz and will open a new bz for TCPServer error. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2016:1501 |