Created attachment 972720 [details]
engine + host deployment + vdsm + supervdsm logs
Description of problem:
trying to add a host using foreman provider. adding a discovered host using host group rhel 6.6.
host is provisioned on satellite and upon successful build sends rhevm the signal to install the host (according to foreman integration plugin).
host is installed and all stages are successful but ends up on non responsive state.
Looking at ui and in logs you can see rhevm didn't find an interface to attach rhevm bridge to, therefore leaving the host with no network and non responsive.
upon re installation, the nic was found at attached to bridge and host went up.
Version-Release number of selected component (if applicable):
reproduced this scenario twice installing rh6.6 on host.
will try with rh7 to see if it reproduces there as well.
Steps to Reproduce:
1. setup satellite with foreman-discovery and Ovirt_provision_plugin and setup rhevm as compute resource.
2. in satellite set up a host group for rhel 6.6 and verify provisioning works.
3. discover host on satellite's network.
4. add satellite as external provider for rhevm.
5. add host using external provider -> choose the host from discovered host list and choose your host group (in my case rhel6.6).
6. wait for host re provisioning to end and installation in rhevm to start.
host becomes non responsive.
host is insatlled and up.
I guess it relates to the os installation itself. something needs to be configured in the provision template to start the dhclient or default config the interfaces i think.. ill check what is missing
I don't think it's os related or a problem with provision template, as installing this host this host on rhevm normally or with the plugin but as provisioned (not discovered), does work fine.
I will try to reproduce with rh7 as well and update the results here.
In the log we also see failures of foreman to set the DNS name for your host.
2014-12-10 21:50:57,484 ERROR [org.ovirt.engine.core.bll.AddVdsCommand] (ajp-/127.0.0.1:8702-1) [6a4624c5] Command org.ovirt.engine.core.bll.AddVdsCommand throw Vdc Bll exception. With error message VdcBLLException: Create Reverse DNS record for rose04.sefi.com task failed with the following error: ERF12-2357 [ProxyAPI::ProxyException]: Unable to set DNS entry ([RestClient::BadRequest]: 400 Bad Request) for proxy https://rose02.qa.lab.tlv.redhat.com:9090/dns (Failed with error PROVIDER_FAILURE and code 5050)
Were you able to pass this step?
Also, please provide full vdsm.log file. The log seems incomplete.
Just tried that and the host became up successfully . your issue seems to be related to "java.net.NoRouteToHostException: No route to host". we need to check your setup again and verify that each installed host can be reached by the engine.
in this integration you can have such scenario where foreman can reach some hosts, therefore you can provision them by rhevm that can reach foreman.
but it doesn't say that rhevm can reach the hosts as well. specially if you didn't configure foreman as the resolver of the engine's machine, otherwise rose04 can't be resolved anyhow..
ping me when you're around and we'll check that together, i think changing the resolve.conf on your engine setup to forward requests to the foreman address will solve this
if you can try that please update about the results
Reproduced the bug with installation of rhel7 as well as rhel 6.6, bur persists.
after this happens, re-installation works so there's probably some other problem hiding.
org.ovirt.engine-root-3.5.0-30 doesn't seem like version of rpm...
could you provide version of rpm where this is fixed so i test it on correct version, please?
bugs were moved by ERRATA to RELEASE PENDING bug not closed probably due to errata error.
closing as 3.5.0 is released.