[Engine-devel] Failed to configure management network on the host

Hi, After adding a host to a 3.2 cluster, bootstrap went through fine and in the end it failed with the following error. "Host s2 installation failed. Failed to configure manamgent network on the host." Attached engine.log and vdsm.log Vdsm rpms: vdsm-4.10.2-22.2.el6rhs.x86_64 vdsm-python-4.10.2-22.2.el6rhs.x86_64 vdsm-cli-4.10.2-22.2.el6rhs.noarch vdsm-gluster-4.10.2-22.2.el6rhs.noarch vdsm-xmlrpc-4.10.2-22.2.el6rhs.noarch Engine rpms: recent code from master Can someone please help in resolving this issue, Thanks, Kanagaraj

Seeing this as well but during host activation with latest master vdsm/engine. --> http://lists.ovirt.org/pipermail/engine-devel/2013-June/004752.html On Mon, Jun 3, 2013 at 9:45 AM, Kanagaraj <kmayilsa@redhat.com> wrote:
Hi,
After adding a host to a 3.2 cluster, bootstrap went through fine and in the end it failed with the following error.
"Host s2 installation failed. Failed to configure manamgent network on the host."
Attached engine.log and vdsm.log
Vdsm rpms: vdsm-4.10.2-22.2.el6rhs.x86_64 vdsm-python-4.10.2-22.2.**el6rhs.x86_64 vdsm-cli-4.10.2-22.2.el6rhs.**noarch vdsm-gluster-4.10.2-22.2.**el6rhs.noarch vdsm-xmlrpc-4.10.2-22.2.**el6rhs.noarch
Engine rpms: recent code from master
Can someone please help in resolving this issue,
Thanks, Kanagaraj
_______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel

This is a multi-part message in MIME format. --------------010106040905000302050303 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Host installation went through successfully after reverting the change eca95e192ebf3e1fe0e9440bb8fac694214ca8fd (Change Iaf82e104: engine: Allow engine to configure management network ). Thanks, Kanagaraj On 06/04/2013 12:23 AM, Dead Horse wrote:
Seeing this as well but during host activation with latest master vdsm/engine. --> http://lists.ovirt.org/pipermail/engine-devel/2013-June/004752.html
On Mon, Jun 3, 2013 at 9:45 AM, Kanagaraj <kmayilsa@redhat.com <mailto:kmayilsa@redhat.com>> wrote:
Hi,
After adding a host to a 3.2 cluster, bootstrap went through fine and in the end it failed with the following error.
"Host s2 installation failed. Failed to configure manamgent network on the host."
Attached engine.log and vdsm.log
Vdsm rpms: vdsm-4.10.2-22.2.el6rhs.x86_64 vdsm-python-4.10.2-22.2.el6rhs.x86_64 vdsm-cli-4.10.2-22.2.el6rhs.noarch vdsm-gluster-4.10.2-22.2.el6rhs.noarch vdsm-xmlrpc-4.10.2-22.2.el6rhs.noarch
Engine rpms: recent code from master
Can someone please help in resolving this issue,
Thanks, Kanagaraj
_______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org <mailto:Engine-devel@ovirt.org> http://lists.ovirt.org/mailman/listinfo/engine-devel
--------------010106040905000302050303 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit <html> <head> <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#FFFFFF" text="#000000"> <div class="moz-cite-prefix">Host installation went through successfully after reverting the change eca95e192ebf3e1fe0e9440bb8fac694214ca8fd (Change Iaf82e104: engine: Allow engine to configure management network <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> ).<br> <br> Thanks,<br> Kanagaraj<br> <br> On 06/04/2013 12:23 AM, Dead Horse wrote:<br> </div> <blockquote cite="mid:CAEWPe=r172RzXMtPx0=3M7bpFLts9T9c3NtRDQOnYn9QJ0_hdQ@mail.gmail.com" type="cite"> <div dir="ltr">Seeing this as well but during host activation with latest master vdsm/engine.<br> --> <a moz-do-not-send="true" href="http://lists.ovirt.org/pipermail/engine-devel/2013-June/004752.html">http://lists.ovirt.org/pipermail/engine-devel/2013-June/004752.html</a><br> <br> </div> <div class="gmail_extra"><br> <br> <div class="gmail_quote">On Mon, Jun 3, 2013 at 9:45 AM, Kanagaraj <span dir="ltr"><<a moz-do-not-send="true" href="mailto:kmayilsa@redhat.com" target="_blank">kmayilsa@redhat.com</a>></span> wrote:<br> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br> <br> After adding a host to a 3.2 cluster, bootstrap went through fine and in the end it failed with the following error.<br> <br> "Host s2 installation failed. Failed to configure manamgent network on the host."<br> <br> Attached engine.log and vdsm.log<br> <br> Vdsm rpms:<br> vdsm-4.10.2-22.2.el6rhs.x86_64<br> vdsm-python-4.10.2-22.2.el6rhs.x86_64<br> vdsm-cli-4.10.2-22.2.el6rhs.noarch<br> vdsm-gluster-4.10.2-22.2.el6rhs.noarch<br> vdsm-xmlrpc-4.10.2-22.2.el6rhs.noarch<br> <br> Engine rpms: recent code from master<br> <br> Can someone please help in resolving this issue,<br> <br> Thanks,<br> Kanagaraj<br> <br> _______________________________________________<br> Engine-devel mailing list<br> <a moz-do-not-send="true" href="mailto:Engine-devel@ovirt.org">Engine-devel@ovirt.org</a><br> <a moz-do-not-send="true" href="http://lists.ovirt.org/mailman/listinfo/engine-devel" target="_blank">http://lists.ovirt.org/mailman/listinfo/engine-devel</a><br> <br> </blockquote> </div> <br> </div> </blockquote> <br> </body> </html> --------------010106040905000302050303--

