Bug 1361332
Summary: | Hypervisor host fails to convert to managed host during RHEV deployment | |||
---|---|---|---|---|
Product: | Red Hat Quickstart Cloud Installer | Reporter: | Tasos Papaioannou <tpapaioa> | |
Component: | Installation - RHEV | Assignee: | Jason Montleon <jmontleo> | |
Status: | CLOSED DEFERRED | QA Contact: | Dave Johnson <dajohnso> | |
Severity: | high | Docs Contact: | Derek <dcadzow> | |
Priority: | unspecified | |||
Version: | 1.0 | CC: | apagac, bthurber, dcadzow, jmatthew, llasmith, lzap, qci-bugzillas, tcarlin, tsanders | |
Target Milestone: | --- | Keywords: | Reopened, Triaged | |
Target Release: | 1.2 | |||
Hardware: | All | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | If docs needed, set a value | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1367898 (view as bug list) | Environment: | ||
Last Closed: | 2019-02-25 17:28:56 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: | 1367549 | |||
Bug Blocks: | 1367898 |
Description
Tasos Papaioannou
2016-07-28 20:51:55 UTC
Closing, please re-open if you hit this again at which point please include the satellite logs. We need the foreman/production.log to be able to debug this further. For me, this was solved by adding Satellite IP as a DNS server to /etc/resolv.conf. The file got changed because I had another NIC up where DHCP was running. For more, look at bug 1360422. Also seen deploying: RHV Engine + Hypervisor + CloudForms at 46.4% Excerpt from deployment.log: D, [2016-08-16T12:43:55.875677 #19999] DEBUG -- : ================ Finished validating discovered host facts ==================== D, [2016-08-16T12:43:55.934445 #19999] DEBUG -- : assignee host type is now: Host::Managed D, [2016-08-16T12:43:55.934793 #19999] DEBUG -- : saving host of type: Host::Managed D, [2016-08-16T12:43:55.935116 #19999] DEBUG -- : calling save production.log 2016-08-16 12:43:55 [app] [I] Waiting for host <<hypervisor_fqdn>>'s puppet run to complete 2016-08-16 12:43:55 [app] [I] Starting host 24 deployment... 2016-08-16 12:43:56 [foreman-tasks/action] [E] Host with id 24 was not converted to a managed host. (RuntimeError) | /opt/theforeman/tfm/root/usr/share/gems/gems/fusor_server-1.0.1/app/lib/actions/fusor/host/trigger_provisioning.rb:116:in `block in assign_host_to_hostgroup' | /opt/rh/rh-ror41/root/usr/share/gems/gems/activerecord-4.1.5/lib/active_record/connection_adapters/abstract/database_statements.rb:201:in `block in transaction' | /opt/rh/rh-ror41/root/usr/share/gems/gems/activerecord-4.1.5/lib/active_record/connection_adapters/abstract/database_statements.rb:209:in `within_new_transaction' | /opt/rh/rh-ror41/root/usr/share/gems/gems/activerecord-4.1.5/lib/active_record/connection_adapters/abstract/database_statements.rb:201:in `transaction' | /opt/rh/rh-ror41/root/usr/share/gems/gems/activerecord-4.1.5/lib/active_record/transactions.rb:208:in `transaction' | /usr/share/foreman/app/models/host.rb:15:in `method_missing' | /opt/theforeman/tfm/root/usr/share/gems/gems/fusor_server-1.0.1/app/lib/actions/fusor/host/trigger_provisioning.rb:93:in `assign_host_to_hostgroup' | /opt/theforeman/tfm/root/usr/share/gems/gems/fusor_server-1.0.1/app/lib/actions/fusor/host/trigger_provisioning.rb:34:in `run' | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action.rb:506:in `block (3 levels) in execute_run' | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware/stack.rb:26:in `call' | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware/stack.rb:26:in `pass' | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware.rb:17:in `pass' | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action/progress.rb:30:in `with_progress_calculation' | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/action/progress.rb:16:in `run' | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware/stack.rb:22:in `call' | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware/stack.rb:26:in `pass' | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware.rb:17:in `pass' | /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.70/app/lib/actions/middleware/keep_locale.rb:11:in `block in run' | /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.70/app/lib/actions/middleware/keep_locale.rb:22:in `with_locale' | /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.70/app/lib/actions/middleware/keep_locale.rb:11:in `run' | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware/stack.rb:22:in `call' | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.11/lib/dynflow/middleware/stack.rb:26:in `pass' [snip] Host 24 is not in "hammer list" but is in "hammer discovery list". The MAC address of host 24 and 25 is the same -- all facts are the same. The ID, name, and Last report differ. Host names are fdi.cfme.lab.eng.rdu2.redhat.com "hammer discovery facts" also displays "Error: undefined method `meta' for #<Array:0x0000000462a580>" Possibly tied to DHCP/Discovery/Subnet. Workaround: hammer host list hammer host delete --id=x where x > 1 ^^^^ Use with extreme caution May also need: * Infrastructure > Subnet * Select "default" * Change Start of IP range/End of IP range so it does not overlap the pool in /etc/dhcp/dhcpd.conf Moving to 1.2 release as this BZ depends on a fix to Satellite we expect to be in Sat 6.3. QCI has sunset. Closing the BZ's |