Re: [ovirt-users] restore-nets failing (was: Fresh install failing (Hosted Engine))

2016-03-07 Thread Jonathan Sherman
Bug 1315435 Submitted.  Let me know if there's anything else I can do to
help.

On Mon, Mar 7, 2016 at 12:04 PM, Dan Kenigsberg <dan...@redhat.com> wrote:

> On Mon, Mar 07, 2016 at 11:45:27AM -0500, Jonathan Sherman wrote:
> > The SMBIOS settings were indeed indeed the issue that was blocking me.  I
> > investigated how to configure the SMBIOS settings and now restore-nets
> > works, and I'm getting past where I was failing on the hosted-engine
> > --deploy.
> >
> > FYI, I had to download the "Intel Integrator Toolkit" (which is now EOL)
> > and create a custom BIOS to add those settings in for my system, which is
> > an Intel NUC DN2820FYKH.
> >
> > I am happy to back this out and test any changes if you'd like, but this
> > has gotten me to where I can continue oVirt testing for now.  I'll likely
> > be reinstalling a few times along the way to polish my documentation, so
> > let me know if you want me to revert my BIOS and test anything.
> >
> > Thanks all!
> > -js
> >
> > On Mon, Mar 7, 2016 at 11:22 AM, Martin Polednik <mpoled...@redhat.com>
> > wrote:
> >
> > > On 07/03/16 11:09 -0500, Jonathan Sherman wrote:
> > >
> > >> Thanks for your time on this Dan!
> > >>
> > >> The output from the hostdev looks like it may be unparseable, so I'm
> > >> hoping
> > >> this is the issue (and that it can be easily remedied).
> > >>
> > >> I've also create a log of the other items you asked for, available at:
> > >> https://www.dropbox.com/s/qh0yw1ptpivpatm/typescript?dl=0
> > >>
> > >> [root@ovirt01 vdsm]# vdsm-tool restore-nets
> > >> 
> > >>  computer
> > >>  
> > >>�
> > >>
> > >>  �
> > >>  �
> > >>  �
> > >>  d6a3e3c1-c5cb-42e9-a54c-ff8d0df91722
> > >>
> > >>
> > >>  Intel Corp.
> > >>  FYBYT10H.86A.0052.2015.0923.1845
> > >>  09/23/2015
> > >>
> > >>  
> > >> 
> > >>
> > >
> > > That seems to be the issue. Even bigger issue is that we can
> > > not skip this device easily, as it is the root of device tree and must
> > > be present in database.
> > >
> > > I can think of logging the exception but letting the call go through
> > > and create a hook to fake a (minimal) device tree. Dan, what do you
> think?
>
>
> But why isn't this a valid xml, Martin? I suspect that we need to
> utf-8-decode nodedev-xml before using them in Vdsm, similar to what we
> do with domain-xml? (consider Klingon characters in the 
> element).
>
> In any case, this issue merits a bug - could you open it, Jonathan, and
> attach relevant data to it?
>
> Regards,
> Dan.
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] restore-nets failing (was: Fresh install failing (Hosted Engine))

2016-03-07 Thread Jonathan Sherman
The SMBIOS settings were indeed indeed the issue that was blocking me.  I
investigated how to configure the SMBIOS settings and now restore-nets
works, and I'm getting past where I was failing on the hosted-engine
--deploy.

FYI, I had to download the "Intel Integrator Toolkit" (which is now EOL)
and create a custom BIOS to add those settings in for my system, which is
an Intel NUC DN2820FYKH.

I am happy to back this out and test any changes if you'd like, but this
has gotten me to where I can continue oVirt testing for now.  I'll likely
be reinstalling a few times along the way to polish my documentation, so
let me know if you want me to revert my BIOS and test anything.

Thanks all!
-js

On Mon, Mar 7, 2016 at 11:22 AM, Martin Polednik <mpoled...@redhat.com>
wrote:

