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

asset-inventory : job failed #910

Open
sdenef-adeo opened this issue Oct 18, 2022 · 4 comments
Open

asset-inventory : job failed #910

sdenef-adeo opened this issue Oct 18, 2022 · 4 comments

Comments

@sdenef-adeo
Copy link

Hello,

Where trying to add new CAI supported asset types to our inventory. But Dataflow jobs failed for the following ones:

  • datamigration.googleapis.com/MigrationJob
  • networkconnectivity.googleapis.com/Spoke

See errors below.

datamigration.googleapis.com/MigrationJob

Error from Dataflow job logs:

google.api_core.exceptions.BadRequest: 
400 Error while reading data, error message: 
JSON table encountered too many errors, giving up. Rows: 1; errors: 1. 
Please look into the errors[] collection for more details. 
File: gs://...../networkconnectivity.googleapis.com/Spoke.0.json 
[while running 'load_to_bigquery/load_to_bigquery']

Error from BigQuery logs:

Error while reading data, error message: 
JSON parsing error in row starting at position 0: No such field: resource.data.error.details.detail. 
File: gs://...../datamigration.googleapis.com/MigrationJob.0.json

networkconnectivity.googleapis.com/Spoke

Error from Dataflow job logs:

google.api_core.exceptions.BadRequest: 
400 Error while reading data, error message: 
JSON table encountered too many errors, giving up. Rows: 1; errors: 1. 
Please look into the errors[] collection for more details. 
File: gs://...../networkconnectivity.googleapis.com/Spoke.0.json 
[while running 'load_to_bigquery/load_to_bigquery']

Error from BigQuery logs:

Error while reading data, error message: 
JSON parsing error in row starting at position 0: No such field: resource.data.linkedRouterApplianceInstances.name. 
File: gs://...../networkconnectivity.googleapis.com/Spoke.0.json
@bmenasha
Copy link
Contributor

Is this repeatable? Is it possible for you to grant me access to the export file for me to recreate? (bmenasha@google.com) thanks

@sdenef-adeo
Copy link
Author

Hello,

Yes, it is repeatable.

I sent you the files via email as they are small (a few KB).

Regards,
Sébastien

@bmenasha
Copy link
Contributor

Thanks Sebastian, I have a fix for which I tested and the "latest" pipeline is now running but it has yet to be submitted as a pull request. Will submit the code fix in another pull request after PR #905 is reviewed and merged to avoid conflicts.
thanks

@agold-rh
Copy link
Contributor

@bmenasha PR #905 has been merged so feel free to submit your code fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants