Re: [ovirt-users] Cannot clone a snapshot

2017-10-30 Thread Yaniv Kaul
On Oct 31, 2017 12:18 AM, "Wesley Stewart"  wrote:

I have a Radeon HD 6870 that I have passed through to a Windows 10 host.  I
decided to build 2 servers using Xeon-D 1528 processors (Super Micro
x10sdv-6c+) in a very small Node 304 mITX form factor. I didnt want a third
box as a desktop, so I have a "desktop" that is actually a Windows 10 guest.



And Spice cannot be used?
Y.




On Mon, Oct 30, 2017 at 6:09 PM, Yaniv Kaul  wrote:

>
>
> On Oct 31, 2017 12:05 AM, "Wesley Stewart"  wrote:
>
> Woo! I am not crazy.
>
> I always have a hell of a time re-adding my USB passthrough for my
> keyboard and mouse (CentOS seems to bluescreen if I press ctrl + alt + del,
> unless I add the correct usb devices on the same bus).  So I always try to
> not update once I get things stable, but this looks like I will need to.
>
>
> Out of curiosity, why are you passing through a keyboard and a mouse?
> Anything special about them?
> Y.
>
>
> Thanks for the quick response
>
> On Mon, Oct 30, 2017 at 5:38 PM, Yaniv Kaul  wrote:
>
>>
>>
>> On Mon, Oct 30, 2017 at 10:40 PM, Wesley Stewart 
>> wrote:
>>
>>> Yep, should have just assumed /var/log
>>>
>>> Looks like a javascript issue.  Anyone else having trouble cloning a
>>> snapshot on 4.1.6?
>>>
>>> 2017-10-30 11:03:27,502-04 ERROR [org.ovirt.engine.ui.frontend.
>>> server.gwt.OvirtRemoteLoggingService] (default task-23) [] Uncaught
>>> exception: com.google.gwt.core.client.JavaScriptException: (TypeError)
>>>  __gwt$exception: : Cannot read property 'R' of null
>>> at org.ovirt.engine.ui.uicommonweb.models.vms.UnitVmModel.$isHo
>>> stedEngine(UnitVmModel.java:1888)
>>>
>>
>>
>> Looks like https://bugzilla.redhat.com/show_bug.cgi?id=1498478, fixed in
>> 4.1.7.
>>
>> Y.
>>
>>
>>> at org.ovirt.engine.ui.common.widget.uicommon.popup.AbstractVmP
>>> opupWidget.$edit(AbstractVmPopupWidget.java:1515)
>>> at org.ovirt.engine.ui.common.widget.uicommon.popup.AbstractVmP
>>> opupWidget.edit(AbstractVmPopupWidget.java:1515)
>>> at org.ovirt.engine.ui.common.widget.uicommon.popup.AbstractVmP
>>> opupWidget.edit(AbstractVmPopupWidget.java:1515)
>>> at org.ovirt.engine.ui.common.widget.uicommon.popup.AbstractMod
>>> eSwitchingPopupWidget.edit(AbstractModeSwitchingPopupWidget.java:78)
>>> at org.ovirt.engine.ui.common.view.popup.AbstractModelBoundWidg
>>> etPopupView.$edit(AbstractModelBoundWidgetPopupView.java:36)
>>> at org.ovirt.engine.ui.common.view.popup.AbstractModelBoundWidg
>>> etPopupView.edit(AbstractModelBoundWidgetPopupView.java:36)
>>> at org.ovirt.engine.ui.common.presenter.AbstractModelBoundPopup
>>> PresenterWidget.$init(AbstractModelBoundPopupPresenterWidget.java:143)
>>> at org.ovirt.engine.ui.common.widget.popup.AbstractVmBasedPopup
>>> PresenterWidget.$init(AbstractVmBasedPopupPresenterWidget.java:68)
>>> at org.ovirt.engine.ui.common.widget.popup.AbstractVmBasedPopup
>>> PresenterWidget.init(AbstractVmBasedPopupPresenterWidget.java:68)
>>> at org.ovirt.engine.ui.common.widget.popup.AbstractVmBasedPopup
>>> PresenterWidget.init(AbstractVmBasedPopupPresenterWidget.java:68)
>>> at org.ovirt.engine.ui.common.uicommon.model.ModelBoundPopupHan
>>> dler.$handleWindowModelChange(ModelBoundPopupHandler.java:96)
>>> at org.ovirt.engine.ui.common.uicommon.model.ModelBoundPopupHan
>>> dler$1.$eventRaised(ModelBoundPopupHandler.java:77)
>>> at org.ovirt.engine.ui.common.uicommon.model.ModelBoundPopupHan
>>> dler$1.eventRaised(ModelBoundPopupHandler.java:77)
>>> at org.ovirt.engine.ui.uicompat.Event.$raise(Event.java:99)
>>> at org.ovirt.engine.ui.uicommonweb.models.Model.$onPropertyChan
>>> ged(Model.java:471)
>>> at org.ovirt.engine.ui.uicommonweb.models.Model.onPropertyChang
>>> ed(Model.java:471)
>>> at org.ovirt.engine.ui.uicommonweb.models.Model.$setWindow(Mode
>>> l.java:93)
>>> at org.ovirt.engine.ui.uicommonweb.models.vms.VmSnapshotListMod
>>> el.$cloneVM(VmSnapshotListModel.java:703)
>>> at org.ovirt.engine.ui.uicommonweb.models.vms.VmSnapshotListMod
>>> el.executeCommand(VmSnapshotListModel.java:912)
>>> at org.ovirt.engine.ui.uicommonweb.UICommand.$execute(UICommand
>>> .java:163)
>>> at org.ovirt.engine.ui.common.widget.action.UiCommandButtonDefi
>>> nition.$onClick(UiCommandButtonDefinition.java:130)
>>> at org.ovirt.engine.ui.common.widget.action.UiCommandButtonDefi
>>> nition.onClick(UiCommandButtonDefinition.java:130)
>>> at org.ovirt.engine.ui.common.widget.action.AbstractActionPanel
>>> $11.execute(AbstractActionPanel.java:575)
>>> at com.google.gwt.user.client.ui.MenuBar$1.execute(MenuBar.java:893)
>>> [gwt-servlet.jar:]
>>> at 
>>> com.google.gwt.core.client.impl.SchedulerImpl.runScheduledTasks(SchedulerImpl.java:164)
>>> [gwt-servlet.jar:]
>>> at 

Re: [ovirt-users] HEVM root reset?

2017-10-30 Thread Staniforth, Paul
Some useful commands for the host running the hosted-engine



/usr/sbin/hosted-engine --add-console-passw..d

/usr/sbin/hosted-engine  --console


Put it in maintenance, then start an alternate configuration




/usr/sbin/hosted-engine --vm-start --vm-conf=

Load an alternative vm.conf file as a recovery action


Regards,

 Paul S.



To view the terms under which this email is distributed, please go to:-
http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ovirtmgmt network security

2017-10-30 Thread Staniforth, Paul
Yes you don't need ovirtmgmt on the VMs and I think if you use passthrough it 
will pin it to the host, probably better to create a DMZ logical network and 
attach the hosts in the cluster to the DMZ VLAN which will allow them to 
migrate and be setup for HA.


Regards,

   Paul S.


From: users-boun...@ovirt.org  on behalf of Alona 
Kaplan 
Sent: 30 October 2017 09:50
To: Luca 'remix_tj' Lorenzetto
Cc: users
Subject: Re: [ovirt-users] ovirtmgmt network security

Hi Istvan,

I agree with Luca. You can remove nic1.
'ovirtmgmt' network is not mandatory on the vm, you can run the vm with no 
vnics (vitrual nics) at all.
The 'ovirtmgmt' network is used for communication between the engine and the 
host.
Whether the vm using the 'ovirtmgmt' network or not won't affect the management 
capabilities.

You said that the vm nic with 'ovirtmgmt' was automatically added when you 
added the vm.
It is strange and shouldn't behave this way. Are you sure that in the add vm 
dialog you didn't choose it as the network of nic1? (you could leave this 
section in the dialog unfilled, it is not mandatory).

BTW, if you don't want any VM to use the 'ovirtmgmt' network you can go to the 
edit network dialog of 'ovirtmgmt' (in the Network main tab) and uncheck the 
'vm network' checkbox.

Hope it helps you,
Alona.

On Mon, Oct 30, 2017 at 11:26 AM, Luca 'remix_tj' Lorenzetto 
> wrote:
On Mon, Oct 30, 2017 at 8:45 AM, Istvan Buki 
> wrote:
> Hello,
>
> thank you for your patience for trying to let me see the light.
>
> Indeed I don't understand what you are explaining. Maybe if I give you more
> concrete details it will help.
>
> My internal network is 192.168.196.0
> My DMZ network is 192.168.188.0
>
> ovirt-engine is running on a centos server with IP 192.168.186.3
> ovirt host is on a centos server with IP 192.168.186.4
>
> On the host I created a VM that I want to be in the DMZ. When I created the
> VM, nic 1 was automatically added and is linked to the ovirtmgmt network.
> In the VM nic1 becomes eth0 and was assigned an IP address with DHCP
> 192.168.186.167.
>
> After that I added a host device to that VM using passthrough. This device
> is called ens7 in the VM and I gave IP 192.186.188.4.
> That device is directly connected to my physical DMZ switch and from there
> to the firewall.
> This part is OK.
>
> My problem is that through eth0 my VM has access to my internal network.
> Removing the device seems impossible because this is ovirtmgmt network.
> I can not change or remove the IP of my host because it would not be
> reachable anymore on my internal network.
>
> Maybe the solution is obvious but I can't see it. I'm running in circle with
> this problem and it makes me crazy.
>



Hi Istvan,

why are you using device passthrough?

Anyway. If you don't need the VM to access to ovirtmgmt, remove nic1.
As far as i can understand, you're directly communicating through DMZ.

Luca


--
"E' assurdo impiegare gli uomini di intelligenza eccellente per fare
calcoli che potrebbero essere affidati a chiunque se si usassero delle
macchine"
Gottfried Wilhelm von Leibnitz, Filosofo e Matematico (1646-1716)

"Internet è la più grande biblioteca del mondo.
Ma il problema è che i libri sono tutti sparsi sul pavimento"
John Allen Paulos, Matematico (1945-vivente)

Luca 'remix_tj' Lorenzetto, http://www.remixtj.net , 
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users

To view the terms under which this email is distributed, please go to:-
http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Cannot clone a snapshot

2017-10-30 Thread Wesley Stewart
I have a Radeon HD 6870 that I have passed through to a Windows 10 host.  I
decided to build 2 servers using Xeon-D 1528 processors (Super Micro
x10sdv-6c+) in a very small Node 304 mITX form factor. I didnt want a third
box as a desktop, so I have a "desktop" that is actually a Windows 10 guest.



On Mon, Oct 30, 2017 at 6:09 PM, Yaniv Kaul  wrote:

>
>
> On Oct 31, 2017 12:05 AM, "Wesley Stewart"  wrote:
>
> Woo! I am not crazy.
>
> I always have a hell of a time re-adding my USB passthrough for my
> keyboard and mouse (CentOS seems to bluescreen if I press ctrl + alt + del,
> unless I add the correct usb devices on the same bus).  So I always try to
> not update once I get things stable, but this looks like I will need to.
>
>
> Out of curiosity, why are you passing through a keyboard and a mouse?
> Anything special about them?
> Y.
>
>
> Thanks for the quick response
>
> On Mon, Oct 30, 2017 at 5:38 PM, Yaniv Kaul  wrote:
>
>>
>>
>> On Mon, Oct 30, 2017 at 10:40 PM, Wesley Stewart 
>> wrote:
>>
>>> Yep, should have just assumed /var/log
>>>
>>> Looks like a javascript issue.  Anyone else having trouble cloning a
>>> snapshot on 4.1.6?
>>>
>>> 2017-10-30 11:03:27,502-04 ERROR [org.ovirt.engine.ui.frontend.
>>> server.gwt.OvirtRemoteLoggingService] (default task-23) [] Uncaught
>>> exception: com.google.gwt.core.client.JavaScriptException: (TypeError)
>>>  __gwt$exception: : Cannot read property 'R' of null
>>> at org.ovirt.engine.ui.uicommonweb.models.vms.UnitVmModel.$isHo
>>> stedEngine(UnitVmModel.java:1888)
>>>
>>
>>
>> Looks like https://bugzilla.redhat.com/show_bug.cgi?id=1498478, fixed in
>> 4.1.7.
>>
>> Y.
>>
>>
>>> at org.ovirt.engine.ui.common.widget.uicommon.popup.AbstractVmP
>>> opupWidget.$edit(AbstractVmPopupWidget.java:1515)
>>> at org.ovirt.engine.ui.common.widget.uicommon.popup.AbstractVmP
>>> opupWidget.edit(AbstractVmPopupWidget.java:1515)
>>> at org.ovirt.engine.ui.common.widget.uicommon.popup.AbstractVmP
>>> opupWidget.edit(AbstractVmPopupWidget.java:1515)
>>> at org.ovirt.engine.ui.common.widget.uicommon.popup.AbstractMod
>>> eSwitchingPopupWidget.edit(AbstractModeSwitchingPopupWidget.java:78)
>>> at org.ovirt.engine.ui.common.view.popup.AbstractModelBoundWidg
>>> etPopupView.$edit(AbstractModelBoundWidgetPopupView.java:36)
>>> at org.ovirt.engine.ui.common.view.popup.AbstractModelBoundWidg
>>> etPopupView.edit(AbstractModelBoundWidgetPopupView.java:36)
>>> at org.ovirt.engine.ui.common.presenter.AbstractModelBoundPopup
>>> PresenterWidget.$init(AbstractModelBoundPopupPresenterWidget.java:143)
>>> at org.ovirt.engine.ui.common.widget.popup.AbstractVmBasedPopup
>>> PresenterWidget.$init(AbstractVmBasedPopupPresenterWidget.java:68)
>>> at org.ovirt.engine.ui.common.widget.popup.AbstractVmBasedPopup
>>> PresenterWidget.init(AbstractVmBasedPopupPresenterWidget.java:68)
>>> at org.ovirt.engine.ui.common.widget.popup.AbstractVmBasedPopup
>>> PresenterWidget.init(AbstractVmBasedPopupPresenterWidget.java:68)
>>> at org.ovirt.engine.ui.common.uicommon.model.ModelBoundPopupHan
>>> dler.$handleWindowModelChange(ModelBoundPopupHandler.java:96)
>>> at org.ovirt.engine.ui.common.uicommon.model.ModelBoundPopupHan
>>> dler$1.$eventRaised(ModelBoundPopupHandler.java:77)
>>> at org.ovirt.engine.ui.common.uicommon.model.ModelBoundPopupHan
>>> dler$1.eventRaised(ModelBoundPopupHandler.java:77)
>>> at org.ovirt.engine.ui.uicompat.Event.$raise(Event.java:99)
>>> at org.ovirt.engine.ui.uicommonweb.models.Model.$onPropertyChan
>>> ged(Model.java:471)
>>> at org.ovirt.engine.ui.uicommonweb.models.Model.onPropertyChang
>>> ed(Model.java:471)
>>> at org.ovirt.engine.ui.uicommonweb.models.Model.$setWindow(Mode
>>> l.java:93)
>>> at org.ovirt.engine.ui.uicommonweb.models.vms.VmSnapshotListMod
>>> el.$cloneVM(VmSnapshotListModel.java:703)
>>> at org.ovirt.engine.ui.uicommonweb.models.vms.VmSnapshotListMod
>>> el.executeCommand(VmSnapshotListModel.java:912)
>>> at org.ovirt.engine.ui.uicommonweb.UICommand.$execute(UICommand
>>> .java:163)
>>> at org.ovirt.engine.ui.common.widget.action.UiCommandButtonDefi
>>> nition.$onClick(UiCommandButtonDefinition.java:130)
>>> at org.ovirt.engine.ui.common.widget.action.UiCommandButtonDefi
>>> nition.onClick(UiCommandButtonDefinition.java:130)
>>> at org.ovirt.engine.ui.common.widget.action.AbstractActionPanel
>>> $11.execute(AbstractActionPanel.java:575)
>>> at com.google.gwt.user.client.ui.MenuBar$1.execute(MenuBar.java:893)
>>> [gwt-servlet.jar:]
>>> at 
>>> com.google.gwt.core.client.impl.SchedulerImpl.runScheduledTasks(SchedulerImpl.java:164)
>>> [gwt-servlet.jar:]
>>> at com.google.gwt.core.client.impl.SchedulerImpl.$flushFinallyC
>>> ommands(SchedulerImpl.java:270) 

