Bug 1143065 - Could not set 'present' on ensure: 422 Unprocessable Entity at 12:/usr/share/katello-installer/modules/foreman_proxy/manifests/register.pp
Summary: Could not set 'present' on ensure: 422 Unprocessable Entity at 12:/usr/share/...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Installation
Version: 6.0.4
Hardware: All
OS: All
unspecified
medium
Target Milestone: Unspecified
Assignee: Katello Bug Bin
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-17 20:38 UTC by Matthew Davis
Modified: 2017-02-23 20:56 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-09-18 19:10:32 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
katello-installer (1.16 MB, text/plain)
2014-09-17 20:38 UTC, Matthew Davis
no flags Details
foreman-production (506.10 KB, text/plain)
2014-09-17 20:39 UTC, Matthew Davis
no flags Details

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.


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