Hi, Same host activation flow should work on the master as well as the management network will not be created as part of the host activation. So reverted changes were already merged by commit bdd8966d97e1e02e775ee6f755d0a3637a668911 For more details about host installation see: http://www.ovirt.org/Features/Normalized_ovirtmgmt_Initialization Thanks, Moti See On 06/04/2013 08:51 AM, Kanagaraj wrote:
Host installation went through successfully after reverting the change eca95e192ebf3e1fe0e9440bb8fac694214ca8fd (Change Iaf82e104: engine: Allow engine to configure management network ).
Thanks, Kanagaraj
On 06/04/2013 12:23 AM, Dead Horse wrote:
Seeing this as well but during host activation with latest master vdsm/engine. --> http://lists.ovirt.org/pipermail/engine-devel/2013-June/004752.html
On Mon, Jun 3, 2013 at 9:45 AM, Kanagaraj <kmayilsa@redhat.com <mailto:kmayilsa@redhat.com>> wrote:
Hi,
After adding a host to a 3.2 cluster, bootstrap went through fine and in the end it failed with the following error.
"Host s2 installation failed. Failed to configure manamgent network on the host."
Attached engine.log and vdsm.log
Vdsm rpms: vdsm-4.10.2-22.2.el6rhs.x86_64 vdsm-python-4.10.2-22.2.el6rhs.x86_64 vdsm-cli-4.10.2-22.2.el6rhs.noarch vdsm-gluster-4.10.2-22.2.el6rhs.noarch vdsm-xmlrpc-4.10.2-22.2.el6rhs.noarch
Engine rpms: recent code from master
Can someone please help in resolving this issue,
Thanks, Kanagaraj
_______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org <mailto:Engine-devel@ovirt.org> http://lists.ovirt.org/mailman/listinfo/engine-devel

