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

2016-03-06 Thread Yedidyah Bar David
On Sun, Mar 6, 2016 at 7:21 PM, Jonathan Sherman  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  wrote:
>>
>> On Sun, Mar 6, 2016 at 2:50 AM, Jonathan Sherman 
>> 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/lib64/python2.7/xml/etr

Re: [ovirt-users] Storage Issues

2016-03-06 Thread Idan Shaby
Hi Nagaraju,

When you create a vm disk, you can specify on which storage domain to
create it.
Once you chose a storage domain, it will not change unless you move the
disk yourself.
I guess that disks are created on your first domain by default since it is
shown as the first domain in the list of storage domains (in the New
Virtual Disk window).
So next time you create a disk, choose the other domain and you'll get what
you need.
Also, you can move the current vm disks - navigate to the Virtual Machines
tab, click on the vm, navigate to the Disks sub tab, click on the disk and
then click on move.


Regards,
Idan

On Mon, Mar 7, 2016 at 5:32 AM, Budur Nagaraju  wrote:

> HI
>
> I have configured two storage Lun through NFS one is Master which is
> having capacity of 2TB and the other is having 1TB.
>
> Now the issue when ever user deploy a vm automatically vm is getting
> deployed in master lun which is running out of HDD space and the vm is not
> getting deployed in the other Lun ,is there any setting to do that vm
> should get deployed in other LUN ?
>
> Thanks,
> Nagaraju
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Command 'org.ovirt.engine.core.bll.hostdev.RefreshHostDevicesCommand' failed: Failed managing transaction

2016-03-06 Thread Martin Perina
Hi,

thanks a lot for creating the bug. Could please also attach
/var/log/ovirt-engine/server.log to the bug?

Thanks

Martin Perina


