nr1-slo-r icon indicating copy to clipboard operation
nr1-slo-r copied to clipboard

Entity Lookup Failure for SLO/R Nerdpack

Open ricegi opened this issue 4 years ago • 4 comments

Description

On occasion the SLO/R nerdpack will be unable to find the Entity with the lookup query used to set the state of the SLO definition form. This will make the form useless and the user will be unable to find any transactions or alerts defined for this entity.

This error seems to be encountered by all users of the nerdpack. The only work around is to delete/undeploy and nerdpack and readd it via the catalog.

Steps to Reproduce

This is episodic, but once it starts to happen it appears to keep happening.

Expected Behaviour

The entity where SLOs are being defined is looked up successfully all the time.

Relevant Logs / Console output

N/A - debug code has been added to record the occurrence of these events in the console

Your Environment

from version 1.7.1 of SLO/R

Additional context

N/A

ricegi avatar Nov 25 '20 13:11 ricegi

@ricegi this is happening 100% of the time for me. Are there any thoughts on how to address this issue?

icpenguins avatar Jan 11 '21 19:01 icpenguins

It looks like the TypeError: o.data.actor.account is null error could be impacting the loading of entities.

Uncaught (in promise) TypeError: o.data.actor.account is null
    e https://nr3.nr-ext.net/artifact-index-production/60bbe788-b329-4b65-82a2-4b93885918ec/1.7.5/60bbe788-b329-4b65-82a2-4b93885918ec--slo-r-main.js:1
    l https://nr3.nr-ext.net/artifact-index-production/60bbe788-b329-4b65-82a2-4b93885918ec/1.7.5/vendors~60bbe788-b329-4b65-82a2-4b93885918ec--vendors.js:28
    _invoke https://nr3.nr-ext.net/artifact-index-production/60bbe788-b329-4b65-82a2-4b93885918ec/1.7.5/vendors~60bbe788-b329-4b65-82a2-4b93885918ec--vendors.js:28
    t https://nr3.nr-ext.net/artifact-index-production/60bbe788-b329-4b65-82a2-4b93885918ec/1.7.5/vendors~60bbe788-b329-4b65-82a2-4b93885918ec--vendors.js:28
    n https://nr3.nr-ext.net/artifact-index-production/60bbe788-b329-4b65-82a2-4b93885918ec/1.7.5/vendors~60bbe788-b329-4b65-82a2-4b93885918ec--vendors.js:1
    s https://nr3.nr-ext.net/artifact-index-production/60bbe788-b329-4b65-82a2-4b93885918ec/1.7.5/vendors~60bbe788-b329-4b65-82a2-4b93885918ec--vendors.js:1
60bbe788-b329-4b65-82a2-4b93885918ec--slo-r-main.js:1:4054
    n https://nr3.nr-ext.net/artifact-index-production/60bbe788-b329-4b65-82a2-4b93885918ec/1.7.5/vendors~60bbe788-b329-4b65-82a2-4b93885918ec--vendors.js:1
    l https://nr3.nr-ext.net/artifact-index-production/60bbe788-b329-4b65-82a2-4b93885918ec/1.7.5/vendors~60bbe788-b329-4b65-82a2-4b93885918ec--vendors.js:1
    (Async: promise callback)
    n https://nr3.nr-ext.net/artifact-index-production/60bbe788-b329-4b65-82a2-4b93885918ec/1.7.5/vendors~60bbe788-b329-4b65-82a2-4b93885918ec--vendors.js:1
    s https://nr3.nr-ext.net/artifact-index-production/60bbe788-b329-4b65-82a2-4b93885918ec/1.7.5/vendors~60bbe788-b329-4b65-82a2-4b93885918ec--vendors.js:1
    exports https://nr3.nr-ext.net/artifact-index-production/60bbe788-b329-4b65-82a2-4b93885918ec/1.7.5/vendors~60bbe788-b329-4b65-82a2-4b93885918ec--vendors.js:1
    exports https://nr3.nr-ext.net/artifact-index-production/60bbe788-b329-4b65-82a2-4b93885918ec/1.7.5/vendors~60bbe788-b329-4b65-82a2-4b93885918ec--vendors.js:1
    e https://nr3.nr-ext.net/artifact-index-production/60bbe788-b329-4b65-82a2-4b93885918ec/1.7.5/60bbe788-b329-4b65-82a2-4b93885918ec--slo-r-main.js:1
    l https://nr3.nr-ext.net/artifact-index-production/60bbe788-b329-4b65-82a2-4b93885918ec/1.7.5/vendors~60bbe788-b329-4b65-82a2-4b93885918ec--vendors.js:28
    _invoke https://nr3.nr-ext.net/artifact-index-production/60bbe788-b329-4b65-82a2-4b93885918ec/1.7.5/vendors~60bbe788-b329-4b65-82a2-4b93885918ec--vendors.js:28
    t https://nr3.nr-ext.net/artifact-index-production/60bbe788-b329-4b65-82a2-4b93885918ec/1.7.5/vendors~60bbe788-b329-4b65-82a2-4b93885918ec--vendors.js:28
    n https://nr3.nr-ext.net/artifact-index-production/60bbe788-b329-4b65-82a2-4b93885918ec/1.7.5/vendors~60bbe788-b329-4b65-82a2-4b93885918ec--vendors.js:1
    s https://nr3.nr-ext.net/artifact-index-production/60bbe788-b329-4b65-82a2-4b93885918ec/1.7.5/vendors~60bbe788-b329-4b65-82a2-4b93885918ec--vendors.js:1
    (Async: promise callback)
    n https://nr3.nr-ext.net/artifact-index-production/60bbe788-b329-4b65-82a2-4b93885918ec/1.7.5/vendors~60bbe788-b329-4b65-82a2-4b93885918ec--vendors.js:1
    s https://nr3.nr-ext.net/artifact-index-production/60bbe788-b329-4b65-82a2-4b93885918ec/1.7.5/vendors~60bbe788-b329-4b65-82a2-4b93885918ec--vendors.js:1
    (Async: promise callback)
    n https://nr3.nr-ext.net/artifact-index-production/60bbe788-b329-4b65-82a2-4b93885918ec/1.7.5/vendors~60bbe788-b329-4b65-82a2-4b93885918ec--vendors.js:1
    s https://nr3.nr-ext.net/artifact-index-production/60bbe788-b329-4b65-82a2-4b93885918ec/1.7.5/vendors~60bbe788-b329-4b65-82a2-4b93885918ec--vendors.js:1
    (Async: promise callback)
    n https://nr3.nr-ext.net/artifact-index-production/60bbe788-b329-4b65-82a2-4b93885918ec/1.7.5/vendors~60bbe788-b329-4b65-82a2-4b93885918ec--vendors.js:1
    s https://nr3.nr-ext.net/artifact-index-production/60bbe788-b329-4b65-82a2-4b93885918ec/1.7.5/vendors~60bbe788-b329-4b65-82a2-4b93885918ec--vendors.js:1
    exports https://nr3.nr-ext.net/artifact-index-production/60bbe788-b329-4b65-82a2-4b93885918ec/1.7.5/vendors~60bbe788-b329-4b65-82a2-4b93885918ec--vendors.js:1
    exports https://nr3.nr-ext.net/artifact-index-production/60bbe788-b329-4b65-82a2-4b93885918ec/1.7.5/vendors~60bbe788-b329-4b65-82a2-4b93885918ec--vendors.js:1
    intervalId https://nr3.nr-ext.net/artifact-index-production/60bbe788-b329-4b65-82a2-4b93885918ec/1.7.5/60bbe788-b329-4b65-82a2-4b93885918ec--slo-r-main.js:1
    (Async: setInterval handler)
    e https://nr3.nr-ext.net/artifact-index-production/60bbe788-b329-4b65-82a2-4b93885918ec/1.7.5/60bbe788-b329-4b65-82a2-4b93885918ec--slo-r-main.js:1
    l https://nr3.nr-ext.net/artifact-index-production/60bbe788-b329-4b65-82a2-4b93885918ec/1.7.5/vendors~60bbe788-b329-4b65-82a2-4b93885918ec--vendors.js:28
    _invoke https://nr3.nr-ext.net/artifact-index-production/60bbe788-b329-4b65-82a2-4b93885918ec/1.7.5/vendors~60bbe788-b329-4b65-82a2-4b93885918ec--vendors.js:28
    t https://nr3.nr-ext.net/artifact-index-production/60bbe788-b329-4b65-82a2-4b93885918ec/1.7.5/vendors~60bbe788-b329-4b65-82a2-4b93885918ec--vendors.js:28
    n https://nr3.nr-ext.net/artifact-index-production/60bbe788-b329-4b65-82a2-4b93885918ec/1.7.5/vendors~60bbe788-b329-4b65-82a2-4b93885918ec--vendors.js:1
    s https://nr3.nr-ext.net/artifact-index-production/60bbe788-b329-4b65-82a2-4b93885918ec/1.7.5/vendors~60bbe788-b329-4b65-82a2-4b93885918ec--vendors.js:1
    (Async: promise callback)
    n https://nr3.nr-ext.net/artifact-index-production/60bbe788-b329-4b65-82a2-4b93885918ec/1.7.5/vendors~60bbe788-b329-4b65-82a2-4b93885918ec--vendors.js:1
    s https://nr3.nr-ext.net/artifact-index-production/60bbe788-b329-4b65-82a2-4b93885918ec/1.7.5/vendors~60bbe788-b329-4b65-82a2-4b93885918ec--vendors.js:1
    exports https://nr3.nr-ext.net/artifact-index-production/60bbe788-b329-4b65-82a2-4b93885918ec/1.7.5/vendors~60bbe788-b329-4b65-82a2-4b93885918ec--vendors.js:1
    exports https://nr3.nr-ext.net/artifact-index-production/60bbe788-b329-4b65-82a2-4b93885918ec/1.7.5/vendors~60bbe788-b329-4b65-82a2-4b93885918ec--vendors.js:1
    commitLifeCycles React