Hi Moti, Not sure I understand your comment about host activation flow. commit bdd8966d97e1e02e775ee6f755d0a3637a668911 (engine: Remove mgmt network setup from host activation) is present in our code base, but we were not using the host activation flow. Here's what we tried to do. Add a host (with vdsm 4.10.2 installed) to engine (built from Jun 2 upstream codebase). The installation failed with "Failed to configure manamgent network on the host" and the logs had this 2013-06-03 19:49:03,390 INFO [org.ovirt.engine.core.bll.network.NetworkConfigurator] (pool-4-thread-50) [7bf46c88] Engine managed to communicate with VDSM agent on host s1 2013-06-03 19:49:03,412 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.CollectVdsNetworkDataVDSCommand] (pool-4-thread-50) [7bf46c88] Command CollectVdsNetworkDataVDS execution failed. Exception: VDSNetworkException: java.net.ConnectException: Connection refused As Kanagaraj mentioned, reverting the Change Iaf82e104: engine: Allow engine to configure management network , fixed this issue. From the flowchart on http://www.ovirt.org/Features/Normalized_ovirtmgmt_Initialization, it seems to fail on the "Configure Management Network (by setup networks)" action. Any help on solving this would be appreciated. thanks sahina On 06/04/2013 11:53 AM, Moti Asayag wrote:
Hi,
Same host activation flow should work on the master as well as the management network will not be created as part of the host activation. So reverted changes were already merged by commit bdd8966d97e1e02e775ee6f755d0a3637a668911
For more details about host installation see: http://www.ovirt.org/Features/Normalized_ovirtmgmt_Initialization
Thanks, Moti
See On 06/04/2013 08:51 AM, Kanagaraj wrote:
Host installation went through successfully after reverting the change eca95e192ebf3e1fe0e9440bb8fac694214ca8fd (Change Iaf82e104: engine: Allow engine to configure management network ).
Thanks, Kanagaraj
On 06/04/2013 12:23 AM, Dead Horse wrote:
Seeing this as well but during host activation with latest master vdsm/engine. --> http://lists.ovirt.org/pipermail/engine-devel/2013-June/004752.html
On Mon, Jun 3, 2013 at 9:45 AM, Kanagaraj <kmayilsa@redhat.com <mailto:kmayilsa@redhat.com>> wrote:
Hi,
After adding a host to a 3.2 cluster, bootstrap went through fine and in the end it failed with the following error.
"Host s2 installation failed. Failed to configure manamgent network on the host."
Attached engine.log and vdsm.log
Vdsm rpms: vdsm-4.10.2-22.2.el6rhs.x86_64 vdsm-python-4.10.2-22.2.el6rhs.x86_64 vdsm-cli-4.10.2-22.2.el6rhs.noarch vdsm-gluster-4.10.2-22.2.el6rhs.noarch vdsm-xmlrpc-4.10.2-22.2.el6rhs.noarch
Engine rpms: recent code from master
Can someone please help in resolving this issue,
Thanks, Kanagaraj
_______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org <mailto:Engine-devel@ovirt.org> http://lists.ovirt.org/mailman/listinfo/engine-devel
Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel

On 06/04/2013 09:52 AM, Sahina Bose wrote:
Hi Moti,
Not sure I understand your comment about host activation flow. commit bdd8966d97e1e02e775ee6f755d0a3637a668911 (engine: Remove mgmt network setup from host activation) is present in our code base, but we were not using the host activation flow.
Hi, My fault, i had a different old thread in my mind. The relevant part from the engine.log indicates that the host deployment ended successfully, host was able to ping VDSM, but the first attempt to run getVdsCaps on vdsm failed. Could you add the relevant vdsm.log which contains the flow-ID 740c5292 which matches the same correlation-id from the engine.log ? 2013-06-03 20:06:49,638 INFO [org.ovirt.engine.core.bll.InstallerMessages] (VdsDeploy) Installation 10.70.43.140: Stage: Termination 2013-06-03 20:06:49,881 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.PollVDSCommand] (pool-4-thread-48) [740c5292] java.util.concurrent.ExecutionException: java.lang.reflect.InvocationTargetException 2013-06-03 20:06:49,882 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.PollVDSCommand] (pool-4-thread-48) [740c5292] Command PollVDS execution failed. Exception: RuntimeException: java.util.concurrent.ExecutionException: java.lang.reflect.InvocationTargetException 2013-06-03 20:06:50,382 INFO [org.ovirt.engine.core.bll.network.NetworkConfigurator] (pool-4-thread-48) [740c5292] Engine managed to communicate with VDSM agent on host s2 2013-06-03 20:06:50,393 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.CollectVdsNetworkDataVDSCommand] (pool-4-thread-48) [740c5292] Command CollectVdsNetworkDataVDS execution failed. Exception: VDSNetworkException: java.net.ConnectException: Connection refused Thanks, Moti
Here's what we tried to do. Add a host (with vdsm 4.10.2 installed) to engine (built from Jun 2 upstream codebase).
The installation failed with "Failed to configure manamgent network on the host"
and the logs had this
2013-06-03 19:49:03,390 INFO [org.ovirt.engine.core.bll.network.NetworkConfigurator] (pool-4-thread-50) [7bf46c88] Engine managed to communicate with VDSM agent on host s1 2013-06-03 19:49:03,412 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.CollectVdsNetworkDataVDSCommand] (pool-4-thread-50) [7bf46c88] Command CollectVdsNetworkDataVDS execution failed. Exception: VDSNetworkException: java.net.ConnectException: Connection refused
As Kanagaraj mentioned, reverting the Change Iaf82e104: engine: Allow engine to configure management network , fixed this issue.
From the flowchart on http://www.ovirt.org/Features/Normalized_ovirtmgmt_Initialization, it seems to fail on the "Configure Management Network (by setup networks)" action.
Any help on solving this would be appreciated.
thanks sahina
On 06/04/2013 11:53 AM, Moti Asayag wrote:
Hi,
Same host activation flow should work on the master as well as the management network will not be created as part of the host activation. So reverted changes were already merged by commit bdd8966d97e1e02e775ee6f755d0a3637a668911
For more details about host installation see: http://www.ovirt.org/Features/Normalized_ovirtmgmt_Initialization
Thanks, Moti
See On 06/04/2013 08:51 AM, Kanagaraj wrote:
Host installation went through successfully after reverting the change eca95e192ebf3e1fe0e9440bb8fac694214ca8fd (Change Iaf82e104: engine: Allow engine to configure management network ).
Thanks, Kanagaraj
On 06/04/2013 12:23 AM, Dead Horse wrote:
Seeing this as well but during host activation with latest master vdsm/engine. --> http://lists.ovirt.org/pipermail/engine-devel/2013-June/004752.html
On Mon, Jun 3, 2013 at 9:45 AM, Kanagaraj <kmayilsa@redhat.com <mailto:kmayilsa@redhat.com>> wrote:
Hi,
After adding a host to a 3.2 cluster, bootstrap went through fine and in the end it failed with the following error.
"Host s2 installation failed. Failed to configure manamgent network on the host."
Attached engine.log and vdsm.log
Vdsm rpms: vdsm-4.10.2-22.2.el6rhs.x86_64 vdsm-python-4.10.2-22.2.el6rhs.x86_64 vdsm-cli-4.10.2-22.2.el6rhs.noarch vdsm-gluster-4.10.2-22.2.el6rhs.noarch vdsm-xmlrpc-4.10.2-22.2.el6rhs.noarch
Engine rpms: recent code from master
Can someone please help in resolving this issue,
Thanks, Kanagaraj
_______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org <mailto:Engine-devel@ovirt.org> http://lists.ovirt.org/mailman/listinfo/engine-devel
Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel

Hi Moti, Had to reproduce this again to get the logs. Attached both engine and vdsm logs. engine: [org.ovirt.engine.core.vdsbroker.vdsbroker.CollectVdsNetworkDataVDSCommand] (pool-4-thread-4) [59b99e5d] Command CollectVdsNetworkDataVDS execution failed. Exception: VDSNetworkException: java.net.ConnectException: Connection refused vdsm (based on flow id 59b99e5d) - no entries found. However there's a line (without any flowId) - Thread-13::DEBUG::2013-06-04 14:21:05,227::BindingXMLRPC::913::vds::(wrapper) client [10.70.42.245]::call getCapabilities with () {} thanks sahina On 06/04/2013 01:45 PM, Moti Asayag wrote:
On 06/04/2013 09:52 AM, Sahina Bose wrote:
Hi Moti,
Not sure I understand your comment about host activation flow. commit bdd8966d97e1e02e775ee6f755d0a3637a668911 (engine: Remove mgmt network setup from host activation) is present in our code base, but we were not using the host activation flow. Hi,
My fault, i had a different old thread in my mind.
The relevant part from the engine.log indicates that the host deployment ended successfully, host was able to ping VDSM, but the first attempt to run getVdsCaps on vdsm failed.
Could you add the relevant vdsm.log which contains the flow-ID 740c5292 which matches the same correlation-id from the engine.log ?
2013-06-03 20:06:49,638 INFO [org.ovirt.engine.core.bll.InstallerMessages] (VdsDeploy) Installation 10.70.43.140: Stage: Termination 2013-06-03 20:06:49,881 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.PollVDSCommand] (pool-4-thread-48) [740c5292] java.util.concurrent.ExecutionException: java.lang.reflect.InvocationTargetException 2013-06-03 20:06:49,882 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.PollVDSCommand] (pool-4-thread-48) [740c5292] Command PollVDS execution failed. Exception: RuntimeException: java.util.concurrent.ExecutionException: java.lang.reflect.InvocationTargetException 2013-06-03 20:06:50,382 INFO [org.ovirt.engine.core.bll.network.NetworkConfigurator] (pool-4-thread-48) [740c5292] Engine managed to communicate with VDSM agent on host s2 2013-06-03 20:06:50,393 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.CollectVdsNetworkDataVDSCommand] (pool-4-thread-48) [740c5292] Command CollectVdsNetworkDataVDS execution failed. Exception: VDSNetworkException: java.net.ConnectException: Connection refused
Thanks, Moti
Here's what we tried to do. Add a host (with vdsm 4.10.2 installed) to engine (built from Jun 2 upstream codebase).
The installation failed with "Failed to configure manamgent network on the host"
and the logs had this
2013-06-03 19:49:03,390 INFO [org.ovirt.engine.core.bll.network.NetworkConfigurator] (pool-4-thread-50) [7bf46c88] Engine managed to communicate with VDSM agent on host s1 2013-06-03 19:49:03,412 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.CollectVdsNetworkDataVDSCommand] (pool-4-thread-50) [7bf46c88] Command CollectVdsNetworkDataVDS execution failed. Exception: VDSNetworkException: java.net.ConnectException: Connection refused
As Kanagaraj mentioned, reverting the Change Iaf82e104: engine: Allow engine to configure management network , fixed this issue.
From the flowchart on http://www.ovirt.org/Features/Normalized_ovirtmgmt_Initialization, it seems to fail on the "Configure Management Network (by setup networks)" action.
Any help on solving this would be appreciated.
thanks sahina
On 06/04/2013 11:53 AM, Moti Asayag wrote:
Hi,
Same host activation flow should work on the master as well as the management network will not be created as part of the host activation. So reverted changes were already merged by commit bdd8966d97e1e02e775ee6f755d0a3637a668911
For more details about host installation see: http://www.ovirt.org/Features/Normalized_ovirtmgmt_Initialization
Thanks, Moti
See On 06/04/2013 08:51 AM, Kanagaraj wrote:
Host installation went through successfully after reverting the change eca95e192ebf3e1fe0e9440bb8fac694214ca8fd (Change Iaf82e104: engine: Allow engine to configure management network ).
Thanks, Kanagaraj
On 06/04/2013 12:23 AM, Dead Horse wrote:
Seeing this as well but during host activation with latest master vdsm/engine. --> http://lists.ovirt.org/pipermail/engine-devel/2013-June/004752.html
On Mon, Jun 3, 2013 at 9:45 AM, Kanagaraj <kmayilsa@redhat.com <mailto:kmayilsa@redhat.com>> wrote:
Hi,
After adding a host to a 3.2 cluster, bootstrap went through fine and in the end it failed with the following error.
"Host s2 installation failed. Failed to configure manamgent network on the host."
Attached engine.log and vdsm.log
Vdsm rpms: vdsm-4.10.2-22.2.el6rhs.x86_64 vdsm-python-4.10.2-22.2.el6rhs.x86_64 vdsm-cli-4.10.2-22.2.el6rhs.noarch vdsm-gluster-4.10.2-22.2.el6rhs.noarch vdsm-xmlrpc-4.10.2-22.2.el6rhs.noarch
Engine rpms: recent code from master
Can someone please help in resolving this issue,
Thanks, Kanagaraj
_______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org <mailto:Engine-devel@ovirt.org> http://lists.ovirt.org/mailman/listinfo/engine-devel
Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel

Hi Sahina, I was able to reproduce it on my setup, it seems that when a host was already installed and the user re-installed it, it failed to check the host availability. I fixed the host polling by the engine by commit 5c03a936df3a09473f1a05b973680c02280d7a5c. You can either build from master or wait for the nightly build. Please let me know if there are more issues. Thanks, Moti On 06/04/2013 12:03 PM, Sahina Bose wrote:
Hi Moti,
Had to reproduce this again to get the logs. Attached both engine and vdsm logs.
engine: [org.ovirt.engine.core.vdsbroker.vdsbroker.CollectVdsNetworkDataVDSCommand] (pool-4-thread-4) [59b99e5d] Command CollectVdsNetworkDataVDS execution failed. Exception: VDSNetworkException: java.net.ConnectException: Connection refused
vdsm (based on flow id 59b99e5d) - no entries found.
However there's a line (without any flowId) - Thread-13::DEBUG::2013-06-04 14:21:05,227::BindingXMLRPC::913::vds::(wrapper) client [10.70.42.245]::call getCapabilities with () {}
thanks sahina
On 06/04/2013 01:45 PM, Moti Asayag wrote:
On 06/04/2013 09:52 AM, Sahina Bose wrote:
Hi Moti,
Not sure I understand your comment about host activation flow. commit bdd8966d97e1e02e775ee6f755d0a3637a668911 (engine: Remove mgmt network setup from host activation) is present in our code base, but we were not using the host activation flow. Hi,
My fault, i had a different old thread in my mind.
The relevant part from the engine.log indicates that the host deployment ended successfully, host was able to ping VDSM, but the first attempt to run getVdsCaps on vdsm failed.
Could you add the relevant vdsm.log which contains the flow-ID 740c5292 which matches the same correlation-id from the engine.log ?
2013-06-03 20:06:49,638 INFO [org.ovirt.engine.core.bll.InstallerMessages] (VdsDeploy) Installation 10.70.43.140: Stage: Termination 2013-06-03 20:06:49,881 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.PollVDSCommand] (pool-4-thread-48) [740c5292] java.util.concurrent.ExecutionException: java.lang.reflect.InvocationTargetException 2013-06-03 20:06:49,882 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.PollVDSCommand] (pool-4-thread-48) [740c5292] Command PollVDS execution failed. Exception: RuntimeException: java.util.concurrent.ExecutionException: java.lang.reflect.InvocationTargetException 2013-06-03 20:06:50,382 INFO [org.ovirt.engine.core.bll.network.NetworkConfigurator] (pool-4-thread-48) [740c5292] Engine managed to communicate with VDSM agent on host s2 2013-06-03 20:06:50,393 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.CollectVdsNetworkDataVDSCommand]
(pool-4-thread-48) [740c5292] Command CollectVdsNetworkDataVDS execution failed. Exception: VDSNetworkException: java.net.ConnectException: Connection refused
Thanks, Moti
Here's what we tried to do. Add a host (with vdsm 4.10.2 installed) to engine (built from Jun 2 upstream codebase).
The installation failed with "Failed to configure manamgent network on the host"
and the logs had this
2013-06-03 19:49:03,390 INFO [org.ovirt.engine.core.bll.network.NetworkConfigurator] (pool-4-thread-50) [7bf46c88] Engine managed to communicate with VDSM agent on host s1 2013-06-03 19:49:03,412 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.CollectVdsNetworkDataVDSCommand]
(pool-4-thread-50) [7bf46c88] Command CollectVdsNetworkDataVDS execution failed. Exception: VDSNetworkException: java.net.ConnectException: Connection refused
As Kanagaraj mentioned, reverting the Change Iaf82e104: engine: Allow engine to configure management network , fixed this issue.
From the flowchart on http://www.ovirt.org/Features/Normalized_ovirtmgmt_Initialization, it seems to fail on the "Configure Management Network (by setup networks)" action.
Any help on solving this would be appreciated.
thanks sahina
On 06/04/2013 11:53 AM, Moti Asayag wrote:
Hi,
Same host activation flow should work on the master as well as the management network will not be created as part of the host activation. So reverted changes were already merged by commit bdd8966d97e1e02e775ee6f755d0a3637a668911
For more details about host installation see: http://www.ovirt.org/Features/Normalized_ovirtmgmt_Initialization
Thanks, Moti
See On 06/04/2013 08:51 AM, Kanagaraj wrote:
Host installation went through successfully after reverting the change eca95e192ebf3e1fe0e9440bb8fac694214ca8fd (Change Iaf82e104: engine: Allow engine to configure management network ).
Thanks, Kanagaraj
On 06/04/2013 12:23 AM, Dead Horse wrote:
Seeing this as well but during host activation with latest master vdsm/engine. --> http://lists.ovirt.org/pipermail/engine-devel/2013-June/004752.html
On Mon, Jun 3, 2013 at 9:45 AM, Kanagaraj <kmayilsa@redhat.com <mailto:kmayilsa@redhat.com>> wrote:
Hi,
After adding a host to a 3.2 cluster, bootstrap went through fine and in the end it failed with the following error.
"Host s2 installation failed. Failed to configure manamgent network on the host."
Attached engine.log and vdsm.log
Vdsm rpms: vdsm-4.10.2-22.2.el6rhs.x86_64 vdsm-python-4.10.2-22.2.el6rhs.x86_64 vdsm-cli-4.10.2-22.2.el6rhs.noarch vdsm-gluster-4.10.2-22.2.el6rhs.noarch vdsm-xmlrpc-4.10.2-22.2.el6rhs.noarch
Engine rpms: recent code from master
Can someone please help in resolving this issue,
Thanks, Kanagaraj
_______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org <mailto:Engine-devel@ovirt.org> http://lists.ovirt.org/mailman/listinfo/engine-devel
Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel

Thanks! will check it out. On 06/04/2013 07:49 PM, Moti Asayag wrote:
Hi Sahina,
I was able to reproduce it on my setup, it seems that when a host was already installed and the user re-installed it, it failed to check the host availability.
I fixed the host polling by the engine by commit 5c03a936df3a09473f1a05b973680c02280d7a5c.
You can either build from master or wait for the nightly build. Please let me know if there are more issues.
Thanks, Moti
On 06/04/2013 12:03 PM, Sahina Bose wrote:
Hi Moti,
Had to reproduce this again to get the logs. Attached both engine and vdsm logs.
engine: [org.ovirt.engine.core.vdsbroker.vdsbroker.CollectVdsNetworkDataVDSCommand] (pool-4-thread-4) [59b99e5d] Command CollectVdsNetworkDataVDS execution failed. Exception: VDSNetworkException: java.net.ConnectException: Connection refused
vdsm (based on flow id 59b99e5d) - no entries found.
However there's a line (without any flowId) - Thread-13::DEBUG::2013-06-04 14:21:05,227::BindingXMLRPC::913::vds::(wrapper) client [10.70.42.245]::call getCapabilities with () {}
thanks sahina
On 06/04/2013 01:45 PM, Moti Asayag wrote:
On 06/04/2013 09:52 AM, Sahina Bose wrote:
Hi Moti,
Not sure I understand your comment about host activation flow. commit bdd8966d97e1e02e775ee6f755d0a3637a668911 (engine: Remove mgmt network setup from host activation) is present in our code base, but we were not using the host activation flow. Hi,
My fault, i had a different old thread in my mind.
The relevant part from the engine.log indicates that the host deployment ended successfully, host was able to ping VDSM, but the first attempt to run getVdsCaps on vdsm failed.
Could you add the relevant vdsm.log which contains the flow-ID 740c5292 which matches the same correlation-id from the engine.log ?
2013-06-03 20:06:49,638 INFO [org.ovirt.engine.core.bll.InstallerMessages] (VdsDeploy) Installation 10.70.43.140: Stage: Termination 2013-06-03 20:06:49,881 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.PollVDSCommand] (pool-4-thread-48) [740c5292] java.util.concurrent.ExecutionException: java.lang.reflect.InvocationTargetException 2013-06-03 20:06:49,882 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.PollVDSCommand] (pool-4-thread-48) [740c5292] Command PollVDS execution failed. Exception: RuntimeException: java.util.concurrent.ExecutionException: java.lang.reflect.InvocationTargetException 2013-06-03 20:06:50,382 INFO [org.ovirt.engine.core.bll.network.NetworkConfigurator] (pool-4-thread-48) [740c5292] Engine managed to communicate with VDSM agent on host s2 2013-06-03 20:06:50,393 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.CollectVdsNetworkDataVDSCommand]
(pool-4-thread-48) [740c5292] Command CollectVdsNetworkDataVDS execution failed. Exception: VDSNetworkException: java.net.ConnectException: Connection refused
Thanks, Moti
Here's what we tried to do. Add a host (with vdsm 4.10.2 installed) to engine (built from Jun 2 upstream codebase).
The installation failed with "Failed to configure manamgent network on the host"
and the logs had this
2013-06-03 19:49:03,390 INFO [org.ovirt.engine.core.bll.network.NetworkConfigurator] (pool-4-thread-50) [7bf46c88] Engine managed to communicate with VDSM agent on host s1 2013-06-03 19:49:03,412 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.CollectVdsNetworkDataVDSCommand]
(pool-4-thread-50) [7bf46c88] Command CollectVdsNetworkDataVDS execution failed. Exception: VDSNetworkException: java.net.ConnectException: Connection refused
As Kanagaraj mentioned, reverting the Change Iaf82e104: engine: Allow engine to configure management network , fixed this issue.
From the flowchart on http://www.ovirt.org/Features/Normalized_ovirtmgmt_Initialization, it seems to fail on the "Configure Management Network (by setup networks)" action.
Any help on solving this would be appreciated.
thanks sahina
On 06/04/2013 11:53 AM, Moti Asayag wrote:
Hi,
Same host activation flow should work on the master as well as the management network will not be created as part of the host activation. So reverted changes were already merged by commit bdd8966d97e1e02e775ee6f755d0a3637a668911
For more details about host installation see: http://www.ovirt.org/Features/Normalized_ovirtmgmt_Initialization
Thanks, Moti
See On 06/04/2013 08:51 AM, Kanagaraj wrote:
Host installation went through successfully after reverting the change eca95e192ebf3e1fe0e9440bb8fac694214ca8fd (Change Iaf82e104: engine: Allow engine to configure management network ).
Thanks, Kanagaraj
On 06/04/2013 12:23 AM, Dead Horse wrote: > Seeing this as well but during host activation with latest master > vdsm/engine. > --> > http://lists.ovirt.org/pipermail/engine-devel/2013-June/004752.html > > > > On Mon, Jun 3, 2013 at 9:45 AM, Kanagaraj <kmayilsa@redhat.com > <mailto:kmayilsa@redhat.com>> wrote: > > Hi, > > After adding a host to a 3.2 cluster, bootstrap went > through fine > and in the end it failed with the following error. > > "Host s2 installation failed. Failed to configure manamgent > network on the host." > > Attached engine.log and vdsm.log > > Vdsm rpms: > vdsm-4.10.2-22.2.el6rhs.x86_64 > vdsm-python-4.10.2-22.2.el6rhs.x86_64 > vdsm-cli-4.10.2-22.2.el6rhs.noarch > vdsm-gluster-4.10.2-22.2.el6rhs.noarch > vdsm-xmlrpc-4.10.2-22.2.el6rhs.noarch > > Engine rpms: recent code from master > > Can someone please help in resolving this issue, > > Thanks, > Kanagaraj > > _______________________________________________ > Engine-devel mailing list > Engine-devel@ovirt.org <mailto:Engine-devel@ovirt.org> > http://lists.ovirt.org/mailman/listinfo/engine-devel > >
Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
participants (4)
-
Dead Horse
-
Kanagaraj
-
Moti Asayag
-
Sahina Bose