Re: [ovirt-users] ovirt network setup hangs

2017-02-22 Thread Yedidyah Bar David
On Wed, Feb 22, 2017 at 2:41 AM, Bill James  wrote:
> We recently upgraded our QA ovirt installation from ovirt3.6 to 4.0.3.

Why not latest 4.0 or 4.1?

> All seems to work fine except when I try to setup network configuration.

There were several changes/fixes in setup network since 4.0.3.

>
> Even if I take an already configured host and change nothing when I select
> "Setup Host Networks" and press "ok" the window just hangs (spinning wheel)
> and task never finishes.
> I can Delete the job and restart ovirt-engine and all is clean, till I try
> to setup a network, on any host, again.
>
> I haven't found any log entries that seem to apply, but here's the start of
> the task:
>
> 2017-02-21 16:15:35,557 INFO
> [org.ovirt.engine.core.vdsbroker.vdsbroker.HostSetupNetworksVDSCommand]
> (default
> task-40) [77a44650] START, HostSetupNetworksVDSCommand(HostName =
> webdev3.dev.j2noc.com,
> HostSetupNetworksVdsCommandParameters:{runAsync='true',
> hostId='85f43ad0-bba8-46af-97db-062651d23a84',
> vds='Host[webdev3.dev.j2noc.com,85f43ad0-bba8-46af-97db-062651d23a84]',
> rollbackOnFailure='true', connectivityTimeout='120',
> networks='[HostNetwork:{defaultRoute='false', bonding='false',
> networkName='V102_dev', nicName='enp4s0f0', vlan='482', mtu='0',
>  vmNetwork='true', stp='false', properties='[]', ipv4BootProtocol='NONE',
> ipv4Address='null', ipv4Netmask='null
> ', ipv4Gateway='null', ipv6BootProtocol='NONE', ipv6Address='null',
> ipv6Prefix='null', ipv6Gateway='null', swit
> chType='LEGACY'},
>
>
> Where would I look for more info?

Usually on the host, in /var/log/vdsm .

>
> Another error that is probably related is when I open Setup Host Network and
> click on the edit pencil I get an error: (ui.log)
>
> 2017-02-21 16:33:09,486 ERROR
> [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default
> task-1) [] Permutation name: EBD94055CA35ABB08F35A7613B98C193
> 2017-02-21 16:33:09,486 ERROR
> [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default
> task-1) [] Uncaught exception:
> com.google.gwt.event.shared.UmbrellaException: Exception caught: (TypeError)
>  __gwt$exception: : Cannot read property 'c' of null
> at Unknown.Ev(webadmin-0.js@25078)
> at Unknown.Mv(webadmin-0.js@41)
> at Unknown.X7(webadmin-0.js@19)
> at Unknown.$7(webadmin-0.js@19)
> at Unknown.i7(webadmin-0.js@117)
> ...
> Caused by: com.google.gwt.core.client.JavaScriptException: (TypeError)
>  __gwt$exception: : Cannot read property 'c' of null

No idea, but I think you can find out more by de-obfuscating the log [1].
If/when you do, please make sure to install debuginfo packages of the exact
same version that you currently have.

But I'd personally not spend time debugging this before upgrading to latest
4.0 at least.

[1] 
https://www.ovirt.org/develop/developer-guide/engine/engine-debug-obfuscated-ui/

>
>
> Did I miss something in the upgrade?

No idea, did you run engine-setup and it finished successfully?

Best,

>
>
> ovirt-engine-4.0.3-1.el7.centos.noarch
> vdsm-4.18.11-1.el7.centos.x86_64
>
> Thanks.
>
> --
>
> 'ovirt-engine' and component 'Frontend.WebAdmin'
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users



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


[ovirt-users] ovirt network setup hangs

2017-02-21 Thread Bill James

We recently upgraded our QA ovirt installation from ovirt3.6 to 4.0.3.
All seems to work fine except when I try to setup network configuration.

Even if I take an already configured host and change nothing when I 
select "Setup Host Networks" and press "ok" the window just hangs 
(spinning wheel) and task never finishes.
I can Delete the job and restart ovirt-engine and all is clean, till I 
try to setup a network, on any host, again.


I haven't found any log entries that seem to apply, but here's the start 
of the task:


2017-02-21 16:15:35,557 INFO 
[org.ovirt.engine.core.vdsbroker.vdsbroker.HostSetupNetworksVDSCommand] 
(default
task-40) [77a44650] START, HostSetupNetworksVDSCommand(HostName = 
webdev3.dev.j2noc.com, 
HostSetupNetworksVdsCommandParameters:{runAsync='true', 
hostId='85f43ad0-bba8-46af-97db-062651d23a84', 
vds='Host[webdev3.dev.j2noc.com,85f43ad0-bba8-46af-97db-062651d23a84]', 
rollbackOnFailure='true', connectivityTimeout='120', 
networks='[HostNetwork:{defaultRoute='false', bonding='false', 
networkName='V102_dev', nicName='enp4s0f0', vlan='482', mtu='0',
 vmNetwork='true', stp='false', properties='[]', 
ipv4BootProtocol='NONE', ipv4Address='null', ipv4Netmask='null
', ipv4Gateway='null', ipv6BootProtocol='NONE', ipv6Address='null', 
ipv6Prefix='null', ipv6Gateway='null', swit

chType='LEGACY'},


Where would I look for more info?

Another error that is probably related is when I open Setup Host Network 
and click on the edit pencil I get an error: (ui.log)


2017-02-21 16:33:09,486 ERROR 
[org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] 
(default task-1) [] Permutation name: EBD94055CA35ABB08F35A7613B98C193
2017-02-21 16:33:09,486 ERROR 
[org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] 
(default task-1) [] Uncaught exception: 
com.google.gwt.event.shared.UmbrellaException: Exception caught: (TypeError)

 __gwt$exception: : Cannot read property 'c' of null
at Unknown.Ev(webadmin-0.js@25078)
at Unknown.Mv(webadmin-0.js@41)
at Unknown.X7(webadmin-0.js@19)
at Unknown.$7(webadmin-0.js@19)
at Unknown.i7(webadmin-0.js@117)
...
Caused by: com.google.gwt.core.client.JavaScriptException: (TypeError)
 __gwt$exception: : Cannot read property 'c' of null


Did I miss something in the upgrade?


ovirt-engine-4.0.3-1.el7.centos.noarch
vdsm-4.18.11-1.el7.centos.x86_64

Thanks.

--

'ovirt-engine' and component 'Frontend.WebAdmin'

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