It should be trivial to see packer config for how an ami was created
Categories
(Taskcluster :: Workers, defect)
Tracking
(Not tracked)
People
(Reporter: pmoore, Unassigned)
References
(Depends on 1 open bug)
Details
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.
Reporter | ||
Updated•9 years ago
|
Updated•7 years ago
|
Comment 1•6 years ago
|
||
Found in triage. Pete: did Wander's recent work on docker-worker deployments fix this for you?
Reporter | ||
Comment 2•6 years 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.
Reporter | ||
Updated•6 years ago
|
Comment 3•6 years ago
|
||
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?
Comment 4•6 years ago
|
||
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..
Assignee | ||
Updated•5 years ago
|
Reporter | ||
Comment 5•5 years ago
|
||
This is solved by the generic-worker to docker-worker migration, since generic-worker tasks link to a source file which describes how the host machine was set up.
Comment 6•4 years ago
|
||
Pete, there might be some good ideas here to mix into discussions of how we recommend users handle image generation..
Reporter | ||
Comment 7•4 years ago
•
|
||
We could make the workers (generic-worker/docker-worker) have a required config property, which is a link to the host environment definition, which gets reported in the task log header of all task runs they execute.
Currently the capability to provide the link to the host environment exists in generic-worker, but it isn't enforced.
I don't think such a feature exists in docker-worker.
I have mixed feelings about whether it should be enforced or not by the worker, but I strongly feel for worker types that we manage on the community cluster, we should provide this information, and that docker-worker should also support the feature. I think it is reasonable to expect this of the firefox cluster too.
Reporter | ||
Comment 8•3 years ago
|
||
Not actively working on this at the moment.
Reporter | ||
Comment 9•10 months ago
|
||
Reopening inactive bugs, because they may still need attention. Historically, inactive bugs were closed, but this hides the fact there are genuine issues which have not been resolved.
Reporter | ||
Updated•10 months ago
|
Description
•