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

instance id / private IP not showing #101

Open
rulixxx opened this issue Nov 20, 2023 · 3 comments
Open

instance id / private IP not showing #101

rulixxx opened this issue Nov 20, 2023 · 3 comments

Comments

@rulixxx
Copy link

rulixxx commented Nov 20, 2023

I've managed to get things working with the quickstart. However when I look at runnin job I see that the sections for instance id or private ip are not being populated. Is there a setting that controls this?

@JonathanAquino-NextRoll
Copy link
Contributor

it doesn't seem t be populated for us either, and we created batchiepatchie.

image

@rulixxx
Copy link
Author

rulixxx commented Nov 28, 2023

Ok I've never done any go or postgres but I took a closer look at this. I noticed that I was seeing and error in the logfile from the postgres container. It was complaining that it could not insert a null value into one of the tables. So I went to look where the table is defined (task_arns_to_instance_info) and indeed it has as a restriction that both private and public ips cannot be null. Our batch setup (and yours I guess) only uses private ips. Allowing those two fields to take on null values seems to allow the ip fields and the instance id to be correctly populated.

Would you like me to make a pull request with the suggested change?

@JonathanAquino-NextRoll
Copy link
Contributor

sure that'd be great. note that it may take me a while to get around to testing and merging it

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

2 participants