[Users] how do you manually add ovirtmgmt network to a node/host

Jeremiah Jahn jeremiah at goodinassociates.com
Sat Apr 5 23:48:17 UTC 2014


============================START
getVdsCaps==================================================
[root at kvm01 multipath]# vdsClient -s localhost getVdsCaps
HBAInventory = {'FC': [{'model': 'QLA2462 - PCI-X 2.0 Dual Channel 4Gb
Fibre Channel HBA',
                       'wwnn': '2000001b329db9c8',
                       'wwpn': '2100001b329db9c8'},
                      {'model': 'QLA2462 - PCI-X 2.0 Dual Channel 4Gb
Fibre Channel HBA',
                       'wwnn': '2001001b32bdb9c8',
                       'wwpn': '2101001b32bdb9c8'}],
               'iSCSI': [{'InitiatorName':
'iqn.1994-05.com.redhat:2f85cac0a96c'}]}
ISCSIInitiatorName = 'iqn.1994-05.com.redhat:2f85cac0a96c'
bondings = {'bond0': {'addr': '',
                     'cfg': {},
                     'hwaddr': '00:00:00:00:00:00',
                     'ipv6addrs': [],
                     'mtu': '1500',
                     'netmask': '',
                     'slaves': []},
           'bond1': {'addr': '',
                     'cfg': {},
                     'hwaddr': '00:00:00:00:00:00',
                     'ipv6addrs': [],
                     'mtu': '1500',
                     'netmask': '',
                     'slaves': []},
           'bond2': {'addr': '',
                     'cfg': {},
                     'hwaddr': '00:00:00:00:00:00',
                     'ipv6addrs': [],
                     'mtu': '1500',
                     'netmask': '',
                     'slaves': []},
           'bond3': {'addr': '',
                     'cfg': {},
                     'hwaddr': '00:00:00:00:00:00',
                     'ipv6addrs': [],
                     'mtu': '1500',
                     'netmask': '',
                     'slaves': []},
           'bond4': {'addr': '',
                     'cfg': {},
                     'hwaddr': '00:00:00:00:00:00',
                     'ipv6addrs': [],
                     'mtu': '1500',
                     'netmask': '',
                     'slaves': []}}
bridges = {';vdsmdummy;': {'addr': '',
                          'cfg': {},
                          'gateway': '',
                          'ipv6addrs': [],
                          'ipv6gateway': '::',
                          'mtu': '1500',
                          'netmask': '',
                          'ports': [],
                          'stp': 'off'},
          'br0': {'addr': '10.10.3.31',
                  'cfg': {'BOOTPROTO': 'none',
                          'DELAY': '0',
                          'DEVICE': 'br0',
                          'IPADDR': '10.10.3.31',
                          'NETMASK': '255.255.255.0',
                          'ONBOOT': 'yes',
                          'PEERDNS': 'no',
                          'STP': 'off',
                          'TYPE': 'Bridge'},
                  'gateway': '',
                  'ipv6addrs': ['fe80::224:1dff:fec1:cf82/64'],
                  'ipv6gateway': '::',
                  'mtu': '1500',
                  'netmask': '255.255.255.0',
                  'ports': ['vnet10',
                            'eth0',
                            'vnet0',
                            'vnet2',
                            'vnet6',
                            'vnet13',
                            'vnet8',
                            'vnet18',
                            'vnet15'],
                  'stp': 'off'},
          'br1': {'addr': '',
                  'cfg': {'BOOTPROTO': 'none',
                          'DELAY': '0',
                          'DEVICE': 'br1',
                          'ONBOOT': 'yes',
                          'PEERDNS': 'no',
                          'STP': 'on',
                          'TYPE': 'Bridge'},
                  'gateway': '',
                  'ipv6addrs': ['fe80::224:1dff:fec1:cf83/64'],
                  'ipv6gateway': '::',
                  'mtu': '1500',
                  'netmask': '',
                  'ports': ['eth1'],
                  'stp': 'on'},
          'br101': {'addr': '',
                    'cfg': {'BOOTPROTO': 'none',
                            'DELAY': '0',
                            'DEVICE': 'br101',
                            'ONBOOT': 'yes',
                            'PEERDNS': 'no',
                            'STP': 'off',
                            'TYPE': 'Bridge'},
                    'gateway': '',
                    'ipv6addrs': ['fe80::224:1dff:fec1:cf83/64'],
                    'ipv6gateway': '::',
                    'mtu': '1500',
                    'netmask': '',
                    'ports': ['eth1.101', 'vnet17'],
                    'stp': 'off'},
          'br30': {'addr': '10.10.30.1',
                   'cfg': {'BOOTPROTO': 'none',
                           'DELAY': '0',
                           'DEVICE': 'br30',
                           'IPADDR': '10.10.30.1',
                           'NETMASK': '255.255.255.0',
                           'ONBOOT': 'yes',
                           'PEERDNS': 'no',
                           'STP': 'off',
                           'TYPE': 'Bridge'},
                   'gateway': '',
                   'ipv6addrs': ['fe80::224:1dff:fec1:cf82/64'],
                   'ipv6gateway': '::',
                   'mtu': '1500',
                   'netmask': '255.255.255.0',
                   'ports': ['eth0.30', 'vnet1'],
                   'stp': 'off'},
          'br4': {'addr': '10.10.4.31',
                  'cfg': {'BOOTPROTO': 'none',
                          'DELAY': '0',
                          'DEVICE': 'br4',
                          'GATEWAY': '10.10.4.1',
                          'IPADDR': '10.10.4.31',
                          'NETMASK': '255.255.255.0',
                          'ONBOOT': 'yes',
                          'PEERDNS': 'no',
                          'STP': 'off',
                          'TYPE': 'Bridge'},
                  'gateway': '10.10.4.1',
                  'ipv6addrs': ['fe80::fc54:ff:fe0f:ed65/64'],
                  'ipv6gateway': '::',
                  'mtu': '1500',
                  'netmask': '255.255.255.0',
                  'ports': ['eth1.4', 'vnet3', 'vnet7', 'vnet19', 'vnet9'],
                  'stp': 'off'},
          'br6': {'addr': '',
                  'cfg': {'BOOTPROTO': 'none',
                          'DELAY': '0',
                          'DEVICE': 'br6',
                          'ONBOOT': 'yes',
                          'PEERDNS': 'no',
                          'STP': 'off',
                          'TYPE': 'Bridge'},
                  'gateway': '',
                  'ipv6addrs': ['fe80::224:1dff:fec1:cf82/64'],
                  'ipv6gateway': '::',
                  'mtu': '1500',
                  'netmask': '',
                  'ports': ['eth0.6', 'vnet16'],
                  'stp': 'off'}}
clusterLevels = ['3.0', '3.1', '3.2', '3.3', '3.4']
cpuCores = '4'
cpuFlags = 'fpu,vme,de,pse,tsc,msr,pae,mce,cx8,apic,mtrr,pge,mca,cmov,pat,pse36,clflush,dts,acpi,mmx,fxsr,sse,sse2,ss,ht,tm,pbe,syscall,nx,lm,constant_tsc,arch_perfmon,pebs,bts,rep_good,aperfmperf,pni,dtes64,monitor,ds_cpl,vmx,est,tm2,ssse3,cx16,xtpr,pdcm,dca,sse4_1,xsave,lahf_lm,dts,tpr_shadow,vnmi,flexpriority,model_Conroe,model_coreduo,model_core2duo,model_Penryn,model_n270'
cpuModel = 'Intel(R) Xeon(R) CPU           E5430  @ 2.66GHz'
cpuSockets = '1'
cpuSpeed = '2666.564'
cpuThreads = '4'
emulatedMachines = ['rhel6.5.0',
                   'pc',
                   'rhel6.4.0',
                   'rhel6.3.0',
                   'rhel6.2.0',
                   'rhel6.1.0',
                   'rhel6.0.0',
                   'rhel5.5.0',
                   'rhel5.4.4',
                   'rhel5.4.0']
guestOverhead = '65'
hooks = {}
kvmEnabled = 'true'
lastClient = '127.0.0.1'
lastClientIface = 'lo'
management_ip = '0.0.0.0'
memSize = '15948'
netConfigDirty = 'False'
networks = {}
nics = {'eth0': {'addr': '',
                'cfg': {'BRIDGE': 'br0',
                        'DEVICE': 'eth0',
                        'ONBOOT': 'yes',
                        'PEERDNS': 'no'},
                'hwaddr': '00:24:1d:c1:cf:82',
                'ipv6addrs': ['fe80::224:1dff:fec1:cf82/64'],
                'mtu': '1500',
                'netmask': '',
                'speed': 1000},
       'eth1': {'addr': '',
                'cfg': {'BRIDGE': 'br1',
                        'DEVICE': 'eth1',
                        'ONBOOT': 'yes',
                        'PEERDNS': 'no'},
                'hwaddr': '00:24:1d:c1:cf:83',
                'ipv6addrs': ['fe80::224:1dff:fec1:cf83/64'],
                'mtu': '1500',
                'netmask': '',
                'speed': 1000}}