- Original Message -
> From: ov...@timmi.org
> To: "Martin Perina" 
> Cc: users@ovirt.org
> Sent: Sunday, March 6, 2016 6:05:50 PM
> Subject: Re: [ovirt-users] Command 
> 'org.ovirt.engine.core.bll.hostdev.RefreshHostDevicesCommand' failed: Failed
> managing transaction
> 
> Hi Martin,
> 
> I'm not sure if all the information are correct but this is the ticket:
> https://bugzilla.redhat.com/show_bug.cgi?id=1315100
> 
> There was not section for bll.hostdev that is why I put this into general.
> 
> Best regards
> Christoph
> 
> Am 06.03.2016 um 13:21 schrieb ov...@timmi.org:
> > Hi Martin,
> >
> > OK I will try to do that.
> > I just requested a user to file the bug ticket.
> > Will post the bug ticket number later.
> >
> > Best regards
> > Christoph
> >
> > Am 05.03.2016 um 18:51 schrieb Martin Perina:
> >> Hi,
> >>
> >> please submit a bug for it and attach complete engine and vdsm logs.
> >>
> >> Thanks
> >>
> >> Martin Perina
> >>
> >> - Original Message -
> >>> From: ov...@timmi.org
> >>> To: users@ovirt.org
> >>> Sent: Friday, March 4, 2016 9:47:24 PM
> >>> Subject: [ovirt-users] Command
> >>> 'org.ovirt.engine.core.bll.hostdev.RefreshHostDevicesCommand'
> >>> failed: Failed managing
> >>> transaction
> >>>
> >>> Hi oVirt List,
> >>>
> >>> I have a oVirt Setup which includes two host. The first host is also
> >>> running the oVirt engine.
> >>> Today I installed a couple VMs on the second host from USB without any
> >>> issue. Now I tried to perform this also on the first host but it looks
> >>> like the USB is not accessible.
> >>>
> >>> I'm able to add the device to the host but I can see the following
> >>> message in the engine.log which does not look correct.
> >>>
> >>> I'm running oVirt 3.6.3
> >>>
> >>> Best regards
> >>> Christoph
> >>>
> >>>
> >>> 2016-03-04 21:42:13,037 ERROR
> >>> [org.ovirt.engine.core.bll.hostdev.RefreshHostDevicesCommand]
> >>> (org.ovirt.thread.pool-8-thread-17) [4307f9bc] Command
> >>> 'org.ovirt.engine.core.bll.hostdev.RefreshHostDevicesCommand' failed:
> >>> Failed managing transaction
> >>> 2016-03-04 21:42:13,037 ERROR
> >>> [org.ovirt.engine.core.bll.hostdev.RefreshHostDevicesCommand]
> >>> (org.ovirt.thread.pool-8-thread-17) [4307f9bc] Exception:
> >>> java.lang.RuntimeException: Failed managing transaction
> >>>   at
> >>> org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInNewTransaction(TransactionSupport.java:232)
> >>>
> >>> [utils.jar:]
> >>>   at
> >>> org.ovirt.engine.core.bll.hostdev.RefreshHostDevicesCommand.executeCommand(RefreshHostDevicesCommand.java:121)
> >>>
> >>> [bll.jar:]
> >>>   at
> >>> org.ovirt.engine.core.bll.CommandBase.executeWithoutTransaction(CommandBase.java:1215)
> >>>
> >>> [bll.jar:]
> >>>   at
> >>> org.ovirt.engine.core.bll.CommandBase.executeActionInTransactionScope(CommandBase.java:1359)
> >>>
> >>> [bll.jar:]
> >>>   at
> >>> org.ovirt.engine.core.bll.CommandBase.runInTransaction(CommandBase.java:1982)
> >>>
> >>> [bll.jar:]
> >>>   at
> >>> org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInSuppressed(TransactionSupport.java:174)
> >>>
> >>> [utils.jar:]
> >>>   at
> >>> org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInScope(TransactionSupport.java:116)
> >>>
> >>> [utils.jar:]
> >>>   at
> >>> org.ovirt.engine.core.bll.CommandBase.execute(CommandBase.java:1396)
> >>> [bll.jar:]
> >>>   at
> >>> org.ovirt.engine.core.bll.CommandBase.executeAction(CommandBase.java:378)
> >>>
> >>> [bll.jar:]
> >>>   at org.ovirt.engine.core.bll.Backend.runAction(Backend.java:480)
> >>> [bll.jar:]
> >>>   at
> >>> org.ovirt.engine.core.bll.Backend.runActionImpl(Backend.java:462)
> >>> [bll.jar:]
> >>>   at
> >>> org.ovirt.engine.core.bll.Backend.runInternalAction(Backend.java:672)
> >>> [bll.jar:]
> >>>   at sun.reflect.GeneratedMethodAccessor345.invoke(Unknown Source)
> >>> [:1.8.0_71]
> >>>   at
> >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> >>>
> >>> [rt.jar:1.8.0_71]
> >>>   at java.lang.reflect.Method.invoke(Method.java:497)
> >>> [rt.jar:1.8.0_71]
> >>>   at
> >>> org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52)
> >>>
> >>>   at
> >>> org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
> >>>
> >>>   at
> >>> org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53)
> >>>
> >>>   at
> >>> org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63)
> >>>
> >>>   at
> >>> org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
> >>>
> >>>   at
> >>> org.jboss.invocation.InterceptorContext$Invocation.proceed(Interceptor

[ovirt-users] Storage Issues

2016-03-06 Thread Budur Nagaraju
HI

I have configured two storage Lun through NFS one is Master which is having
capacity of 2TB and the other is having 1TB.

Now the issue when ever user deploy a vm automatically vm is getting
deployed in master lun which is running out of HDD space and the vm is not
getting deployed in the other Lun ,is there any setting to do that vm
should get deployed in other LUN ?

Thanks,
Nagaraju
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Update Self-Hosted-Engine - Right Way?

2016-03-06 Thread Gianluca Cecchi
Ah ok.
So you previously installed an All-in-One setup following something like
these instructions:
http://www.ovirt.org/develop/release-management/features/integration/allinone/

But this feature is deprecated in 3.6 and it should be dropped in 4.0

And you want to migrate this single host installation to an hosted-engine
one, that for a clean new install should be done with something like this:
http://www.ovirt.org/documentation/how-to/hosted-engine/

In your case you have to migrate and follow something similar to this:
http://www.ovirt.org/develop/developer-guide/engine/migrate-to-hosted-engine/

but I think it is not so simple if you have at the end only one host to
use
You could export your VMs and the re-import them after migration and
scratch of your hypevisor.

What Joop suggested is the rpm command (adding a final "m" to rp)

But I think that actually you are on All-in-one where the engine mgmt part
is installed on the same machine that acts as the hypervisor.
Try to read the migration doc I pointed out and see if you can adapt it to
your environment (I don't know which 3.x version it is...)

HIH,
Gianluca


On Sun, Mar 6, 2016 at 9:53 PM, Taste-Of-IT  wrote:

> Hello Joop,
>
> yes the correct wording is all-in-one and thats why i cant enter this
> command on the vm for the host inside the vm but on the engine which is the
> host too :), but the command rp is unknown on CentOS 7.2 as min install.
>
>
> Am 2016-03-06 21:19, schrieb Joop:
>
>> On 4-3-2016 23:48, Taste-Of-IT wrote:
>>
>>> Hello,
>>> sorry that i repeat it, but i dont have the command hosted-engine...
>>> Is it possible that we talk about different kind of installations?
>>> Please check yours because i only have the self-hosted engine installed.
>>>
>> Are you talking about the all-in-one setup?
>>
>> Please list the ovirt packages on both the VM and the host.
>> (rp -aq | grep ovirt | sort)
>>
>> Joop
>>
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Update Self-Hosted-Engine - Right Way?

2016-03-06 Thread Taste-Of-IT

Hello Joop,

yes the correct wording is all-in-one and thats why i cant enter this 
command on the vm for the host inside the vm but on the engine which is 
the host too :), but the command rp is unknown on CentOS 7.2 as min 
install.


