[Users] Engine as a VM

Doron Fediuck dfediuck at redhat.com
Thu Dec 26 15:10:40 UTC 2013


Very well.
So it means your vdsm is working without SSL,
while the engine is trying to connect to it using SSL.

This behavior is controlled by engine configuration
called EncryptHostCommunication.
However, I advice you to keep the ssl on, and try to
make it work. Otherwise we will not know what is wrong
with your setup.

----- Original Message -----
> From: "Kevin Tibi" <kevintibi at hotmail.com>
> To: "Doron Fediuck" <dfediuck at redhat.com>
> Cc: users at ovirt.org
> Sent: Thursday, December 26, 2013 5:01:45 PM
> Subject: Re: [Users] Engine as a VM
> 
> [root at host01 etc]# vdsClient localhost getVdsCaps
>         HBAInventory = {'FC': [], 'iSCSI': [{'InitiatorName':
> 'iqn.1994-05.com.redhat:d990cf85cdeb'}]}
>         ISCSIInitiatorName = 'iqn.1994-05.com.redhat:d990cf85cdeb'
>         bondings = {'bond0': {'addr': '',
>                               'cfg': {},
>                               'hwaddr': '7e:c0:17:d2:fa:c0',
>                               'ipv6addrs': [],
>                               'mtu': '1500',
>                               'netmask': '',
>                               'slaves': []}}
>         bridges = {';vdsmdummy;': {'addr': '',
>                                    'cfg': {},
>                                    'gateway': '',
>                                    'ipv6addrs': [],
>                                    'ipv6gateway': '::',
>                                    'mtu': '1500',
>                                    'netmask': '',
>                                    'ports': [],
>                                    'stp': 'off'},
>                    'ovirtmgmt': {'addr': '192.168.99.102',
>                                  'cfg': {'BOOTPROTO': 'static',
>                                          'DEFROUTE': 'yes',
>                                          'DELAY': '0',
>                                          'DEVICE': 'ovirtmgmt',
>                                          'GATEWAY': '192.168.99.254',
>                                          'IPADDR': '192.168.99.102',
>                                          'NETMASK': '255.255.255.0',
>                                          'NM_CONTROLLED': 'no',
>                                          'ONBOOT': 'yes',
>                                          'TYPE': 'Bridge'},
>                                  'gateway': '192.168.99.254',
>                                  'ipv6addrs':
> ['fe80::221:5eff:fe91:f100/64'],
>                                  'ipv6gateway': '::',
>                                  'mtu': '1500',
>                                  'netmask': '255.255.255.0',
>                                  'ports': ['vnet0', 'enp16s0f0'],
>                                  '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,sep,mtrr,pge,mca,cmov,pat,pse36,clflush,dts,acpi,mmx,fxsr,sse,sse2,ss,ht,tm,pbe,syscall,nx,rdtscp,lm,constant_tsc,arch_perfmon,pebs,bts,rep_good,nopl,xtopology,nonstop_tsc,aperfmperf,pni,dtes64,monitor,ds_cpl,vmx,est,tm2,ssse3,cx16,xtpr,pdcm,dca,sse4_1,sse4_2,popcnt,lahf_lm,dtherm,tpr_shadow,vnmi,flexpriority,ept,vpid,model_Nehalem,model_Conroe,model_coreduo,model_core2duo,model_Penryn,model_n270'
>         cpuModel = 'Intel(R) Xeon(R) CPU           E5502  @ 1.87GHz'
>         cpuSockets = '2'
>         cpuSpeed = '1862.000'
>         cpuThreads = '4'
>         emulatedMachines = ['pc',
>                             'q35',
>                             'isapc',
>                             'pc-0.10',
>                             'pc-0.11',
>                             'pc-0.12',
>                             'pc-0.13',
>                             'pc-0.14',
>                             'pc-0.15',
>                             'pc-1.0',
>                             'pc-1.1',
>                             'pc-1.2',
>                             'pc-1.3',
>                             'none']
>         guestOverhead = '65'
>         hooks = {'before_vm_start': {'50_hostedengine': {'md5':
> '45dde62155b5412eafbfff5ef265acc2'}}}
>         kvmEnabled = 'true'
>         lastClient = '192.168.99.105'
>         lastClientIface = 'ovirtmgmt'
>         management_ip = '0.0.0.0'
>         memSize = '16037'
>         netConfigDirty = 'False'
>         networks = {'ovirtmgmt': {'addr': '192.168.99.102',
>                                   'bridged': True,
>                                   'cfg': {'BOOTPROTO': 'static',
>                                           'DEFROUTE': 'yes',
>                                           'DELAY': '0',
>                                           'DEVICE': 'ovirtmgmt',
>                                           'GATEWAY': '192.168.99.254',
>                                           'IPADDR': '192.168.99.102',
>                                           'NETMASK': '255.255.255.0',
>                                           'NM_CONTROLLED': 'no',
>                                           'ONBOOT': 'yes',
>                                           'TYPE': 'Bridge'},
>                                   'gateway': '192.168.99.254',
>                                   'iface': 'ovirtmgmt',
>                                   'ipv6addrs':
> ['fe80::221:5eff:fe91:f100/64'],
>                                   'ipv6gateway': '::',
>                                   'mtu': '1500',
>                                   'netmask': '255.255.255.0',
>                                   'ports': ['vnet0', 'enp16s0f0'],
>                                   'stp': 'off'}}
>         nics = {'enp16s0f0': {'addr': '',
>                               'cfg': {'BRIDGE': 'ovirtmgmt',
>                                       'DEVICE': 'enp16s0f0',
>                                       'HWADDR': '00:21:5e:91:f1:00',
>                                       'NM_CONTROLLED': 'no',
>                                       'ONBOOT': 'yes'},
>                               'hwaddr': '00:21:5e:91:f1:00',
>                               'ipv6addrs': ['fe80::221:5eff:fe91:f100/64'],
>                               'mtu': '1500',
>                               'netmask': '',
>                               'speed': 1000},
>                 'enp16s0f1': {'addr': '',
>                               'cfg': {'BOOTPROTO': 'static',
>                                       'DEFROUTE': 'yes',
>                                       'GATEWAY': '192.168.99.254',
>                                       'IPADDR': '192.168.99.102',
>                                       'NAME': 'enp16s0f1',
>                                       'NETMASK': '255.255.255.0',
>                                       'ONBOOT': 'no',
>                                       'TYPE': 'Ethernet',
>                                       'UUID':
> '1679ebdd-2e3c-4be0-9bd3-0ab7d3d969c0'},
>                               'hwaddr': '00:21:5e:91:f1:02',
>                               'ipv6addrs': [],
>                               'mtu': '1500',
>                               'netmask': '',
>                               'speed': 0}}
>         operatingSystem = {'name': 'Fedora', 'release': '5', 'version':
> '19'}
>         packages2 = {'kernel': {'buildtime': 1384978944.0,
>                                 'release': '200.fc19.x86_64',
>                                 'version': '3.11.9'},
>                      'libvirt': {'buildtime': 1384730741,
>                                  'release': '2.fc19',
>                                  'version': '1.0.5.7'},
>                      'mom': {'buildtime': 1385055339, 'release': '6.fc19',
> 'version': '0.3.2'},
>                      'qemu-img': {'buildtime': 1384728923,
>                                   'release': '14.fc19',
>                                   'version': '1.4.2'},
>                      'qemu-kvm': {'buildtime': 1384728923,
>                                   'release': '14.fc19',
>                                   'version': '1.4.2'},
>                      'spice-server': {'buildtime': 1383130020,
>                                       'release': '3.fc19',
>                                       'version': '0.12.4'},
>                      'vdsm': {'buildtime': 1387998766,
>                               'release': '288.git4b71a9c.fc19',
>                               'version': '4.13.0'}}
>         reservedMem = '321'
>         rngSources = ['random']
>         software_revision = '288'
>         software_version = '4.13'
>         supportedENGINEs = ['3.0', '3.1', '3.2', '3.3', '3.4']
>         supportedProtocols = ['2.2', '2.3']
>         uuid = '66FF8660-9957-11DE-9D05-00215E91F100'
>         version_name = 'Snow Man'
>         vlans = {}
>         vmTypes = ['kvm']
> 
> 
> 
> 2013/12/26 Doron Fediuck <dfediuck at redhat.com>
> 
> >
> >
> > ----- Original Message -----
> > > From: "Kevin Tibi" <kevintibi at hotmail.com>
> > > To: "Doron Fediuck" <dfediuck at redhat.com>
> > > Cc: users at ovirt.org
> > > Sent: Thursday, December 26, 2013 4:21:13 PM
> > > Subject: Re: [Users] Engine as a VM
> > >
> > > Doron,
> > >
> > > I always use the nightly build since the beginning.
> > >
> > > Kevin.
> > >
> >
> > What does the below command output when running on the host?
> > vdsClient localhost getVdsCaps
> >
> > >
> > > 2013/12/26 Doron Fediuck <dfediuck at redhat.com>
> > >
> > > > ----- Original Message -----
> > > > > From: "Kevin Tibi" <kevintibi at hotmail.com>
> > > > > To: "Doron Fediuck" <dfediuck at redhat.com>
> > > > > Cc: users at ovirt.org
> > > > > Sent: Thursday, December 26, 2013 3:43:43 PM
> > > > > Subject: Re: [Users] Engine as a VM
> > > > >
> > > > > Hi Doron,
> > > > >
> > > > > Thank you for your reply. My problem is it known? It will be
> > corrected in
> > > > > v3.4?
> > > > >
> > > > > One solution is it possible now? It's hard to wait few weeks.
> > > > >
> > > > > Kevin.
> > > > >
> > > >
> > > > Kevin,
> > > > You were using RPMs which are missing the relevant code, so
> > > > it may not be a problem at all once we properly build it.
> > > >
> > > > If you cannot wait you can do a pilot using the nightly builds
> > > > you can find in [1].
> > > > Remember this is a nightly build from master. It is not
> > > > stable, but may give you an early experience of the
> > > > coming hosted engine.
> > > >
> > > > Doron
> > > >
> > > > [1] http://resources.ovirt.org/releases/nightly/rpm/
> > > >
> > > > >
> > > > >
> > > > >
> > > > > 2013/12/26 Doron Fediuck <dfediuck at redhat.com>
> > > > >
> > > > > > ----- Original Message -----
> > > > > > > From: "Kevin Tibi" <kevintibi at hotmail.com>
> > > > > > > To: users at ovirt.org
> > > > > > > Sent: Thursday, December 26, 2013 3:10:23 PM
> > > > > > > Subject: [Users] Engine as a VM
> > > > > > >
> > > > > > > Hi all,
> > > > > > >
> > > > > > > i try to deploy engine as a VM. I use hosted-engine script. When
> > my
> > > > > > engine is
> > > > > > > up the script failed. I saw ssl error. So i disable SSL on my
> > host
> > > > (vdsm,
> > > > > > > libvirt, quemu) and on engine. But i have error when i switch
> > host to
> > > > > > > active.
> > > > > > >
> > > > > > > Engine.log :
> > > > > > >
> > > > > > > 2013-12-26 14:09:22,641 INFO
> > > > > > [org.ovirt.engine.core.bll.ActivateVdsCommand]
> > > > > > > (org.ovirt.thread.pool-6-thread-36) [3dcc628e] Activate finished.
> > > > Lock
> > > > > > > released. Monitoring can run now for host hosted_engine_1 from
> > > > > > data-center
> > > > > > > Default
> > > > > > > 2013-12-26 14:09:22,683 INFO
> > > > > > >
> > > > [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
> > > > > > > (org.ovirt.thread.pool-6-thread-36) [3dcc628e] Correlation ID:
> > > > 3eec943e,
> > > > > > Job
> > > > > > > ID: f88b35fc-5c68-4653-85f5-268a6177c9ad, Call Stack: null,
> > Custom
> > > > Event
> > > > > > ID:
> > > > > > > -1, Message: Host hosted_engine_1 was activated by
> > admin at internal.
> > > > > > > 2013-12-26 14:09:22,732 INFO
> > > > > > [org.ovirt.engine.core.bll.ActivateVdsCommand]
> > > > > > > (org.ovirt.thread.pool-6-thread-36) [3dcc628e] Lock freed to
> > object
> > > > > > > EngineLock [exclusiveLocks= key:
> > 8dd64eb3-b935-4cc2-8ce8-776f52dd88f3
> > > > > > value:
> > > > > > > VDS
> > > > > > > , sharedLocks= ]
> > > > > > > 2013-12-26 14:05:12,322 ERROR
> > > > > > >
> > [org.ovirt.engine.core.vdsbroker.vdsbroker.GetCapabilitiesVDSCommand]
> > > > > > > (DefaultQuartzScheduler_Worker-90) Command
> > > > > > > GetCapabilitiesVDSCommand(HostName = hosted_engine_1, HostId =
> > > > > > > 8dd64eb3-b935-4cc2-8ce8-776f52dd88f3, vds=Host[hosted_engine_1])
> > > > > > execution
> > > > > > > failed. Exception: VDSNetworkException:
> > javax.net.ssl.SSLException:
> > > > > > > Unrecognized SSL message, plaintext connection?
> > > > > > >
> > > > > > > Have I forgotten something?
> > > > > > >
> > > > > > > Thx :)
> > > > > > >
> > > > > > > Kevin.
> > > > > > >
> > > > > > >
> > > > > >
> > > > > > Hi Kevin,
> > > > > > hosted-engine was not officially released yet, so the current oVirt
> > > > RPMs
> > > > > > do not include the relevant functionality.
> > > > > > I suggest you wait for oVirt 3.4 in a few weeks, where we should
> > have
> > > > > > it properly built for you.
> > > > > > _______________________________________________
> > > > > > Users mailing list
> > > > > > Users at ovirt.org
> > > > > > http://lists.ovirt.org/mailman/listinfo/users
> > > > > >
> > > > >
> > > > _______________________________________________
> > > > Users mailing list
> > > > Users at ovirt.org
> > > > http://lists.ovirt.org/mailman/listinfo/users
> > > >
> > >
> > _______________________________________________
> > Users mailing list
> > Users at ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> >
> 



More information about the Users mailing list