> On 07/03/16 11:09 -0500, Jonathan Sherman wrote:
>
>> Thanks for your time on this Dan!
>>
>> The output from the hostdev looks like it may be unparseable, so I'm
>> hoping
>> this is the issue (and that it can be easily remedied).
>>
>> I've also create a log of the other items you asked for, available at:
>> https://www.dropbox.com/s/qh0yw1ptpivpatm/typescript?dl=0
>>
>> [root@ovirt01 vdsm]# vdsm-tool restore-nets
>> 
>>  computer
>>  
>>�
>>
>>  �
>>  �
>>  �
>>  d6a3e3c1-c5cb-42e9-a54c-ff8d0df91722
>>
>>
>>  Intel Corp.
>>  FYBYT10H.86A.0052.2015.0923.1845
>>  09/23/2015
>>
>>  
>> 
>>
>
> That seems to be the issue. Even bigger issue is that we can
> not skip this device easily, as it is the root of device tree and must
> be present in database.
>
> I can think of logging the exception but letting the call go through
> and create a hook to fake a (minimal) device tree. Dan, what do you think?
>
> mpolednik
>
>
> Traceback (most recent call last):
>>  File "/usr/share/vdsm/vdsm-restore-net-config", line 429, in 
>>restore(args)
>>  File "/usr/share/vdsm/vdsm-restore-net-config", line 387, in restore
>>_restore_sriov_numvfs()
>>  File "/usr/share/vdsm/vdsm-restore-net-config", line 82, in
>> _restore_sriov_numvfs
>>sriov_devices = _get_sriov_devices()
>>  File "/usr/share/vdsm/vdsm-restore-net-config", line 54, in
>> _get_sriov_devices
>>devices = hostdev.list_by_caps()
>>  File "/usr/share/vdsm/hostdev.py", line 177, in list_by_caps
>>libvirt_devices = _get_devices_from_libvirt()
>>  File "/usr/share/vdsm/hostdev.py", line 162, in _get_devices_from_libvirt
>>for device in libvirtconnection.get().listAllDevices(0))
>>  File "/usr/share/vdsm/hostdev.py", line 162, in 
>>for device in libvirtconnection.get().listAllDevices(0))
>>  File "/usr/share/vdsm/hostdev.py", line 109, in _parse_device_params
>>devXML = etree.fromstring(device_xml)
>>  File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1300, in XML
>>parser.feed(text)
>>  File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1642, in feed
>>self._raiseerror(v)
>>  File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1506, in
>> _raiseerror
>>raise err
>> xml.etree.ElementTree.ParseError: not well-formed (invalid token): line 4,
>> column 13
>> Traceback (most recent call last):
>>  File "/bin/vdsm-tool", line 219, in main
>>return tool_command[cmd]["command"](*args)
>>  File "/usr/lib/python2.7/site-packages/vdsm/tool/restore_nets.py", line
>> 41, in restore_command
>>exec_restore(cmd)
>>  File "/usr/lib/python2.7/site-packages/vdsm/tool/restore_nets.py", line
>> 54, in exec_restore
>>raise EnvironmentError('Failed to restore the persisted networks')
>> EnvironmentError: Failed to restore the persisted networks
>>
>> On Mon, Mar 7, 2016 at 10:37 AM, Dan Kenigsberg <dan...@redhat.com>
>> wrote:
>>
>> On Mon, Mar 07, 2016 at 03:16:06PM +0200, Yedidyah Bar David wrote:
>>> > On Mon, Mar 7, 2016 at 3:01 PM, Jonathan Sherman <havil...@gmail.com>
>>> wrote:
>>> > > Didi -
>>> > >
>>> > > The vdsmd service error is what led me to the vdsm-tool restore-nets
>>> > > concern.  See the chain of errors below (along with the other details
>>> you
>>> > > requested.)
>>> >
>>> > 

Re: [ovirt-users] restore-nets failing (was: Fresh install failing (Hosted Engine))

2016-03-07 Thread Jonathan Sherman
Thanks for your time on this Dan!

The output from the hostdev looks like it may be unparseable, so I'm hoping
this is the issue (and that it can be easily remedied).

I've also create a log of the other items you asked for, available at:
https://www.dropbox.com/s/qh0yw1ptpivpatm/typescript?dl=0

[root@ovirt01 vdsm]# vdsm-tool restore-nets

  computer
  
�

  �
  �
  �
  d6a3e3c1-c5cb-42e9-a54c-ff8d0df91722


  Intel Corp.
  FYBYT10H.86A.0052.2015.0923.1845
  09/23/2015

  


Traceback (most recent call last):
  File "/usr/share/vdsm/vdsm-restore-net-config", line 429, in 
restore(args)
  File "/usr/share/vdsm/vdsm-restore-net-config", line 387, in restore
_restore_sriov_numvfs()
  File "/usr/share/vdsm/vdsm-restore-net-config", line 82, in
_restore_sriov_numvfs
sriov_devices = _get_sriov_devices()
  File "/usr/share/vdsm/vdsm-restore-net-config", line 54, in
_get_sriov_devices
devices = hostdev.list_by_caps()
  File "/usr/share/vdsm/hostdev.py", line 177, in list_by_caps
libvirt_devices = _get_devices_from_libvirt()
  File "/usr/share/vdsm/hostdev.py", line 162, in _get_devices_from_libvirt
for device in libvirtconnection.get().listAllDevices(0))
  File "/usr/share/vdsm/hostdev.py", line 162, in 
for device in libvirtconnection.get().listAllDevices(0))
  File "/usr/share/vdsm/hostdev.py", line 109, in _parse_device_params
devXML = etree.fromstring(device_xml)
  File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1300, in XML
parser.feed(text)
  File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1642, in feed
self._raiseerror(v)
  File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1506, in
_raiseerror
raise err
xml.etree.ElementTree.ParseError: not well-formed (invalid token): line 4,
column 13
Traceback (most recent call last):
  File "/bin/vdsm-tool", line 219, in main
return tool_command[cmd]["command"](*args)
  File "/usr/lib/python2.7/site-packages/vdsm/tool/restore_nets.py", line
41, in restore_command
exec_restore(cmd)
  File "/usr/lib/python2.7/site-packages/vdsm/tool/restore_nets.py", line
54, in exec_restore
raise EnvironmentError('Failed to restore the persisted networks')
EnvironmentError: Failed to restore the persisted networks

On Mon, Mar 7, 2016 at 10:37 AM, Dan Kenigsberg <dan...@redhat.com> wrote:

> On Mon, Mar 07, 2016 at 03:16:06PM +0200, Yedidyah Bar David wrote:
> > On Mon, Mar 7, 2016 at 3:01 PM, Jonathan Sherman <havil...@gmail.com>
> wrote:
> > > Didi -
> > >
> > > The vdsmd service error is what led me to the vdsm-tool restore-nets
> > > concern.  See the chain of errors below (along with the other details
> you
> > > requested.)
> >
> > Thanks.
> >
> > Changing subject and adding Dan.
>
> > >
> > > [root@ovirt01 log]# vdsm-tool restore-nets
> > > Traceback (most recent call last):
> > >   File "/usr/share/vdsm/vdsm-restore-net-config", line 429, in 
> > > restore(args)
> > >   File "/usr/share/vdsm/vdsm-restore-net-config", line 387, in restore
> > > _restore_sriov_numvfs()
> > >   File "/usr/share/vdsm/vdsm-restore-net-config", line 82, in
> > > _restore_sriov_numvfs
> > > sriov_devices = _get_sriov_devices()
> > >   File "/usr/share/vdsm/vdsm-restore-net-config", line 54, in
> > > _get_sriov_devices
> > > devices = hostdev.list_by_caps()
> > >   File "/usr/share/vdsm/hostdev.py", line 175, in list_by_caps
> > > libvirt_devices = _get_devices_from_libvirt()
> > >   File "/usr/share/vdsm/hostdev.py", line 160, in
> _get_devices_from_libvirt
> > > for device in libvirtconnection.get().listAllDevices(0))
> > >   File "/usr/share/vdsm/hostdev.py", line 160, in 
> > > for device in libvirtconnection.get().listAllDevices(0))
> > >   File "/usr/share/vdsm/hostdev.py", line 107, in _parse_device_params
> > > devXML = etree.fromstring(device_xml)
> > >   File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1300, in
> XML
> > > parser.feed(text)
> > >   File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1642, in
> feed
> > > self._raiseerror(v)
> > >   File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1506, in
> > > _raiseerror
> > > raise err
> > 