Am 2016-03-06 21:19, schrieb Joop:

On 4-3-2016 23:48, Taste-Of-IT wrote:

Hello,
sorry that i repeat it, but i dont have the command hosted-engine...
Is it possible that we talk about different kind of installations?
Please check yours because i only have the self-hosted engine 
installed.

Are you talking about the all-in-one setup?

Please list the ovirt packages on both the VM and the host.
(rp -aq | grep ovirt | sort)

Joop

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Update Self-Hosted-Engine - Right Way?

2016-03-06 Thread Joop
On 4-3-2016 23:48, Taste-Of-IT wrote:
> Hello,
> sorry that i repeat it, but i dont have the command hosted-engine...
> Is it possible that we talk about different kind of installations?
> Please check yours because i only have the self-hosted engine installed.
Are you talking about the all-in-one setup?

Please list the ovirt packages on both the VM and the host.
(rp -aq | grep ovirt | sort)

Joop

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


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  wrote:

> On Sun, Mar 6, 2016 at 2:50 AM, Jonathan Sherman 
> 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/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)
>

Re: [ovirt-users] Command 'org.ovirt.engine.core.bll.hostdev.RefreshHostDevicesCommand' failed: Failed managing transaction

2016-03-06 Thread ovirt

Hi Martin,

I'm not sure if all the information are correct but this is the ticket:
https://bugzilla.redhat.com/show_bug.cgi?id=1315100

There was not section for bll.hostdev that is why I put this into general.

Best regards
Christoph

Am 06.03.2016 um 13:21 schrieb ov...@timmi.org:

Hi Martin,

OK I will try to do that.
I just requested a user to file the bug ticket.
Will post the bug ticket number later.

Best regards
Christoph

Am 05.03.2016 um 18:51 schrieb Martin Perina:

Hi,

please submit a bug for it and attach complete engine and vdsm logs.

Thanks

Martin Perina

- Original Message -

From: ov...@timmi.org
To: users@ovirt.org
Sent: Friday, March 4, 2016 9:47:24 PM
Subject: [ovirt-users] Command 
'org.ovirt.engine.core.bll.hostdev.RefreshHostDevicesCommand' 
failed: Failed managing

transaction

Hi oVirt List,

I have a oVirt Setup which includes two host. The first host is also
running the oVirt engine.
Today I installed a couple VMs on the second host from USB without any
issue. Now I tried to perform this also on the first host but it looks
like the USB is not accessible.

I'm able to add the device to the host but I can see the following
message in the engine.log which does not look correct.

I'm running oVirt 3.6.3

Best regards
Christoph


2016-03-04 21:42:13,037 ERROR
[org.ovirt.engine.core.bll.hostdev.RefreshHostDevicesCommand]
(org.ovirt.thread.pool-8-thread-17) [4307f9bc] Command
'org.ovirt.engine.core.bll.hostdev.RefreshHostDevicesCommand' failed:
Failed managing transaction
2016-03-04 21:42:13,037 ERROR
[org.ovirt.engine.core.bll.hostdev.RefreshHostDevicesCommand]
(org.ovirt.thread.pool-8-thread-17) [4307f9bc] Exception:
java.lang.RuntimeException: Failed managing transaction
  at
org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInNewTransaction(TransactionSupport.java:232) 


[utils.jar:]
  at
org.ovirt.engine.core.bll.hostdev.RefreshHostDevicesCommand.executeCommand(RefreshHostDevicesCommand.java:121) 


[bll.jar:]
  at
org.ovirt.engine.core.bll.CommandBase.executeWithoutTransaction(CommandBase.java:1215) 


[bll.jar:]
  at
org.ovirt.engine.core.bll.CommandBase.executeActionInTransactionScope(CommandBase.java:1359) 


[bll.jar:]
  at
org.ovirt.engine.core.bll.CommandBase.runInTransaction(CommandBase.java:1982) 


[bll.jar:]
  at
org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInSuppressed(TransactionSupport.java:174) 


[utils.jar:]
  at
org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInScope(TransactionSupport.java:116) 


[utils.jar:]
  at
org.ovirt.engine.core.bll.CommandBase.execute(CommandBase.java:1396)
[bll.jar:]
  at
org.ovirt.engine.core.bll.CommandBase.executeAction(CommandBase.java:378) 


[bll.jar:]
  at org.ovirt.engine.core.bll.Backend.runAction(Backend.java:480)
[bll.jar:]
  at
org.ovirt.engine.core.bll.Backend.runActionImpl(Backend.java:462) 
[bll.jar:]

  at
org.ovirt.engine.core.bll.Backend.runInternalAction(Backend.java:672)
[bll.jar:]
  at sun.reflect.GeneratedMethodAccessor345.invoke(Unknown Source)
[:1.8.0_71]
  at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 


[rt.jar:1.8.0_71]
  at java.lang.reflect.Method.invoke(Method.java:497) 
[rt.jar:1.8.0_71]

  at
org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52) 


  at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309) 


  at
org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53) 


  at
org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63) 


  at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309) 


  at
org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:407) 


  at
org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.delegateInterception(Jsr299BindingsInterceptor.java:70) 


[wildfly-weld-8.2.1.Final.jar:8.2.1.Final]
  at
org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.doMethodInterception(Jsr299BindingsInterceptor.java:80) 


[wildfly-weld-8.2.1.Final.jar:8.2.1.Final]
  at
org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.processInvocation(Jsr299BindingsInterceptor.java:93) 


[wildfly-weld-8.2.1.Final.jar:8.2.1.Final]
  at
org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63) 


  at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309) 


  at
org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53) 


  at
org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63) 


  at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309) 


  at
org.jboss.as.ejb3.component.invocationm

[ovirt-users] ovirt 3.6 node

2016-03-06 Thread Johan Kooijman
Hi all,

I can't seem to find ovirt 3.6 node ISO. Is there a specific reason for
this? I have the issue with 3.5 (ovirt-node-iso-3.5-0.201502231653.el7.iso)
that I can't do live merge on machines installed with ovirt node.

-- 
Met vriendelijke groeten / With kind regards,
Johan Kooijman
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Remove master storage from data center?

2016-03-06 Thread Fred Rolland
Hi,

Can you please attach the full logs (VDSM and engine) ?

Thanks,

Fred

On Wed, Mar 2, 2016 at 3:19 PM,  wrote:

> Hi,
>
> We've migrated storage from glusterfs to iSCSI, so now we have 2 storages
> in our data center. As we've already finished, we want to remove the
> gluster storage from our data center (which is the master storage right
> now).
>
> We've tried to put it on maintenance but we're getting this error:
>
> 2016-03-02 13:02:02,087 ERROR
> [org.ovirt.engine.core.vdsbroker.vdsbroker.DisconnectStoragePoolVDSCommand]
> (org.ovirt.thread.pool-8-thread-34) [259a3130] Command
> 'DisconnectStoragePoolVDSCommand(HostName = ovirt01.domain.com,
> DisconnectStoragePoolVDSCommandParameters:{runAsync='true',
> hostId='c31dca1a-e5bc-43f6-940f-6397e3ddbee4',
> storagePoolId='fa155d43-4e68-486f-9f9d-ae3e3916cc4f', vds_spm_id='7'})'
> execution failed: VDSGenericException: VDSErrorException: Failed to
> DisconnectStoragePoolVDS, error = Operation not allowed while SPM is
> active: ('fa155d43-4e68-486f-9f9d-ae3e3916cc4f',), code = 656
>
> Does that mean that *all* hosts must be on maintenance to do that? There's
> nothing left on the gluster storage right now.
>
> Thanks.
>
> Nicolás
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Command 'org.ovirt.engine.core.bll.hostdev.RefreshHostDevicesCommand' failed: Failed managing transaction

2016-03-06 Thread ovirt

Hi Martin,

OK I will try to do that.
I just requested a user to file the bug ticket.
Will post the bug ticket number later.

Best regards
Christoph

Am 05.03.2016 um 18:51 schrieb Martin Perina:

Hi,

please submit a bug for it and attach complete engine and vdsm logs.

Thanks

Martin Perina

- Original Message -

From: ov...@timmi.org
To: users@ovirt.org
Sent: Friday, March 4, 2016 9:47:24 PM
Subject: [ovirt-users] Command 
'org.ovirt.engine.core.bll.hostdev.RefreshHostDevicesCommand' failed: Failed 
managing
transaction

Hi oVirt List,

I have a oVirt Setup which includes two host. The first host is also
running the oVirt engine.
Today I installed a couple VMs on the second host from USB without any
issue. Now I tried to perform this also on the first host but it looks
like the USB is not accessible.

I'm able to add the device to the host but I can see the following
message in the engine.log which does not look correct.

I'm running oVirt 3.6.3

Best regards
Christoph


2016-03-04 21:42:13,037 ERROR
[org.ovirt.engine.core.bll.hostdev.RefreshHostDevicesCommand]
(org.ovirt.thread.pool-8-thread-17) [4307f9bc] Command
'org.ovirt.engine.core.bll.hostdev.RefreshHostDevicesCommand' failed:
Failed managing transaction
2016-03-04 21:42:13,037 ERROR
[org.ovirt.engine.core.bll.hostdev.RefreshHostDevicesCommand]
(org.ovirt.thread.pool-8-thread-17) [4307f9bc] Exception:
java.lang.RuntimeException: Failed managing transaction
  at
org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInNewTransaction(TransactionSupport.java:232)
[utils.jar:]
  at
org.ovirt.engine.core.bll.hostdev.RefreshHostDevicesCommand.executeCommand(RefreshHostDevicesCommand.java:121)
[bll.jar:]
  at
org.ovirt.engine.core.bll.CommandBase.executeWithoutTransaction(CommandBase.java:1215)
[bll.jar:]
  at
org.ovirt.engine.core.bll.CommandBase.executeActionInTransactionScope(CommandBase.java:1359)
[bll.jar:]
  at
org.ovirt.engine.core.bll.CommandBase.runInTransaction(CommandBase.java:1982)
[bll.jar:]
  at
org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInSuppressed(TransactionSupport.java:174)
[utils.jar:]
  at
org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInScope(TransactionSupport.java:116)
[utils.jar:]
  at
org.ovirt.engine.core.bll.CommandBase.execute(CommandBase.java:1396)
[bll.jar:]
  at
org.ovirt.engine.core.bll.CommandBase.executeAction(CommandBase.java:378)
[bll.jar:]
  at org.ovirt.engine.core.bll.Backend.runAction(Backend.java:480)
[bll.jar:]
  at
org.ovirt.engine.core.bll.Backend.runActionImpl(Backend.java:462) [bll.jar:]
  at
org.ovirt.engine.core.bll.Backend.runInternalAction(Backend.java:672)
[bll.jar:]
  at sun.reflect.GeneratedMethodAccessor345.invoke(Unknown Source)
[:1.8.0_71]
  at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[rt.jar:1.8.0_71]
  at java.lang.reflect.Method.invoke(Method.java:497) [rt.jar:1.8.0_71]
  at
org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52)
  at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
  at
org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53)
  at
org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63)
  at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
  at
org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:407)
  at
org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.delegateInterception(Jsr299BindingsInterceptor.java:70)
[wildfly-weld-8.2.1.Final.jar:8.2.1.Final]
  at
org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.doMethodInterception(Jsr299BindingsInterceptor.java:80)
[wildfly-weld-8.2.1.Final.jar:8.2.1.Final]
  at
org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.processInvocation(Jsr299BindingsInterceptor.java:93)
[wildfly-weld-8.2.1.Final.jar:8.2.1.Final]
  at
org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63)
  at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
  at
org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53)
  at
org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63)
  at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
  at
org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:43)
[wildfly-ejb3-8.2.1.Final.jar:8.2.1.Final]
  at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
  at
org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:407)
  at
org.jboss.weld.ejb.AbstractEJBRequestScop

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

2016-03-06 Thread Yedidyah Bar David
On Sun, Mar 6, 2016 at 2:50 AM, Jonathan Sherman  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/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

Please check/post full ovirt-hosted-engine-setup logs, vdsm logs.

Do you have NetworkManager?

Thanks for the report!

Best,
-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users