Smithx10 / nomad-driver-triton

HashiCorp Nomad Triton driver plugin
15 stars 6 forks source link

Cloud API unable to retrieve most recent image #16

Closed shaikmanu797 closed 5 years ago

shaikmanu797 commented 5 years ago

$ triton images | grep test bd4de84c test 1565193974 I linux lx-dataset 2019-08-07 4687062a test 1566416256 I linux lx-dataset 2019-08-21

cloud_api {
         image {
           name = “test”
           most_recent = true
         }

Nomad job update deployment is not picking the most_recent image in this case (uuid: 4687062a) and instead running the update deployment against old image (uuid: bd4de84c) retrieved in initial run.