Re: [ovirt-users] Fresh install failing (Hosted Engine)

2016-03-07 Thread Jonathan Sherman
e "/usr/bin/vdsm-tool", line
219, in main
Mar 07 07:58:32 ovirt01 vdsm-tool[20871]: return
tool_command[cmd]["command"](*args)
Mar 07 07:58:32 ovirt01 vdsm-tool[20871]: File
"/usr/lib/python2.7/site-packages/vdsm/tool/restore_nets.py", line 41, in
restore_com
Mar 07 07:58:32 ovirt01 vdsm-tool[20871]: exec_restore(cmd)
Mar 07 07:58:32 ovirt01 vdsm-tool[20871]: File
"/usr/lib/python2.7/site-packages/vdsm/tool/restore_nets.py", line 54, in
exec_restor
Mar 07 07:58:32 ovirt01 vdsm-tool[20871]: raise EnvironmentError('Failed to
restore the persisted networks')
Mar 07 07:58:32 ovirt01 vdsm-tool[20871]: EnvironmentError: Failed to
restore the persisted networks
Mar 07 07:58:32 ovirt01 systemd[1]: vdsm-network.service: main process
exited, code=exited, status=1/FAILURE
Mar 07 07:58:32 ovirt01 systemd[1]: Failed to start Virtual Desktop Server
Manager network restoration.
-- Subject: Unit vdsm-network.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit vdsm-network.service has failed.
--
-- The result is failed.
Mar 07 07:58:32 ovirt01 systemd[1]: Unit vdsm-network.service entered
failed state.
Mar 07 07:58:32 ovirt01 systemd[1]: vdsm-network.service failed.
Mar 07 07:58:32 ovirt01 polkitd[2395]: Unregistered Authentication Agent
for unix-process:20860:13674993 (system bus name :1.115, o

--

[root@ovirt01 log]# vdsm-tool restore-nets
Traceback (most recent call last):
  File "/usr/share/vdsm/vdsm-restore-net-config", line 429, in 
restore(args)
  File "/usr/share/vdsm/vdsm-restore-net-config", line 387, in restore
_restore_sriov_numvfs()
  File "/usr/share/vdsm/vdsm-restore-net-config", line 82, in
_restore_sriov_numvfs
sriov_devices = _get_sriov_devices()
  File "/usr/share/vdsm/vdsm-restore-net-config", line 54, in
_get_sriov_devices
devices = hostdev.list_by_caps()
  File "/usr/share/vdsm/hostdev.py", line 175, in list_by_caps
libvirt_devices = _get_devices_from_libvirt()
  File "/usr/share/vdsm/hostdev.py", line 160, in _get_devices_from_libvirt
for device in libvirtconnection.get().listAllDevices(0))
  File "/usr/share/vdsm/hostdev.py", line 160, in 
for device in libvirtconnection.get().listAllDevices(0))
  File "/usr/share/vdsm/hostdev.py", line 107, in _parse_device_params
devXML = etree.fromstring(device_xml)
  File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1300, in XML
parser.feed(text)
  File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1642, in feed
self._raiseerror(v)
  File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1506, in
_raiseerror
raise err
xml.etree.ElementTree.ParseError: not well-formed (invalid token): line 4,
column 13
Traceback (most recent call last):
  File "/bin/vdsm-tool", line 219, in main
return tool_command[cmd]["command"](*args)
  File "/usr/lib/python2.7/site-packages/vdsm/tool/restore_nets.py", line
41, in restore_command
exec_restore(cmd)
  File "/usr/lib/python2.7/site-packages/vdsm/tool/restore_nets.py", line
54, in exec_restore
raise EnvironmentError('Failed to restore the persisted networks')
EnvironmentError: Failed to restore the persisted networks


On Mon, Mar 7, 2016 at 2:56 AM, Yedidyah Bar David <d...@redhat.com> wrote:

> On Sun, Mar 6, 2016 at 7:21 PM, Jonathan Sherman <havil...@gmail.com>
> wrote:
> > Didi,
> >
> > NetworkManager is off, via "systemctl disable NetworkManager && systemctl
> > stop NetworkManager" (and rebooted after), and network allowing remote
> ssh
> > access and yum commands functional.
> >
> > Log files with sizes >0 from /var/log/vdsm:
> > https://www.dropbox.com/s/iobee7toeyc2jda/supervdsm.log?dl=0
> > https://www.dropbox.com/s/rdxi4ujwqhmekgh/upgrade.log?dl=0
>
> So this means you also have an empty (size 0) vdsm.log? Can you please
> 'ls -la /var/log/vdsm'?
>
> Can you check selinux/audit logs?
>
> >
> > Most recent log file from /var/log/ovirt-hosted-engine-setup:
> >
> https://www.dropbox.com/s/brbbujmqhhbsx4o/ovirt-hosted-engine-setup-20160306104135-zibehr.log?dl=0
>
> This has:
>
> 2016-03-06 10:41:43 DEBUG otopi.plugins.otopi.services.systemd
> plugin.execute:941 execute-output: ('/bin/systemctl', 'start',
> 'vdsmd.service') stderr:
> A dependency job for vdsmd.service failed. See 'journalctl -xe' for
> details.
>
> Can you please check/post output of 'journalctl -xe'?
>
> Thanks,
>
> >
> > Thank you for your time!
> > -js
> >
> >
> > On Sun, Mar 6, 2016 at 5:23 AM, Yedidyah Bar David <d...@redhat.com>
> wrote:
> >>
> >> On Sun, Mar 6, 2016 at 2:50

Re: [ovirt-users] Fresh install failing (Hosted Engine)

2016-03-06 Thread Jonathan Sherman
Didi,

NetworkManager is off, via "systemctl disable NetworkManager && systemctl
stop NetworkManager" (and rebooted after), and network allowing remote ssh
access and yum commands functional.

Log files with sizes >0 from /var/log/vdsm:
https://www.dropbox.com/s/iobee7toeyc2jda/supervdsm.log?dl=0
https://www.dropbox.com/s/rdxi4ujwqhmekgh/upgrade.log?dl=0

Most recent log file from /var/log/ovirt-hosted-engine-setup:
https://www.dropbox.com/s/brbbujmqhhbsx4o/ovirt-hosted-engine-setup-20160306104135-zibehr.log?dl=0

Thank you for your time!
-js


On Sun, Mar 6, 2016 at 5:23 AM, Yedidyah Bar David <d...@redhat.com> wrote:

> On Sun, Mar 6, 2016 at 2:50 AM, Jonathan Sherman <havil...@gmail.com>
> wrote:
> > I want to extend my lab and am trying an install using the hosted engine,
> > but the install is failing for me:
> >
> > References used for install:
> > https://glennsnead.wordpress.com/2016/02/28/ovirt-3-6-installation/
> > http://community.redhat.com/blog/2014/10/up-and-running-with-ovirt-3-5/
> >
> > Setup:
> > Minimal install of CentOS Linux release 7.2.1511 (Core)
> > Using DHCP with static address (tried without DHCP with same issue)
> > yum upgrade
> >
> > Installed packages:
> > yum localinstall -y
> > http://resources.ovirt.org/pub/yum-repo/ovirt-release36.rpm
> > yum install -y ovirt-hosted-engine-setup screen glusterfs-server
> nfs-utils
> > vdsm-gluster system-storage-manager mailx
> >
> > rebooted
> >
> > Tried hosted-engine --deploy, but it errors out.  I followed various logs
> > and I _think_ it's failing related to vdsm-tool restore-nets.  I could
> use
> > some guidance on this to help track down what's happening and how to fix.
> >
> > (Note:  I'd very much prefer using the hosted engine vs. another option
> for
> > my lab, so I'm willing to put in the time to figure this out.  Thanks for
> > any assistance!)
> >
> > Install error:
> > [root@ovirt01 network-scripts]# hosted-engine --deploy
> > [ INFO  ] Stage: Initializing
> > [ INFO  ] Generating a temporary VNC password.
> > [ INFO  ] Stage: Environment setup
> >   Continuing will configure this host for serving as hypervisor
> and
> > create a VM where you have to install the engine afterwards.
> >   Are you sure you want to continue? (Yes, No)[Yes]:
> >   Configuration files: []
> >   Log file:
> >
> /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20160305194655-o29y86.log
> >   Version: otopi-1.4.1 (otopi-1.4.1-1.el7.centos)
> > [ INFO  ] Hardware supports virtualization
> > [ INFO  ] Stage: Environment packages setup
> > [ INFO  ] Stage: Programs detection
> > [ INFO  ] Stage: Environment setup
> > [ ERROR ] Failed to execute stage 'Environment setup': Failed to start
> > service 'vdsmd'
> > [ INFO  ] Stage: Clean up
> > [ INFO  ] Generating answer file
> > '/var/lib/ovirt-hosted-engine-setup/answers/answers-20160305194703.conf'
> > [ INFO  ] Stage: Pre-termination
> > [ INFO  ] Stage: Termination
> > [ ERROR ] Hosted Engine deployment failed: this system is not reliable,
> > please check the issue, fix and redeploy
> >   Log file is located at
> >
> /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20160305194655-o29y86.log
> >
> > --
> > vdsm-tool restore-nets output:
> >
> > [root@ovirt01 etc]# /usr/bin/vdsm-tool restore-nets
> > Traceback (most recent call last):
> >   File "/usr/share/vdsm/vdsm-restore-net-config", line 429, in 
> > restore(args)
> >   File "/usr/share/vdsm/vdsm-restore-net-config", line 387, in restore
> > _restore_sriov_numvfs()
> >   File "/usr/share/vdsm/vdsm-restore-net-config", line 82, in
> > _restore_sriov_numvfs
> > sriov_devices = _get_sriov_devices()
> >   File "/usr/share/vdsm/vdsm-restore-net-config", line 54, in
> > _get_sriov_devices
> > devices = hostdev.list_by_caps()
> >   File "/usr/share/vdsm/hostdev.py", line 175, in list_by_caps
> > libvirt_devices = _get_devices_from_libvirt()
> >   File "/usr/share/vdsm/hostdev.py", line 160, in
> _get_devices_from_libvirt
> > for device in libvirtconnection.get().listAllDevices(0))
> >   File "/usr/share/vdsm/hostdev.py", line 160, in 
> > for device in libvirtconnection.get().listAllDevices(0))
> >   File "/usr/share/vdsm/hostdev.py", line 107, in _parse_device_params
> > devXML = etree.fromstring(device_xml)
> >   File "/usr

[ovirt-users] Fresh install failing (Hosted Engine)

2016-03-05 Thread Jonathan Sherman
I want to extend my lab and am trying an install using the hosted engine,
but the install is failing for me:

References used for install:
https://glennsnead.wordpress.com/2016/02/28/ovirt-3-6-installation/
http://community.redhat.com/blog/2014/10/up-and-running-with-ovirt-3-5/