Then when clicking on the <Dropdown> to browse the entities it throws an additional error.

Warning: `value` prop on `input` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.
    in input (created by e)
    in div (created by e)
    in e (created by ForwardRef)
    in e (created by ForwardRef)
    in div (created by e)
    in div (created by e)
    in e (created by Context.Consumer)
    in div (created by Context.Consumer)
    in e (created by Context.Consumer)
    in e (created by Context.Consumer)
    in Vn (created by Context.Consumer)
    in e (created by e)
    in e (created by e)
    in e (created by e)
    in div (created by e)
    in e (created by ForwardRef)
    in e (created by ForwardRef)
    in a (created by t)
    in div (created by t)
    in form (created by t)
    in t (created by a)
    in div (created by e)
    in div (created by e)
    in e (created by e)
    in e (created by Modal(NR))
    in a (created by Context.Consumer)
    in div (created by e)
    in e (created by ForwardRef)
    in e (created by ForwardRef)
    in div (created by e)
    in e (created by ForwardRef)
    in e (created by ForwardRef)
    in a (created by Context.Consumer)
    in l
    in e react-dom.development.js:500:32

icpenguins avatar Jan 11 '21 19:01 icpenguins

Description

On occasion the SLO/R nerdpack will be unable to find the Entity with the lookup query used to set the state of the SLO definition form. This will make the form useless and the user will be unable to find any transactions or alerts defined for this entity.

This error seems to be encountered by all users of the nerdpack. The only work around is to delete/undeploy and nerdpack and readd it via the catalog.

Steps to Reproduce

This is episodic, but once it starts to happen it appears to keep happening.

Expected Behaviour

The entity where SLOs are being defined is looked up successfully all the time.

Relevant Logs / Console output

N/A - debug code has been added to record the occurrence of these events in the console

Your Environment

from version 1.7.1 of SLO/R

Additional context

N/A

We are facing the same issue..

jeenyapps avatar Feb 23 '21 12:02 jeenyapps

Does this issue explain why entity search fails to return any entities? I am able to define SLO/R down at the entity explorer level, but none of the features that suggest I can consolidate SLO/R widgets on the top-level page provided by the App Launcher seem to work. I tried disabling and re-adding under Manage Access but no luck.

We have about 20 sub-accounts. Could this have anything to do with it? Should I be expecting to see entities from all of the sub-accounts that are enabled? If not, how can I get the launcher to open into a single one of the sub-accounts?

peef1981 avatar May 14 '21 19:05 peef1981