Workflow for pre-deployment container prepare
Before deploying or updating a containerised overcloud the following workflow tasks are required:
- introspect the registry to discover the versioned tag from the stable tag
- if a local registry (undercloud or other) is serving the images to overcloud nodes, copy the required images to the local registry
- update the plan with image parameters for the required registry and tags
- return the list of images to the caller
This workflow will be invoked by the UI or by a new CLI command which will replace the following CLI commands:
overcloud container image tag discover
overcloud container image prepare
overcloud container image upload
This blueprint will be considered done when the UI and CLI can invoke the workflow to perform any required image preperation.
Blueprint information
- Status:
- Complete
- Approver:
- None
- Priority:
- High
- Drafter:
- Steve Baker
- Direction:
- Approved
- Assignee:
- Steve Baker
- Definition:
- Approved
- Series goal:
- Accepted for rocky
- Implementation:
- Implemented
- Milestone target:
- rocky-rc2
- Started by
- Steve Baker
- Completed by
- Alex Schultz
Related branches
Related bugs
Sprints
Whiteboard
[2018-07-25] FFE Requested http://
[2017-12-08] Moving out to Rocky. Please request FFE if this is needed for Queens.
Gerrit topic: https:/
Addressed by: https:/
Autodetect insecure registry in container image prepare
Addressed by: https:/
Autodetect insecure registry in container image prepare
Gerrit topic: https:/
Addressed by: https:/
WIP move more prepare logic into kolla_builder
Addressed by: https:/
WIP move more prepare logic into kolla_builder
Addressed by: https:/
WIP prepare action extra arguments
Addressed by: https:/
Use push_destination as the registry host in env file
Addressed by: https:/
Use skopeo for tag discover
Addressed by: https:/
WIP Discover every tag on prepare
Gerrit topic: https:/
Gerrit topic: https:/
Addressed by: https:/
Skip unnecessary image uploads
Addressed by: https:/
WIP Define workflow interface for image prepare/upload
Gerrit topic: https:/
Addressed by: https:/
Include a default for tag_from_label
Gerrit topic: https:/
Addressed by: https:/
WIP document workflow driven container prepare
Addressed by: https:/
Document functions for container prepare
Addressed by: https:/
Represent image prepare defaults in new heat param format
Addressed by: https:/
Move build_service_
Addressed by: https:/
WIP Perform multiple container image prepares and merge result
Addressed by: https:/
Use the build_service_
Addressed by: https:/
Break out function get_undercloud_
Addressed by: https:/
WIP repurpose action container_
Addressed by: https:/
Add the docker group to the mistral user
Addressed by: https:/
Switch to concurrent.futures for container prepare/upload
Addressed by: https:/
WIP Action to perform container image prepare
Gerrit topic: https:/
Addressed by: https:/
Add the docker group to the mistral user
Addressed by: https:/
Refactor functions out of ProcessTemplate
Addressed by: https:/
Add the undercloud mistral user to the docker group
Addressed by: https:/
Expose parameter MistralDockerGroup
Addressed by: https:/
Add the undercloud mistral user to the docker group
Gerrit topic: https:/
Addressed by: https:/
Implement image customization during upload
Addressed by: https:/
Prepare call, add --modify-role and --modify-vars
Addressed by: https:/
Cleanup dead code, build_service_
Addressed by: https:/
WIP - Implement TripleoImagePrepare command
Addressed by: https:/
Move BUILD_ID setting logic out of template
Addressed by: https:/
Run "overcloud container image prepare" only once
Addressed by: https:/
WIP Use "openstack tripleo container image prepare"
Addressed by: https:/
Disable repo centos-qemu-ev
Addressed by: https:/
Revert "Run "overcloud container image prepare" only once"
Gerrit topic: https:/
Addressed by: https:/
Revert "Revert "Run "overcloud container image prepare" only once""
Addressed by: https:/
Use a dedicated prepare command for container-check
Addressed by: https:/
Add an "includes" prepare filter to match "excludes"
Addressed by: https:/
WIP Use role tripleo-
Addressed by: https:/
Add --include argument to old prepare command
Addressed by: https:/
Add a dry-run behaviour to image image_uploader
Addressed by: https:/
Do prepare with dry_run=True where appropriate
Addressed by: https:/
Test target image exists before modifying
Addressed by: https:/
Run image prepare after registry install
Addressed by: https:/
Use correct modify_append_tag key
Addressed by: https:/
Use the in-built image prepare for undercloud install
Addressed by: https:/
WIP Use role tripleo-
Addressed by: https:/
Don't return image tags during dry_run=True
Addressed by: https:/
Switch to workflow driven image prepare
Addressed by: https:/
Use correct modify_append_tag key (again)
Addressed by: https:/
Allow a containerized mistral-executor to access docker
Addressed by: https:/
update the gating repo name in container updates
Addressed by: https:/
ensure the updates workflow checks container changes
Addressed by: https:/
Use user and group instead of ensure_resource
Addressed by: https:/
Add openshift images to ContainerImageP
Addressed by: https:/
Use ACL instead of docker group for mistral
Addressed by: https:/
Add different upload cleanup behaviours
Addressed by: https:/
Add --cleanup argument for image uploads
Addressed by: https:/
Include docker package in mistral-executor image
Addressed by: https:/
Undercloud specific volumes for mistral-executor container
Addressed by: https:/
Implement group_add
Addressed by: https:/
WIP add docker group to mistral-executor container
Addressed by: https:/
Create docker group and find gid in tripleo deploy
Addressed by: https:/
Do undercloud container prepare in external_
Addressed by: https:/
Break out image prepare into its own "service"
Addressed by: https:/
WIP Always enable prepare service for docker clouds
Gerrit topic: https:/
Addressed by: https:/
WIP Revert "Action to perform container image prepare"
Addressed by: https:/
Revert "Revert "Action to perform container image prepare""
Addressed by: https:/
Add tripleoclient to mistral image
Addressed by: https:/
Add container_
Addressed by: https:/
Create script tripleo-
Addressed by: https:/
Add sudoers entry for tripleo-
Addressed by: https:/
Always enable image prepare service for docker clouds
Addressed by: https:/
Rocky: Switch to workflow driven image prepare
Addressed by: https:/
Switch featuresets to workflow driven image prepare
Addressed by: https:/
Document container prepare workflow
Addressed by: https:/
Hook openshift deployment with image prepare
Addressed by: https:/
Hook openshift deployment with image prepare