Re: [ovirt-users] Cannot clone a snapshot

2017-10-30 Thread Yaniv Kaul
On Oct 31, 2017 12:05 AM, "Wesley Stewart"  wrote:

Woo! I am not crazy.

I always have a hell of a time re-adding my USB passthrough for my keyboard
and mouse (CentOS seems to bluescreen if I press ctrl + alt + del, unless I
add the correct usb devices on the same bus).  So I always try to not
update once I get things stable, but this looks like I will need to.


Out of curiosity, why are you passing through a keyboard and a mouse?
Anything special about them?
Y.


Thanks for the quick response

On Mon, Oct 30, 2017 at 5:38 PM, Yaniv Kaul  wrote:

>
>
> On Mon, Oct 30, 2017 at 10:40 PM, Wesley Stewart 
> wrote:
>
>> Yep, should have just assumed /var/log
>>
>> Looks like a javascript issue.  Anyone else having trouble cloning a
>> snapshot on 4.1.6?
>>
>> 2017-10-30 11:03:27,502-04 ERROR [org.ovirt.engine.ui.frontend.
>> server.gwt.OvirtRemoteLoggingService] (default task-23) [] Uncaught
>> exception: com.google.gwt.core.client.JavaScriptException: (TypeError)
>>  __gwt$exception: : Cannot read property 'R' of null
>> at org.ovirt.engine.ui.uicommonweb.models.vms.UnitVmModel.$isHo
>> stedEngine(UnitVmModel.java:1888)
>>
>
>
> Looks like https://bugzilla.redhat.com/show_bug.cgi?id=1498478, fixed in
> 4.1.7.
>
> Y.
>
>
>> at org.ovirt.engine.ui.common.widget.uicommon.popup.AbstractVmP
>> opupWidget.$edit(AbstractVmPopupWidget.java:1515)
>> at org.ovirt.engine.ui.common.widget.uicommon.popup.AbstractVmP
>> opupWidget.edit(AbstractVmPopupWidget.java:1515)
>> at org.ovirt.engine.ui.common.widget.uicommon.popup.AbstractVmP
>> opupWidget.edit(AbstractVmPopupWidget.java:1515)
>> at org.ovirt.engine.ui.common.widget.uicommon.popup.AbstractMod
>> eSwitchingPopupWidget.edit(AbstractModeSwitchingPopupWidget.java:78)
>> at org.ovirt.engine.ui.common.view.popup.AbstractModelBoundWidg
>> etPopupView.$edit(AbstractModelBoundWidgetPopupView.java:36)
>> at org.ovirt.engine.ui.common.view.popup.AbstractModelBoundWidg
>> etPopupView.edit(AbstractModelBoundWidgetPopupView.java:36)
>> at org.ovirt.engine.ui.common.presenter.AbstractModelBoundPopup
>> PresenterWidget.$init(AbstractModelBoundPopupPresenterWidget.java:143)
>> at org.ovirt.engine.ui.common.widget.popup.AbstractVmBasedPopup
>> PresenterWidget.$init(AbstractVmBasedPopupPresenterWidget.java:68)
>> at org.ovirt.engine.ui.common.widget.popup.AbstractVmBasedPopup
>> PresenterWidget.init(AbstractVmBasedPopupPresenterWidget.java:68)
>> at org.ovirt.engine.ui.common.widget.popup.AbstractVmBasedPopup
>> PresenterWidget.init(AbstractVmBasedPopupPresenterWidget.java:68)
>> at org.ovirt.engine.ui.common.uicommon.model.ModelBoundPopupHan
>> dler.$handleWindowModelChange(ModelBoundPopupHandler.java:96)
>> at org.ovirt.engine.ui.common.uicommon.model.ModelBoundPopupHan
>> dler$1.$eventRaised(ModelBoundPopupHandler.java:77)
>> at org.ovirt.engine.ui.common.uicommon.model.ModelBoundPopupHan
>> dler$1.eventRaised(ModelBoundPopupHandler.java:77)
>> at org.ovirt.engine.ui.uicompat.Event.$raise(Event.java:99)
>> at org.ovirt.engine.ui.uicommonweb.models.Model.$onPropertyChan
>> ged(Model.java:471)
>> at org.ovirt.engine.ui.uicommonweb.models.Model.onPropertyChang
>> ed(Model.java:471)
>> at org.ovirt.engine.ui.uicommonweb.models.Model.$setWindow(Mode
>> l.java:93)
>> at org.ovirt.engine.ui.uicommonweb.models.vms.VmSnapshotListMod
>> el.$cloneVM(VmSnapshotListModel.java:703)
>> at org.ovirt.engine.ui.uicommonweb.models.vms.VmSnapshotListMod
>> el.executeCommand(VmSnapshotListModel.java:912)
>> at org.ovirt.engine.ui.uicommonweb.UICommand.$execute(UICommand
>> .java:163)
>> at org.ovirt.engine.ui.common.widget.action.UiCommandButtonDefi
>> nition.$onClick(UiCommandButtonDefinition.java:130)
>> at org.ovirt.engine.ui.common.widget.action.UiCommandButtonDefi
>> nition.onClick(UiCommandButtonDefinition.java:130)
>> at org.ovirt.engine.ui.common.widget.action.AbstractActionPanel
>> $11.execute(AbstractActionPanel.java:575)
>> at com.google.gwt.user.client.ui.MenuBar$1.execute(MenuBar.java:893)
>> [gwt-servlet.jar:]
>> at 
>> com.google.gwt.core.client.impl.SchedulerImpl.runScheduledTasks(SchedulerImpl.java:164)
>> [gwt-servlet.jar:]
>> at com.google.gwt.core.client.impl.SchedulerImpl.$flushFinallyC
>> ommands(SchedulerImpl.java:270) [gwt-servlet.jar:]
>> at com.google.gwt.core.client.impl.Impl.exit(Impl.java:378)
>> [gwt-servlet.jar:]
>> at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:335)
>> [gwt-servlet.jar:]
>> at Unknown.eval(webadmin-0.js@54)
>>
>> On Mon, Oct 30, 2017 at 2:16 PM, Alexander Wels  wrote:
>>
>>> On Monday, October 30, 2017 1:58:36 PM EDT Wesley Stewart wrote:
>>> > Whenever I try to clone a snapshot, I get a UI popup that says:
>>> >
>>> >
>>> > 2

Re: [ovirt-users] Cannot clone a snapshot

2017-10-30 Thread Wesley Stewart
Woo! I am not crazy.

I always have a hell of a time re-adding my USB passthrough for my keyboard
and mouse (CentOS seems to bluescreen if I press ctrl + alt + del, unless I
add the correct usb devices on the same bus).  So I always try to not
update once I get things stable, but this looks like I will need to.

Thanks for the quick response

On Mon, Oct 30, 2017 at 5:38 PM, Yaniv Kaul  wrote:

>
>
> On Mon, Oct 30, 2017 at 10:40 PM, Wesley Stewart 
> wrote:
>
>> Yep, should have just assumed /var/log
>>
>> Looks like a javascript issue.  Anyone else having trouble cloning a
>> snapshot on 4.1.6?
>>
>> 2017-10-30 11:03:27,502-04 ERROR [org.ovirt.engine.ui.frontend.
>> server.gwt.OvirtRemoteLoggingService] (default task-23) [] Uncaught
>> exception: com.google.gwt.core.client.JavaScriptException: (TypeError)
>>  __gwt$exception: : Cannot read property 'R' of null
>> at org.ovirt.engine.ui.uicommonweb.models.vms.UnitVmModel.$
>> isHostedEngine(UnitVmModel.java:1888)
>>
>
>
> Looks like https://bugzilla.redhat.com/show_bug.cgi?id=1498478, fixed in
> 4.1.7.
>
> Y.
>
>
>> at org.ovirt.engine.ui.common.widget.uicommon.popup.AbstractVmP
>> opupWidget.$edit(AbstractVmPopupWidget.java:1515)
>> at org.ovirt.engine.ui.common.widget.uicommon.popup.AbstractVmP
>> opupWidget.edit(AbstractVmPopupWidget.java:1515)
>> at org.ovirt.engine.ui.common.widget.uicommon.popup.AbstractVmP
>> opupWidget.edit(AbstractVmPopupWidget.java:1515)
>> at org.ovirt.engine.ui.common.widget.uicommon.popup.AbstractMod
>> eSwitchingPopupWidget.edit(AbstractModeSwitchingPopupWidget.java:78)
>> at org.ovirt.engine.ui.common.view.popup.AbstractModelBoundWidg
>> etPopupView.$edit(AbstractModelBoundWidgetPopupView.java:36)
>> at org.ovirt.engine.ui.common.view.popup.AbstractModelBoundWidg
>> etPopupView.edit(AbstractModelBoundWidgetPopupView.java:36)
>> at org.ovirt.engine.ui.common.presenter.AbstractModelBoundPopup
>> PresenterWidget.$init(AbstractModelBoundPopupPresenterWidget.java:143)
>> at org.ovirt.engine.ui.common.widget.popup.AbstractVmBasedPopup
>> PresenterWidget.$init(AbstractVmBasedPopupPresenterWidget.java:68)
>> at org.ovirt.engine.ui.common.widget.popup.AbstractVmBasedPopup
>> PresenterWidget.init(AbstractVmBasedPopupPresenterWidget.java:68)
>> at org.ovirt.engine.ui.common.widget.popup.AbstractVmBasedPopup
>> PresenterWidget.init(AbstractVmBasedPopupPresenterWidget.java:68)
>> at org.ovirt.engine.ui.common.uicommon.model.ModelBoundPopupHan
>> dler.$handleWindowModelChange(ModelBoundPopupHandler.java:96)
>> at org.ovirt.engine.ui.common.uicommon.model.ModelBoundPopupHan
>> dler$1.$eventRaised(ModelBoundPopupHandler.java:77)
>> at org.ovirt.engine.ui.common.uicommon.model.ModelBoundPopupHan
>> dler$1.eventRaised(ModelBoundPopupHandler.java:77)
>> at org.ovirt.engine.ui.uicompat.Event.$raise(Event.java:99)
>> at org.ovirt.engine.ui.uicommonweb.models.Model.$onPropertyChan
>> ged(Model.java:471)
>> at org.ovirt.engine.ui.uicommonweb.models.Model.onPropertyChang
>> ed(Model.java:471)
>> at org.ovirt.engine.ui.uicommonweb.models.Model.$setWindow(
>> Model.java:93)
>> at org.ovirt.engine.ui.uicommonweb.models.vms.VmSnapshotListMod
>> el.$cloneVM(VmSnapshotListModel.java:703)
>> at org.ovirt.engine.ui.uicommonweb.models.vms.VmSnapshotListMod
>> el.executeCommand(VmSnapshotListModel.java:912)
>> at org.ovirt.engine.ui.uicommonweb.UICommand.$execute(
>> UICommand.java:163)
>> at org.ovirt.engine.ui.common.widget.action.UiCommandButtonDefi
>> nition.$onClick(UiCommandButtonDefinition.java:130)
>> at org.ovirt.engine.ui.common.widget.action.UiCommandButtonDefi
>> nition.onClick(UiCommandButtonDefinition.java:130)
>> at org.ovirt.engine.ui.common.widget.action.AbstractActionPanel
>> $11.execute(AbstractActionPanel.java:575)
>> at com.google.gwt.user.client.ui.MenuBar$1.execute(MenuBar.java:893)
>> [gwt-servlet.jar:]
>> at 
>> com.google.gwt.core.client.impl.SchedulerImpl.runScheduledTasks(SchedulerImpl.java:164)
>> [gwt-servlet.jar:]
>> at com.google.gwt.core.client.impl.SchedulerImpl.$flushFinallyC
>> ommands(SchedulerImpl.java:270) [gwt-servlet.jar:]
>> at com.google.gwt.core.client.impl.Impl.exit(Impl.java:378)
>> [gwt-servlet.jar:]
>> at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:335)
>> [gwt-servlet.jar:]
>> at Unknown.eval(webadmin-0.js@54)
>>
>> On Mon, Oct 30, 2017 at 2:16 PM, Alexander Wels  wrote:
>>
>>> On Monday, October 30, 2017 1:58:36 PM EDT Wesley Stewart wrote:
>>> > Whenever I try to clone a snapshot, I get a UI popup that says:
>>> >
>>> >
>>> > 2
>>> > Uncaught exception occurred. Please try reloading the page. Details:
>>> > (TypeError) __gwt$exception: : Cannot read property 'R' of
>>> null
>>> > Please have your 

Re: [ovirt-users] Cannot clone a snapshot

2017-10-30 Thread Yaniv Kaul
On Mon, Oct 30, 2017 at 10:40 PM, Wesley Stewart 
wrote:

> Yep, should have just assumed /var/log
>
> Looks like a javascript issue.  Anyone else having trouble cloning a
> snapshot on 4.1.6?
>
> 2017-10-30 11:03:27,502-04 ERROR 
> [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService]
> (default task-23) [] Uncaught exception: 
> com.google.gwt.core.client.JavaScriptException:
> (TypeError)
>  __gwt$exception: : Cannot read property 'R' of null
> at org.ovirt.engine.ui.uicommonweb.models.vms.
> UnitVmModel.$isHostedEngine(UnitVmModel.java:1888)
>


Looks like https://bugzilla.redhat.com/show_bug.cgi?id=1498478, fixed in
4.1.7.

Y.


> at org.ovirt.engine.ui.common.widget.uicommon.popup.
> AbstractVmPopupWidget.$edit(AbstractVmPopupWidget.java:1515)
> at org.ovirt.engine.ui.common.widget.uicommon.popup.
> AbstractVmPopupWidget.edit(AbstractVmPopupWidget.java:1515)
> at org.ovirt.engine.ui.common.widget.uicommon.popup.
> AbstractVmPopupWidget.edit(AbstractVmPopupWidget.java:1515)
> at org.ovirt.engine.ui.common.widget.uicommon.popup.
> AbstractModeSwitchingPopupWidget.edit(AbstractModeSwitchingPopupWidg
> et.java:78)
> at org.ovirt.engine.ui.common.view.popup.
> AbstractModelBoundWidgetPopupView.$edit(AbstractModelBoundWidgetPopupV
> iew.java:36)
> at org.ovirt.engine.ui.common.view.popup.
> AbstractModelBoundWidgetPopupView.edit(AbstractModelBoundWidgetPopupV
> iew.java:36)
> at org.ovirt.engine.ui.common.presenter.
> AbstractModelBoundPopupPresenterWidget.$init(
> AbstractModelBoundPopupPresenterWidget.java:143)
> at org.ovirt.engine.ui.common.widget.popup.
> AbstractVmBasedPopupPresenterWidget.$init(AbstractVmBasedPopupPresenterW
> idget.java:68)
> at org.ovirt.engine.ui.common.widget.popup.
> AbstractVmBasedPopupPresenterWidget.init(AbstractVmBasedPopupPresenterW
> idget.java:68)
> at org.ovirt.engine.ui.common.widget.popup.
> AbstractVmBasedPopupPresenterWidget.init(AbstractVmBasedPopupPresenterW
> idget.java:68)
> at org.ovirt.engine.ui.common.uicommon.model.
> ModelBoundPopupHandler.$handleWindowModelChange(
> ModelBoundPopupHandler.java:96)
> at org.ovirt.engine.ui.common.uicommon.model.
> ModelBoundPopupHandler$1.$eventRaised(ModelBoundPopupHandler.java:77)
> at org.ovirt.engine.ui.common.uicommon.model.
> ModelBoundPopupHandler$1.eventRaised(ModelBoundPopupHandler.java:77)
> at org.ovirt.engine.ui.uicompat.Event.$raise(Event.java:99)
> at org.ovirt.engine.ui.uicommonweb.models.Model.$
> onPropertyChanged(Model.java:471)
> at org.ovirt.engine.ui.uicommonweb.models.Model.
> onPropertyChanged(Model.java:471)
> at org.ovirt.engine.ui.uicommonweb.models.Model.$
> setWindow(Model.java:93)
> at org.ovirt.engine.ui.uicommonweb.models.vms.
> VmSnapshotListModel.$cloneVM(VmSnapshotListModel.java:703)
> at org.ovirt.engine.ui.uicommonweb.models.vms.VmSnapshotListModel.
> executeCommand(VmSnapshotListModel.java:912)
> at org.ovirt.engine.ui.uicommonweb.UICommand.$
> execute(UICommand.java:163)
> at org.ovirt.engine.ui.common.widget.action.
> UiCommandButtonDefinition.$onClick(UiCommandButtonDefinition.java:130)
> at org.ovirt.engine.ui.common.widget.action.
> UiCommandButtonDefinition.onClick(UiCommandButtonDefinition.java:130)
> at org.ovirt.engine.ui.common.widget.action.
> AbstractActionPanel$11.execute(AbstractActionPanel.java:575)
> at com.google.gwt.user.client.ui.MenuBar$1.execute(MenuBar.java:893)
> [gwt-servlet.jar:]
> at com.google.gwt.core.client.impl.SchedulerImpl.
> runScheduledTasks(SchedulerImpl.java:164) [gwt-servlet.jar:]
> at com.google.gwt.core.client.impl.SchedulerImpl.$
> flushFinallyCommands(SchedulerImpl.java:270) [gwt-servlet.jar:]
> at com.google.gwt.core.client.impl.Impl.exit(Impl.java:378)
> [gwt-servlet.jar:]
> at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:335)
> [gwt-servlet.jar:]
> at Unknown.eval(webadmin-0.js@54)
>
> On Mon, Oct 30, 2017 at 2:16 PM, Alexander Wels  wrote:
>
>> On Monday, October 30, 2017 1:58:36 PM EDT Wesley Stewart wrote:
>> > Whenever I try to clone a snapshot, I get a UI popup that says:
>> >
>> >
>> > 2
>> > Uncaught exception occurred. Please try reloading the page. Details:
>> > (TypeError) __gwt$exception: : Cannot read property 'R' of null
>> > Please have your administrator check the UI logs
>> >
>> > Where do these UI logs live?
>> >
>> > Build:
>> > Self Hosted oVirt 4.1.6
>>
>> They should be in /var/log/ovirt-engine/UI.log
>>
>>
>
> ___
> 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] Cannot clone a snapshot

2017-10-30 Thread Wesley Stewart
Yep, should have just assumed /var/log

Looks like a javascript issue.  Anyone else having trouble cloning a
snapshot on 4.1.6?

2017-10-30 11:03:27,502-04 ERROR
[org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService]
(default task-23) [] Uncaught exception:
com.google.gwt.core.client.JavaScriptException: (TypeError)
 __gwt$exception: : Cannot read property 'R' of null
at
org.ovirt.engine.ui.uicommonweb.models.vms.UnitVmModel.$isHostedEngine(UnitVmModel.java:1888)
at
org.ovirt.engine.ui.common.widget.uicommon.popup.AbstractVmPopupWidget.$edit(AbstractVmPopupWidget.java:1515)
at
org.ovirt.engine.ui.common.widget.uicommon.popup.AbstractVmPopupWidget.edit(AbstractVmPopupWidget.java:1515)
at
org.ovirt.engine.ui.common.widget.uicommon.popup.AbstractVmPopupWidget.edit(AbstractVmPopupWidget.java:1515)
at
org.ovirt.engine.ui.common.widget.uicommon.popup.AbstractModeSwitchingPopupWidget.edit(AbstractModeSwitchingPopupWidget.java:78)
at
org.ovirt.engine.ui.common.view.popup.AbstractModelBoundWidgetPopupView.$edit(AbstractModelBoundWidgetPopupView.java:36)
at
org.ovirt.engine.ui.common.view.popup.AbstractModelBoundWidgetPopupView.edit(AbstractModelBoundWidgetPopupView.java:36)
at
org.ovirt.engine.ui.common.presenter.AbstractModelBoundPopupPresenterWidget.$init(AbstractModelBoundPopupPresenterWidget.java:143)
at
org.ovirt.engine.ui.common.widget.popup.AbstractVmBasedPopupPresenterWidget.$init(AbstractVmBasedPopupPresenterWidget.java:68)
at
org.ovirt.engine.ui.common.widget.popup.AbstractVmBasedPopupPresenterWidget.init(AbstractVmBasedPopupPresenterWidget.java:68)
at
org.ovirt.engine.ui.common.widget.popup.AbstractVmBasedPopupPresenterWidget.init(AbstractVmBasedPopupPresenterWidget.java:68)
at
org.ovirt.engine.ui.common.uicommon.model.ModelBoundPopupHandler.$handleWindowModelChange(ModelBoundPopupHandler.java:96)
at
org.ovirt.engine.ui.common.uicommon.model.ModelBoundPopupHandler$1.$eventRaised(ModelBoundPopupHandler.java:77)
at
org.ovirt.engine.ui.common.uicommon.model.ModelBoundPopupHandler$1.eventRaised(ModelBoundPopupHandler.java:77)
at org.ovirt.engine.ui.uicompat.Event.$raise(Event.java:99)
at
org.ovirt.engine.ui.uicommonweb.models.Model.$onPropertyChanged(Model.java:471)
at
org.ovirt.engine.ui.uicommonweb.models.Model.onPropertyChanged(Model.java:471)
at
org.ovirt.engine.ui.uicommonweb.models.Model.$setWindow(Model.java:93)
at
org.ovirt.engine.ui.uicommonweb.models.vms.VmSnapshotListModel.$cloneVM(VmSnapshotListModel.java:703)
at
org.ovirt.engine.ui.uicommonweb.models.vms.VmSnapshotListModel.executeCommand(VmSnapshotListModel.java:912)
at
org.ovirt.engine.ui.uicommonweb.UICommand.$execute(UICommand.java:163)
at
org.ovirt.engine.ui.common.widget.action.UiCommandButtonDefinition.$onClick(UiCommandButtonDefinition.java:130)
at
org.ovirt.engine.ui.common.widget.action.UiCommandButtonDefinition.onClick(UiCommandButtonDefinition.java:130)
at
org.ovirt.engine.ui.common.widget.action.AbstractActionPanel$11.execute(AbstractActionPanel.java:575)
at
com.google.gwt.user.client.ui.MenuBar$1.execute(MenuBar.java:893)
[gwt-servlet.jar:]
at
com.google.gwt.core.client.impl.SchedulerImpl.runScheduledTasks(SchedulerImpl.java:164)
[gwt-servlet.jar:]
at
com.google.gwt.core.client.impl.SchedulerImpl.$flushFinallyCommands(SchedulerImpl.java:270)
[gwt-servlet.jar:]
at com.google.gwt.core.client.impl.Impl.exit(Impl.java:378)
[gwt-servlet.jar:]
at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:335)
[gwt-servlet.jar:]
at Unknown.eval(webadmin-0.js@54)

On Mon, Oct 30, 2017 at 2:16 PM, Alexander Wels  wrote:

> On Monday, October 30, 2017 1:58:36 PM EDT Wesley Stewart wrote:
> > Whenever I try to clone a snapshot, I get a UI popup that says:
> >
> >
> > 2
> > Uncaught exception occurred. Please try reloading the page. Details:
> > (TypeError) __gwt$exception: : Cannot read property 'R' of null
> > Please have your administrator check the UI logs
> >
> > Where do these UI logs live?
> >
> > Build:
> > Self Hosted oVirt 4.1.6
>
> They should be in /var/log/ovirt-engine/UI.log
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ovirtmgmt network security

2017-10-30 Thread Luca 'remix_tj' Lorenzetto
Glad to hear it!

You're welcome!

Il 30 ott 2017 9:13 PM, "Istvan Buki"  ha scritto:

> On Mon, Oct 30, 2017 at 10:50 AM, Alona Kaplan 
> wrote:
>
>> Hi Istvan,
>>
>> I agree with Luca. You can remove nic1.
>> 'ovirtmgmt' network is not mandatory on the vm, you can run the vm with
>> no vnics (vitrual nics) at all.
>> The 'ovirtmgmt' network is used for communication between the engine and
>> the host.
>> Whether the vm using the 'ovirtmgmt' network or not won't affect the
>> management capabilities.
>>
>> You said that the vm nic with 'ovirtmgmt' was automatically added when
>> you added the vm.
>> It is strange and shouldn't behave this way. Are you sure that in the add
>> vm dialog you didn't choose it as the network of nic1? (you could leave
>> this section in the dialog unfilled, it is not mandatory).
>>
>> BTW, if you don't want any VM to use the 'ovirtmgmt' network you can go
>> to the edit network dialog of 'ovirtmgmt' (in the Network main tab) and
>> uncheck the 'vm network' checkbox.
>>
>> Hope it helps you,
>> Alona.
>>
>>
> Hi Alona,
>
> Yes, removing nic1 was the solution I was looking for.
>
> You are right, I probably added nic1 during the creation of the VM. This
> is my first ovirt install and I'm a little bit overwhelmed by all the
> details one has to know to create a system that is reliable and efficient.
> Fortunately, thanks to people like you and Luca, I'll be able to overcome
> the initial difficulties.
>
>
> Istvan
>
> On Mon, Oct 30, 2017 at 11:26 AM, Luca 'remix_tj' Lorenzetto <
>> lorenzetto.l...@gmail.com> wrote:
>>
>>> On Mon, Oct 30, 2017 at 8:45 AM, Istvan Buki 
>>> wrote:
>>> > Hello,
>>> >
>>> > thank you for your patience for trying to let me see the light.
>>> >
>>> > Indeed I don't understand what you are explaining. Maybe if I give you
>>> more
>>> > concrete details it will help.
>>> >
>>> > My internal network is 192.168.196.0
>>> > My DMZ network is 192.168.188.0
>>> >
>>> > ovirt-engine is running on a centos server with IP 192.168.186.3
>>> > ovirt host is on a centos server with IP 192.168.186.4
>>> >
>>> > On the host I created a VM that I want to be in the DMZ. When I
>>> created the
>>> > VM, nic 1 was automatically added and is linked to the ovirtmgmt
>>> network.
>>> > In the VM nic1 becomes eth0 and was assigned an IP address with DHCP
>>> > 192.168.186.167.
>>> >
>>> > After that I added a host device to that VM using passthrough. This
>>> device
>>> > is called ens7 in the VM and I gave IP 192.186.188.4.
>>> > That device is directly connected to my physical DMZ switch and from
>>> there
>>> > to the firewall.
>>> > This part is OK.
>>> >
>>> > My problem is that through eth0 my VM has access to my internal
>>> network.
>>> > Removing the device seems impossible because this is ovirtmgmt network.
>>> > I can not change or remove the IP of my host because it would not be
>>> > reachable anymore on my internal network.
>>> >
>>> > Maybe the solution is obvious but I can't see it. I'm running in
>>> circle with
>>> > this problem and it makes me crazy.
>>> >
>>>
>>>
>>>
>>> Hi Istvan,
>>>
>>> why are you using device passthrough?
>>>
>>> Anyway. If you don't need the VM to access to ovirtmgmt, remove nic1.
>>> As far as i can understand, you're directly communicating through DMZ.
>>>
>>> Luca
>>>
>>>
>>> --
>>> "E' assurdo impiegare gli uomini di intelligenza eccellente per fare
>>> calcoli che potrebbero essere affidati a chiunque se si usassero delle
>>> macchine"
>>> Gottfried Wilhelm von Leibnitz, Filosofo e Matematico (1646-1716)
>>>
>>> "Internet è la più grande biblioteca del mondo.
>>> Ma il problema è che i libri sono tutti sparsi sul pavimento"
>>> John Allen Paulos, Matematico (1945-vivente)
>>>
>>> Luca 'remix_tj' Lorenzetto, http://www.remixtj.net , <
>>> lorenzetto.l...@gmail.com>
>>> ___
>>> 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] How is everyone performing backups?

2017-10-30 Thread Wesley Stewart
Sorry yavin, hit reply on my last email instead of reply all.  You probably
just got a couple emails from me!

I used the "wefixit" in the past, but I had trouble getting this to work
since I upgraded to 4.1.6

I also just realized that I am getting a weird error when I try to clone a
snapshot (Just sent a separate email about it which some of you guys might
have seen already).  I think that might be what was causing it to fail.

On a side note, I also went ahead and install Bacchus.  I love the UI and
the interface.  I got my ovirt manager added to Bacchus and it is seeing my
VM's, but when I try to do a manual backup, the site just becomes stuck and
is "spinning".  I think my error on cloning snapshots might also be at play
here.

On Mon, Oct 30, 2017 at 3:09 PM, Yaniv Kaul  wrote:

>
>
> On Mon, Oct 30, 2017 at 6:24 PM, Bernardo Juanicó 
> wrote:
>
>> Torsten:
>> That tool (oVirtBackup ) is
>> based on the old SDK (Version 3) which is deprecated and will be removed
>> (correct me if im wrong) on the 4.2 version.
>>
>
> v3 API will still be supported in 4.2.
> Y.
>
>
>> Take this into account if you plan on updating.
>>
>>
>> Regards,
>>
>> Bernardo
>>
>> PGP Key 
>> Skype: mattraken
>>
>> 2017-10-30 13:01 GMT-03:00 Torsten Stolpmann 
>> :
>>
>>> We are using https://github.com/wefixit-AT/oVirtBackup for backups.
>>>
>>> This works ok for us for nightly scheduled online backups of our vms
>>> managed by an oVirt 4.0.2.7 engine.
>>>
>>> Is this the script you have been using?
>>>
>>> Torsten
>>>
>>>
>>> On 27.10.2017 17:27, Wesley Stewart wrote:
>>>
 Originally, I used a script I found on github, but since updating I
 can't seem to get that to work again.

 I was just curious if there were any other more elegant type
 solutions?  I am currently running a single host and local storage, but I
 would love to backup VM's automatically once a week or so to an NFS share.

 Just curious if anyone had tackled this issue.


 ___
 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
>>
>>
>
> ___
> 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] How is everyone performing backups?

2017-10-30 Thread Wesley Stewart
I used the "wefixit" in the past, but I had trouble getting this to work
since I upgraded to 4.1.6

I also just realized that I am getting a weird error when I try to clone a
snapshot (Just sent a separate email about it which some of you guys might
have seen already).  I think that might be what was causing it to fail.

On a side note, I also went ahead and install Bacchus.  I love the UI and
the interface.  I got my ovirt manager added to Bacchus and it is seeing my
VM's, but when I try to do a manual backup, the site just becomes stuck and
is "spinning".  I think my error on cloning snapshots might also be at play
here.

On Mon, Oct 30, 2017 at 3:09 PM, Yaniv Kaul  wrote:

>
>
> On Mon, Oct 30, 2017 at 6:24 PM, Bernardo Juanicó 
> wrote:
>
>> Torsten:
>> That tool (oVirtBackup ) is
>> based on the old SDK (Version 3) which is deprecated and will be removed
>> (correct me if im wrong) on the 4.2 version.
>>
>
> v3 API will still be supported in 4.2.
> Y.
>
>
>> Take this into account if you plan on updating.
>>
>>
>> Regards,
>>
>> Bernardo
>>
>> PGP Key 
>> Skype: mattraken
>>
>> 2017-10-30 13:01 GMT-03:00 Torsten Stolpmann 
>> :
>>
>>> We are using https://github.com/wefixit-AT/oVirtBackup for backups.
>>>
>>> This works ok for us for nightly scheduled online backups of our vms
>>> managed by an oVirt 4.0.2.7 engine.
>>>
>>> Is this the script you have been using?
>>>
>>> Torsten
>>>
>>>
>>> On 27.10.2017 17:27, Wesley Stewart wrote:
>>>
 Originally, I used a script I found on github, but since updating I
 can't seem to get that to work again.

 I was just curious if there were any other more elegant type
 solutions?  I am currently running a single host and local storage, but I
 would love to backup VM's automatically once a week or so to an NFS share.

 Just curious if anyone had tackled this issue.


 ___
 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
>>
>>
>
> ___
> 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] ovirtmgmt network security

2017-10-30 Thread Istvan Buki
On Mon, Oct 30, 2017 at 10:50 AM, Alona Kaplan  wrote:

> Hi Istvan,
>
> I agree with Luca. You can remove nic1.
> 'ovirtmgmt' network is not mandatory on the vm, you can run the vm with no
> vnics (vitrual nics) at all.
> The 'ovirtmgmt' network is used for communication between the engine and
> the host.
> Whether the vm using the 'ovirtmgmt' network or not won't affect the
> management capabilities.
>
> You said that the vm nic with 'ovirtmgmt' was automatically added when you
> added the vm.
> It is strange and shouldn't behave this way. Are you sure that in the add
> vm dialog you didn't choose it as the network of nic1? (you could leave
> this section in the dialog unfilled, it is not mandatory).
>
> BTW, if you don't want any VM to use the 'ovirtmgmt' network you can go to
> the edit network dialog of 'ovirtmgmt' (in the Network main tab) and
> uncheck the 'vm network' checkbox.
>
> Hope it helps you,
> Alona.
>
>
Hi Alona,

Yes, removing nic1 was the solution I was looking for.

You are right, I probably added nic1 during the creation of the VM. This is
my first ovirt install and I'm a little bit overwhelmed by all the details
one has to know to create a system that is reliable and efficient.
Fortunately, thanks to people like you and Luca, I'll be able to overcome
the initial difficulties.


Istvan

On Mon, Oct 30, 2017 at 11:26 AM, Luca 'remix_tj' Lorenzetto <
> lorenzetto.l...@gmail.com> wrote:
>
>> On Mon, Oct 30, 2017 at 8:45 AM, Istvan Buki 
>> wrote:
>> > Hello,
>> >
>> > thank you for your patience for trying to let me see the light.
>> >
>> > Indeed I don't understand what you are explaining. Maybe if I give you
>> more
>> > concrete details it will help.
>> >
>> > My internal network is 192.168.196.0
>> > My DMZ network is 192.168.188.0
>> >
>> > ovirt-engine is running on a centos server with IP 192.168.186.3
>> > ovirt host is on a centos server with IP 192.168.186.4
>> >
>> > On the host I created a VM that I want to be in the DMZ. When I created
>> the
>> > VM, nic 1 was automatically added and is linked to the ovirtmgmt
>> network.
>> > In the VM nic1 becomes eth0 and was assigned an IP address with DHCP
>> > 192.168.186.167.
>> >
>> > After that I added a host device to that VM using passthrough. This
>> device
>> > is called ens7 in the VM and I gave IP 192.186.188.4.
>> > That device is directly connected to my physical DMZ switch and from
>> there
>> > to the firewall.
>> > This part is OK.
>> >
>> > My problem is that through eth0 my VM has access to my internal network.
>> > Removing the device seems impossible because this is ovirtmgmt network.
>> > I can not change or remove the IP of my host because it would not be
>> > reachable anymore on my internal network.
>> >
>> > Maybe the solution is obvious but I can't see it. I'm running in circle
>> with
>> > this problem and it makes me crazy.
>> >
>>
>>
>>
>> Hi Istvan,
>>
>> why are you using device passthrough?
>>
>> Anyway. If you don't need the VM to access to ovirtmgmt, remove nic1.
>> As far as i can understand, you're directly communicating through DMZ.
>>
>> Luca
>>
>>
>> --
>> "E' assurdo impiegare gli uomini di intelligenza eccellente per fare
>> calcoli che potrebbero essere affidati a chiunque se si usassero delle
>> macchine"
>> Gottfried Wilhelm von Leibnitz, Filosofo e Matematico (1646-1716)
>>
>> "Internet è la più grande biblioteca del mondo.
>> Ma il problema è che i libri sono tutti sparsi sul pavimento"
>> John Allen Paulos, Matematico (1945-vivente)
>>
>> Luca 'remix_tj' Lorenzetto, http://www.remixtj.net , <
>> lorenzetto.l...@gmail.com>
>> ___
>> 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] ovirtmgmt network security

2017-10-30 Thread Istvan Buki
Le 30 oct. 2017 10:26 AM, "Luca 'remix_tj' Lorenzetto" <
lorenzetto.l...@gmail.com> a écrit :

On Mon, Oct 30, 2017 at 8:45 AM, Istvan Buki  wrote:
> Hello,
>
> thank you for your patience for trying to let me see the light.
>
> Indeed I don't understand what you are explaining. Maybe if I give you
more
> concrete details it will help.
>
> My internal network is 192.168.196.0
> My DMZ network is 192.168.188.0
>
> ovirt-engine is running on a centos server with IP 192.168.186.3
> ovirt host is on a centos server with IP 192.168.186.4
>
> On the host I created a VM that I want to be in the DMZ. When I created
the
> VM, nic 1 was automatically added and is linked to the ovirtmgmt network.
> In the VM nic1 becomes eth0 and was assigned an IP address with DHCP
> 192.168.186.167.
>
> After that I added a host device to that VM using passthrough. This device
> is called ens7 in the VM and I gave IP 192.186.188.4.
> That device is directly connected to my physical DMZ switch and from there
> to the firewall.
> This part is OK.
>
> My problem is that through eth0 my VM has access to my internal network.
> Removing the device seems impossible because this is ovirtmgmt network.
> I can not change or remove the IP of my host because it would not be
> reachable anymore on my internal network.
>
> Maybe the solution is obvious but I can't see it. I'm running in circle
with
> this problem and it makes me crazy.
>



Hi Istvan,

why are you using device passthrough?

Anyway. If you don't need the VM to access to ovirtmgmt, remove nic1.
As far as i can understand, you're directly communicating through DMZ.


Hi Luca,

As I have only one VM in the DMZ currently I assigned the NIC directly to
the VM instead of creating a logical network to get maximum performance and
better security because only the VM can access that network interface. If
one day I have to create another VM inside DMZ I'll create a logical
network and bind the NIC to that network instead of the VM.

OK, I removed nic1 and it looks good. The only interface left is the DMZ
network and I can reach it through the firewall. :-)

Thanks you so much for your help and patience.

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


Re: [ovirt-users] New post on oVirt blog: Introducing High Performance Virtual Machines

2017-10-30 Thread Vinícius Ferrão
Hello John,

This is very interesting news for HPC guys. Accordingly to the blog post 
there's a new “CPU passthrough” function. Which is interesting.

Do you guys are targeting which market? I’m looking forward for virtual nodes 
on a HPC environment.

Thanks,
V.

On 30 Oct 2017, at 07:38, John Marks 
> wrote:

Hello!
Just a quick heads up that there is a new post on the oVirt blog:

Introducing High Performance Virtual Machines 


In a nutshell:

oVirt 4.2.0 Alpha, released on September 28, features a new high performance 
virtual machine type. It brings VM performance closer to bare metal 
performance. Read the blog 
post.

See you on the oVirt blog!

Best,

John
--
John Marks
Technical Writer, oVirt
redhat Israel
Cell: +972 52 8644 491

___
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] How is everyone performing backups?

2017-10-30 Thread Yaniv Kaul
On Mon, Oct 30, 2017 at 6:24 PM, Bernardo Juanicó 
wrote:

> Torsten:
> That tool (oVirtBackup ) is
> based on the old SDK (Version 3) which is deprecated and will be removed
> (correct me if im wrong) on the 4.2 version.
>

v3 API will still be supported in 4.2.
Y.


> Take this into account if you plan on updating.
>
>
> Regards,
>
> Bernardo
>
> PGP Key 
> Skype: mattraken
>
> 2017-10-30 13:01 GMT-03:00 Torsten Stolpmann :
>
>> We are using https://github.com/wefixit-AT/oVirtBackup for backups.
>>
>> This works ok for us for nightly scheduled online backups of our vms
>> managed by an oVirt 4.0.2.7 engine.
>>
>> Is this the script you have been using?
>>
>> Torsten
>>
>>
>> On 27.10.2017 17:27, Wesley Stewart wrote:
>>
>>> Originally, I used a script I found on github, but since updating I
>>> can't seem to get that to work again.
>>>
>>> I was just curious if there were any other more elegant type solutions?
>>> I am currently running a single host and local storage, but I would love to
>>> backup VM's automatically once a week or so to an NFS share.
>>>
>>> Just curious if anyone had tackled this issue.
>>>
>>>
>>> ___
>>> 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
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Cannot clone a snapshot

2017-10-30 Thread Alexander Wels
On Monday, October 30, 2017 1:58:36 PM EDT Wesley Stewart wrote:
> Whenever I try to clone a snapshot, I get a UI popup that says:
> 
> 
> 2
> Uncaught exception occurred. Please try reloading the page. Details:
> (TypeError) __gwt$exception: : Cannot read property 'R' of null
> Please have your administrator check the UI logs
> 
> Where do these UI logs live?
> 
> Build:
> Self Hosted oVirt 4.1.6

They should be in /var/log/ovirt-engine/UI.log

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


Re: [ovirt-users] How is everyone performing backups?

2017-10-30 Thread Torsten Stolpmann

On 30.10.2017 17:51, Nathanaël Blanchet wrote:



Le 30/10/2017 à 17:24, Bernardo Juanicó a écrit :

Torsten:
That tool (oVirtBackup ) is 
based on the old SDK (Version 3) which is deprecated and will be 
removed (correct me if im wrong) on the 4.2 version.
No it will finally still be available in 4.2, sdk3 will be removed later 
to an undefined date.
I also have been keeping an eye on that subject. Thanks to the oVirt 
team for the decision to keep the API around a bit longer.


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


[ovirt-users] Cannot clone a snapshot

2017-10-30 Thread Wesley Stewart
Whenever I try to clone a snapshot, I get a UI popup that says:


2
Uncaught exception occurred. Please try reloading the page. Details:
(TypeError) __gwt$exception: : Cannot read property 'R' of null
Please have your administrator check the UI logs

Where do these UI logs live?

Build:
Self Hosted oVirt 4.1.6
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] VM resource allocation and IO Threads

2017-10-30 Thread Martin Polednik
As stated previously, 1 IO thread is somewhat sane choice. Multiple IO
threads make sense if you have multiple storage devices across
different NUMA nodes.

mpolednik

On Mon, Oct 30, 2017 at 4:29 PM, Darrell Budic  wrote:
> Best explanation I’ve found is
> https://wiki.mikejung.biz/KVM_/_Xen#virtio-blk_iothreads_.28x-data-plane.29
> If you google a bit, you’ll find some more under QEMU topics, I saw some
> discussion of threads and queues in virtio-scsi, but that seems to be a
> slightly different thing than this setting.
>
> In short, having at least 1 offers advantages for all your VM’s disks, and
> if you want to be optimal (at the possible expense of extra CPU for IO), one
> per drive attached. There is (currently) no benefit to having more than 1
> thread per drive. From what I can tell, if you have more drives than threads
> they share the threads evenly and are statically assigned to a thread. Seems
> to be effective at QEMU start, so you have to change it with the VM down or
> stop and start it again.
>
> I currently enable it on all VMs and assign 1 thread per drive on my
> systems.
>
> 
> From: Gianluca Cecchi 
> Subject: [ovirt-users] VM resource allocation and IO Threads
> Date: October 27, 2017 at 9:26:59 AM CDT
> To: users
>
> Hello,
> can anyone give any pointer to deeper information about what in subject and
> the value for "Num Of IO Threads" configuration, best practices and
> to-be-expected improvements?
>
> I read also here:
> https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.1/html-single/virtual_machine_management_guide/#Editing_IO_Threads
>
> but in some points it seems not so clear to me:
>
> eg:
>
> If a virtual machine has more than one disk, you can enable or change the
> number of IO threads to improve performance.
>
> but also
>
> Red Hat recommends using the default number of IO threads, which is 1.
>
> There is also a note about deactivation and activation of disks: does it
> mean that even if I poweroff the VM and change its config I have to make
> this step after?
>
> Anyone has run benchmarks?
> Does it make sense if my VM has 3 disks to configure 6 IO threads for
> example?
> Do IO threads map to SCSI controllers inside the guest or what?
>
> Thanks in advance,
> Gianluca
> ___
> 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] self hosted engine vm won't start

2017-10-30 Thread Simone Tiraboschi
On Mon, Oct 30, 2017 at 5:20 PM, Hristo Pavlov  wrote:

> I had added the second ethernet card through the Administration Panel,
> Edit HostedEngine virtual machine and add new ethernet adapter. It didn't
> give me any error.
>
>
This smells like a bug, we have to investigate it.

In the mean time, try this:

cp /var/run/ovirt-hosted-engine-ha/vm.conf /var/run/ovirt-hosted-engine-
ha/vm_fixed.conf
# edit /var/run/ovirt-hosted-engine-ha/vm_fixed.conf removing the line of
the additional network
hosted-engine --vm-start --vm-conf=/var/run/ovirt-hosted-engine-
ha/vm_fixed.conf



>
> Понедельник, 30 октября 2017, 18:13 +02:00 от Simone Tiraboschi <
> stira...@redhat.com>:
>
>
>
>
> On Mon, Oct 30, 2017 at 5:03 PM, Hristo Pavlov  > wrote:
>
> Francesco,
>
> I noticed something in file /var/run/ovirt-hosted-engine-ha/vm.conf
>
> cpuType=Broadwell
> emulatedMachine=pc-i440fx-rhel7.3.0
> vmId=da98112d-b9fb-4098-93fa-1f1374b41e46
> smp=2
> memSize=6144
> maxVCpus=16
> spiceSecureChannels=smain,sdisplay,sinputs,scursor,
> splayback,srecord,ssmartcard,susbredir
> vmName=HostedEngine
> display=vnc
> devices={index:0,iface:virtio,format:raw,bootOrder:1,address:{
> *slot:0x06,bus:0x00,domain:0x,type:pci,function:0x0*},volumeID:
> 91738265-d3d1-4e8b-99f7-32e8838803b0,imageID:9a144135-
> 8bea-4dfb-904c-3dd034e97e59,readonly:false,domainID:
> f0c9b7eb-2bd5-4af7-9b72-b5c279bb74cf,deviceId:9a144135-8bea-4dfb-904c-
> 3dd034e97e59,poolID:----,
> device:disk,shared:exclusive,propagateErrors:off,type:disk}
> devices={nicModel:pv,macAddr:00:16:3e:4f:93:b6,linkActive:
> true,network:ovirtmgmt,deviceId:030ba378-a536-4e24-
> af77-993bd76e2bd5,address:{slot:0x03,bus:0x00,domain:
> 0x,type:pci,function:0x0},device:bridge,type:interface}
> devices={nicModel:pv,macAddr:00:1a:4a:16:01:b8,linkActive:
> true,network:br202,deviceId:92833efc-352a-40e0-aa31-568e6dd66ea5,address:{
> *slot:0x06,bus:0x00,domain:0x,type:pci,function:0x0*},device:
> bridge,type:interface}
>
>
> AFAIK hosted-engine VM has only one nic interface and you cannot add
> another one from the engine.
> How did you managed to get two nics?
>
>
> devices={device:vnc,type:graphics,deviceId:fa67234b-
> 013a-432c-9e8d-43dc35827a54,address:None}
> devices={index:2,iface:ide,shared:false,readonly:true,
> deviceId:8c3179ac-b322-4f5c-9449-c52e3665e0ae,address:{
> controller:0,target:0,unit:0,bus:1,type:drive},device:
> cdrom,path:,type:disk}
> devices={device:virtio,specParams:{source:urandom},model:virtio,type:rng}
> devices={device:console,type:console}
>
> is it normal to duplicate these two pci addresses?
>
> Some time ago I had added the second ethernet card live at engine host.
>
> Can it be edited in any way?
>
> Thanks!
>
>
>
>
>
>
> Понедельник, 30 октября 2017, 16:59 +02:00 от Francesco Romani <
> from...@redhat.com
> >:
>
>
> On 10/30/2017 03:56 PM, Hristo Pavlov wrote:
>
> Thank you all!
>
> Francesco,
>
> [root@alpha ~]# journalctl -u libvirtd
> -- Logs begin at Sun 2017-10-29 09:39:58 EET, end at Mon 2017-10-30
> 16:35:36 EET. --
> Oct 29 09:41:24 alpha.datamax.bg systemd[1]: Starting Virtualization
> daemon...
> Oct 29 09:41:26 alpha.datamax.bg systemd[1]: Started Virtualization
> daemon.
> Oct 29 22:30:26 alpha.datamax.bg libvirtd[4207]: libvirt version: 2.0.0,
> package: 10.el7_3.9 (CentOS BuildSystem ,
> 2017-05-25-20:52:28, c1bm.rdu2.centos.org)
> Oct 29 22:30:26 alpha.datamax.bg libvirtd[4207]: hostname:
> alpha.datamax.bg
> Oct 29 22:30:26 alpha.datamax.bg libvirtd[4207]: XML error: Attempted
> double use of PCI slot :00:06.0 (may need "multifunction='on'" for
> device on function 0)
>
>
> This error will prevent the VM to start. Now, we need to see why it
> happens in the first place. Will look at the vdsm logs as soon as possible.
>
> Bests,
>
> --
> Francesco Romani
> Senior SW Eng., Virtualization R
> Red Hat
> IRC: fromani github: @fromanirh
>
>
>
>
>
> ___
> 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] How is everyone performing backups?

2017-10-30 Thread Nathanaël Blanchet



Le 30/10/2017 à 17:24, Bernardo Juanicó a écrit :

Torsten:
That tool (oVirtBackup ) is 
based on the old SDK (Version 3) which is deprecated and will be 
removed (correct me if im wrong) on the 4.2 version.
No it will finally still be available in 4.2, sdk3 will be removed later 
to an undefined date.

Take this into account if you plan on updating.


Regards,

Bernardo

PGP Key 
Skype: mattraken

2017-10-30 13:01 GMT-03:00 Torsten Stolpmann 
>:


We are using https://github.com/wefixit-AT/oVirtBackup
 for backups.

This works ok for us for nightly scheduled online backups of our
vms managed by an oVirt 4.0.2.7 engine.

Is this the script you have been using?

Torsten


On 27.10.2017 17:27, Wesley Stewart wrote:

Originally, I used a script I found on github, but since
updating I can't seem to get that to work again.

I was just curious if there were any other more elegant type
solutions?  I am currently running a single host and local
storage, but I would love to backup VM's automatically once a
week or so to an NFS share.

Just curious if anyone had tackled this issue.


___
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


--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr

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


Re: [ovirt-users] How is everyone performing backups?

2017-10-30 Thread Bernardo Juanicó
Torsten:
That tool (oVirtBackup ) is
based on the old SDK (Version 3) which is deprecated and will be removed
(correct me if im wrong) on the 4.2 version.
Take this into account if you plan on updating.


Regards,

Bernardo

PGP Key 
Skype: mattraken

2017-10-30 13:01 GMT-03:00 Torsten Stolpmann :

> We are using https://github.com/wefixit-AT/oVirtBackup for backups.
>
> This works ok for us for nightly scheduled online backups of our vms
> managed by an oVirt 4.0.2.7 engine.
>
> Is this the script you have been using?
>
> Torsten
>
>
> On 27.10.2017 17:27, Wesley Stewart wrote:
>
>> Originally, I used a script I found on github, but since updating I can't
>> seem to get that to work again.
>>
>> I was just curious if there were any other more elegant type solutions?
>> I am currently running a single host and local storage, but I would love to
>> backup VM's automatically once a week or so to an NFS share.
>>
>> Just curious if anyone had tackled this issue.
>>
>>
>> ___
>> 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] self hosted engine vm won't start

2017-10-30 Thread Hristo Pavlov
I had added the second ethernet card through the Administration Panel, Edit 
HostedEngine virtual machine and add new ethernet adapter. I t didn't give me 
any error.


>Понедельник, 30 октября 2017, 18:13 +02:00 от Simone Tiraboschi 
>:
>
>
>
>On Mon, Oct 30, 2017 at 5:03 PM, Hristo Pavlov  < ichkata...@mail.ru > wrote:
>>Francesco,
>>
>>I noticed something in file /var/run/ovirt-hosted-engine-ha/vm.conf
>>
>>cpuType=Broadwell
>>emulatedMachine=pc-i440fx-rhel7.3.0
>>vmId=da98112d-b9fb-4098-93fa-1f1374b41e46
>>smp=2
>>memSize=6144
>>maxVCpus=16
>>spiceSecureChannels=smain,sdisplay,sinputs,scursor,splayback,srecord,ssmartcard,susbredir
>>vmName=HostedEngine
>>display=vnc
>>devices={index:0,iface:virtio,format:raw,bootOrder:1,address:{ 
>>slot:0x06,bus:0x00,domain:0x,type:pci,function:0x0 
>>},volumeID:91738265-d3d1-4e8b-99f7-32e8838803b0,imageID:9a144135-8bea-4dfb-904c-3dd034e97e59,readonly:false,domainID:f0c9b7eb-2bd5-4af7-9b72-b5c279bb74cf,deviceId:9a144135-8bea-4dfb-904c-3dd034e97e59,poolID:----,device:disk,shared:exclusive,propagateErrors:off,type:disk}
>>devices={nicModel:pv,macAddr:00:16:3e:4f:93:b6,linkActive:true,network:ovirtmgmt,deviceId:030ba378-a536-4e24-af77-993bd76e2bd5,address:{slot:0x03,bus:0x00,domain:0x,type:pci,function:0x0},device:bridge,type:interface}
>>devices={nicModel:pv,macAddr:00:1a:4a:16:01:b8,linkActive:true,network:br202,deviceId:92833efc-352a-40e0-aa31-568e6dd66ea5,address:{
>> slot:0x06,bus:0x00,domain:0x,type:pci,function:0x0 
>>},device:bridge,type:interface}
>
>AFAIK hosted-engine VM has only one nic interface and you cannot add another 
>one from the engine.
>How did you managed to get two nics?
> 
>>devices={device:vnc,type:graphics,deviceId:fa67234b-013a-432c-9e8d-43dc35827a54,address:None}
>>devices={index:2,iface:ide,shared:false,readonly:true,deviceId:8c3179ac-b322-4f5c-9449-c52e3665e0ae,address:{controller:0,target:0,unit:0,bus:1,type:drive},device:cdrom,path:,type:disk}
>>devices={device:virtio,specParams:{source:urandom},model:virtio,type:rng}
>>devices={device:console,type:console}
>>
>>is it normal to duplicate these two pci addresses? 
>>
>>Some time ago I had added the second ethernet card live at engine host.
>>
>>Can it be edited in any way?
>>
>>Thanks!
>>
>>
>>
>>
>>
>>
>>>Понедельник, 30 октября 2017, 16:59 +02:00 от Francesco Romani < 
>>>from...@redhat.com >:
>>>
>>>
>>>On 10/30/2017 03:56 PM, Hristo Pavlov wrote:
Thank you all!

Francesco,

[root@alpha ~]# journalctl -u libvirtd
-- Logs begin at Sun 2017-10-29 09:39:58 EET, end at Mon
  2017-10-30 16:35:36 EET. --
Oct 29 09:41:24  alpha.datamax.bg systemd[1]: Starting
  Virtualization daemon...
Oct 29 09:41:26  alpha.datamax.bg systemd[1]: Started
  Virtualization daemon.
Oct 29 22:30:26  alpha.datamax.bg libvirtd[4207]: libvirt
  version: 2.0.0, package: 10.el7_3.9 (CentOS BuildSystem
  < http://bugs.centos.org >,
  2017-05-25-20:52:28,  c1bm.rdu2.centos.org )
Oct 29 22:30:26  alpha.datamax.bg libvirtd[4207]: hostname: alpha.datamax.bg
Oct 29 22:30:26 alpha.datamax.bg libvirtd[4207]: XML error: Attempted
double use of PCI slot :00:06.0 (may need
"multifunction='on'" for device on function 0)
>>>
>>>This error will prevent the VM to start. Now, we need to see why it
>>>happens in the first place. Will look at the vdsm logs as soon as
>>>possible.
>>>
>>>Bests,
>>>-- 
>>>Francesco Romani
>>>Senior SW Eng., Virtualization R
>>>Red Hat
>>>IRC: fromani github: @fromanirh
>>
>>
>>
>>___
>>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] self hosted engine vm won't start

2017-10-30 Thread Simone Tiraboschi
On Mon, Oct 30, 2017 at 5:03 PM, Hristo Pavlov  wrote:

> Francesco,
>
> I noticed something in file /var/run/ovirt-hosted-engine-ha/vm.conf
>
> cpuType=Broadwell
> emulatedMachine=pc-i440fx-rhel7.3.0
> vmId=da98112d-b9fb-4098-93fa-1f1374b41e46
> smp=2
> memSize=6144
> maxVCpus=16
> spiceSecureChannels=smain,sdisplay,sinputs,scursor,
> splayback,srecord,ssmartcard,susbredir
> vmName=HostedEngine
> display=vnc
> devices={index:0,iface:virtio,format:raw,bootOrder:1,address:{
> *slot:0x06,bus:0x00,domain:0x,type:pci,function:0x0*},volumeID:
> 91738265-d3d1-4e8b-99f7-32e8838803b0,imageID:9a144135-
> 8bea-4dfb-904c-3dd034e97e59,readonly:false,domainID:
> f0c9b7eb-2bd5-4af7-9b72-b5c279bb74cf,deviceId:9a144135-8bea-4dfb-904c-
> 3dd034e97e59,poolID:----,
> device:disk,shared:exclusive,propagateErrors:off,type:disk}
> devices={nicModel:pv,macAddr:00:16:3e:4f:93:b6,linkActive:
> true,network:ovirtmgmt,deviceId:030ba378-a536-4e24-
> af77-993bd76e2bd5,address:{slot:0x03,bus:0x00,domain:
> 0x,type:pci,function:0x0},device:bridge,type:interface}
> devices={nicModel:pv,macAddr:00:1a:4a:16:01:b8,linkActive:
> true,network:br202,deviceId:92833efc-352a-40e0-aa31-568e6dd66ea5,address:{
> *slot:0x06,bus:0x00,domain:0x,type:pci,function:0x0*},device:
> bridge,type:interface}
>

AFAIK hosted-engine VM has only one nic interface and you cannot add
another one from the engine.
How did you managed to get two nics?


> devices={device:vnc,type:graphics,deviceId:fa67234b-
> 013a-432c-9e8d-43dc35827a54,address:None}
> devices={index:2,iface:ide,shared:false,readonly:true,
> deviceId:8c3179ac-b322-4f5c-9449-c52e3665e0ae,address:{
> controller:0,target:0,unit:0,bus:1,type:drive},device:
> cdrom,path:,type:disk}
> devices={device:virtio,specParams:{source:urandom},model:virtio,type:rng}
> devices={device:console,type:console}
>
> is it normal to duplicate these two pci addresses?
>
> Some time ago I had added the second ethernet card live at engine host.
>
> Can it be edited in any way?
>
> Thanks!
>
>
>
>
>
>
> Понедельник, 30 октября 2017, 16:59 +02:00 от Francesco Romani <
> from...@redhat.com>:
>
>
> On 10/30/2017 03:56 PM, Hristo Pavlov wrote:
>
> Thank you all!
>
> Francesco,
>
> [root@alpha ~]# journalctl -u libvirtd
> -- Logs begin at Sun 2017-10-29 09:39:58 EET, end at Mon 2017-10-30
> 16:35:36 EET. --
> Oct 29 09:41:24 alpha.datamax.bg systemd[1]: Starting Virtualization
> daemon...
> Oct 29 09:41:26 alpha.datamax.bg systemd[1]: Started Virtualization
> daemon.
> Oct 29 22:30:26 alpha.datamax.bg libvirtd[4207]: libvirt version: 2.0.0,
> package: 10.el7_3.9 (CentOS BuildSystem ,
> 2017-05-25-20:52:28, c1bm.rdu2.centos.org)
> Oct 29 22:30:26 alpha.datamax.bg libvirtd[4207]: hostname:
> alpha.datamax.bg
> Oct 29 22:30:26 alpha.datamax.bg libvirtd[4207]: XML error: Attempted
> double use of PCI slot :00:06.0 (may need "multifunction='on'" for
> device on function 0)
>
>
> This error will prevent the VM to start. Now, we need to see why it
> happens in the first place. Will look at the vdsm logs as soon as possible.
>
> Bests,
>
> --
> Francesco Romani
> Senior SW Eng., Virtualization R
> Red Hat
> IRC: fromani github: @fromanirh
>
>
>
>
>
> ___
> 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] How is everyone performing backups?

2017-10-30 Thread Torsten Stolpmann

We are using https://github.com/wefixit-AT/oVirtBackup for backups.

This works ok for us for nightly scheduled online backups of our vms 
managed by an oVirt 4.0.2.7 engine.


Is this the script you have been using?

Torsten

On 27.10.2017 17:27, Wesley Stewart wrote:
Originally, I used a script I found on github, but since updating I 
can't seem to get that to work again.


I was just curious if there were any other more elegant type solutions?  
I am currently running a single host and local storage, but I would love 
to backup VM's automatically once a week or so to an NFS share.


Just curious if anyone had tackled this issue.


___
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] self hosted engine vm won't start

2017-10-30 Thread Hristo Pavlov
Francesco,

I noticed something in file /var/run/ovirt-hosted-engine-ha/vm.conf

cpuType=Broadwell
emulatedMachine=pc-i440fx-rhel7.3.0
vmId=da98112d-b9fb-4098-93fa-1f1374b41e46
smp=2
memSize=6144
maxVCpus=16
spiceSecureChannels=smain,sdisplay,sinputs,scursor,splayback,srecord,ssmartcard,susbredir
vmName=HostedEngine
display=vnc
devices={index:0,iface:virtio,format:raw,bootOrder:1,address:{ 
slot:0x06,bus:0x00,domain:0x,type:pci,function:0x0 
},volumeID:91738265-d3d1-4e8b-99f7-32e8838803b0,imageID:9a144135-8bea-4dfb-904c-3dd034e97e59,readonly:false,domainID:f0c9b7eb-2bd5-4af7-9b72-b5c279bb74cf,deviceId:9a144135-8bea-4dfb-904c-3dd034e97e59,poolID:----,device:disk,shared:exclusive,propagateErrors:off,type:disk}
devices={nicModel:pv,macAddr:00:16:3e:4f:93:b6,linkActive:true,network:ovirtmgmt,deviceId:030ba378-a536-4e24-af77-993bd76e2bd5,address:{slot:0x03,bus:0x00,domain:0x,type:pci,function:0x0},device:bridge,type:interface}
devices={nicModel:pv,macAddr:00:1a:4a:16:01:b8,linkActive:true,network:br202,deviceId:92833efc-352a-40e0-aa31-568e6dd66ea5,address:{
 slot:0x06,bus:0x00,domain:0x,type:pci,function:0x0 
},device:bridge,type:interface}
devices={device:vnc,type:graphics,deviceId:fa67234b-013a-432c-9e8d-43dc35827a54,address:None}
devices={index:2,iface:ide,shared:false,readonly:true,deviceId:8c3179ac-b322-4f5c-9449-c52e3665e0ae,address:{controller:0,target:0,unit:0,bus:1,type:drive},device:cdrom,path:,type:disk}
devices={device:virtio,specParams:{source:urandom},model:virtio,type:rng}
devices={device:console,type:console}

is it normal to duplicate these two pci addresses? 

Some time ago I had added the second ethernet card live at engine host.

Can it be edited in any way?

Thanks!






>Понедельник, 30 октября 2017, 16:59 +02:00 от Francesco Romani 
>:
>
>On 10/30/2017 03:56 PM, Hristo Pavlov wrote:
>>Thank you all!
>>
>>Francesco,
>>
>>[root@alpha ~]# journalctl -u libvirtd
>>-- Logs begin at Sun 2017-10-29 09:39:58 EET, end at Mon
>>  2017-10-30 16:35:36 EET. --
>>Oct 29 09:41:24 alpha.datamax.bg systemd[1]: Starting
>>  Virtualization daemon...
>>Oct 29 09:41:26 alpha.datamax.bg systemd[1]: Started
>>  Virtualization daemon.
>>Oct 29 22:30:26 alpha.datamax.bg libvirtd[4207]: libvirt
>>  version: 2.0.0, package: 10.el7_3.9 (CentOS BuildSystem
>>  < http://bugs.centos.org >,
>>  2017-05-25-20:52:28, c1bm.rdu2.centos.org)
>>Oct 29 22:30:26 alpha.datamax.bg libvirtd[4207]: hostname:
>>  alpha.datamax.bg
>>Oct 29 22:30:26
>>alpha.datamax.bg libvirtd[4207]: XML error: Attempted
>>double use of PCI slot :00:06.0 (may need
>>"multifunction='on'" for device on function 0)
>
>This error will prevent the VM to start. Now, we need to see why it
>happens in the first place. Will look at the vdsm logs as soon as
>possible.
>
>Bests,
>-- 
>Francesco Romani
>Senior SW Eng., Virtualization R
>Red Hat
>IRC: fromani github: @fromanirh


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


Re: [ovirt-users] VM resource allocation and IO Threads

2017-10-30 Thread Darrell Budic
Best explanation I’ve found is 
https://wiki.mikejung.biz/KVM_/_Xen#virtio-blk_iothreads_.28x-data-plane.29  If 
you google a bit, you’ll find some more under QEMU topics, I saw some 
discussion of threads and queues in virtio-scsi, but that seems to be a 
slightly different thing than this setting.

In short, having at least 1 offers advantages for all your VM’s disks, and if 
you want to be optimal (at the possible expense of extra CPU for IO), one per 
drive attached. There is (currently) no benefit to having more than 1 thread 
per drive. From what I can tell, if you have more drives than threads they 
share the threads evenly and are statically assigned to a thread. Seems to be 
effective at QEMU start, so you have to change it with the VM down or stop and 
start it again.

I currently enable it on all VMs and assign 1 thread per drive on my systems.
> From: Gianluca Cecchi 
> Subject: [ovirt-users] VM resource allocation and IO Threads
> Date: October 27, 2017 at 9:26:59 AM CDT
> To: users
> 
> Hello,
> can anyone give any pointer to deeper information about what in subject and 
> the value for "Num Of IO Threads" configuration, best practices and 
> to-be-expected improvements?
> 
> I read also here:
> https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.1/html-single/virtual_machine_management_guide/#Editing_IO_Threads
>  
> 
> 
> but in some points it seems not so clear to me:
> 
> eg:
> 
> If a virtual machine has more than one disk, you can enable or change the 
> number of IO threads to improve performance.
> 
> but also
> 
> Red Hat recommends using the default number of IO threads, which is 1.
> 
> There is also a note about deactivation and activation of disks: does it mean 
> that even if I poweroff the VM and change its config I have to make this step 
> after?
> 
> Anyone has run benchmarks?
> Does it make sense if my VM has 3 disks to configure 6 IO threads for example?
> Do IO threads map to SCSI controllers inside the guest or what?
> 
> Thanks in advance,
> Gianluca
> ___
> 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] self hosted engine vm won't start

2017-10-30 Thread Francesco Romani
On 10/30/2017 03:56 PM, Hristo Pavlov wrote:
> Thank you all!
>
> Francesco,
>
> [root@alpha ~]# journalctl -u libvirtd
> -- Logs begin at Sun 2017-10-29 09:39:58 EET, end at Mon 2017-10-30
> 16:35:36 EET. --
> Oct 29 09:41:24 alpha.datamax.bg systemd[1]: Starting Virtualization
> daemon...
> Oct 29 09:41:26 alpha.datamax.bg systemd[1]: Started Virtualization
> daemon.
> Oct 29 22:30:26 alpha.datamax.bg libvirtd[4207]: libvirt version:
> 2.0.0, package: 10.el7_3.9 (CentOS BuildSystem
> , 2017-05-25-20:52:28, c1bm.rdu2.centos.org)
> Oct 29 22:30:26 alpha.datamax.bg libvirtd[4207]: hostname:
> alpha.datamax.bg
> Oct 29 22:30:26 alpha.datamax.bg libvirtd[4207]: XML error: Attempted
> double use of PCI slot :00:06.0 (may need "multifunction='on'" for
> device on function 0)

This error will prevent the VM to start. Now, we need to see why it
happens in the first place. Will look at the vdsm logs as soon as possible.

Bests,

-- 
Francesco Romani
Senior SW Eng., Virtualization R
Red Hat
IRC: fromani github: @fromanirh

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


Re: [ovirt-users] self hosted engine vm won't start

2017-10-30 Thread Hristo Pavlov

Thank you all!

Francesco,

[root@alpha ~]# journalctl -u libvirtd
-- Logs begin at Sun 2017-10-29 09:39:58 EET, end at Mon 2017-10-30 16:35:36 
EET. --
Oct 29 09:41:24 alpha.datamax.bg systemd[1]: Starting Virtualization daemon...
Oct 29 09:41:26 alpha.datamax.bg systemd[1]: Started Virtualization daemon.
Oct 29 22:30:26 alpha.datamax.bg libvirtd[4207]: libvirt version: 2.0.0, 
package: 10.el7_3.9 (CentOS BuildSystem < http://bugs.centos.org >, 
2017-05-25-20:52:28, c1bm.rdu2.centos.org)
Oct 29 22:30:26 alpha.datamax.bg libvirtd[4207]: hostname: alpha.datamax.bg
Oct 29 22:30:26 alpha.datamax.bg libvirtd[4207]: XML error: Attempted double 
use of PCI slot :00:06.0 (may need "multifunction='on'" for device on 
function 0)
Oct 29 22:41:30 alpha.datamax.bg libvirtd[4207]: XML error: Attempted double 
use of PCI slot :00:06.0 (may need "multifunction='on'" for device on 
function 0)
Oct 29 23:17:08 alpha.datamax.bg libvirtd[4207]: XML error: Attempted double 
use of PCI slot :00:06.0 (may need "multifunction='on'" for device on 
function 0)
Oct 29 23:22:47 alpha.datamax.bg libvirtd[4207]: XML error: Attempted double 
use of PCI slot :00:06.0 (may need "multifunction='on'" for device on 
function 0)
Oct 29 23:26:11 alpha.datamax.bg libvirtd[4207]: XML error: Attempted double 
use of PCI slot :00:06.0 (may need "multifunction='on'" for device on 
function 0)
Oct 29 23:42:42 alpha.datamax.bg libvirtd[4207]: XML error: Attempted double 
use of PCI slot :00:06.0 (may need "multifunction='on'" for device on 
function 0)
Oct 29 23:45:09 alpha.datamax.bg libvirtd[4207]: XML error: Attempted double 
use of PCI slot :00:06.0 (may need "multifunction='on'" for device on 
function 0)
Oct 29 23:45:43 alpha.datamax.bg libvirtd[4207]: XML error: Attempted double 
use of PCI slot :00:06.0 (may need "multifunction='on'" for device on 
function 0)
Oct 29 23:56:52 alpha.datamax.bg libvirtd[4207]: XML error: Attempted double 
use of PCI slot :00:06.0 (may need "multifunction='on'" for device on 
function 0)
Oct 29 23:56:58 alpha.datamax.bg libvirtd[4207]: XML error: Attempted double 
use of PCI slot :00:06.0 (may need "multifunction='on'" for device on 
function 0)
Oct 29 23:59:13 alpha.datamax.bg libvirtd[4207]: XML error: Attempted double 
use of PCI slot :00:06.0 (may need "multifunction='on'" for device on 
function 0)
Oct 30 16:34:48 alpha.datamax.bg libvirtd[4207]: XML error: Attempted double 
use of PCI slot :00:06.0 (may need "multifunction='on'" for device on 
function 0)

the first mistake for XML error in red matches exactly the time when we 
restarted it.
Тhese errors have at all three nodes and appears when trying to start engine 
virtual machine.

Also attaching vdsm.log.

Have a nice day!
>Понедельник, 30 октября 2017, 16:32 +02:00 от Francesco Romani < 
>from...@redhat.com >:
>
>Hi,
>
>anything in the journal about libvirt? (journalctl -u libvirtd)
>
>could you share a bigger chunk of the vdsm log, demonstrating the
>  failed VM start?
>
>Bests,
>
>On 10/30/2017 03:28 PM, Hristo Pavlov
>  wrote:
>>I tried
>>  it already,  doesn't start on any of the nodes. 
>>
>>
>>In a log /var/log/libvirt/qemu/HostedEngine.log at all three nodes has 
>>nothing to do with starting, as if
>>  it had not started.
>>
>>
>>>Понедельник, 30 октября 2017, 16:11 +02:00
>>>от Nathanaël Blanchet   :
>>>
>>>Hi,
>>>It happened to me too, after a live migration of
>>>it, I shut down the hosted engine on the targeted
>>>host, and I couldn't restart it anymore on this
>>>specific host. But I was able to start it on the
>>>initial one, where I initially where I deployed the
>>>HE. It was like the lease and the libvirt host
>>>definition staid on the first host after migration.
>>>So try you may try  hosted-engine --vm-start on one of
>>>other hosts...
>>>
>>>Le
>>>30/10/2017 à 12:28, Hristo Pavlov a écrit :
Hi
All,

Our oVirt cluster is with 3 nodes with shared fibre
channel storage, the engine virtual machine is self
hosted.
 
Hypervisors OS: CentOS Linux release 7.3 / x86_64,
oVirt version is  4.1.2.2. The environment has been
working for about a year without any
problems .

After shutdown of the hosted engine
virtual machine, it doesn't start. 

Тhese commands that were
executed:

hosted-engine --set-maintenance
--mode=global
hosted-engine --vm-shutdown

after the status of engine vm was down, we
executed start.

[root@alpha] 

Re: [ovirt-users] Fwd: Re: self hosted engine vm won't start

2017-10-30 Thread Hristo Pavlov
I tried it already,  doesn't start on any of the nodes. 


In a log /var/log/libvirt/qemu/HostedEngine.log at all three nodes has nothing 
to do with starting, as if it had not started.


>Понедельник, 30 октября 2017, 16:12 +02:00 от Nathanaël Blanchet 
>:
>
>Hi,
>It happened to me too, after a live migration of it, I shut
>down the hosted engine on the targeted host, and I couldn't
>restart it anymore on this specific host. But I was able to
>start it on the initial one, where I initially where I deployed
>the HE. It was like the lease and the libvirt host definition
>staid on the first host after migration.
>So try you may try  hosted-engine --vm-start on one of other
>hosts...
>
>Le 30/10/2017 à 12:28, Hristo Pavlov
>a écrit :
>>Hi All,
>>
>>Our oVirt cluster is with 3 nodes with shared fibre channel
>>storage, the engine virtual machine is self hosted.
>> 
>>Hypervisors OS: CentOS Linux release 7.3 / x86_64, oVirt version
>>is  4.1.2.2.  The environment has been
>>working for about a year without any problems .
>>
>>After shutdown of the hosted engine virtual
>>machine, it doesn't start. 
>>
>>Тhese
>>commands that were executed:
>>
>>hosted-engine --set-maintenance --mode=global
>>hosted-engine --vm-shutdown
>>
>>after the status of engine vm was down, we executed start.
>>
>>[root@alpha] hosted-engine --vm-start
>>VM exists and is down, destroying it
>>Exception in thread Client localhost:54321 (most likely
>>raised during interpreter shutdown):
>>
>>we noticied that at vdsm.log 
>>
>>017-10-30 13:11:04,863+0200 INFO  (jsonrpc/1)
>>  [jsonrpc.JsonRpcServer] RPC call StorageDomain.getStats
>>  succeeded in 0.26 seconds (__init__:533)
>>2017-10-30 13:11:05,802+0200 INFO  (jsonrpc/6)
>>  [jsonrpc.JsonRpcServer] RPC call Host.getAllVmStats succeeded
>>  in 0.01 seconds (__init__:533)
>>2017-10-30 13:11:05,825+0200 WARN  (jsonrpc/2) [virt.vm]
>>  (vmId='da98112d-b9fb-4098-93fa-1f1374b41e46') Failed to get
>>  metadata, domain not connected. (vm:2765)
>>2017-10-30 13:11:05,825+0200 ERROR (jsonrpc/2)
>>  [jsonrpc.JsonRpcServer] Internal server error (__init__:570)
>>Traceback (most recent call last):
>>  File
>>  "/usr/lib/python2.7/site-packages/yajsonrpc/__init__.py", line
>>  565, in _handle_request
>>    res = method(**params)
>>  File "/usr/lib/python2.7/site-packages/vdsm/rpc/Bridge.py",
>>  line 202, in _dynamicMethod
>>    result = fn(*methodArgs)
>>  File "/usr/share/vdsm/API.py", line 1454, in
>>  getAllVmIoTunePolicies
>>    io_tune_policies_dict = self._cif.getAllVmIoTunePolicies()
>>  File "/usr/share/vdsm/clientIF.py", line 448, in
>>  getAllVmIoTunePolicies
>>    'current_values': v.getIoTune()}
>>  File "/usr/share/vdsm/virt/vm.py", line 2803, in getIoTune
>>    result = self.getIoTuneResponse()
>>  File "/usr/share/vdsm/virt/vm.py", line 2816, in
>>  getIoTuneResponse
>>    res = self._dom.blockIoTune(
>>  File
>>  "/usr/lib/python2.7/site-packages/vdsm/virt/virdomain.py",
>>  line 47, in __getattr__
>>    % self.vmid)
>>NotConnectedError: VM u'da98112d-b9fb-4098-93fa-1f1374b41e46'
>>  was not started yet or was shut down
>>
>>
>>The storage of self hosted engine multipath, pvs, lvs, seems
>>  ok... 
>>
>>At the moment of the
>>  three nodes there is a working about 100 virtual machines
>>  and we can't manage them.
>>
>>Does
>>  anyone have any ideas, what can be done то recover self 
>> hosted engine virtual machine?
>>
>>Thahk You!
>>Have a nice day!
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>___
>>Users mailing list
>>Users@ovirt.org
>>http://lists.ovirt.org/mailman/listinfo/users
>>
>-- 
>Nathanaël Blanchet
>
>Supervision réseau
>Pôle Infrastrutures Informatiques
>227 avenue Professeur-Jean-Louis-Viala
>34193 MONTPELLIER CEDEX 5  
>Tél. 33 (0)4 67 54 84 55
>Fax  33 (0)4 67 54 84 14
>blanc...@abes.fr 
>___
>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] self hosted engine vm won't start

