batchiepatchie icon indicating copy to clipboard operation
batchiepatchie copied to clipboard

instance id / private IP not showing

Open rulixxx opened this issue 2 years ago • 3 comments

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?

rulixxx avatar Nov 20 '23 09:11 rulixxx

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

image

JonathanAquino-NextRoll avatar Nov 21 '23 07:11 JonathanAquino-NextRoll

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?

rulixxx avatar Nov 28 '23 18:11 rulixxx

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

JonathanAquino-NextRoll avatar Nov 28 '23 20:11 JonathanAquino-NextRoll