operatingSystem = {'name': 'RHEL', 'release': '1', 'version': '6.5'}
packages2 = {'kernel': {'buildtime': 1355872974.0,
                       'release': '279.19.1.el6.x86_64',
                       'version': '2.6.32'},
            'libvirt': {'buildtime': 1390935845,
                        'release': '29.el6_5.3',
                        'version': '0.10.2'},
            'mom': {'buildtime': 1391183641, 'release': '1.el6',
'version': '0.4.0'},
            'qemu-img': {'buildtime': 1385065872,
                         'release': '2.415.el6',
                         'version': '0.12.1.2'},
            'qemu-kvm': {'buildtime': 1385065872,
                         'release': '2.415.el6',
                         'version': '0.12.1.2'},
            'spice-server': {'buildtime': 1385407030,
                             'release': '6.el6',
                             'version': '0.12.4'},
            'vdsm': {'buildtime': 1395806448, 'release': '0.el6',
'version': '4.14.6'}}
reservedMem = '321'
rngSources = ['random']
software_revision = '0'
software_version = '4.14'
supportedENGINEs = ['3.0', '3.1', '3.2', '3.3', '3.4']
supportedProtocols = ['2.2', '2.3']
uuid = '00241DC1-CF82-FFFF-FFFF-FFFFFFFFFFFF'
version_name = 'Snow Man'
vlans = {'eth0.30': {'addr': '',
                    'cfg': {'BRIDGE': 'br30',
                            'DEVICE': 'eth0.30',
                            'ONBOOT': 'yes',
                            'PEERDNS': 'no',
                            'VLAN': 'yes'},
                    'iface': 'eth0',
                    'ipv6addrs': ['fe80::224:1dff:fec1:cf82/64'],
                    'mtu': '1500',
                    'netmask': '',
                    'vlanid': 30},
        'eth0.6': {'addr': '',
                   'cfg': {'BRIDGE': 'br6',
                           'DEVICE': 'eth0.6',
                           'ONBOOT': 'yes',
                           'PEERDNS': 'no',
                           'VLAN': 'yes'},
                   'iface': 'eth0',
                   'ipv6addrs': ['fe80::224:1dff:fec1:cf82/64'],
                   'mtu': '1500',
                   'netmask': '',
                   'vlanid': 6},
        'eth1.101': {'addr': '',
                     'cfg': {'BRIDGE': 'br101',
                             'DEVICE': 'eth1.101',
                             'ONBOOT': 'yes',
                             'PEERDNS': 'no',
                             'VLAN': 'yes'},
                     'iface': 'eth1',
                     'ipv6addrs': ['fe80::224:1dff:fec1:cf83/64'],
                     'mtu': '1500',
                     'netmask': '',
                     'vlanid': 101},
        'eth1.4': {'addr': '',
                   'cfg': {'BRIDGE': 'br4',
                           'DEVICE': 'eth1.4',
                           'ONBOOT': 'yes',
                           'PEERDNS': 'no',
                           'VLAN': 'yes'},
                   'iface': 'eth1',
                   'ipv6addrs': ['fe80::224:1dff:fec1:cf83/64'],
                   'mtu': '1500',
                   'netmask': '',
                   'vlanid': 4}}
vmTypes = ['kvm']
[root at kvm01 multipath]#
==========================================END
GETVDSCAPS==================================

