It should be trivial to see packer config for how an ami was created



4 years ago
2 months ago


(Reporter: pmoore, Unassigned, NeedInfo)





4 years ago
We currently lack transparency of how an ami was created, that is used by a given workerType.

It would be useful to:
a) have an overview of available amis
b) for each ami, to be able to see the packer config used (or the git commit of docker-worker that the ami was created from)

The goal is that someone with no inside knowledge can ascertain exactly what an ami contains, and how it differs to other available amis.

It might also be useful to show worker types that are associated to a given ami (at the moment it is not easy to have an overview if we just have a couple of amis that are used across all the worker types, or if each worker type typically is using a different ami).

Another option might be that the worker type specifies e.g. a packer config, and something else takes care of generating amis when a new packer config is used that has no existing ami.

Separately we could maintain a mapping of packer configs to amis, and this would make it much more transparent to understand how worker types are configured, and also make it easier to create new ones without needing to worry about the publishing-a-new-ami steps.


4 years ago
Component: TaskCluster → General
Product: Testing → Taskcluster
Component: General → Docker-Worker
Found in triage.

Pete: did Wander's recent work on docker-worker deployments fix this for you?
Flags: needinfo?(pmoore)

Comment 2

9 months ago
I don't think so - I think we should revisit this topic as part of redeployability, when we get to workers.

I think the argument still holds.

I'll see if I can turn it into an RFC.
Flags: needinfo?(pmoore)


9 months ago
Flags: needinfo?(pmoore)
This would probably now apply to how generic-worker is built and deployed.  Pete, you already have a needinfo here so I can't add it, but .. does this bug still make sense?
Component: Docker-Worker → Worker
QA Contact: pmoore
I've been thinking that it might be nice in the worker-manager to allow looking up AMIs by tags.  For GCP, we have image names, which we can make reasonably descriptive (gw-v11-1-0-debian-9-985ab89ef for example at least says what version of livelog was installed).  As part of the build process we could add other metadata such as the livelog version to the image as tags (or in GCP, in the description).

However, the build process is still a giant ❓ in general (I'm only working on the "getting started" workers in bug 1502371), so I'm not sure how this would work..
You need to log in before you can comment on or make changes to this bug.