Running:
$ openstack tripleo container image prepare default \
--output-env-file prepare-default.yaml \
--local-push-destination
$ openstack tripleo container image prepare -e prepare-default.yaml
Will read a Heat template with ContainerImagePrepare, prepare containers
and upload to a registry if needed.
The idea is to replace the other commands used by the overcloud for any
use case: undercloud, overcloud or any cloud.
One of the goals here is to execute this process before starting the
containers while deploying OpenStack on any cloud.
Change-Id: Ie4b7951147f5a1aec654982e21296a749fdd865c
Blueprint: container-prepare-workflow
15 lines
719 B
YAML
15 lines
719 B
YAML
---
|
|
features:
|
|
- |
|
|
The new command `openstack tripleo container image prepare` will do the
|
|
same container image preperation which happens during undercloud and
|
|
overcloud deploy, but in a standalone command. The prepare operations are
|
|
driven by a heat environment file containing the parameter
|
|
`ContainerImagePrepare`. This parameter allows multiple upload and
|
|
modification operations to be specified, and the result will be a list of
|
|
image parameters to use during a tripleo deployment.
|
|
|
|
The command `openstack tripleo container image prepare default` will
|
|
generate a `ContainerImagePrepare` with the recommended defaults to use for
|
|
`openstack tripleo container image prepare`.
|