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

"Error: empty field to add parent" during sync #56

Closed
thoellrich opened this issue Feb 21, 2017 · 3 comments
Closed

"Error: empty field to add parent" during sync #56

thoellrich opened this issue Feb 21, 2017 · 3 comments
Labels

Comments

@thoellrich
Copy link

Just pulled the latest sources and rebuilt after issue #34 was marked as fixed. Now I see this:

$ awless version -e -v
awless version=0.0.13
$ awless sync -e -v
[info] running sync: fetching remote resources for local store
Error: empty field to add parent

Using dlv it appears we are here when it happens:

(dlv) bt
0  0x00000000004c113b in github.com/wallix/awless/cloud/aws.funcBuilder.addRelationWithField.func1
   at ./cloud/aws/parents.go:102
1  0x00000000004bf472 in github.com/wallix/awless/cloud/aws.(*Infra).FetchResources.func14
   at ./cloud/aws/gen_api.go:324
2  0x0000000000459331 in runtime.goexit
   at /usr/local/go/src/runtime/asm_amd64.s:2086

How can I find out what awless is complaining about?

@fxaguessy
Copy link
Contributor

Thanks for the error investigation (and reporting).
This is due to a security group being in no VPC. We will add context to errors and fix this bug soon.

@fxaguessy
Copy link
Contributor

You can now pull. This should be fixed.

@thoellrich
Copy link
Author

👍 - works fine now! Thanks!

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

No branches or pull requests

2 participants