Bug 1143065

Summary: Could not set 'present' on ensure: 422 Unprocessable Entity at 12:/usr/share/katello-installer/modules/foreman_proxy/manifests/register.pp
Product: Red Hat Satellite Reporter: Matthew Davis <mdavis>
Component: InstallationAssignee: Katello Bug Bin <katello-bugs>
Status: CLOSED NOTABUG QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.0.4CC: dcleal
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-09-18 19:10:32 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:
Attachments:
Description Flags
katello-installer
none
foreman-production none

Description Matthew Davis 2014-09-17 20:38:04 UTC
Created attachment 938636 [details]
katello-installer

OS: RHEL7
katello-installer-0.0.64-1.el7sat.noarch

Command issued to installer:

#katello-installer -v   --capsule-dns true   --capsule-dns-interface eth0   --capsule-dns-zone rhsat.rdu.salab.redhat.com   --capsule-dns-forwarders 10.11.164.2   --capsule-dns-reverse 88.11.10.in-addr.arpa   --capsule-dhcp true   --capsule-dhcp-interface eth0   --capsule-dhcp-range "10.11.88.100 10.11.88.200"   --capsule-dhcp-gateway 10.11.88.254   --capsule-dhcp-nameservers 10.11.164.2 --capsule-tftp true --capsule-tftp-servername $(hostname) --capsule-puppet true --capsule-puppetca true


[ERROR 2014-09-17 15:28:44 verbose]  /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[satellite.rhsat.rdu.salab.redhat.com]/ensure: change from absent to present failed: Could not set 'present' on ensure: 422 Unprocessable Entity 
at 12:/usr/share/katello-installer/modules/foreman_proxy/manifests/register.pp
[ WARN 2014-09-17 15:28:44 verbose]  Finished catalog run in 1328.14 seconds
[ INFO 2014-09-17 15:28:49 verbose] Puppet has finished, bye!
[ INFO 2014-09-17 15:28:49 verbose] Executing hooks in group post
  Something went wrong! Check the log for ERROR-level output
  The full log is at /var/log/katello-installer/katello-installer.log
[ INFO 2014-09-17 15:28:49 verbose] All hooks in group post finished
[ERROR 2014-09-17 15:28:49 verbose] Repeating errors encountered during run:
[ERROR 2014-09-17 15:28:49 verbose]  Could not set 'present' on ensure: 422 Unprocessable Entity at 12:/usr/share/katello-installer/modules/foreman_proxy/manifests/register.pp
[ERROR 2014-09-17 15:28:49 verbose]  Could not set 'present' on ensure: 422 Unprocessable Entity at 12:/usr/share/katello-installer/modules/foreman_proxy/manifests/register.pp
[ERROR 2014-09-17 15:28:49 verbose]  /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[satellite.rhsat.rdu.salab.redhat.com]/ensure: change from absent to present failed: Could not set 'present' on ensure: 422 Unprocessable Entity 
at 12:/usr/share/katello-installer/modules/foreman_proxy/manifests/register.pp

Full log attached. Will also attach foreman logs

Comment 1 Matthew Davis 2014-09-17 20:39:33 UTC
Created attachment 938637 [details]
foreman-production

Comment 2 RHEL Program Management 2014-09-17 20:43:03 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 4 Dominic Cleal 2014-09-18 17:55:07 UTC
The error in the log is:

  Unable to communicate with the proxy: ERF12-2530 [ProxyAPI::ProxyException]: Unable to detect features ([RestClient::RequestTimeout]: Request Timeout) for proxy https://satellite.rhsat.rdu.salab.redhat.com:9090/features

Perhaps you have a firewall blocking inbound connections to port 9090/tcp?

Comment 5 Matthew Davis 2014-09-18 19:10:32 UTC
Wow. Ok. I had rebuild this machine a time or two (for various reasons). I thought I kept the firewall fixed. This was it. Thanks.