[ovirt-devel] [SOLVED] Re: Can't read file branding/00-ovirt.brand/ovirt-js-dependencies/insertion-query/insQ.min.js' for request '/ovirt-engine/theme/00-ovirt.brand/ovirt-js-dependencies/insertion-query/insQ.min.js', will send a 404 error response.

Greg Sheremeta gshereme at redhat.com
Sun Mar 12 15:36:55 UTC 2017


Not a very helpful set of error messages -- sorry about that. I'll post a
patch that detects that **/ovirt-js-dependencies is missing and prints a
more helpful message.

Best wishes,
Greg


On Sun, Mar 12, 2017 at 9:31 AM, Maor Lipchuk <mlipchuk at redhat.com> wrote:

> On Sun, Mar 12, 2017 at 3:28 PM, Maor Lipchuk <mlipchuk at redhat.com> wrote:
> > so it appears that this was caused since my env had no installation of
> > ovirt-js-dependencies which was required after the upgrade of
> > PatternFly used by webadmin and userportal to the latest 3.y version.
> >
> > Thanks Idan for pointing this out.
>
> And thank you Freddy
>
> >
> > Regards,
> > Maor
> >
> > On Sun, Mar 12, 2017 at 1:16 PM, Maor Lipchuk <mlipchuk at redhat.com>
> wrote:
> >> Hi all,
> >>
> >> I got a new ovirt-engine setup installed on fedora 25 and once I try
> >> to login to the admin portal I'm getting the following error messages
> >> (see [1])
> >>
> >> The rpms which I'm using are:
> >> otopi-1.7.0-0.0.master.20170213135023.git38257bf.fc25.noarch
> >> ovirt-release-11.2.0-1.noarch
> >>
> >> The folder branding/00-ovirt.brand/ovirt-js-dependencies which the
> >> logs indicate seems to be empty.
> >> Is there any known issue about this?
> >>
> >> Thanks,
> >> Maor
> >>
> >> [1]
> >> 2017-03-12 13:11:34,121+02 ERROR
> >> [org.ovirt.engine.core.utils.servlet.ServletUtils] (default task-54)
> >> [] Can't read file
> >> '/home/mlipchuk/ovirt-share/etc/ovirt-engine/branding/00-
> ovirt.brand/ovirt-js-dependencies/insertion-query/insQ.min.js'
> >> for request '/ovirt-engine/sso/theme/00-ovirt.brand/ovirt-js-
> dependencies/insertion-query/insQ.min.js',
> >> will send a 404 error response.
> >> 2017-03-12 13:11:34,126+02 ERROR
> >> [org.ovirt.engine.core.utils.servlet.ServletUtils] (default task-53)
> >> [] Can't read file
> >> '/home/mlipchuk/ovirt-share/etc/ovirt-engine/branding/00-
> ovirt.brand/ovirt-js-dependencies/patternfly/dist/js/patternfly.min.js'
> >> for request '/ovirt-engine/sso/theme/00-ovirt.brand/ovirt-js-
> dependencies/patternfly/dist/js/patternfly.min.js',
> >> will send a 404 error response.
> >> 2017-03-12 13:11:34,132+02 ERROR
> >> [org.ovirt.engine.core.utils.servlet.ServletUtils] (default task-52)
> >> [] Can't read file
> >> '/home/mlipchuk/ovirt-share/etc/ovirt-engine/branding/00-
> ovirt.brand/ovirt-js-dependencies/jquery/dist/jquery.min.js'
> >> for request '/ovirt-engine/sso/theme/00-ovirt.brand/ovirt-js-
> dependencies/jquery/dist/jquery.min.js',
> >> will send a 404 error response.
> >> 2017-03-12 13:11:34,144+02 ERROR
> >> [org.ovirt.engine.core.utils.servlet.ServletUtils] (default task-55)
> >> [] Can't read file
> >> '/home/mlipchuk/ovirt-share/etc/ovirt-engine/branding/00-
> ovirt.brand/ovirt-js-dependencies/bootstrap/dist/js/bootstrap.min.js'
> >> for request '/ovirt-engine/sso/theme/00-ovirt.brand/ovirt-js-
> dependencies/bootstrap/dist/js/bootstrap.min.js',
> >> will send a 404 error response.
> >> 2017-03-12 13:11:34,168+02 ERROR
> >> [org.ovirt.engine.core.utils.servlet.ServletUtils] (default task-56)
> >> [] Can't read file
> >> '/home/mlipchuk/ovirt-share/etc/ovirt-engine/branding/00-
> ovirt.brand/ovirt-js-dependencies/patternfly/dist/js/patternfly.min.js'
> >> for request '/ovirt-engine/sso/theme/00-ovirt.brand/ovirt-js-
> dependencies/patternfly/dist/js/patternfly.min.js',
> >> will send a 404 error response.
> >> 2017-03-12 13:11:34,191+02 ERROR
> >> [org.ovirt.engine.core.utils.servlet.ServletUtils] (default task-57)
> >> [] Can't read file
> >> '/home/mlipchuk/ovirt-share/etc/ovirt-engine/branding/00-
> ovirt.brand/ovirt-js-dependencies/insertion-query/insQ.min.js'
> >> for request '/ovirt-engine/sso/theme/00-ovirt.brand/ovirt-js-
> dependencies/insertion-query/insQ.min.js',
> >> will send a 404 error response.
> >> 2017-03-12 13:11:37,002+02 INFO
> >> [org.ovirt.engine.core.sso.utils.AuthenticationUtils] (default
> >> task-61) [] User admin at internal successfully logged in with scopes:
> >> ovirt-app-admin ovirt-app-api ovirt-app-portal
> >> ovirt-ext=auth:sequence-priority=~ ovirt-ext=revoke:revoke-all
> >> ovirt-ext=token-info:authz-search
> >> ovirt-ext=token-info:public-authz-search ovirt-ext=token-info:validate
> >> ovirt-ext=token:password-access
> >> 2017-03-12 13:11:37,159+02 INFO
> >> [org.ovirt.engine.core.bll.aaa.CreateUserSessionCommand] (default
> >> task-63) [75200a19] Running command: CreateUserSessionCommand
> >> internal: false.
> >> 2017-03-12 13:11:37,222+02 INFO
> >> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
> >> (default task-63) [75200a19] EVENT_ID: USER_VDC_LOGIN(30), Correlation
> >> ID: 75200a19, Call Stack: null, Custom Event ID: -1, Message: User
> >> admin at internal-authz logged in.
> >> 2017-03-12 13:11:37,660+02 ERROR
> >> [org.ovirt.engine.core.utils.servlet.ServletUtils] (default task-6) []
> >> Can't read file
> >> '/home/mlipchuk/ovirt-share/etc/ovirt-engine/branding/00-
> ovirt.brand/ovirt-js-dependencies/patternfly/dist/
> css/patternfly-additions.min.css'
> >> for request '/ovirt-engine/webadmin/theme/00-ovirt.brand/ovirt-js-
> dependencies/patternfly/dist/css/patternfly-additions.min.css',
> >> will send a 404 error response.
> >> 2017-03-12 13:11:37,664+02 ERROR
> >> [org.ovirt.engine.core.utils.servlet.ServletUtils] (default task-9) []
> >> Can't read file
> >> '/home/mlipchuk/ovirt-share/etc/ovirt-engine/branding/00-
> ovirt.brand/ovirt-js-dependencies/patternfly/dist/css/patternfly.min.css'
> >> for request '/ovirt-engine/webadmin/theme/00-ovirt.brand/ovirt-js-
> dependencies/patternfly/dist/css/patternfly.min.css',
> >> will send a 404 error response.
> >> 2017-03-12 13:11:37,666+02 ERROR
> >> [org.ovirt.engine.core.utils.servlet.ServletUtils] (default task-10)
> >> [] Can't read file
> >> '/home/mlipchuk/ovirt-share/etc/ovirt-engine/branding/00-
> ovirt.brand/ovirt-js-dependencies/bootstrap/dist/js/bootstrap.min.js'
> >> for request '/ovirt-engine/webadmin/theme/00-ovirt.brand/ovirt-js-
> dependencies/bootstrap/dist/js/bootstrap.min.js',
> >> will send a 404 error response.
> >> 2017-03-12 13:11:37,668+02 ERROR
> >> [org.ovirt.engine.core.utils.servlet.ServletUtils] (default task-7) []
> >> Can't read file
> >> '/home/mlipchuk/ovirt-share/etc/ovirt-engine/branding/00-
> ovirt.brand/ovirt-js-dependencies/jquery/dist/jquery.min.js'
> >> for request '/ovirt-engine/webadmin/theme/00-ovirt.brand/ovirt-js-
> dependencies/jquery/dist/jquery.min.js',
> >> will send a 404 error response.
> >> 2017-03-12 13:11:37,681+02 ERROR
> >> [org.ovirt.engine.core.utils.servlet.ServletUtils] (default task-13)
> >> [] Can't read file
> >> '/home/mlipchuk/ovirt-share/etc/ovirt-engine/branding/00-
> ovirt.brand/ovirt-js-dependencies/patternfly/dist/js/patternfly.min.js'
> >> for request '/ovirt-engine/webadmin/theme/00-ovirt.brand/ovirt-js-
> dependencies/patternfly/dist/js/patternfly.min.js',
> >> will send a 404 error response.
> >> 2017-03-12 13:11:37,684+02 ERROR
> >> [org.ovirt.engine.core.utils.servlet.ServletUtils] (default task-14)
> >> [] Can't read file
> >> '/home/mlipchuk/ovirt-share/etc/ovirt-engine/branding/00-
> ovirt.brand/ovirt-js-dependencies/insertion-query/insQ.min.js'
> >> for request '/ovirt-engine/webadmin/theme/00-ovirt.brand/ovirt-js-
> dependencies/insertion-query/insQ.min.js',
> >> will send a 404 error response.
> >> 2017-03-12 13:11:37,854+02 ERROR
> >> [org.ovirt.engine.core.utils.servlet.ServletUtils] (default task-15)
> >> [] Can't read file
> >> '/home/mlipchuk/ovirt-share/etc/ovirt-engine/branding/00-
> ovirt.brand/ovirt-js-dependencies/bootstrap/dist/js/bootstrap.min.js'
> >> for request '/ovirt-engine/webadmin/theme/00-ovirt.brand/ovirt-js-
> dependencies/bootstrap/dist/js/bootstrap.min.js',
> >> will send a 404 error response.
> >> 2017-03-12 13:11:37,864+02 ERROR
> >> [org.ovirt.engine.core.utils.servlet.ServletUtils] (default task-18)
> >> [] Can't read file
> >> '/home/mlipchuk/ovirt-share/etc/ovirt-engine/branding/00-
> ovirt.brand/ovirt-js-dependencies/patternfly/dist/js/patternfly.min.js'
> >> for request '/ovirt-engine/webadmin/theme/00-ovirt.brand/ovirt-js-
> dependencies/patternfly/dist/js/patternfly.min.js',
> >> will send a 404 error response.
> >> 2017-03-12 13:11:37,879+02 ERROR
> >> [org.ovirt.engine.core.utils.servlet.ServletUtils] (default task-20)
> >> [] Can't read file
> >> '/home/mlipchuk/ovirt-share/etc/ovirt-engine/branding/00-
> ovirt.brand/ovirt-js-dependencies/insertion-query/insQ.min.js'
> >> for request '/ovirt-engine/webadmin/theme/00-ovirt.brand/ovirt-js-
> dependencies/insertion-query/insQ.min.js',
> >> will send a 404 error response.
> _______________________________________________
> Devel mailing list
> Devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/devel
>



-- 
Greg Sheremeta, MBA
Red Hat, Inc.
Sr. Software Engineer
gshereme at redhat.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/devel/attachments/20170312/8aaa50c1/attachment-0001.html>


More information about the Devel mailing list