Bug 1130429
Summary: | katello-installer fails with "Could not set 'present' on ensure: 422 Unprocessable Entity" | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Pavel Moravec <pmoravec> |
Component: | Installation | Assignee: | Dominic Cleal <dcleal> |
Status: | CLOSED WORKSFORME | QA Contact: | Katello QA List <katello-qa-list> |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | 6.0.3 | CC: | bbuckingham, pmoravec, shughes, xdmoon |
Target Milestone: | Unspecified | ||
Target Release: | Unused | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-08-22 11:20: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: | |||
Bug Depends On: | |||
Bug Blocks: | 1115190 |
Description
Pavel Moravec
2014-08-15 08:21:17 UTC
Some BZ troubleshooting: - bz1121697 mentioning the same error: resolution (adding symlink) does not help - Tomcat runs well, foreman-proxy logs are basically empty I cannot reproduce the issue on the VM you mentioned: [root@pmoravec-sat6 ~]# service foreman-proxy status foreman-proxy (pid 6291) is running... [root@pmoravec-sat6 ~]# ps auxww | grep proxy 492 6291 0.1 0.4 161444 53020 ? SNl Aug16 9:44 /usr/bin/ruby /usr/share/foreman-proxy/bin/smart-proxy [root@pmoravec-sat6 ~]# telnet pmoravec-sat6.gsslab.fab.redhat.com 9090 -bash: telnet: command not found [root@pmoravec-sat6 ~]# katello-installer --reset Installing Done [100%] [......................................] Success! * Katello is running at https://pmoravec-sat6.gsslab.fab.redhat.com Initial credentials are admin / redacted * Capsule is running at https://pmoravec-sat6.gsslab.fab.redhat.com:9090 * To install additional capsule on separate machine continue by running:" capsule-certs-generate --capsule-fqdn "$CAPSULE" --certs-tar "~/$CAPSULE-certs.tar" The full log is at /var/log/katello-installer/katello-installer.log [root@pmoravec-sat6 ~]# service foreman-proxy status foreman-proxy (pid 6291) is running... The error in the description indicates the foreman-proxy process simply isn't running, or perhaps the name resolves to another host, though the host appears to be running the foreman-proxy perfectly fine right now. "([Errno::ECONNREFUSED]: Connection refused - connect(2)) for proxy https://pmoravec-sat6.gsslab.fab.redhat.com:9090/features"^[[0m," (In reply to Dominic Cleal from comment #3) > I cannot reproduce the issue on the VM you mentioned: > > [root@pmoravec-sat6 ~]# service foreman-proxy status > foreman-proxy (pid 6291) is running... > [root@pmoravec-sat6 ~]# ps auxww | grep proxy > 492 6291 0.1 0.4 161444 53020 ? SNl Aug16 9:44 > /usr/bin/ruby /usr/share/foreman-proxy/bin/smart-proxy > [root@pmoravec-sat6 ~]# telnet pmoravec-sat6.gsslab.fab.redhat.com 9090 > -bash: telnet: command not found > [root@pmoravec-sat6 ~]# katello-installer --reset > Installing Done > [100%] [......................................] > Success! > * Katello is running at https://pmoravec-sat6.gsslab.fab.redhat.com > Initial credentials are admin / redacted > * Capsule is running at https://pmoravec-sat6.gsslab.fab.redhat.com:9090 > * To install additional capsule on separate machine continue by running:" > > capsule-certs-generate --capsule-fqdn "$CAPSULE" --certs-tar > "~/$CAPSULE-certs.tar" > > The full log is at /var/log/katello-installer/katello-installer.log > [root@pmoravec-sat6 ~]# service foreman-proxy status > foreman-proxy (pid 6291) is running... > > The error in the description indicates the foreman-proxy process simply > isn't running, or perhaps the name resolves to another host, though the host > appears to be running the foreman-proxy perfectly fine right now. > > "([Errno::ECONNREFUSED]: Connection refused - connect(2)) for proxy > https://pmoravec-sat6.gsslab.fab.redhat.com:9090/features"^[[0m," It seems I had to change /etc/hosts meantime due to some other activity. Most probably the file was wrong or hostname was improperly resolved. Closing it as worksforme (clean re-installation tested just now). |