Skip to content

Unable to store data in Dgraph #119

Open

Description

@JohnDevel

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.

Activity

  1. JohnDevel commented on Oct 23, 2023

    @JohnDevel
    Author

    Please solve this problem!!!

  2. novad03 commented on Nov 2, 2023

    @novad03

    @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.

  3. tyler-dunkel commented on Nov 8, 2023

    @tyler-dunkel
    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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions