[ovirt-users] Re: Best way to update dns config of ovirt node

2018-09-15 Thread Edward Haas
On Fri, Sep 14, 2018 at 9:43 AM, Gianluca Cecchi 
wrote:

> On Thu, Sep 13, 2018 at 7:53 AM Edward Haas  wrote:
>
>>
>>
>> On Mon, Sep 10, 2018 at 5:53 PM, Gianluca Cecchi <
>> gianluca.cec...@gmail.com> wrote:
>>
>>> Hello,
>>> supposing to have ovirt-ng node 4.2.6 and that ovirtmgmt config
>>> regarding DNS servers has to be updated, what is the correct way to proceed?
>>>
>>
>> DNS should be editable from the network attachment window.
>>
>
> Thanks for your answer Edward.
> What do you mean with "network attachment window"?
> a) Network > Networks, then select ovirtmgmt line and edit, putting DNS
> info (that is empty right now)
> or
> b) Compute > Hosts, then select host1 line, click on host1 name, then
> Network Interfaces and Setup Host Networks. then edit ovirtmgmt > DNS
> Configuration (that is empty right now)
> or what?
>

I meant (b). Option (a) is there to apply the same DNS entries over all
hosts for that specific network.
I do not see a problem of using both.
If you add a new host, Engine will read the existing DNS entries from the
host and persist them. (you will see them in the setup-networks window (b)).
Upgraded systems (hosts have been added before DNS configuration was
available) will have it empty and you will need to explicitly set it.


> In my case they are both empty, but when I installed hosts I configured
> them
>
>
>> They are applied only for the network which "owns" the default-route for
>> that host.
>>
>
> This is typically ovirtmgmt network, as in my case, I think.
>

Yes, but one can change the management network (which owns the
default-route).


>
>
>> The values are added through ifcfg, therefore its logic of adding it to
>> resolv.conf is used.
>>
>
> I have also opened a case for another environment where I'm using RHV-H
> hosts, that should be quite similar to ovirt-node-ng
> In that environment one of the original M$ based dns server was changed
> (that was the one I had as primary) creating some latency problems.
> Using setup host networks generated big problems, especially if doing on
> the host where hosted engine was running.
> I verified that a safe way to modify DNS config is:
> - evacuate VMs from host
> - put host into maintenance
> - change dns settings in setup host networks
> - reboot the host
> - activate the host
>
> I do not see a reason to pass all these steps unless we have a bug.
The DNS entry are supposed to be applied immediately through ifcfg,
rebooting is an precaution to make sure it has been correctly persisted.
And if the management network is not serving VM/s, then no VM evacuation is
needed.

I guess the risk here is the management network editing, which is sensitive
(Engine looses connectivity and unexpected behaviour may occur).
If there is a problem with this scenario, I would consider it a bug.


> This way the "persistent" files are initially updated and then at the
> reboot the ifcfg and resolv.conf files are correctly updated
> If you are interested my case is 02179117
>

I could not find such a BZ.

>
> Also in that environment the config pages (hosts and logical network of
> cluster) had empty DNS entries
>
> I have not understood if the hosts in "setup host network" (and also
> ovirtmgmt logical network) having empty DNS config is a bug or it's me not
> understanding the workflow when adding a host to the oVirt environment.
>

As far as I remember, when adding a host (that reports the nameservers),
the DNS entries learned are added to the Engine config and used when
sending the first setup-networks to VDSM.
But there were several iterations of this flow, perhaps it changed (will
check).


> Gianluca
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/GJEHHDCZCVOLDI54YXI2YKEGBKCBIO6U/


[ovirt-users] Re: clone snapshot of running vm

2018-09-15 Thread Eyal Shenitzky
Hey,

There is already an open bug on this issue -
https://bugzilla.redhat.com/show_bug.cgi?id=1623379
so please ignore the previous message.


On Sun, Sep 16, 2018 at 7:22 AM Eyal Shenitzky  wrote:

> Hey,
> Thank you for this mail.
> It seems like it is a UI bug.
>
> Please submit a bug to [1] and attach all the relevant log (ui.log etc..)
>
> [1] - https://bugzilla.redhat.com/enter_bug.cgi?product=ovirt-engine
>
> On Sat, Sep 15, 2018 at 1:24 PM fsoyer  wrote:
>
>> Hi guys,
>> I just have this issue on a fresh 4.2.6 install. The snapshot of a vm
>> Seems to be the same logs in the ui.log (I paste it here to be sure), and
>> unable to clone the snapshot. VM on or off doesn't change things. This
>> really seems to be a UI issue because when it appends, we can no more
>> create or clone a snapshot on any VM : the buttons just do nothing (and no
>> log in the ui.log when we hit them). We must reload the ui (F5 or Ctrl-R)
>> to recover the functionnalities.
>> Please help us ? Thanks.
>>
>> 2018-09-15 11:37:50,589+02 ERROR
>> [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService]
>> (default task-17) [] Permutation name: 3F33631A4CFC71A7A5878CCA004CB97D
>> 2018-09-15 11:37:50,589+02 ERROR
>> [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService]
>> (default task-17) [] Uncaught exception:
>> com.google.gwt.event.shared.UmbrellaException: Exception caught:
>> (TypeError) : Cannot read property 'K' of null
>> at java.lang.Throwable.Throwable(Throwable.java:70) [rt.jar:1.8.0_181]
>> at
>> java.lang.RuntimeException.RuntimeException(RuntimeException.java:32)
>> [rt.jar:1.8.0_181]
>> at
>> com.google.web.bindery.event.shared.UmbrellaException.UmbrellaException(UmbrellaException.java:64)
>> [gwt-servlet.jar:]
>> at Unknown.new C0(webadmin-0.js)
>> at
>> com.google.gwt.event.shared.HandlerManager.$fireEvent(HandlerManager.java:117)
>> [gwt-servlet.jar:]
>> at com.google.gwt.user.client.ui.Widget.$fireEvent(Widget.java:127)
>> [gwt-servlet.jar:]
>> at com.google.gwt.user.client.ui.Widget.fireEvent(Widget.java:127)
>> [gwt-servlet.jar:]
>> at
>> com.google.gwt.event.dom.client.DomEvent.fireNativeEvent(DomEvent.java:110)
>> [gwt-servlet.jar:]
>> at
>> com.google.gwt.user.client.ui.Widget.$onBrowserEvent(Widget.java:163)
>> [gwt-servlet.jar:]
>> at
>> com.google.gwt.user.client.ui.Widget.onBrowserEvent(Widget.java:163)
>> [gwt-servlet.jar:]
>> at com.google.gwt.user.client.DOM.dispatchEvent(DOM.java:1415)
>> [gwt-servlet.jar:]
>> at
>> com.google.gwt.user.client.impl.DOMImplStandard.dispatchEvent(DOMImplStandard.java:312)
>> [gwt-servlet.jar:]
>> at com.google.gwt.core.client.impl.Impl.apply(Impl.java:236)
>> [gwt-servlet.jar:]
>> at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:275)
>> [gwt-servlet.jar:]
>> at Unknown.eval(webadmin-0.js)
>> Caused by: com.google.gwt.core.client.JavaScriptException: (TypeError) :
>> Cannot read property 'K' of null
>> at
>> org.ovirt.engine.ui.uicommonweb.models.vms.ExistingVmModelBehavior.updateHaAvailability(ExistingVmModelBehavior.java:481)
>> at
>> org.ovirt.engine.ui.uicommonweb.models.vms.UnitVmModel.eventRaised(UnitVmModel.java:1933)
>> at org.ovirt.engine.ui.uicompat.Event.$raise(Event.java:99)
>> at
>> org.ovirt.engine.ui.uicommonweb.models.ListModel.$setSelectedItem(ListModel.java:82)
>> at
>> org.ovirt.engine.ui.uicommonweb.models.ListModel.setSelectedItem(ListModel.java:78)
>> at
>> org.ovirt.engine.ui.common.editor.UiCommonEditorVisitor.$updateListEditor(UiCommonEditorVisitor.java:193)
>> at
>> org.ovirt.engine.ui.common.editor.UiCommonEditorVisitor.visit(UiCommonEditorVisitor.java:47)
>> at
>> com.google.gwt.editor.client.impl.AbstractEditorContext.$traverse(AbstractEditorContext.java:127)
>> [gwt-servlet.jar:]
>> at
>> org.ovirt.engine.ui.common.widget.uicommon.popup.AbstractVmPopupWidget_UiCommonModelEditorDelegate.accept(AbstractVmPopupWidget_UiCommonModelEditorDelegate.java:502)
>> at
>> com.google.gwt.editor.client.impl.AbstractEditorContext.$traverse(AbstractEditorContext.java:127)
>> [gwt-servlet.jar:]
>> at
>> org.ovirt.engine.ui.common.widget.uicommon.popup.AbstractVmPopupWidget_DriverImpl.accept(AbstractVmPopupWidget_DriverImpl.java:4)
>> at
>> org.ovirt.engine.ui.common.editor.AbstractUiCommonModelEditorDriver.$edit(AbstractUiCommonModelEditorDriver.java:32)
>> at
>> org.ovirt.engine.ui.common.widget.uicommon.popup.AbstractVmPopupWidget.$edit(AbstractVmPopupWidget.java:1518)
>> at
>> org.ovirt.engine.ui.common.widget.uicommon.popup.AbstractVmPopupWidget.edit(AbstractVmPopupWidget.java:1518)
>> at
>> org.ovirt.engine.ui.common.widget.uicommon.popup.AbstractVmPopupWidget.edit(AbstractVmPopupWidget.java:1518)
>> at
>> org.ovirt.engine.ui.common.widget.uicommon.popup.AbstractModeSwitchingPopupWidget.edit(AbstractModeSwitchingPopupWidget.java:80)
>> at
>> 

[ovirt-users] Re: clone snapshot of running vm

2018-09-15 Thread Eyal Shenitzky
Hey,
Thank you for this mail.
It seems like it is a UI bug.

Please submit a bug to [1] and attach all the relevant log (ui.log etc..)

[1] - https://bugzilla.redhat.com/enter_bug.cgi?product=ovirt-engine

On Sat, Sep 15, 2018 at 1:24 PM fsoyer  wrote:

> Hi guys,
> I just have this issue on a fresh 4.2.6 install. The snapshot of a vm
> Seems to be the same logs in the ui.log (I paste it here to be sure), and
> unable to clone the snapshot. VM on or off doesn't change things. This
> really seems to be a UI issue because when it appends, we can no more
> create or clone a snapshot on any VM : the buttons just do nothing (and no
> log in the ui.log when we hit them). We must reload the ui (F5 or Ctrl-R)
> to recover the functionnalities.
> Please help us ? Thanks.
>
> 2018-09-15 11:37:50,589+02 ERROR
> [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService]
> (default task-17) [] Permutation name: 3F33631A4CFC71A7A5878CCA004CB97D
> 2018-09-15 11:37:50,589+02 ERROR
> [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService]
> (default task-17) [] Uncaught exception:
> com.google.gwt.event.shared.UmbrellaException: Exception caught:
> (TypeError) : Cannot read property 'K' of null
> at java.lang.Throwable.Throwable(Throwable.java:70) [rt.jar:1.8.0_181]
> at
> java.lang.RuntimeException.RuntimeException(RuntimeException.java:32)
> [rt.jar:1.8.0_181]
> at
> com.google.web.bindery.event.shared.UmbrellaException.UmbrellaException(UmbrellaException.java:64)
> [gwt-servlet.jar:]
> at Unknown.new C0(webadmin-0.js)
> at
> com.google.gwt.event.shared.HandlerManager.$fireEvent(HandlerManager.java:117)
> [gwt-servlet.jar:]
> at com.google.gwt.user.client.ui.Widget.$fireEvent(Widget.java:127)
> [gwt-servlet.jar:]
> at com.google.gwt.user.client.ui.Widget.fireEvent(Widget.java:127)
> [gwt-servlet.jar:]
> at
> com.google.gwt.event.dom.client.DomEvent.fireNativeEvent(DomEvent.java:110)
> [gwt-servlet.jar:]
> at
> com.google.gwt.user.client.ui.Widget.$onBrowserEvent(Widget.java:163)
> [gwt-servlet.jar:]
> at
> com.google.gwt.user.client.ui.Widget.onBrowserEvent(Widget.java:163)
> [gwt-servlet.jar:]
> at com.google.gwt.user.client.DOM.dispatchEvent(DOM.java:1415)
> [gwt-servlet.jar:]
> at
> com.google.gwt.user.client.impl.DOMImplStandard.dispatchEvent(DOMImplStandard.java:312)
> [gwt-servlet.jar:]
> at com.google.gwt.core.client.impl.Impl.apply(Impl.java:236)
> [gwt-servlet.jar:]
> at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:275)
> [gwt-servlet.jar:]
> at Unknown.eval(webadmin-0.js)
> Caused by: com.google.gwt.core.client.JavaScriptException: (TypeError) :
> Cannot read property 'K' of null
> at
> org.ovirt.engine.ui.uicommonweb.models.vms.ExistingVmModelBehavior.updateHaAvailability(ExistingVmModelBehavior.java:481)
> at
> org.ovirt.engine.ui.uicommonweb.models.vms.UnitVmModel.eventRaised(UnitVmModel.java:1933)
> at org.ovirt.engine.ui.uicompat.Event.$raise(Event.java:99)
> at
> org.ovirt.engine.ui.uicommonweb.models.ListModel.$setSelectedItem(ListModel.java:82)
> at
> org.ovirt.engine.ui.uicommonweb.models.ListModel.setSelectedItem(ListModel.java:78)
> at
> org.ovirt.engine.ui.common.editor.UiCommonEditorVisitor.$updateListEditor(UiCommonEditorVisitor.java:193)
> at
> org.ovirt.engine.ui.common.editor.UiCommonEditorVisitor.visit(UiCommonEditorVisitor.java:47)
> at
> com.google.gwt.editor.client.impl.AbstractEditorContext.$traverse(AbstractEditorContext.java:127)
> [gwt-servlet.jar:]
> at
> org.ovirt.engine.ui.common.widget.uicommon.popup.AbstractVmPopupWidget_UiCommonModelEditorDelegate.accept(AbstractVmPopupWidget_UiCommonModelEditorDelegate.java:502)
> at
> com.google.gwt.editor.client.impl.AbstractEditorContext.$traverse(AbstractEditorContext.java:127)
> [gwt-servlet.jar:]
> at
> org.ovirt.engine.ui.common.widget.uicommon.popup.AbstractVmPopupWidget_DriverImpl.accept(AbstractVmPopupWidget_DriverImpl.java:4)
> at
> org.ovirt.engine.ui.common.editor.AbstractUiCommonModelEditorDriver.$edit(AbstractUiCommonModelEditorDriver.java:32)
> at
> org.ovirt.engine.ui.common.widget.uicommon.popup.AbstractVmPopupWidget.$edit(AbstractVmPopupWidget.java:1518)
> at
> org.ovirt.engine.ui.common.widget.uicommon.popup.AbstractVmPopupWidget.edit(AbstractVmPopupWidget.java:1518)
> at
> org.ovirt.engine.ui.common.widget.uicommon.popup.AbstractVmPopupWidget.edit(AbstractVmPopupWidget.java:1518)
> at
> org.ovirt.engine.ui.common.widget.uicommon.popup.AbstractModeSwitchingPopupWidget.edit(AbstractModeSwitchingPopupWidget.java:80)
> at
> org.ovirt.engine.ui.common.view.popup.AbstractModelBoundWidgetPopupView.edit(AbstractModelBoundWidgetPopupView.java:37)
> at
> org.ovirt.engine.ui.common.presenter.AbstractModelBoundPopupPresenterWidget.$init(AbstractModelBoundPopupPresenterWidget.java:105)
> at
> 

[ovirt-users] Re: clone snapshot of running vm

2018-09-15 Thread fsoyer

Hi guys,
I just have this issue on a fresh 4.2.6 install. The snapshot of a vm  Seems to 
be the same logs in the ui.log (I paste it here to be sure), and unable to 
clone the snapshot. VM on or off doesn't change things. This really seems to be 
a UI issue because when it appends, we can no more create or clone a snapshot 
on any VM : the buttons just do nothing (and no log in the ui.log when we hit 
them). We must reload the ui (F5 or Ctrl-R) to recover the functionnalities.  
Please help us ? Thanks.

2018-09-15 11:37:50,589+02 ERROR 
[org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default 
task-17) [] Permutation name: 3F33631A4CFC71A7A5878CCA004CB97D
2018-09-15 11:37:50,589+02 ERROR 
[org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default 
task-17) [] Uncaught exception: com.google.gwt.event.shared.UmbrellaException: 
Exception caught: (TypeError) : Cannot read property 'K' of null
    at java.lang.Throwable.Throwable(Throwable.java:70) [rt.jar:1.8.0_181]
    at java.lang.RuntimeException.RuntimeException(RuntimeException.java:32) 
[rt.jar:1.8.0_181]
    at 
com.google.web.bindery.event.shared.UmbrellaException.UmbrellaException(UmbrellaException.java:64)
 [gwt-servlet.jar:]
    at Unknown.new C0(webadmin-0.js)
    at 
com.google.gwt.event.shared.HandlerManager.$fireEvent(HandlerManager.java:117) 
[gwt-servlet.jar:]
    at com.google.gwt.user.client.ui.Widget.$fireEvent(Widget.java:127) 
[gwt-servlet.jar:]
    at com.google.gwt.user.client.ui.Widget.fireEvent(Widget.java:127) 
[gwt-servlet.jar:]
    at 
com.google.gwt.event.dom.client.DomEvent.fireNativeEvent(DomEvent.java:110) 
[gwt-servlet.jar:]
    at com.google.gwt.user.client.ui.Widget.$onBrowserEvent(Widget.java:163) 
[gwt-servlet.jar:]
    at com.google.gwt.user.client.ui.Widget.onBrowserEvent(Widget.java:163) 
[gwt-servlet.jar:]
    at com.google.gwt.user.client.DOM.dispatchEvent(DOM.java:1415) 
[gwt-servlet.jar:]
    at 
com.google.gwt.user.client.impl.DOMImplStandard.dispatchEvent(DOMImplStandard.java:312)
 [gwt-servlet.jar:]
    at com.google.gwt.core.client.impl.Impl.apply(Impl.java:236) 
[gwt-servlet.jar:]
    at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:275) 
[gwt-servlet.jar:]
    at Unknown.eval(webadmin-0.js)
Caused by: com.google.gwt.core.client.JavaScriptException: (TypeError) : Cannot 
read property 'K' of null
    at 
org.ovirt.engine.ui.uicommonweb.models.vms.ExistingVmModelBehavior.updateHaAvailability(ExistingVmModelBehavior.java:481)
    at 
org.ovirt.engine.ui.uicommonweb.models.vms.UnitVmModel.eventRaised(UnitVmModel.java:1933)
    at org.ovirt.engine.ui.uicompat.Event.$raise(Event.java:99)
    at 
org.ovirt.engine.ui.uicommonweb.models.ListModel.$setSelectedItem(ListModel.java:82)
    at 
org.ovirt.engine.ui.uicommonweb.models.ListModel.setSelectedItem(ListModel.java:78)
    at 
org.ovirt.engine.ui.common.editor.UiCommonEditorVisitor.$updateListEditor(UiCommonEditorVisitor.java:193)
    at 
org.ovirt.engine.ui.common.editor.UiCommonEditorVisitor.visit(UiCommonEditorVisitor.java:47)
    at 
com.google.gwt.editor.client.impl.AbstractEditorContext.$traverse(AbstractEditorContext.java:127)
 [gwt-servlet.jar:]
    at 
org.ovirt.engine.ui.common.widget.uicommon.popup.AbstractVmPopupWidget_UiCommonModelEditorDelegate.accept(AbstractVmPopupWidget_UiCommonModelEditorDelegate.java:502)
    at 
com.google.gwt.editor.client.impl.AbstractEditorContext.$traverse(AbstractEditorContext.java:127)
 [gwt-servlet.jar:]
    at 
org.ovirt.engine.ui.common.widget.uicommon.popup.AbstractVmPopupWidget_DriverImpl.accept(AbstractVmPopupWidget_DriverImpl.java:4)
    at 
org.ovirt.engine.ui.common.editor.AbstractUiCommonModelEditorDriver.$edit(AbstractUiCommonModelEditorDriver.java:32)
    at 
org.ovirt.engine.ui.common.widget.uicommon.popup.AbstractVmPopupWidget.$edit(AbstractVmPopupWidget.java:1518)
    at 
org.ovirt.engine.ui.common.widget.uicommon.popup.AbstractVmPopupWidget.edit(AbstractVmPopupWidget.java:1518)
    at 
org.ovirt.engine.ui.common.widget.uicommon.popup.AbstractVmPopupWidget.edit(AbstractVmPopupWidget.java:1518)
    at 
org.ovirt.engine.ui.common.widget.uicommon.popup.AbstractModeSwitchingPopupWidget.edit(AbstractModeSwitchingPopupWidget.java:80)
    at 
org.ovirt.engine.ui.common.view.popup.AbstractModelBoundWidgetPopupView.edit(AbstractModelBoundWidgetPopupView.java:37)
    at 
org.ovirt.engine.ui.common.presenter.AbstractModelBoundPopupPresenterWidget.$init(AbstractModelBoundPopupPresenterWidget.java:105)
    at 
org.ovirt.engine.ui.common.widget.popup.AbstractVmBasedPopupPresenterWidget.$init(AbstractVmBasedPopupPresenterWidget.java:63)
    at 
org.ovirt.engine.ui.common.widget.popup.AbstractVmBasedPopupPresenterWidget.init(AbstractVmBasedPopupPresenterWidget.java:63)
    at 
org.ovirt.engine.ui.common.widget.popup.AbstractVmBasedPopupPresenterWidget.init(AbstractVmBasedPopupPresenterWidget.java:63)
    at