Setup:
Minimal install of CentOS Linux release 7.2.1511 (Core)
Using DHCP with static address (tried without DHCP with same issue)
yum upgrade

Installed packages:
yum localinstall -y
http://resources.ovirt.org/pub/yum-repo/ovirt-release36.rpm
yum install -y ovirt-hosted-engine-setup screen glusterfs-server nfs-utils
vdsm-gluster system-storage-manager mailx

rebooted

Tried hosted-engine --deploy, but it errors out.  I followed various logs
and I _think_ it's failing related to vdsm-tool restore-nets.  I could use
some guidance on this to help track down what's happening and how to fix.

(Note:  I'd very much prefer using the hosted engine vs. another option for
my lab, so I'm willing to put in the time to figure this out.  Thanks for
any assistance!)

Install error:
[root@ovirt01 network-scripts]# hosted-engine --deploy
[ INFO  ] Stage: Initializing
[ INFO  ] Generating a temporary VNC password.
[ INFO  ] Stage: Environment setup
  Continuing will configure this host for serving as hypervisor and
create a VM where you have to install the engine afterwards.
  Are you sure you want to continue? (Yes, No)[Yes]:
  Configuration files: []
  Log file:
/var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20160305194655-o29y86.log
  Version: otopi-1.4.1 (otopi-1.4.1-1.el7.centos)
[ INFO  ] Hardware supports virtualization
[ INFO  ] Stage: Environment packages setup
[ INFO  ] Stage: Programs detection
[ INFO  ] Stage: Environment setup
[ ERROR ] Failed to execute stage 'Environment setup': Failed to start
service 'vdsmd'
[ INFO  ] Stage: Clean up
[ INFO  ] Generating answer file
'/var/lib/ovirt-hosted-engine-setup/answers/answers-20160305194703.conf'
[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination
[ ERROR ] Hosted Engine deployment failed: this system is not reliable,
please check the issue, fix and redeploy
  Log file is located at
/var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20160305194655-o29y86.log

--
vdsm-tool restore-nets output:

[root@ovirt01 etc]# /usr/bin/vdsm-tool restore-nets
Traceback (most recent call last):
  File "/usr/share/vdsm/vdsm-restore-net-config", line 429, in 
restore(args)
  File "/usr/share/vdsm/vdsm-restore-net-config", line 387, in restore
_restore_sriov_numvfs()
  File "/usr/share/vdsm/vdsm-restore-net-config", line 82, in
_restore_sriov_numvfs
sriov_devices = _get_sriov_devices()
  File "/usr/share/vdsm/vdsm-restore-net-config", line 54, in
_get_sriov_devices
devices = hostdev.list_by_caps()
  File "/usr/share/vdsm/hostdev.py", line 175, in list_by_caps
libvirt_devices = _get_devices_from_libvirt()
  File "/usr/share/vdsm/hostdev.py", line 160, in _get_devices_from_libvirt
for device in libvirtconnection.get().listAllDevices(0))
  File "/usr/share/vdsm/hostdev.py", line 160, in 
for device in libvirtconnection.get().listAllDevices(0))
  File "/usr/share/vdsm/hostdev.py", line 107, in _parse_device_params
devXML = etree.fromstring(device_xml)
  File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1300, in XML
parser.feed(text)
  File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1642, in feed
self._raiseerror(v)
  File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1506, in
_raiseerror
raise err
xml.etree.ElementTree.ParseError: not well-formed (invalid token): line 4,
column 13
Traceback (most recent call last):
  File "/usr/bin/vdsm-tool", line 219, in main
return tool_command[cmd]["command"](*args)
  File "/usr/lib/python2.7/site-packages/vdsm/tool/restore_nets.py", line
41, in restore_command
exec_restore(cmd)
  File "/usr/lib/python2.7/site-packages/vdsm/tool/restore_nets.py", line
54, in exec_restore
raise EnvironmentError('Failed to restore the persisted networks')
EnvironmentError: Failed to restore the persisted networks
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users