2017-10-30 Thread Francesco Romani
Hi,


anything in the journal about libvirt? (journalctl -u libvirtd)


could you share a bigger chunk of the vdsm log, demonstrating the failed
VM start?


Bests,


On 10/30/2017 03:28 PM, Hristo Pavlov wrote:
> I tried it already, doesn't start on any of the nodes.
>
>
> In a log /var/log/libvirt/qemu/HostedEngine.log at allthree nodes has
> nothing to do with starting, as if it had not started.
>
>
> Понедельник, 30 октября 2017, 16:11 +02:00 от Nathanaël Blanchet
> :
>
> Hi,
>
> It happened to me too, after a live migration of it, I shut down
> the hosted engine on the targeted host, and I couldn't restart it
> anymore on this specific host. But I was able to start it on the
> initial one, where I initially where I deployed the HE. It was
> like the lease and the libvirt host definition staid on the first
> host after migration.
>
> So try you may try hosted-engine --vm-start on one of other hosts...
>
>
> Le 30/10/2017 à 12:28, Hristo Pavlov a écrit :
>> Hi All,
>>
>> Our oVirt cluster is with 3 nodes with shared fibre channel
>> storage, the engine virtual machine is self hosted.
>>  
>> Hypervisors OS: CentOS Linux release 7.3 / x86_64, oVirt version
>> is 4.1.2.2. The environment has been working for about a year
>> without any problems.
>>
>> Aftershutdown of the hosted engine virtual machine, it doesn't
>> start.
>>
>> Тhese commands that were executed:
>>
>> hosted-engine --set-maintenance --mode=global
>> hosted-engine --vm-shutdown
>>
>> after the status of engine vm was down, we executed start.
>>
>> [root@alpha] hosted-engine --vm-start
>> VM exists and is down, destroying it
>> Exception in thread Client localhost:54321 (most likely raised
>> during interpreter shutdown):
>>
>> we noticied that at vdsm.log
>>
>> 017-10-30 13:11:04,863+0200 INFO  (jsonrpc/1)
>> [jsonrpc.JsonRpcServer] RPC call StorageDomain.getStats succeeded
>> in 0.26 seconds (__init__:533)
>> 2017-10-30 13:11:05,802+0200 INFO  (jsonrpc/6)
>> [jsonrpc.JsonRpcServer] RPC call Host.getAllVmStats succeeded in
>> 0.01 seconds (__init__:533)
>> 2017-10-30 13:11:05,825+0200 WARN  (jsonrpc/2) [virt.vm]
>> (vmId='da98112d-b9fb-4098-93fa-1f1374b41e46') Failed to get
>> metadata, domain not connected. (vm:2765)
>> 2017-10-30 13:11:05,825+0200 ERROR (jsonrpc/2)
>> [jsonrpc.JsonRpcServer] Internal server error (__init__:570)
>> Traceback (most recent call last):
>>   File "/usr/lib/python2.7/site-packages/yajsonrpc/__init__.py",
>> line 565, in _handle_request
>>     res = method(**params)
>>   File "/usr/lib/python2.7/site-packages/vdsm/rpc/Bridge.py",
>> line 202, in _dynamicMethod
>>     result = fn(*methodArgs)
>>   File "/usr/share/vdsm/API.py", line 1454, in getAllVmIoTunePolicies
>>     io_tune_policies_dict = self._cif.getAllVmIoTunePolicies()
>>   File "/usr/share/vdsm/clientIF.py", line 448, in
>> getAllVmIoTunePolicies
>>     'current_values': v.getIoTune()}
>>   File "/usr/share/vdsm/virt/vm.py", line 2803, in getIoTune
>>     result = self.getIoTuneResponse()
>>   File "/usr/share/vdsm/virt/vm.py", line 2816, in getIoTuneResponse
>>     res = self._dom.blockIoTune(
>>   File "/usr/lib/python2.7/site-packages/vdsm/virt/virdomain.py",
>> line 47, in __getattr__
>>     % self.vmid)
>> NotConnectedError: VM u'da98112d-b9fb-4098-93fa-1f1374b41e46' was
>> not started yet or was shut down
>>
>>
>> The storage of self hosted engine multipath, pvs, lvs, seems ok...
>>
>> At the moment of the three nodes there is a working about 100
>> virtual machines and we can't manage them.
>>
>> Does anyone have any ideas, what can be done то recover self
>> hosted engine virtual machine?
>>
>> Thahk You!
>> Have a nice day!
>>
>>
>>
>>
>>
>>
>>
>> 
>>
>>
>>
>>
>>
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>
> -- 
> Nathanaël Blanchet
>
> Supervision réseau
> Pôle Infrastrutures Informatiques
> 227 avenue Professeur-Jean-Louis-Viala
> 34193 MONTPELLIER CEDEX 5 
> Tél. 33 (0)4 67 54 84 55
> Fax  33 (0)4 67 54 84 14
> blanc...@abes.fr 
>
>
>
>
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users

-- 
Francesco Romani
Senior SW Eng., Virtualization R
Red Hat
IRC: fromani github: @fromanirh

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


Re: [ovirt-users] self hosted engine vm won't start

2017-10-30 Thread Hristo Pavlov
I tried it already,  doesn't start on any of the nodes. 


In a log /var/log/libvirt/qemu/HostedEngine.log at all three nodes has nothing 
to do with starting, as if it had not started.


>Понедельник, 30 октября 2017, 16:11 +02:00 от Nathanaël Blanchet 
>:
>
>Hi,
>It happened to me too, after a live migration of it, I shut down
>  the hosted engine on the targeted host, and I couldn't restart it
>  anymore on this specific host. But I was able to start it on the
>  initial one, where I initially where I deployed the HE. It was
>  like the lease and the libvirt host definition staid on the first
>  host after migration.
>So try you may try  hosted-engine --vm-start on one of other
>  hosts...
>
>Le 30/10/2017 à 12:28, Hristo Pavlov a
>  écrit :
>>Hi All,
>>
>>Our oVirt cluster is with 3 nodes with shared fibre channel
>>  storage, the engine virtual machine is self hosted.
>> 
>>Hypervisors OS: CentOS Linux release 7.3 / x86_64, oVirt version
>>  is  4.1.2.2.  The environment has been
>>  working for about a year without any problems .
>>
>>After shutdown of the hosted engine virtual machine,
>>  it doesn't start. 
>>
>>Тhese
>>  commands that were executed:
>>
>>hosted-engine --set-maintenance --mode=global
>>hosted-engine --vm-shutdown
>>
>>after the status of engine vm was down, we executed start.
>>
>>[root@alpha] hosted-engine --vm-start
>>VM exists and is down, destroying it
>>Exception in thread Client localhost:54321 (most likely raised
>>  during interpreter shutdown):
>>
>>we noticied that at vdsm.log 
>>
>>017-10-30 13:11:04,863+0200 INFO  (jsonrpc/1)
>>[jsonrpc.JsonRpcServer] RPC call StorageDomain.getStats
>>succeeded in 0.26 seconds (__init__:533)
>>2017-10-30 13:11:05,802+0200 INFO  (jsonrpc/6)
>>[jsonrpc.JsonRpcServer] RPC call Host.getAllVmStats succeeded in
>>0.01 seconds (__init__:533)
>>2017-10-30 13:11:05,825+0200 WARN  (jsonrpc/2) [virt.vm]
>>(vmId='da98112d-b9fb-4098-93fa-1f1374b41e46') Failed to get
>>metadata, domain not connected. (vm:2765)
>>2017-10-30 13:11:05,825+0200 ERROR (jsonrpc/2)
>>[jsonrpc.JsonRpcServer] Internal server error (__init__:570)
>>Traceback (most recent call last):
>>  File "/usr/lib/python2.7/site-packages/yajsonrpc/__init__.py",
>>line 565, in _handle_request
>>    res = method(**params)
>>  File "/usr/lib/python2.7/site-packages/vdsm/rpc/Bridge.py",
>>line 202, in _dynamicMethod
>>    result = fn(*methodArgs)
>>  File "/usr/share/vdsm/API.py", line 1454, in
>>getAllVmIoTunePolicies
>>    io_tune_policies_dict = self._cif.getAllVmIoTunePolicies()
>>  File "/usr/share/vdsm/clientIF.py", line 448, in
>>getAllVmIoTunePolicies
>>    'current_values': v.getIoTune()}
>>  File "/usr/share/vdsm/virt/vm.py", line 2803, in getIoTune
>>    result = self.getIoTuneResponse()
>>  File "/usr/share/vdsm/virt/vm.py", line 2816, in
>>getIoTuneResponse
>>    res = self._dom.blockIoTune(
>>  File
>>"/usr/lib/python2.7/site-packages/vdsm/virt/virdomain.py", line
>>47, in __getattr__
>>    % self.vmid)
>>NotConnectedError: VM u'da98112d-b9fb-4098-93fa-1f1374b41e46'
>>was not started yet or was shut down
>>
>>
>>The storage of self hosted engine multipath, pvs, lvs, seems
>>ok... 
>>
>>At the moment of the three
>>nodes there is a working about 100 virtual machines and we
>>can't manage them.
>>
>>Does
>>anyone have any ideas, what can be done то
>>recover self hosted engine virtual machine?
>>
>>Thahk You!
>>Have a nice day!
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>___
>>Users mailing list
>>Users@ovirt.org
>>http://lists.ovirt.org/mailman/listinfo/users
>>
>-- 
>Nathanaël Blanchet
>
>Supervision réseau
>Pôle Infrastrutures Informatiques
>227 avenue Professeur-Jean-Louis-Viala
>34193 MONTPELLIER CEDEX 5  
>Tél. 33 (0)4 67 54 84 55
>Fax  33 (0)4 67 54 84 14
>blanc...@abes.fr 


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


[ovirt-users] Fwd: Re: self hosted engine vm won't start

2017-10-30 Thread Nathanaël Blanchet

Hi,

It happened to me too, after a live migration of it, I shut down the 
hosted engine on the targeted host, and I couldn't restart it anymore on 
this specific host. But I was able to start it on the initial one, where 
I initially where I deployed the HE. It was like the lease and the 
libvirt host definition staid on the first host after migration.


So try you may try hosted-engine --vm-start on one of other hosts...


Le 30/10/2017 à 12:28, Hristo Pavlov a écrit :

Hi All,

Our oVirt cluster is with 3 nodes with shared fibre channel storage, 
the engine virtual machine is self hosted.


Hypervisors OS: CentOS Linux release 7.3 / x86_64, oVirt version is 
4.1.2.2. The environment has been working for about a year without any 
problems.


Aftershutdown of the hosted engine virtual machine, it doesn't start.

Тhese commands that were executed:

hosted-engine --set-maintenance --mode=global
hosted-engine --vm-shutdown

after the status of engine vm was down, we executed start.

[root@alpha] hosted-engine --vm-start
VM exists and is down, destroying it
Exception in thread Client localhost:54321 (most likely raised during 
interpreter shutdown):


we noticied that at vdsm.log

017-10-30 13:11:04,863+0200 INFO  (jsonrpc/1) [jsonrpc.JsonRpcServer] 
RPC call StorageDomain.getStats succeeded in 0.26 seconds (__init__:533)
2017-10-30 13:11:05,802+0200 INFO  (jsonrpc/6) [jsonrpc.JsonRpcServer] 
RPC call Host.getAllVmStats succeeded in 0.01 seconds (__init__:533)
2017-10-30 13:11:05,825+0200 WARN  (jsonrpc/2) [virt.vm] 
(vmId='da98112d-b9fb-4098-93fa-1f1374b41e46') Failed to get metadata, 
domain not connected. (vm:2765)
2017-10-30 13:11:05,825+0200 ERROR (jsonrpc/2) [jsonrpc.JsonRpcServer] 
Internal server error (__init__:570)

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/yajsonrpc/__init__.py", line 
565, in _handle_request

    res = method(**params)
  File "/usr/lib/python2.7/site-packages/vdsm/rpc/Bridge.py", line 
202, in _dynamicMethod

    result = fn(*methodArgs)
  File "/usr/share/vdsm/API.py", line 1454, in getAllVmIoTunePolicies
    io_tune_policies_dict = self._cif.getAllVmIoTunePolicies()
  File "/usr/share/vdsm/clientIF.py", line 448, in getAllVmIoTunePolicies
    'current_values': v.getIoTune()}
  File "/usr/share/vdsm/virt/vm.py", line 2803, in getIoTune
    result = self.getIoTuneResponse()
  File "/usr/share/vdsm/virt/vm.py", line 2816, in getIoTuneResponse
    res = self._dom.blockIoTune(
  File "/usr/lib/python2.7/site-packages/vdsm/virt/virdomain.py", line 
47, in __getattr__

    % self.vmid)
NotConnectedError: VM u'da98112d-b9fb-4098-93fa-1f1374b41e46' was not 
started yet or was shut down



The storage of self hosted engine multipath, pvs, lvs, seems ok...

At the moment of the three nodes there is a working about 100 virtual 
machines and we can't manage them.


Does anyone have any ideas, what can be done то recover self hosted 
engine virtual machine?


Thahk You!
Have a nice day!













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


--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr  

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


Re: [ovirt-users] self hosted engine vm won't start

2017-10-30 Thread Martin Sivak
Hi,

you will probably need to check libvirt and qemu logs to see why the
domain crashed.

My colleagues from the virt team will be probably able to point you to
more exact places.

Best regards

Martin Sivak

