[ovirt-users] Re: noVNC console doesn't work.

2022-10-04 Thread Jirka Simon

Hi Patrick,

thank you a lot for clarification how it is it with certificates and 
noVNC, when I added engine internal CA to the system it stared to work, 
but how is possible that it worked before yesteraday's update without 
trusted CA in my system.


Jirka

On 10/4/22 02:14, Patrick Hibbs wrote:
If that file doesn't exist on the engine VM, then you might want to 
try checking the RPM database on that VM and make that sure you don't 
have broken packages. Run $dnf check and $rpm --verify -a
That should give you a list of what packages are broken and what files 
are missing / corrupted. You can then reinstall the affected packages.


The CA used by noVNC is the engine's internal CA. Regardless as to 
what apache is set to use on the engine host. Your paid CA cert is 
irrelevant here.
Longer explanation: The VNC connection originates from the hypervisor 
host running the target VM, not the engine VM itself. Essentially, 
noVNC is a web app that was pulled into the browser using a connection 
secured by your paid CA, then the web app established a new connection 
to a different server (the hypervisor host) using a different CA (the 
engine's internal CA).


-Patrick Hibbs

On Mon, 2022-10-03 at 20:47 +0200, Jirka Simon wrote:

Ahoj Michale,

I tried it and the result is the same.  Message in engine log is 
strange file really doesn't exists 
'/usr/share/ovirt-engine/files/novnc/vendor/promise.js on the engone VM.


Certificate we use is valid with payed  CA and its CA is in any 
browser by default. Maybe there can be something wrong when i changed 
default certificate to the custom one. But before today's morning 
upgrade everything worked fine.


let me check this.


Thank you

Jirka


On 10/3/22 14:24, Michal Skrivanek wrote:

There's been no interesting change between these versions. I would 
rather suspect certificates...can you try in brand new browser 
sessions and make sure the engine CA is imported?





On 3. 10. 2022, at 13:40, Jirka Simon  wrote:

Hello there,

after update from 4.5.2.4 to 4.5.2.5 stopped to work noVNC client 
within browser,  it writes  Something went wrong, connection is 
closed in browser and then i th engine log is this message.


2022-10-03 13:34:55,772+02 INFO 
 [org.ovirt.engine.core.utils.servlet.ServletUtils] (default 
task-13) [] Can't read file 
'/usr/share/ovirt-engine/files/novnc/vendor/promise.js' for request 
'/ovirt-engine/services/files/novnc/vendor/promise.js' -- 404


thank k you for any advice.


Jirka

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



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



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


[ovirt-users] Re: noVNC console doesn't work.

2022-10-03 Thread Patrick Hibbs
If that file doesn't exist on the engine VM, then you might want to try
checking the RPM database on that VM and make that sure you don't have
broken packages. Run $dnf check and $rpm --verify -a
That should give you a list of what packages are broken and what files
are missing / corrupted. You can then reinstall the affected packages.

The CA used by noVNC is the engine's internal CA. Regardless as to what
apache is set to use on the engine host. Your paid CA cert is
irrelevant here.
Longer explanation: The VNC connection originates from the hypervisor
host running the target VM, not the engine VM itself. Essentially,
noVNC is a web app that was pulled into the browser using a connection
secured by your paid CA, then the web app established a new connection
to a different server (the hypervisor host) using a different CA (the
engine's internal CA).

-Patrick Hibbs

On Mon, 2022-10-03 at 20:47 +0200, Jirka Simon wrote:
> Ahoj Michale,
> 
> I tried it and the result is the same.  Message in engine log is
> strange file really doesn't exists '/usr/share/ovirt-
> engine/files/novnc/vendor/promise.js on the engone VM.
> 
> Certificate we use is valid with payed  CA and its CA is in any
> browser by default. Maybe there can be something wrong when i changed
> default certificate to the custom one. But before today's morning
> upgrade everything worked fine.
> 
> let me check this. 
> 
> 
> Thank you 
> Jirka
> 
> On 10/3/22 14:24, Michal Skrivanek wrote:
> 
> > There's been no interesting change between these versions. I would
> > rather suspect certificates...can you try in brand new browser
> > sessions and make sure the engine CA is imported? 
> > 
> > 
> > 
> > > On 3. 10. 2022, at 13:40, Jirka Simon  wrote:
> > > 
> > > 
> > > Hello there, 
> > > after update from 4.5.2.4 to 4.5.2.5  stopped to work noVNC
> > > client within browser,  it writes  Something went wrong,
> > > connection is closed in browser and then i th engine log is this
> > > message.
> > > 2022-10-03 13:34:55,772+02 INFO
> > >  [org.ovirt.engine.core.utils.servlet.ServletUtils] (default
> > > task-13) [] Can't read file '/usr/share/ovirt-
> > > engine/files/novnc/vendor/promise.js' for request '/ovirt-
> > > engine/services/files/novnc/vendor/promise.js' -- 404
> > > thank k you for any advice.
> > > 
> > > Jirka
> > > ___
> > > Users mailing list -- users@ovirt.org
> > > To unsubscribe send an email to users-le...@ovirt.org
> > > Privacy Statement: https://www.ovirt.org/privacy-policy.html
> > > oVirt Code of Conduct:
> > > https://www.ovirt.org/community/about/community-guidelines/
> > > List Archives:
> > >
> > https://lists.ovirt.org/archives/list/users@ovirt.org/message/Y325XTSQAEEYR7C3NNWR32TJ4DMYQDBQ/
> > 
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/privacy-policy.html
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/CKEOEPZWTKZFJ3OQQF4HIKHJTJOJWD6R/

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


[ovirt-users] Re: noVNC console doesn't work.

2022-10-03 Thread Jirka Simon

Ahoj Michale,

I tried it and the result is the same.  Message in engine log is strange 
file really doesn't exists 
'/usr/share/ovirt-engine/files/novnc/vendor/promise.js on the engone VM.


Certificate we use is valid with payed  CA and its CA is in any browser 
by default. Maybe there can be something wrong when i changed default 
certificate to the custom one. But before today's morning upgrade 
everything worked fine.


let me check this.


Thank you

Jirka


On 10/3/22 14:24, Michal Skrivanek wrote:
There's been no interesting change between these versions. I would 
rather suspect certificates...can you try in brand new browser 
sessions and make sure the engine CA is imported?




On 3. 10. 2022, at 13:40, Jirka Simon  wrote:

Hello there,

after update from 4.5.2.4 to 4.5.2.5 stopped to work noVNC client 
within browser,  it writes  Something went wrong, connection is 
closed in browser and then i th engine log is this message.


2022-10-03 13:34:55,772+02 INFO 
 [org.ovirt.engine.core.utils.servlet.ServletUtils] (default task-13) 
[] Can't read file 
'/usr/share/ovirt-engine/files/novnc/vendor/promise.js' for request 
'/ovirt-engine/services/files/novnc/vendor/promise.js' -- 404


thank k you for any advice.


Jirka

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


[ovirt-users] Re: noVNC console doesn't work.

2022-10-03 Thread Michal Skrivanek
There's been no interesting change between these versions. I would rather 
suspect certificates...can you try in brand new browser sessions and make sure 
the engine CA is imported?


> On 3. 10. 2022, at 13:40, Jirka Simon  wrote:
> 
> Hello there, 
> 
> after update from 4.5.2.4 to 4.5.2.5  stopped to work noVNC client within 
> browser,  it writes  Something went wrong, connection is closed in browser 
> and then i th engine log is this message.
> 
> 2022-10-03 13:34:55,772+02 INFO  
> [org.ovirt.engine.core.utils.servlet.ServletUtils] (default task-13) [] Can't 
> read file '/usr/share/ovirt-engine/files/novnc/vendor/promise.js' for request 
> '/ovirt-engine/services/files/novnc/vendor/promise.js' -- 404
> 
> thank k you for any advice.
> 
> 
> 
> Jirka
> 
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/privacy-policy.html
> oVirt Code of Conduct: 
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives: 
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/Y325XTSQAEEYR7C3NNWR32TJ4DMYQDBQ/

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