On Sat, Apr 5, 2014 at 4:53 PM, Moti Asayag <masayag at redhat.com> wrote:
> ----- Original Message -----
>> From: "Jeremiah Jahn" <jeremiah at goodinassociates.com>
>> To: "Moti Asayag" <masayag at redhat.com>
>> Cc: users at ovirt.org
>> Sent: Sunday, April 6, 2014 12:00:16 AM
>> Subject: Re: [Users] how do you manually add ovirtmgmt network to a node/host
>>
>> Looks like the superlog shows the problem quite well. Now that I know
>> where to look.
>>
>>  SUCCESS: <err> = "device eth1.4 is already a member of a bridge;
>> can't enslave it to bridge ovirtmgmt.\n"; <rc> = 0
>>
>
> Can you share the output of 'vdsClient -s localhost getVdsCaps' ?
> I see that the suggested vlan device to configure the 'ovirtmgmt' on top of it
> has already an existing bridge named 'br4'. If it is configured with static
> boot protocol, you can just copy the same address/subnet/gateway to the ovirtmgmt
> when you drag it on top of eth1.
>
>> Should I create a new vlan and assign ovirtmgmt to it, as opposed to
>> using any of my already existing networks?
>>
>
> If the vlan-id of the ovirtmgmt logical network definition matches the expected one,
> no need to create it manually since the ovirt-engine will indicate the vdsm to do so.
>
>> ======================================================SUPERVDSM.LOG==============================================
>> MainProcess|Thread-13::DEBUG::2014-04-03
>> 15:00:00,300::supervdsmServer::103::SuperVdsm.ServerCallback::(wrapper)
>> return getHardwareInfo with {'systemProductName': 'BladeSymphony E51',
>> 'systemSerialNumber': 'N/A', 'systemFamily': 'N/A', 'systemVersion':
>> '0000E51400', 'systemUUID': '00241dc1-cf82-ffff-ffff-ffffffffffff',
>> 'systemManufacturer': 'HITACHI'}
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:37,713::supervdsmServer::96::SuperVdsm.ServerCallback::(wrapper)
>> call setupNetworks with ({'ovirtmgmt': {'nic': 'eth1', 'vlan': '4',
>> 'bootproto': 'dhcp', 'STP': 'no', 'bridged': 'true', 'defaultRoute':
>> True}}, {}, {'connectivityCheck': 'true', 'connectivityTimeout': 120})
>> {}
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:37,714::utils::642::root::(execCmd) '/sbin/ip route show to
>> 0.0.0.0/0 table all' (cwd None)
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:37,738::utils::662::root::(execCmd) SUCCESS: <err> = ''; <rc> =
>> 0
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:37,740::libvirtconnection::145::root::(get) trying to connect
>> libvirt
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:37,766::utils::642::root::(execCmd) '/sbin/ip -d link show dev
>> eth0.30' (cwd None)
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:37,789::utils::662::root::(execCmd) SUCCESS: <err> = ''; <rc> =
>> 0
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:37,791::utils::642::root::(execCmd) '/sbin/ip -d link show dev
>> eth0.6' (cwd None)
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:37,800::utils::662::root::(execCmd) SUCCESS: <err> = ''; <rc> =
>> 0
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:37,802::utils::642::root::(execCmd) '/sbin/ip -d link show dev
>> eth1.101' (cwd None)
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:37,811::utils::662::root::(execCmd) SUCCESS: <err> = ''; <rc> =
>> 0
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:37,814::utils::642::root::(execCmd) '/sbin/ip -d link show dev
>> eth1.4' (cwd None)
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:37,821::utils::662::root::(execCmd) SUCCESS: <err> = ''; <rc> =
>> 0
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:37,825::configNetwork::589::setupNetworks::(setupNetworks)
>> Setting up network according to configuration: networks:{'ovirtmgmt':
>> {'nic': 'eth1', 'vlan': '4', 'bootproto': 'dhcp', 'STP': 'no',
>> 'bridged': 'true', 'defaultRoute': True}}, bondings:{},
>> options:{'connectivityCheck': 'true', 'connectivityTimeout': 120}
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:37,826::configNetwork::593::root::(setupNetworks) Validating
>> configuration
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:37,826::utils::642::root::(execCmd) '/sbin/ip route show to
>> 0.0.0.0/0 table all' (cwd None)
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:37,851::utils::662::root::(execCmd) SUCCESS: <err> = ''; <rc> =
>> 0
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:37,860::utils::642::root::(execCmd) '/sbin/ip -d link show dev
>> eth0.30' (cwd None)
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:37,869::utils::662::root::(execCmd) SUCCESS: <err> = ''; <rc> =
>> 0
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:37,872::utils::642::root::(execCmd) '/sbin/ip -d link show dev
>> eth0.6' (cwd None)
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:37,879::utils::662::root::(execCmd) SUCCESS: <err> = ''; <rc> =
>> 0
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:37,881::utils::642::root::(execCmd) '/sbin/ip -d link show dev
>> eth1.101' (cwd None)
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:37,888::utils::662::root::(execCmd) SUCCESS: <err> = ''; <rc> =
>> 0
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:37,891::utils::642::root::(execCmd) '/sbin/ip -d link show dev
>> eth1.4' (cwd None)
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:37,899::utils::662::root::(execCmd) SUCCESS: <err> = ''; <rc> =
>> 0
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:37,904::configNetwork::605::setupNetworks::(setupNetworks)
>> Applying...
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:37,906::utils::642::root::(execCmd) '/sbin/ip route show to
>> 0.0.0.0/0 table all' (cwd None)
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:37,932::utils::662::root::(execCmd) SUCCESS: <err> = ''; <rc> =
>> 0
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:37,941::utils::642::root::(execCmd) '/sbin/ip -d link show dev
>> eth0.30' (cwd None)
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:37,949::utils::662::root::(execCmd) SUCCESS: <err> = ''; <rc> =
>> 0
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:37,952::utils::642::root::(execCmd) '/sbin/ip -d link show dev
>> eth0.6' (cwd None)
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:37,960::utils::662::root::(execCmd) SUCCESS: <err> = ''; <rc> =
>> 0
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:37,962::utils::642::root::(execCmd) '/sbin/ip -d link show dev
>> eth1.101' (cwd None)
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:37,988::utils::662::root::(execCmd) SUCCESS: <err> = ''; <rc> =
>> 0
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:37,990::utils::642::root::(execCmd) '/sbin/ip -d link show dev
>> eth1.4' (cwd None)
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:37,998::utils::662::root::(execCmd) SUCCESS: <err> = ''; <rc> =
>> 0
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:38,003::utils::642::root::(execCmd) '/sbin/ip route show to
>> 0.0.0.0/0 table all' (cwd None)
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:38,011::utils::662::root::(execCmd) SUCCESS: <err> = ''; <rc> =
>> 0
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:38,020::utils::642::root::(execCmd) '/sbin/ip -d link show dev
>> eth0.30' (cwd None)
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:38,044::utils::662::root::(execCmd) SUCCESS: <err> = ''; <rc> =
>> 0
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:38,046::utils::642::root::(execCmd) '/sbin/ip -d link show dev
>> eth0.6' (cwd None)
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:38,069::utils::662::root::(execCmd) SUCCESS: <err> = ''; <rc> =
>> 0
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:38,071::utils::642::root::(execCmd) '/sbin/ip -d link show dev
>> eth1.101' (cwd None)
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:38,081::utils::662::root::(execCmd) SUCCESS: <err> = ''; <rc> =
>> 0
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:38,084::utils::642::root::(execCmd) '/sbin/ip -d link show dev
>> eth1.4' (cwd None)
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:38,111::utils::662::root::(execCmd) SUCCESS: <err> = ''; <rc> =
>> 0
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:38,116::configNetwork::646::setupNetworks::(setupNetworks)
>> Adding network 'ovirtmgmt'
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:38,116::utils::642::root::(execCmd) '/sbin/ip route show to
>> 0.0.0.0/0 table all' (cwd None)
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:38,137::utils::662::root::(execCmd) SUCCESS: <err> = ''; <rc> =
>> 0
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:38,149::utils::642::root::(execCmd) '/sbin/ip -d link show dev
>> eth0.30' (cwd None)
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:38,158::utils::662::root::(execCmd) SUCCESS: <err> = ''; <rc> =
>> 0
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:38,160::utils::642::root::(execCmd) '/sbin/ip -d link show dev
>> eth0.6' (cwd None)
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:38,188::utils::662::root::(execCmd) SUCCESS: <err> = ''; <rc> =
>> 0
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:38,190::utils::642::root::(execCmd) '/sbin/ip -d link show dev
>> eth1.101' (cwd None)
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:38,198::utils::662::root::(execCmd) SUCCESS: <err> = ''; <rc> =
>> 0
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:38,200::utils::642::root::(execCmd) '/sbin/ip -d link show dev
>> eth1.4' (cwd None)
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:38,230::utils::662::root::(execCmd) SUCCESS: <err> = ''; <rc> =
>> 0
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:38,235::configNetwork::250::root::(addNetwork) validating
>> network...
>> MainProcess|Thread-14::INFO::2014-04-03
>> 15:04:38,235::configNetwork::272::root::(addNetwork) Adding network
>> ovirtmgmt with vlan=4, bonding=None, nics=['eth1'],
>> bondingOptions=None, mtu=None, bridged=True,
>> defaultRoute=True,options={'bootproto': 'dhcp', 'STP': 'no',
>> 'implicitBonding': True}
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:38,236::utils::642::root::(execCmd) '/bin/sh
>> /usr/libexec/ovirt-functions unmount_config
>> /etc/sysconfig/network-scripts/ifcfg-ovirtmgmt' (cwd None)
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:38,261::utils::662::root::(execCmd) SUCCESS: <err> = "chcon:
>> can't apply partial context to unlabeled file `/tmp/ovirt.log'\n";
>> <rc> = 0
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:38,262::ifcfg::436::root::(_persistentBackup) unmounted
>> /etc/sysconfig/network-scripts/ifcfg-ovirtmgmt using ovirt
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:38,262::ifcfg::444::root::(_persistentBackup) backing up
>> ifcfg-ovirtmgmt: # original file did not exist
>>
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:38,262::ifcfg::310::root::(writeBackupFile) Persistently backed
>> up /var/lib/vdsm/netconfback/ifcfg-ovirtmgmt (until next 'set safe
>> config')
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:38,262::ifcfg::534::root::(writeConfFile) Writing to file
>> /etc/sysconfig/network-scripts/ifcfg-ovirtmgmt configuration:
>> # Generated by VDSM version 4.14.6-0.el6
>> DEVICE=ovirtmgmt
>> ONBOOT=yes
>> TYPE=Bridge
>> DELAY=0
>> BOOTPROTO=dhcp
>> DEFROUTE=yes
>> NM_CONTROLLED=no
>> STP=no
>>
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:38,394::utils::642::root::(execCmd) '/sbin/ifdown ovirtmgmt'
>> (cwd None)
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:38,510::utils::662::root::(execCmd) SUCCESS: <err> = ''; <rc> =
>> 0
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:38,511::ifcfg::368::root::(_atomicBackup) Backed up
>> /etc/sysconfig/network-scripts/ifcfg-eth1.4
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:38,511::utils::642::root::(execCmd) '/bin/sh
>> /usr/libexec/ovirt-functions unmount_config
>> /etc/sysconfig/network-scripts/ifcfg-eth1.4' (cwd None)
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:38,541::utils::662::root::(execCmd) SUCCESS: <err> = "chcon:
>> can't apply partial context to unlabeled file `/tmp/ovirt.log'\n";
>> <rc> = 0
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:38,541::ifcfg::436::root::(_persistentBackup) unmounted
>> /etc/sysconfig/network-scripts/ifcfg-eth1.4 using ovirt
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:38,541::ifcfg::444::root::(_persistentBackup) backing up
>> ifcfg-eth1.4: DEVICE="eth1.4"
>> ONBOOT=yes
>> BRIDGE=br4
>> VLAN=yes
>> PEERDNS=no
>>
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:38,542::ifcfg::310::root::(writeBackupFile) Persistently backed
>> up /var/lib/vdsm/netconfback/ifcfg-eth1.4 (until next 'set safe
>> config')
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:38,542::ifcfg::534::root::(writeConfFile) Writing to file
>> /etc/sysconfig/network-scripts/ifcfg-eth1.4 configuration:
>> # Generated by VDSM version 4.14.6-0.el6
>> DEVICE=eth1.4
>> ONBOOT=yes
>> VLAN=yes
>> BRIDGE=ovirtmgmt
>> NM_CONTROLLED=no
>> STP=no
>>
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:38,543::utils::642::root::(execCmd) '/sbin/ip route show to
>> 0.0.0.0/0 table all' (cwd None)
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:38,575::utils::662::root::(execCmd) SUCCESS: <err> = ''; <rc> =
>> 0
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:38,588::utils::642::root::(execCmd) '/sbin/ip -d link show dev
>> eth0.30' (cwd None)
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:38,597::utils::662::root::(execCmd) SUCCESS: <err> = ''; <rc> =
>> 0
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:38,600::utils::642::root::(execCmd) '/sbin/ip -d link show dev
>> eth0.6' (cwd None)
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:38,608::utils::662::root::(execCmd) SUCCESS: <err> = ''; <rc> =
>> 0
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:38,610::utils::642::root::(execCmd) '/sbin/ip -d link show dev
>> eth1.101' (cwd None)
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:38,619::utils::662::root::(execCmd) SUCCESS: <err> = ''; <rc> =
>> 0
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:38,622::utils::642::root::(execCmd) '/sbin/ip -d link show dev
>> eth1.4' (cwd None)
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:38,631::utils::662::root::(execCmd) SUCCESS: <err> = ''; <rc> =
>> 0
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:38,636::utils::642::root::(execCmd) '/sbin/ifup eth1.4' (cwd
>> None)
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:38,703::utils::662::root::(execCmd) SUCCESS: <err> = "device
>> eth1.4 is already a member of a bridge; can't enslave it to bridge
>> ovirtmgmt.\n"; <rc> = 0
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:04:38,704::utils::642::root::(execCmd) '/sbin/ifup ovirtmgmt' (cwd
>> None)
>> MainProcess|Thread-13::DEBUG::2014-04-03
>> 15:05:00,323::supervdsmServer::96::SuperVdsm.ServerCallback::(wrapper)
>> call getHardwareInfo with () {}
>> MainProcess|Thread-13::DEBUG::2014-04-03
>> 15:05:00,323::supervdsmServer::103::SuperVdsm.ServerCallback::(wrapper)
>> return getHardwareInfo with {'systemProductName': 'BladeSymphony E51',
>> 'systemSerialNumber': 'N/A', 'systemFamily': 'N/A', 'systemVersion':
>> '0000E51400', 'systemUUID': '00241dc1-cf82-ffff-ffff-ffffffffffff',
>> 'systemManufacturer': 'HITACHI'}
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:05:42,007::utils::662::root::(execCmd) FAILED: <err> = ''; <rc> = 1
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:05:42,008::utils::642::root::(execCmd) '/sbin/ifdown ovirtmgmt'
>> (cwd None)
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:05:42,155::utils::662::root::(execCmd) SUCCESS: <err> = ''; <rc> =
>> 0
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:05:42,156::utils::642::root::(execCmd) '/sbin/ifdown eth1.4' (cwd
>> None)
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:05:42,340::utils::662::root::(execCmd) SUCCESS: <err> = 'device
>> eth1.4 is not a slave of ovirtmgmt\n'; <rc> = 0
>> MainProcess|Thread-14::INFO::2014-04-03
>> 15:05:42,340::ifcfg::336::root::(restoreAtomicNetworkBackup) Rolling
>> back logical networks configuration (restoring atomic logical networks
>> backup)
>> MainProcess|Thread-14::INFO::2014-04-03
>> 15:05:42,340::ifcfg::376::root::(restoreAtomicBackup) Rolling back
>> configuration (restoring atomic backup)
>> MainProcess|Thread-14::INFO::2014-04-03
>> 15:05:42,340::ifcfg::385::root::(restoreAtomicBackup) Restored
>> /etc/sysconfig/network-scripts/ifcfg-eth1.4
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:05:42,341::ifcfg::381::root::(restoreAtomicBackup) Removing empty
>> configuration backup /etc/sysconfig/network-scripts/ifcfg-ovirtmgmt
>> MainProcess|Thread-14::INFO::2014-04-03
>> 15:05:42,341::ifcfg::385::root::(restoreAtomicBackup) Restored
>> /etc/sysconfig/network-scripts/ifcfg-ovirtmgmt
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:05:42,341::utils::642::root::(execCmd) '/sbin/ifup eth1.4' (cwd
>> None)
>> MainProcess|Thread-14::DEBUG::2014-04-03
>> 15:05:42,434::utils::662::root::(execCmd) SUCCESS: <err> = ''; <rc> =
>> 0
>> MainProcess|Thread-14::ERROR::2014-04-03
>> 15:05:42,435::supervdsmServer::100::SuperVdsm.ServerCallback::(wrapper)
>> Error in setupNetworks
>> Traceback (most recent call last):
>>   File "/usr/share/vdsm/supervdsmServer", line 98, in wrapper
>>     res = func(*args, **kwargs)
>>   File "/usr/share/vdsm/supervdsmServer", line 202, in setupNetworks
>>     return configNetwork.setupNetworks(networks, bondings, **options)
>>   File "/usr/share/vdsm/configNetwork.py", line 648, in setupNetworks
>>     implicitBonding=True, **d)
>>   File "/usr/share/vdsm/configNetwork.py", line 186, in wrapped
>>     return func(*args, **kwargs)
>>   File "/usr/share/vdsm/configNetwork.py", line 285, in addNetwork
>>     netEnt.configure(**options)
>>   File "/usr/share/vdsm/netmodels.py", line 159, in configure
>>     self.configurator.configureBridge(self, **opts)
>>   File "/usr/share/vdsm/netconf/ifcfg.py", line 83, in configureBridge
>>     ifup(bridge.name, bridge.ipConfig.async)
>>   File "/usr/share/vdsm/netconf/ifcfg.py", line 784, in ifup
>>     rc, out, err = _ifup(iface)
>>   File "/usr/share/vdsm/netconf/ifcfg.py", line 773, in _ifup
>>     out[-1] if out else '')
>> ConfigNetworkError: (29, 'Determining IP information for ovirtmgmt...
>> failed.')
>> MainProcess|Thread-15::DEBUG::2014-04-03
>> 15:17:08,770::supervdsmServer::96::SuperVdsm.ServerCallback::(wrapper)
>> call getHardwareInfo with () {}
>> MainProcess|Thread-15::DEBUG::2014-04-03
>> 15:17:08,770::supervdsmServer::103::SuperVdsm.ServerCallback::(wrapper)
>> return getHardwareInfo with {'systemProductName': 'BladeSymphony E51',
>> 'systemSerialNumber': 'N/A', 'systemFamily': 'N/A', 'systemVersion':
>> '0000E51400', 'systemUUID': '00241dc1-cf82-ffff-ffff-ffffffffffff',
>> 'systemManufacturer': 'HITACHI'}
>> MainProcess::DEBUG::2014-04-03
>> 15:18:34,572::supervdsmServer::96::SuperVdsm.ServerCallback::(wrapper)
>> call readMultipathConf with () {}
>> MainProcess::DEBUG::2014-04-03
>> 15:18:34,572::supervdsmServer::103::SuperVdsm.ServerCallback::(wrapper)
>> return readMultipathConf with ['# RHEV REVISION 1.0', '', 'defaults
>> {', '    polling_interval        5', '    getuid_callout
>> "/sbin/scsi_id --whitelisted --replace-whitespace --device=/dev/%n"',
>> '    no_path_retry           fail', '    user_friendly_names     no',
>> '    flush_on_last_del       yes', '    fast_io_fail_tmo        5', '
>>   dev_loss_tmo            30', '    max_fds                 4096',
>> '}', '', 'devices {', 'device {', '    vendor
>> "HITACHI"', '    product                 "DF.*"', '    getuid_callout
>>         "/sbin/scsi_id --whitelisted --replace-whitespace
>> --device=/dev/%n"', '}', 'device {', '    vendor
>> "COMPELNT"', '    product                 "Compellent Vol"', '
>> no_path_retry           fail', '}', '}']
>> MainProcess|PolicyEngine::DEBUG::2014-04-03
>> 15:18:45,384::supervdsmServer::96::SuperVdsm.ServerCallback::(wrapper)
>> call ksmTune with ({'pages_to_scan': 64, 'run': 1, 'sleep_millisecs':
>> 10},) {}
>> MainProcess|PolicyEngine::DEBUG::2014-04-03
>> 15:18:45,384::supervdsmServer::103::SuperVdsm.ServerCallback::(wrapper)
>> return ksmTune with None
>>
>> ==================================END
>> SUPERVDSM.LOG=================================================
>>
>> ==============================ENGINE.LOG=================================
>> led. Exception: VDSNetworkException: VDSGenericException:
>> VDSNetworkException: Timeout during xml-rpc call
>> 2014-04-03 15:08:39,724 ERROR
>> [org.ovirt.engine.core.vdsbroker.vdsbroker.PollVDSCommand]
>> (ajp--127.0.0.1-8702-6) [7d2f431f] Timeout waiting for VDSM response.
>> java.util.concurrent.TimeoutException
>> 2014-04-03 15:08:42,657 ERROR
>> [org.ovirt.engine.core.vdsbroker.vdsbroker.SetupNetworksVDSCommand]
>> (ajp--127.0.0.1-8702-6) [7d2f431f]
>> java.util.concurrent.ExecutionException:
>> java.lang.reflect.InvocationTargetException
>> 2014-04-03 15:08:42,657 ERROR
>> [org.ovirt.engine.core.vdsbroker.vdsbroker.SetupNetworksVDSCommand]
>> (ajp--127.0.0.1-8702-6) [7d2f431f] Command
>> SetupNetworksVDSCommand(HostName = kvm01, HostId =
>> 6515228b-3edc-4571-9992-b0b6e958c
>> 307, force=false, checkConnectivity=true, conectivityTimeout=120,
>>         networks=[ovirtmgmt {id=00000000-0000-0000-0000-000000000009,
>> description=Management Network, comment=null, subnet=null,
>> gateway=null, type=null, vlanId=4, stp=false,
>> dataCenterId=00000002-0002-0002-0002-000000000378,
>>  mtu=0, vmNetwork=true, cluster=NetworkCluster {id={clusterId=null,
>> networkId=null}, status=OPERATIONAL, display=false, required=true,
>> migration=false}, providedBy=null, label=null, qosId=null}],
>>         bonds=[],
>>         interfaces=[eth1 {id=63091e12-1c0c-49a5-947d-ba6a3da3be76,
>> vdsId=6515228b-3edc-4571-9992-b0b6e958c307, name=eth1,
>> macAddress=00:24:1d:c1:cf:83, networkName=null, bondName=null,
>> bootProtocol=NONE, address=, subnet=, ga
>> teway=null, mtu=1500, bridged=false, speed=1000, type=2,
>> networkImplementationDetails=null},
>>                 eth0 {id=4e79572c-6fa8-4a92-9856-4ddae1b0407b,
>> vdsId=6515228b-3edc-4571-9992-b0b6e958c307, name=eth0,
>> macAddress=00:24:1d:c1:cf:82, networkName=null, bondName=null,
>> bootProtocol=NONE, address=, subnet=, gatewa
>> y=null, mtu=1500, bridged=false, speed=1000, type=0,
>> networkImplementationDetails=null},
>>                 eth0.30 {id=59c2abe4-0035-4b37-a874-725bcf8a330e,
>> vdsId=6515228b-3edc-4571-9992-b0b6e958c307, name=eth0.30,
>> networkName=null, vlanId=30, bootProtocol=NONE, address=, subnet=,
>> gateway=null, mtu=1500, bridged=fa
>> lse, type=0, networkImplementationDetails=null},
>>                 eth0.6 {id=02fe6dd8-b375-484a-a02e-7370c825a524,
>> vdsId=6515228b-3edc-4571-9992-b0b6e958c307, name=eth0.6,
>> networkName=null, vlanId=6, bootProtocol=NONE, address=, subnet=,
>> gateway=null, mtu=1500, bridged=false
>> , type=0, networkImplementationDetails=null},
>>                 eth1.101 {id=4760dab2-3b37-4786-8235-64044291f01d,
>> vdsId=6515228b-3edc-4571-9992-b0b6e958c307, name=eth1.101,
>> networkName=null, vlanId=101, bootProtocol=NONE, address=, subnet=,
>> gateway=null, mtu=1500, bridged
>> =false, type=0, networkImplementationDetails=null},
>>                 eth1.4 {id=null,
>> vdsId=6515228b-3edc-4571-9992-b0b6e958c307, macAddress=null,
>> networkName=ovirtmgmt, vlanId=4, bonded=null, bondName=null,
>> bondOptions=null, bootProtocol=DHCP, address=null, subnet=null, gatewa
>> y=null, mtu=0, bridged=true, speed=null, type=2,
>> networkImplementationDetails=null, qos=null qosOverridden=false,
>> labels=null}],
>>         removedNetworks=[],
>>         removedBonds=[]) execution failed. Exception:
>> RuntimeException: java.util.concurrent.ExecutionException:
>> java.lang.reflect.InvocationTargetException
>> 2014-04-03 15:08:42,661 ERROR
>> [org.ovirt.engine.core.bll.network.host.SetupNetworksCommand]
>> (ajp--127.0.0.1-8702-6) [7d2f431f] Command
>> org.ovirt.engine.core.bll.network.host.SetupNetworksCommand throw Vdc
>> Bll exception. With
>> error message VdcBLLException: java.lang.RuntimeException:
>> java.util.concurrent.ExecutionException:
>> java.lang.reflect.InvocationTargetException (Failed with error ENGINE
>> and code 5001)
>> ==================================END
>> ENGINE.LOG========================================================
>>
>> On Sat, Apr 5, 2014 at 12:52 PM, Moti Asayag <masayag at redhat.com> wrote:
>> >
>> >
>> > ----- Original Message -----
>> >> From: "Jeremiah Jahn" <jeremiah at goodinassociates.com>
>> >> To: users at ovirt.org
>> >> Sent: Friday, April 4, 2014 4:03:07 PM
>> >> Subject: [Users] how do you manually add ovirtmgmt network to a node/host
>> >>
>> >> Trying to install ovirt node on an already existing kvm host.  Used
>> >> the "New" wizard from the engine. Things seemed to go ok ish until it
>> >> got to the point where it wanted to install networking. No real
>> >> errors, but has "One of the Logical Networks defined for this Cluster
>> >> is Unreachable by the Host."  error sitting on it. I tried dragging
>> >> that network onto one of the interfaces of my host, which already has
>> >> an IP address, as that's how I ssh to it, and it then took down the
>> >> interface and tried to dhcp an ip for it which failed after a while,
>> >> and resulted in udev stuck in an infinite loop taking down and
>> >> bringing up said interface.
>> >>
>> >> Not really sure what's going on or what it's trying to accomplish.  I
>> >> set the ovrtmgmt network to have the same vlan id as the ethernet
>> >> device i dragged it onto.
>> >>
>> >
>> > Could you paste the output of 'vdsClient -s localhost getVdsCaps' of the
>> > host
>> > on which you tried to configure the 'ovirtmgmt' network manually and also
>> > the vdsm.log and supervdsm.log from that node at the failure time, and the
>> > engine.log from the ovirt-engine server.
>> >
>> > This will allow us to figure out how the ovirt-engine tried to configure
>> > the management network on the host when you dragged it manually.
>> >
>> >>
>> >> thanks for any help.
>> >> _______________________________________________
>> >> Users mailing list
>> >> Users at ovirt.org
>> >> http://lists.ovirt.org/mailman/listinfo/users
>> >>
>>



More information about the Users mailing list