Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kibana API saved object export/import issue. #123406

Closed
asazallesmilner opened this issue Jan 19, 2022 · 6 comments
Closed

Kibana API saved object export/import issue. #123406

asazallesmilner opened this issue Jan 19, 2022 · 6 comments
Labels
bug Fixes for quality problems that affect the customer experience Feature:Saved Objects impact:needs-assessment Product and/or Engineering needs to evaluate the impact of the change. loe:needs-research This issue requires some research before it can be worked on or estimated Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc v7.16.1 v7.16.2

Comments

@asazallesmilner
Copy link

Branching this off from where we made an initial comment as the issue looked similar

We see it when we try and use the saved objects import API with object exported with the export API.

@asazallesmilner are you importing the saved objects into the same space as they were exported from? we have tried going between two different clusters into the same space.

The logs given in the issue's description don't give us much to go on here, we ideally need verbose logs.

The steps to reproduce also don't mention exporting an importing saved objects so we need more info on how you came across the bug please.
For example:

  • Does the new cluster have any data already?
    cluster already has minimal data
  • Which space are you trying to import the saved objects into?
  • Is the kibana you've exported the SO from on the same version as the one you're trying to import data into?
    both are 7.16. But one is 7.16.1 and other was 7.16.2
  • Does the user have the same permissions in both clusters (assuming they are different clusters that is?)
    same permissions
  • Are the licenses the same?
    same license
  • Are the same plugins enabled?
    yes
    etc...

Deployment is different, one is k8s/eck, the other is cloud.
Some spaces DID get dashboards when we tried this but we have no idea what made a difference.

Originally posted by @TinaHeiligers in #120422 (comment)

@botelastic botelastic bot added the needs-team Issues missing a team label label Jan 19, 2022
@asazallesmilner
Copy link
Author

Created this is a separate issue to not muddy the waters in the other issue,
@TinaHeiligers
The error does look just like issue #120422
But we haven't been able to find the actual logs from the import url.

We saw it submit, says is succeeded, but most of the saved objects never shows up.

@asazallesmilner
Copy link
Author

@dclassen-maxar is working this issue more closely then me.

@TinaHeiligers TinaHeiligers added bug Fixes for quality problems that affect the customer experience Feature:Saved Objects Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc v7.16.1 v7.16.2 labels Jan 19, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-core (Team:Core)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Jan 19, 2022
@TinaHeiligers
Copy link
Contributor

Thanks for the ping and creating a new issue for the saved objects import/export bug. We'll investigate and report back.

@TinaHeiligers
Copy link
Contributor

Description rephrased:

Bug
Bad requests from spaces saved object client when importing saved objects using the API.

Kibana version:
7.16.1 & 7.16.2

Server OS version:
k8s/eck & Cloud

Original install method (e.g. download page, yum, from source, etc.):
Staging

Describe the bug:
Multiple bad request errors are logged when importing saved objects using the import API.
The import succeeds but some saved objects appear to be "missing".

@dclassen-maxar, please let us know if this describe the issue properly and if "missing" means that the saved objects aren't listed in the saved objects list view or that they don't get imported at all.

@TinaHeiligers TinaHeiligers added impact:needs-assessment Product and/or Engineering needs to evaluate the impact of the change. loe:needs-research This issue requires some research before it can be worked on or estimated labels Jan 19, 2022
@dclassen-maxar
Copy link

dclassen-maxar commented Jan 20, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:Saved Objects impact:needs-assessment Product and/or Engineering needs to evaluate the impact of the change. loe:needs-research This issue requires some research before it can be worked on or estimated Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc v7.16.1 v7.16.2
Projects
None yet
Development

No branches or pull requests

5 participants