Bug 1113738

Summary: 422 Unprocessable Entity (RestClient::UnprocessableEntity)
Product: Red Hat OpenStack Reporter: Dan Radez <dradez>
Component: rhel-osp-installerAssignee: Mike Burns <mburns>
Status: CLOSED DUPLICATE QA Contact: Omri Hochman <ohochman>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.0 (RHEL 6)CC: mburns, rhos-maint
Target Milestone: ---   
Target Release: 5.0 (RHEL 7)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-26 19:53: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:

Description Dan Radez 2014-06-26 19:22:42 UTC
Description of problem:
on final seeding of provisioning data I get the error
Starting to seed provisioning data
/usr/lib/ruby/gems/1.8/gems/rest-client-1.6.1/lib/restclient/abstract_response.rb:48:in `return!': 422 Unprocessable Entity (RestClient::UnprocessableEntity)
	from /usr/lib/ruby/gems/1.8/gems/rest-client-1.6.1/lib/restclient/request.rb:220:in `process_result'
	from /usr/lib/ruby/gems/1.8/gems/rest-client-1.6.1/lib/restclient/request.rb:169:in `transmit'
	from /usr/lib/ruby/1.8/net/http.rb:543:in `start'
	from /usr/lib/ruby/gems/1.8/gems/rest-client-1.6.1/lib/restclient/request.rb:166:in `transmit'
	from /usr/lib/ruby/gems/1.8/gems/rest-client-1.6.1/lib/restclient/request.rb:60:in `execute'
	from /usr/lib/ruby/gems/1.8/gems/rest-client-1.6.1/lib/restclient/request.rb:31:in `execute'
	from /usr/lib/ruby/gems/1.8/gems/rest-client-1.6.1/lib/restclient/resource.rb:63:in `post'
	from /usr/lib/ruby/gems/1.8/gems/foreman_api-0.1.11/lib/foreman_api/base.rb:79:in `send'
	from /usr/lib/ruby/gems/1.8/gems/foreman_api-0.1.11/lib/foreman_api/base.rb:79:in `http_call'
	from /usr/lib/ruby/gems/1.8/gems/foreman_api-0.1.11/lib/foreman_api/base.rb:62:in `perform_call'
	from /usr/lib/ruby/gems/1.8/gems/foreman_api-0.1.11/lib/foreman_api/resources/parameter.rb:54:in `create'
	from /usr/share/foreman-installer/hooks/lib/foreman.rb:73:in `show_or_ensure'
	from /usr/share/foreman-installer/hooks/lib/provisioning_seeder.rb:93:in `seed'
	from /usr/share/foreman-installer/hooks/lib/provisioning_seeder.rb:65:in `each'
	from /usr/share/foreman-installer/hooks/lib/provisioning_seeder.rb:65:in `seed'
	from /usr/share/foreman-installer/hooks/post/10-setup_provisioning.rb:29:in `load'
	from /usr/lib/ruby/gems/1.8/gems/kafo-0.6.3/lib/kafo/hook_context.rb:13:in `instance_exec'
	from /usr/lib/ruby/gems/1.8/gems/kafo-0.6.3/lib/kafo/hook_context.rb:13:in `execute'
	from /usr/lib/ruby/gems/1.8/gems/kafo-0.6.3/lib/kafo/hooking.rb:48:in `execute'
	from /usr/lib/ruby/gems/1.8/gems/kafo-0.6.3/lib/kafo/hooking.rb:47:in `each_pair'
	from /usr/lib/ruby/gems/1.8/gems/kafo-0.6.3/lib/kafo/hooking.rb:47:in `execute'
	from /usr/lib/ruby/gems/1.8/gems/kafo-0.6.3/lib/kafo/kafo_configure.rb:339:in `run_installation'
	from /usr/lib/ruby/gems/1.8/gems/kafo-0.6.3/lib/kafo/exit_handler.rb:24:in `call'
	from /usr/lib/ruby/gems/1.8/gems/kafo-0.6.3/lib/kafo/exit_handler.rb:24:in `exit'
	from /usr/lib/ruby/gems/1.8/gems/kafo-0.6.3/lib/kafo/kafo_configure.rb:122:in `exit'
	from /usr/lib/ruby/gems/1.8/gems/kafo-0.6.3/lib/kafo/kafo_configure.rb:338:in `run_installation'
	from /usr/lib/ruby/gems/1.8/gems/kafo-0.6.3/lib/kafo/kafo_configure.rb:109:in `execute'
	from /usr/lib/ruby/gems/1.8/gems/clamp-0.6.2/lib/clamp/command.rb:67:in `run'
	from /usr/lib/ruby/gems/1.8/gems/clamp-0.6.2/lib/clamp/command.rb:125:in `run'
	from /usr/lib/ruby/gems/1.8/gems/kafo-0.6.3/lib/kafo/kafo_configure.rb:116:in `run'
	from /usr/sbin/rhel-osp-installer:54


Version-Release number of selected component (if applicable):
rhel-osp-installer 0.0.25-3

How reproducible:
every time

Steps to Reproduce:
Networking setup:
       Network interface: 'eth0'
              IP address: '10.1.254.1'
            Network mask: '255.255.255.0'
         Network address: '10.1.254.0'
            Host Gateway: '10.1.254.254'
        DHCP range start: '10.1.254.2'
          DHCP range end: '10.1.254.40'
            DHCP Gateway: '10.1.254.254'
           DNS forwarder: '10.1.16.30'
                  Domain: 'example.com'
             Foreman URL: 'https://livecd.example.com'
           NTP sync host: '1.centos.pool.ntp.org'
Configure networking on this machine: ✓
Configure firewall on this machine: ✓

default authentication

Enter RHEL repo path:
1. Set RHEL repo path (http or https URL): http://download.lab.bos.redhat.com/released/RHEL-7/7.0/Server/x86_64/os/

Enter your subscription manager credentials:
1. Subscription manager username:       myusername
2. Subscription manager password:       mypassword
3. Comma separated repositories:        rhel-7-server-openstack-beta-rpms
4. Subscription manager pool (optional): 8a85f9823e3d5e43013e3dce8ff306fd

Actual results:
422 Unprocessable Entity (RestClient::UnprocessableEntity)

Expected results:
error free installation

Additional info:

Comment 2 Mike Burns 2014-06-26 19:53:32 UTC

*** This bug has been marked as a duplicate of bug 1113537 ***