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

Unable to store data in Dgraph #119

Open
JohnDevel opened this issue Oct 19, 2023 · 3 comments
Open

Unable to store data in Dgraph #119

JohnDevel opened this issue Oct 19, 2023 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@JohnDevel
Copy link

Thank you for filling out a bug report, we really appreciate any help in improving the CloudGraph CLI and providers!

Describe the bug
In the process of executing CG_DEBUG=5 cg scan aws, there is some error messages such as "unable to store data in Dgraph". These are from "alb, apiGatewayRestAPI, cloudwatchEventRule, kinesisFirehose, s3, securityHubStandardSubscription, vpc" services.
I check "Your data for aws has been saved to /root/.local/share/cloudgraph/cg/version-9" messages, for example in "kinesisFirehose" service there is 2 resources in "cg/version-9/aws_1697656492879", but unable to store this data in Dgraph. Understand? Help me.

To Reproduce
Steps to reproduce the behavior:

  1. cg init
  2. cg launch
  3. CG_DEBUG=5 cg scan aws
  4. and error

Please include the cg-debug.log file if applicable
123

Please solve this problem. Please able to store the data inDgraph.

@JohnDevel JohnDevel added the bug Something isn't working label Oct 19, 2023
@JohnDevel
Copy link
Author

Please solve this problem!!!

@novad03
Copy link

novad03 commented Nov 2, 2023

@JohnDevel, I got a same problem.
At first time, My partner and I thought there would be any mismatched schema name.
But It wasn't. Please let me share experiment scenario.

  • as result of CG_DEBUG=5 cg scan
    Screenshot from 2023-11-02 21-52-44
    As you see, getting data is ok.

  • I tried to insert data gathered into dgraph, as defined mutation.
    mutation($input: [AddawsVpcInput!]!) { addawsVpc(input: $input, upsert: true) { numUids } }
    It worked well as shown below snapshot.
    Screenshot from 2023-11-02 21-58-33

I hope it would be very helpful to you.

I will Keep tracing on this bug.

Sincerely,
Thank you.

@tyler-dunkel
Copy link
Contributor

Please check if the steps here help resolve your issue. Unfortunately it is an issue internal to Dgraph that they have not fixed yet. #117 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants