[ovirt-users] Host in NonOperational mode ovirtmgmt network missing

Michael Burman mburman at redhat.com
Wed Jan 14 15:15:32 UTC 2015


Hi Lars,

Can you please attach your vdsm and supervdsm logs.
Is vdsm service is running? can you reach vdsm client?

Michael

 

----- Original Message -----
From: "Lars Nielsen" <lars at steinwurf.com>
To: "Michael Burman" <mburman at redhat.com>
Sent: Wednesday, January 14, 2015 2:25:53 PM
Subject: Re: [ovirt-users] Host in NonOperational mode ovirtmgmt	network missing

Hey Michael.

I keep getting this:

Host base does not comply with the cluster Default networks, the 
following networks are missing on host: 'ovirtmgmt'

But based on the installation log, nothing goes wrong doing 
installation/setup of the host.
And I get the same result as the screen shot I send before.

Thanks and Best Regards
- Lars

On 14/01/15 12:42, Michael Burman wrote:
> No Problem,
>
> But don't re-install ovirt, remove host and install him again. not ovirt. it should work.
>
> ----- Original Message -----
> From: "Lars Nielsen" <lars at steinwurf.com>
> To: "Michael Burman" <mburman at redhat.com>
> Sent: Wednesday, January 14, 2015 1:41:07 PM
> Subject: Re: [ovirt-users] Host in NonOperational mode ovirtmgmt	network missing
>
> I will try to re-install ovirt.
> Thanks a lot for your help Michael
>
> Best Regards
> - Lars
> On 14/01/15 12:38, Michael Burman wrote:
>> Hmm I see,
>>
>> It looks like your host is not installed properly, you should have seen the host NIC's on your left in the SetupNetworks window.
>> I recommend to remove host from ovirt and install it again from start.  If your 'em1' NIC configured with dhcp, 'ovirtmgmt' should get ip from the NIC after installation. If after installation your 'ovirtmgmt' will be missing on host, try to drag it manually like i said.
>> Before that try to restart network service: 'service network restart' and 'service vdsmd restart' and 'service NetworkManager stop' and then install the host in your ovirt.
>>
>> Hope this help..
>>
>> Michael B
>>
>>
>> ----- Original Message -----
>> From: "Lars Nielsen" <lars at steinwurf.com>
>> To: "Michael Burman" <mburman at redhat.com>
>> Sent: Wednesday, January 14, 2015 11:13:27 AM
>> Subject: Re: [ovirt-users] Host in NonOperational mode ovirtmgmt	network missing
>>
>>
>> On 14/01/15 09:55, Michael Burman wrote:
>>> Hey Lars,
>>>
>>> Which OS do you running?
>>>
>>> You can go to your Ovirt > go to Hosts tab > Networks Interfaces subtab > 'SetupNetworks' .
>>> If you changed the lines in the ifcfg files like i said, just attach the 'ovirtmgmt' to 'em1' NIC via SetupNetworks. This should work for you. when pressing 'ok' in the SetupNetworks window, it should take the interface configuration and create the bridge ifcfg with the same configuration.
>>>
>>> Try that..
>>>
>>> Michael B
>>>
>>> ----- Original Message -----
>>> From: "Lars Nielsen" <lars at steinwurf.com>
>>> To: "Michael Burman" <mburman at redhat.com>
>>> Cc: users at ovirt.org
>>> Sent: Wednesday, January 14, 2015 9:55:55 AM
>>> Subject: Re: [ovirt-users] Host in NonOperational mode ovirtmgmt	network missing
>>>
>>>
>>> On 13/01/15 16:03, Michael Burman wrote:
>>>> Also change NAME=em1
>>>> to:
>>>> DEVICE=em1
>>>>      and remove the # from the BOOTPROTO=none
>>>>
>>>>
>>>> ----- Original Message -----
>>>> From: "Michael Burman" <mburman at redhat.com>
>>>> To: "Lars Nielsen" <lars at steinwurf.com>
>>>> Cc: users at ovirt.org
>>>> Sent: Tuesday, January 13, 2015 4:48:55 PM
>>>> Subject: Re: [ovirt-users] Host in NonOperational mode ovirtmgmt	network	missing
>>>>
>>>> Hi Lars
>>>>
>>>> First of all you have to decide from where your ovirtmgmt getting the ip, if it is from a dhcp server, you have to delete this lines from your ifcfg-ovirtmgmt file:
>>>> IPADDR=192.168.1.10
>>>> NETMASK=255.255.255.0
>>>> GATEWAY=192.168.0.1
>>>>
>>>> and add the next line:
>>>> NM_CONTROLLED=no
>>>>
>>>> - in the ifcfg-em1 file change:
>>>> BOOTPROTO=none
>>>>
>>>> and add the line:
>>>> NM_CONTROLLED=no
>>>>
>>>> restart your engine /etc/init.d/ovirt-engine restart and make sure your ovirtmgmt got ip and you have a default gateway, you can run: route -n
>>>>
>>>> Put your host in maintenance mode , try to activate or re-install.
>>>>
>>>> Best regards,
>>>>
>>>> Michael B
>>>>
>>>>
>>>> ----- Original Message -----
>>>> From: "Lars Nielsen" <lars at steinwurf.com>
>>>> To: "Yedidyah Bar David" <didi at redhat.com>
>>>> Cc: users at ovirt.org
>>>> Sent: Tuesday, January 13, 2015 12:05:05 PM
>>>> Subject: Re: [ovirt-users] Host in NonOperational mode ovirtmgmt network	missing
>>>>
>>>>
>>>> On 13/01/15 10:33, Yedidyah Bar David wrote:
>>>>> ----- Original Message -----
>>>>>> From: "Lars Nielsen"<lars at steinwurf.com>
>>>>>> To: "Yedidyah Bar David"<didi at redhat.com>
>>>>>> Cc:users at ovirt.org
>>>>>> Sent: Tuesday, January 13, 2015 11:26:55 AM
>>>>>> Subject: Re: [ovirt-users] Host in NonOperational mode ovirtmgmt network missing
>>>>>>
>>>>>>
>>>>>> On 13/01/15 09:31, Yedidyah Bar David wrote:
>>>>>>> ----- Original Message -----
>>>>>>>> From: "Lars Nielsen"<lars at steinwurf.com>
>>>>>>>> To:users at ovirt.org
>>>>>>>> Sent: Tuesday, January 13, 2015 10:20:20 AM
>>>>>>>> Subject: [ovirt-users] Host in NonOperational mode ovirtmgmt network
>>>>>>>> missing
>>>>>>>>
>>>>>>>> Hey I am new to oVirt, so please be patient
>>>>>>>>
>>>>>>>> I have a problem, when setting up new hosts.
>>>>>>>> Doing the setup it self no problem, but afterwards the status is set to
>>>>>>>> NonOperational.
>>>>>>>> Do to the network ovirtmgmt is missing on the machine.
>>>>>>>>
>>>>>>>> However I have added the following ifcfg file:
>>>>>>>> ifcfg-ovirtmgmt::
>>>>>>>> DEVICE=ovirtmgmt
>>>>>>>> TYPE=Bridge
>>>>>>>> ONBOOT=yes
>>>>>>>> DELAY=0
>>>>>>>> BOOTPROTO=dhcp
>>>>>>>> IPADDR=192.168.1.10
>>>>>>>> NETMASK=255.255.255.0
>>>>>>>> GATEWAY=192.168.0.1
>>>>>>>>
>>>>>>>> And made the adjustments, so the ifcfg-en1, file looks like this:
>>>>>>>> TYPE="Ethernet"
>>>>>>>> #BOOTPROTO="dhcp"
>>>>>>>> DEFROUTE="yes"
>>>>>>>> IPV4_FAILURE_FATAL="no"
>>>>>>>> IPV6INIT="yes"
>>>>>>>> IPV6_AUTOCONF="yes"
>>>>>>>> IPV6_DEFROUTE="yes"
>>>>>>>> IPV6_PEERDNS="yes"
>>>>>>>> IPV6_PEERROUTES="yes"
>>>>>>>> IPV6_FAILURE_FATAL="no"
>>>>>>>> NAME="em1"
>>>>>>>> UUID="bdc14160-3cb6-48d7-b8b9-a382dc384add"
>>>>>>>> ONBOOT="yes"
>>>>>>>> HWADDR="F8:B1:56:C1:F9:8E"
>>>>>>>> PEERDNS="yes"
>>>>>>>> PEERROUTES="yes"
>>>>>>>> BRIDGE=ovirtmgmt
>>>>>>>>
>>>>>>>>
>>>>>>>> I do realize that, the guides on the web for oVirt set BOOTPROTO to
>>>>>>>> static. But at the office, we do not have the possibility of static IP,
>>>>>>>> at the moment.
>>>>>>>>
>>>>>>>> Can some one please tell me what could be wrong ?
>>>>>>> dhcp should work too. The problem is with NetworkManager.
>>>>>>> You'll need to have static IPs though for the engine to be able to
>>>>>>> contact the hosts (as well as the hosts themselves, for hosted-engine HA
>>>>>>> at least), or you'll have problems if they for some reason get a different
>>>>>>> IP address from your dhcp server.
>>>>>>>
>>>>>>> Please post relevant logs:
>>>>>>> hosts - /var/log/ovirt-hosted-engine*/*, /var/log/vdsm/*
>>>>>>> engine - /var/log/ovirt-engine/*
>>>>>>>
>>>>>>> Thanks and best regards,
>>>>>> Okay something seems to be a food here, because on the server hosting
>>>>>> our oVirt instance. We do not have a /var/log/ovirt-hosted-engine
>>>>>> directory.
>>>>> I didn't say you should - I wrote a '*' in the end. You should find
>>>>> /var/log/ovirt-hosted-engine-ha
>>>>> /var/log/ovirt-hosted-engine-setup
>>>>>
>>>>> But now I realize you did not mention hosted-engine. Can you detail
>>>>> a bit your setup? Where is the engine? Where are the hosts? How
>>>>> did you install and setup?
>>>>>
>>>>>> However the log files from the two other directories, can be found here:
>>>>>> https://dl.dropboxusercontent.com/u/55488/ovirt_ovirtlogs.tar
>>>>> Please add from engine also /var/log/ovirt-engine/host-deploy/* .
>>>>>
>>>>> Thanks!
>>>> We do not have any ovirt-hosted-engine-* on the server, how ever here is
>>>> a link to the complete ovirt-engine folder:
>>>> https://dl.dropboxusercontent.com/u/55488/ovirt-engine.tar
>>>>
>>>> Thanks and Best Regards
>>>> - Lars
>>>> _______________________________________________
>>>> Users mailing list
>>>> Users at ovirt.org
>>>> http://lists.ovirt.org/mailman/listinfo/users
>>>>
>>> Hey.
>>> I have had a look at this. This /etc/init.d/ovirt-engine, we also do not
>>> have on our system.
>>> So how can I restart my oVirt instance?
>>> How ever I have updated the network scripts:
>>> https://dl.dropboxusercontent.com/u/55488/network_scripts.tar
>>>
>>> To me this seems stranger and stranger, in the sense that we are missing
>>> stuff. I have followed the oVirt documentation doing installation, which
>>> I assume is correct.
>>>
>>> Thank and Best Regards
>>> - Lars
>>>
>>>
>>>
>> Hmm I tried it. But I do not get any networks, on which I can attach it
>> to, see screen shot:
>>
>> https://dl.dropboxusercontent.com/u/55488/ovirt_network_img.png
>>
>> Thanks and Best Regards
>> - Lars
>>
>>
>>
>>
>


-- 
Michael Burman
Intern in RedHat Israel, RHEV-M QE Network Team

Mobile: 054-5355725
IRC: mburman



More information about the Users mailing list