On Mon, Oct 30, 2017 at 12:28 PM, Hristo Pavlov  wrote:
> Hi All,
>
> Our oVirt cluster is with 3 nodes with shared fibre channel storage, the
> engine virtual machine is self hosted.
>
> Hypervisors OS: CentOS Linux release 7.3 / x86_64, oVirt version is 4.1.2.2.
> The environment has been working for about a year without any problems.
>
> After shutdown of the hosted engine virtual machine, it doesn't start.
>
> Тhese commands that were executed:
>
> hosted-engine --set-maintenance --mode=global
> hosted-engine --vm-shutdown
>
> after the status of engine vm was down, we executed start.
>
> [root@alpha] hosted-engine --vm-start
> VM exists and is down, destroying it
> Exception in thread Client localhost:54321 (most likely raised during
> interpreter shutdown):
>
> we noticied that at vdsm.log
>
> 017-10-30 13:11:04,863+0200 INFO  (jsonrpc/1) [jsonrpc.JsonRpcServer] RPC
> call StorageDomain.getStats succeeded in 0.26 seconds (__init__:533)
> 2017-10-30 13:11:05,802+0200 INFO  (jsonrpc/6) [jsonrpc.JsonRpcServer] RPC
> call Host.getAllVmStats succeeded in 0.01 seconds (__init__:533)
> 2017-10-30 13:11:05,825+0200 WARN  (jsonrpc/2) [virt.vm]
> (vmId='da98112d-b9fb-4098-93fa-1f1374b41e46') Failed to get metadata, domain
> not connected. (vm:2765)
> 2017-10-30 13:11:05,825+0200 ERROR (jsonrpc/2) [jsonrpc.JsonRpcServer]
> Internal server error (__init__:570)
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/site-packages/yajsonrpc/__init__.py", line 565,
> in _handle_request
> res = method(**params)
>   File "/usr/lib/python2.7/site-packages/vdsm/rpc/Bridge.py", line 202, in
> _dynamicMethod
> result = fn(*methodArgs)
>   File "/usr/share/vdsm/API.py", line 1454, in getAllVmIoTunePolicies
> io_tune_policies_dict = self._cif.getAllVmIoTunePolicies()
>   File "/usr/share/vdsm/clientIF.py", line 448, in getAllVmIoTunePolicies
> 'current_values': v.getIoTune()}
>   File "/usr/share/vdsm/virt/vm.py", line 2803, in getIoTune
> result = self.getIoTuneResponse()
>   File "/usr/share/vdsm/virt/vm.py", line 2816, in getIoTuneResponse
> res = self._dom.blockIoTune(
>   File "/usr/lib/python2.7/site-packages/vdsm/virt/virdomain.py", line 47,
> in __getattr__
> % self.vmid)
> NotConnectedError: VM u'da98112d-b9fb-4098-93fa-1f1374b41e46' was not
> started yet or was shut down
>
>
> The storage of self hosted engine multipath, pvs, lvs, seems ok...
>
> At the moment of the three nodes there is a working about 100 virtual
> machines and we can't manage them.
>
> Does anyone have any ideas, what can be done то recover self hosted engine
> virtual machine?
>
> Thahk You!
> Have a nice day!
>
>
>
>
>
>
>
> 
>
>
>
>
> ___
> 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


[ovirt-users] self hosted engine vm won't start

2017-10-30 Thread Hristo Pavlov
Hi All,

Our oVirt cluster is with 3 nodes with shared fibre channel storage, the engine 
virtual machine is self hosted.
 
Hypervisors OS: CentOS Linux release 7.3 / x86_64, oVirt version is  4.1.2.2.  
The environment has been working for about a year without any problems .

After shutdown of the hosted engine virtual machine, it doesn't start. 

Тhese commands that were executed:

hosted-engine --set-maintenance --mode=global
hosted-engine --vm-shutdown

after the status of engine vm was down, we executed start.

[root@alpha] hosted-engine --vm-start
VM exists and is down, destroying it
Exception in thread Client localhost:54321 (most likely raised during 
interpreter shutdown):

we noticied that at vdsm.log 

017-10-30 13:11:04,863+0200 INFO  (jsonrpc/1) [jsonrpc.JsonRpcServer] RPC call 
StorageDomain.getStats succeeded in 0.26 seconds (__init__:533)
2017-10-30 13:11:05,802+0200 INFO  (jsonrpc/6) [jsonrpc.JsonRpcServer] RPC call 
Host.getAllVmStats succeeded in 0.01 seconds (__init__:533)
2017-10-30 13:11:05,825+0200 WARN  (jsonrpc/2) [virt.vm] 
(vmId='da98112d-b9fb-4098-93fa-1f1374b41e46') Failed to get metadata, domain 
not connected. (vm:2765)
2017-10-30 13:11:05,825+0200 ERROR (jsonrpc/2) [jsonrpc.JsonRpcServer] Internal 
server error (__init__:570)
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/yajsonrpc/__init__.py", line 565, in 
_handle_request
    res = method(**params)
  File "/usr/lib/python2.7/site-packages/vdsm/rpc/Bridge.py", line 202, in 
_dynamicMethod
    result = fn(*methodArgs)
  File "/usr/share/vdsm/API.py", line 1454, in getAllVmIoTunePolicies
    io_tune_policies_dict = self._cif.getAllVmIoTunePolicies()
  File "/usr/share/vdsm/clientIF.py", line 448, in getAllVmIoTunePolicies
    'current_values': v.getIoTune()}
  File "/usr/share/vdsm/virt/vm.py", line 2803, in getIoTune
    result = self.getIoTuneResponse()
  File "/usr/share/vdsm/virt/vm.py", line 2816, in getIoTuneResponse
    res = self._dom.blockIoTune(
  File "/usr/lib/python2.7/site-packages/vdsm/virt/virdomain.py", line 47, in 
__getattr__
    % self.vmid)
NotConnectedError: VM u'da98112d-b9fb-4098-93fa-1f1374b41e46' was not started 
yet or was shut down


The storage of self hosted engine multipath, pvs, lvs, seems ok... 

At the moment of the three nodes there is a working about 100 virtual machines 
and we can't manage them.

Does anyone have any ideas, what can be done то recover self hosted engine 
virtual machine?

Thahk You!
Have a nice day!











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


Re: [ovirt-users] ovirtmgmt network security

2017-10-30 Thread Alona Kaplan
Hi Istvan,

I agree with Luca. You can remove nic1.
'ovirtmgmt' network is not mandatory on the vm, you can run the vm with no
vnics (vitrual nics) at all.
The 'ovirtmgmt' network is used for communication between the engine and
the host.
Whether the vm using the 'ovirtmgmt' network or not won't affect the
management capabilities.

You said that the vm nic with 'ovirtmgmt' was automatically added when you
added the vm.
It is strange and shouldn't behave this way. Are you sure that in the add
vm dialog you didn't choose it as the network of nic1? (you could leave
this section in the dialog unfilled, it is not mandatory).

BTW, if you don't want any VM to use the 'ovirtmgmt' network you can go to
the edit network dialog of 'ovirtmgmt' (in the Network main tab) and
uncheck the 'vm network' checkbox.

Hope it helps you,
Alona.

On Mon, Oct 30, 2017 at 11:26 AM, Luca 'remix_tj' Lorenzetto <
lorenzetto.l...@gmail.com> wrote:

> On Mon, Oct 30, 2017 at 8:45 AM, Istvan Buki 
> wrote:
> > Hello,
> >
> > thank you for your patience for trying to let me see the light.
> >
> > Indeed I don't understand what you are explaining. Maybe if I give you
> more
> > concrete details it will help.
> >
> > My internal network is 192.168.196.0
> > My DMZ network is 192.168.188.0
> >
> > ovirt-engine is running on a centos server with IP 192.168.186.3
> > ovirt host is on a centos server with IP 192.168.186.4
> >
> > On the host I created a VM that I want to be in the DMZ. When I created
> the
> > VM, nic 1 was automatically added and is linked to the ovirtmgmt network.
> > In the VM nic1 becomes eth0 and was assigned an IP address with DHCP
> > 192.168.186.167.
> >
> > After that I added a host device to that VM using passthrough. This
> device
> > is called ens7 in the VM and I gave IP 192.186.188.4.
> > That device is directly connected to my physical DMZ switch and from
> there
> > to the firewall.
> > This part is OK.
> >
> > My problem is that through eth0 my VM has access to my internal network.
> > Removing the device seems impossible because this is ovirtmgmt network.
> > I can not change or remove the IP of my host because it would not be
> > reachable anymore on my internal network.
> >
> > Maybe the solution is obvious but I can't see it. I'm running in circle
> with
> > this problem and it makes me crazy.
> >
>
>
>
> Hi Istvan,
>
> why are you using device passthrough?
>
> Anyway. If you don't need the VM to access to ovirtmgmt, remove nic1.
> As far as i can understand, you're directly communicating through DMZ.
>
> Luca
>
>
> --
> "E' assurdo impiegare gli uomini di intelligenza eccellente per fare
> calcoli che potrebbero essere affidati a chiunque se si usassero delle
> macchine"
> Gottfried Wilhelm von Leibnitz, Filosofo e Matematico (1646-1716)
>
> "Internet è la più grande biblioteca del mondo.
> Ma il problema è che i libri sono tutti sparsi sul pavimento"
> John Allen Paulos, Matematico (1945-vivente)
>
> Luca 'remix_tj' Lorenzetto, http://www.remixtj.net , <
> lorenzetto.l...@gmail.com>
> ___
> 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


[ovirt-users] New post on oVirt blog: Introducing High Performance Virtual Machines

2017-10-30 Thread John Marks
Hello!
Just a quick heads up that there is a new post on the oVirt blog:

Introducing High Performance Virtual Machines


In a nutshell:

oVirt 4.2.0 Alpha, released on September 28, features a new high
performance virtual machine type. It brings VM performance closer to bare
metal performance. Read the blog post.


See you on the oVirt blog!

Best,

John
-- 
John Marks
Technical Writer, oVirt
redhat Israel
Cell: +972 52 8644 491
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ovirtmgmt network security

2017-10-30 Thread Luca 'remix_tj' Lorenzetto
On Mon, Oct 30, 2017 at 8:45 AM, Istvan Buki  wrote:
> Hello,
>
> thank you for your patience for trying to let me see the light.
>
> Indeed I don't understand what you are explaining. Maybe if I give you more
> concrete details it will help.
>
> My internal network is 192.168.196.0
> My DMZ network is 192.168.188.0
>
> ovirt-engine is running on a centos server with IP 192.168.186.3
> ovirt host is on a centos server with IP 192.168.186.4
>
> On the host I created a VM that I want to be in the DMZ. When I created the
> VM, nic 1 was automatically added and is linked to the ovirtmgmt network.
> In the VM nic1 becomes eth0 and was assigned an IP address with DHCP
> 192.168.186.167.
>
> After that I added a host device to that VM using passthrough. This device
> is called ens7 in the VM and I gave IP 192.186.188.4.
> That device is directly connected to my physical DMZ switch and from there
> to the firewall.
> This part is OK.
>
> My problem is that through eth0 my VM has access to my internal network.
> Removing the device seems impossible because this is ovirtmgmt network.
> I can not change or remove the IP of my host because it would not be
> reachable anymore on my internal network.
>
> Maybe the solution is obvious but I can't see it. I'm running in circle with
> this problem and it makes me crazy.
>



Hi Istvan,

why are you using device passthrough?

Anyway. If you don't need the VM to access to ovirtmgmt, remove nic1.
As far as i can understand, you're directly communicating through DMZ.

Luca


-- 
"E' assurdo impiegare gli uomini di intelligenza eccellente per fare
calcoli che potrebbero essere affidati a chiunque se si usassero delle
macchine"
Gottfried Wilhelm von Leibnitz, Filosofo e Matematico (1646-1716)

"Internet è la più grande biblioteca del mondo.
Ma il problema è che i libri sono tutti sparsi sul pavimento"
John Allen Paulos, Matematico (1945-vivente)

Luca 'remix_tj' Lorenzetto, http://www.remixtj.net , 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] 2018 FOSDEM and DEVCONF Events - Call for Proposals

2017-10-30 Thread John Marks
Hi,
Just a quick heads up that there is a new post on the oVirt blog:

2018 FOSDEM and DEVCONF Events - Call for Proposals


In a nutshell:

Two popular open source events are slotted for early 2018:

FOSDEM in Brussels: February 3-4, 2018
DEVCONF in Brno: January 26-28, 2018

*Proposal* *submission dates* are just around the corner.
To find out more about the events and to submit your proposal, click here
.

Best,

John


-- 
John Marks
Technical Writer, oVirt
redhat Israel
Cell: +972 52 8644 491
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ovirtmgmt network security

2017-10-30 Thread Istvan Buki
Hello,

thank you for your patience for trying to let me see the light.

Indeed I don't understand what you are explaining. Maybe if I give you more
concrete details it will help.

My internal network is 192.168.196.0
My DMZ network is 192.168.188.0

ovirt-engine is running on a centos server with IP 192.168.186.3
ovirt host is on a centos server with IP 192.168.186.4

On the host I created a VM that I want to be in the DMZ. When I created the
VM, nic 1 was automatically added and is linked to the ovirtmgmt network.
In the VM nic1 becomes eth0 and was assigned an IP address with DHCP
192.168.186.167.

After that I added a host device to that VM using passthrough. This device
is called ens7 in the VM and I gave IP 192.186.188.4.
That device is directly connected to my physical DMZ switch and from there
to the firewall.
This part is OK.

My problem is that through eth0 my VM has access to my internal network.
Removing the device seems impossible because this is ovirtmgmt network.
I can not change or remove the IP of my host because it would not be
reachable anymore on my internal network.

Maybe the solution is obvious but I can't see it. I'm running in circle
with this problem and it makes me crazy.

Again than you for your help.

Istvan


On Fri, Oct 27, 2017 at 7:22 PM, Luca 'remix_tj' Lorenzetto <
lorenzetto.l...@gmail.com> wrote:

> Sorry,
>
> But you didn't understood well what i've said.
>
> If your host has no ip addresses on that network, you're not encountering
> any risk because you've no access to that network at layer 3.
>
> Removing ovirtmgmt is not possibile, that network is mandatory.
>
> Luca
>
>
> Il 27 ott 2017 1:36 PM, "Istvan Buki"  ha scritto:
>
> Hello,
>
> I totally agree on the First part: IP set only on the VM.
>
> For the ovirtmgmt access, if I understand correctly, I have to choose
> between sécurity and ease of management of my VM but I can not have both.
>
> Istvan
>
>
> Le 26 oct. 2017 6:41 PM, "Luca 'remix_tj' Lorenzetto" <
> lorenzetto.l...@gmail.com> a écrit :
>
> Hello,
>
> On the dmz Network you don't need any address configured on the host.
>
> You set ip address only on the vm. If the vm gets compromised, its access
> is limited only to DMZ Network.
>
>  There is no way for the attacker to gain access to ovirtmgmt if vm is not
> configured to use it.
>
> Luca
>
> Il 26 ott 2017 6:32 PM, "Istvan Buki"  ha scritto:
>
>> Hello ovirt experts,
>>
>> I'm totally new to ovirt and trying to learn as fast as I can.So, please
>> bear with me and my possibly stupid questions.
>> Sorry if my questions have been answered already, but please point me to
>> the place where I can find the answers.
>>
>> I've setup ovirt 4.1.6 and created a first VM that I want to expose in a
>> DMZ.
>> I attached a dedicated NIC to the VM using passthrough which is connected
>> to the DMZ network. This is all working as expected.
>>
>> Now,I'm wondering what to do about the ovirtmgmt interface. Obviously, in
>> case the security of the VM is compromised and someone get unautorized
>> access to it I do not want the attacker to have access to my internal
>> network through the ovirtmgmt interface.
>>
>> The most secure solution would be to remove that ovirtmgmt interface but
>> then I loose management functionalities.
>> Can you suggest the possible solutions to protect the ovirtmgmt network
>> from unwanted access?
>>
>> Thanks for your answers
>>
>> Istvan
>>
>>
>>
>> ___
>> 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