2dcf24e060
This action will be called in the deployment workflow just after validation. It does the following: - Fetches the plan, environment files and role data - Builds a merged environment from the fetched plans - If a ContainerImagePrepare parameter is defined, do a dry-run prepare to determine the image parameters for when the actual prepare is run during the deployment. - Write the resulting image parameters to environments/containers-default-parameters.yaml and insert that file into the environments file list in the plan This dry-run prepare is the same approach used for containerized undercloud deployment. Doing a dry-run is fast compared to a full deploy because there are no image transfers or build performed, only inspect calls to image registries. The actual prepare will be done during the deployment when change I8b0c5e630e63ef6a2e6f70f1eb00fd02f4cfd1c0 lands. Blueprint: container-prepare-workflow Change-Id: Id5a4bec2d82e69ef53e7809984b4adba67deef3e
159 lines
9.8 KiB
INI
159 lines
9.8 KiB
INI
[metadata]
|
|
name = tripleo-common
|
|
summary = A common library for TripleO workflows.
|
|
description-file =
|
|
README.rst
|
|
author = OpenStack
|
|
author-email = openstack-dev@lists.openstack.org
|
|
home-page = https://docs.openstack.org/tripleo-common/latest/
|
|
classifier =
|
|
Environment :: OpenStack
|
|
Intended Audience :: Information Technology
|
|
Intended Audience :: System Administrators
|
|
License :: OSI Approved :: Apache Software License
|
|
Operating System :: POSIX :: Linux
|
|
Programming Language :: Python
|
|
Programming Language :: Python :: 2
|
|
Programming Language :: Python :: 2.7
|
|
Programming Language :: Python :: 3
|
|
Programming Language :: Python :: 3.5
|
|
|
|
[files]
|
|
packages =
|
|
tripleo_common
|
|
|
|
scripts =
|
|
scripts/bootstrap_host_exec
|
|
scripts/bootstrap_host_only_eval
|
|
scripts/bootstrap_host_only_exec
|
|
scripts/create_freeipa_enroll_envfile.py
|
|
scripts/pull-puppet-modules
|
|
scripts/run-validation
|
|
scripts/tripleo-build-images
|
|
scripts/tripleo-config-download
|
|
scripts/tripleo-container-image-prepare
|
|
scripts/upload-puppet-modules
|
|
scripts/upload-swift-artifacts
|
|
|
|
data_files =
|
|
lib/heat/undercloud_heat_plugins = undercloud_heat_plugins/*
|
|
share/tripleo-common = sudoers
|
|
share/tripleo-common/container-images = container-images/*
|
|
share/tripleo-common/image-yaml = image-yaml/*
|
|
share/tripleo-common/playbooks = playbooks/*
|
|
share/tripleo-common/workbooks = workbooks/*
|
|
share/tripleo-common/healthcheck = healthcheck/*
|
|
share/ansible/roles/ = roles/*
|
|
share/ansible/plugins/ = ansible_plugins/*
|
|
|
|
[build_sphinx]
|
|
source-dir = doc/source
|
|
build-dir = doc/build
|
|
all_files = 1
|
|
|
|
[upload_sphinx]
|
|
upload-dir = doc/build/html
|
|
|
|
[compile_catalog]
|
|
directory = tripleo_common/locale
|
|
domain = tripleo-common
|
|
|
|
[update_catalog]
|
|
domain = tripleo-common
|
|
output_dir = tripleo_common/locale
|
|
input_file = tripleo_common/locale/tripleo-common.pot
|
|
|
|
[extract_messages]
|
|
keywords = _ gettext ngettext l_ lazy_gettext
|
|
mapping_file = babel.cfg
|
|
output_file = tripleo_common/locale/tripleo-common.pot
|
|
|
|
[entry_points]
|
|
mistral.actions =
|
|
tripleo.baremetal.configure_boot = tripleo_common.actions.baremetal:ConfigureBootAction
|
|
tripleo.baremetal.configure_root_device = tripleo_common.actions.baremetal:ConfigureRootDeviceAction
|
|
tripleo.baremetal.get_node_hint = tripleo_common.actions.baremetal:GetNodeHintAction
|
|
tripleo.baremetal.get_profile = tripleo_common.actions.baremetal:GetProfileAction
|
|
tripleo.baremetal.register_or_update_nodes = tripleo_common.actions.baremetal:RegisterOrUpdateNodes
|
|
tripleo.baremetal.update_node_capability = tripleo_common.actions.baremetal:UpdateNodeCapability
|
|
tripleo.baremetal.cell_v2_discover_hosts = tripleo_common.actions.baremetal:CellV2DiscoverHostsAction
|
|
tripleo.baremetal.validate_nodes = tripleo_common.actions.baremetal:ValidateNodes
|
|
tripleo.baremetal.get_candidate_nodes = tripleo_common.actions.baremetal:GetCandidateNodes
|
|
tripleo.baremetal.probe_node = tripleo_common.actions.baremetal:ProbeNode
|
|
tripleo.config.download_config = tripleo_common.actions.config:DownloadConfigAction
|
|
tripleo.config.get_overcloud_config = tripleo_common.actions.config:GetOvercloudConfig
|
|
tripleo.container_images.prepare = tripleo_common.actions.container_images:PrepareContainerImageEnv
|
|
tripleo.container_images.prepare_params = tripleo_common.actions.container_images:PrepareContainerImageParameters
|
|
tripleo.deployment.config = tripleo_common.actions.deployment:OrchestrationDeployAction
|
|
tripleo.deployment.deploy = tripleo_common.actions.deployment:DeployStackAction
|
|
tripleo.deployment.get_deployment_failures = tripleo_common.actions.deployment:DeploymentFailuresAction
|
|
tripleo.deployment.convert_status = tripleo_common.actions.deployment:ConvertStatusAction
|
|
tripleo.deployment.overcloudrc = tripleo_common.actions.deployment:OvercloudRcAction
|
|
tripleo.derive_params.convert_number_to_range_list = tripleo_common.actions.derive_params:ConvertNumberToRangeListAction
|
|
tripleo.derive_params.convert_range_to_number_list = tripleo_common.actions.derive_params:ConvertRangeToNumberListAction
|
|
tripleo.derive_params.get_dpdk_nics_numa_info = tripleo_common.actions.derive_params:GetDpdkNicsNumaInfoAction
|
|
tripleo.derive_params.get_dpdk_core_list = tripleo_common.actions.derive_params:GetDpdkCoreListAction
|
|
tripleo.derive_params.get_dpdk_socket_memory = tripleo_common.actions.derive_params:GetDpdkSocketMemoryAction
|
|
tripleo.derive_params.get_host_cpus_list = tripleo_common.actions.derive_params:GetHostCpusListAction
|
|
tripleo.git.clean = tripleo_common.actions.vcs:GitCleanupAction
|
|
tripleo.git.clone = tripleo_common.actions.vcs:GitCloneAction
|
|
tripleo.heat_capabilities.get = tripleo_common.actions.heat_capabilities:GetCapabilitiesAction
|
|
tripleo.heat_capabilities.update = tripleo_common.actions.heat_capabilities:UpdateCapabilitiesAction
|
|
tripleo.package_update.update_stack = tripleo_common.actions.package_update:UpdateStackAction
|
|
tripleo.parameters.get = tripleo_common.actions.parameters:GetParametersAction
|
|
tripleo.parameters.get_flatten = tripleo_common.actions.parameters:GetFlattenedParametersAction
|
|
tripleo.parameters.get_network_config = tripleo_common.actions.parameters:GetNetworkConfigAction
|
|
tripleo.parameters.reset = tripleo_common.actions.parameters:ResetParametersAction
|
|
tripleo.parameters.update = tripleo_common.actions.parameters:UpdateParametersAction
|
|
tripleo.parameters.update_role = tripleo_common.actions.parameters:UpdateRoleParametersAction
|
|
tripleo.parameters.generate_passwords = tripleo_common.actions.parameters:GeneratePasswordsAction
|
|
tripleo.parameters.get_passwords = tripleo_common.actions.parameters:GetPasswordsAction
|
|
tripleo.parameters.get_profile_of_flavor = tripleo_common.actions.parameters:GetProfileOfFlavorAction
|
|
tripleo.parameters.generate_fencing = tripleo_common.actions.parameters:GenerateFencingParametersAction
|
|
tripleo.parameters.rotate_fernet_keys = tripleo_common.actions.parameters:RotateFernetKeysAction
|
|
tripleo.plan.create_container = tripleo_common.actions.plan:CreateContainerAction
|
|
tripleo.plan.delete = tripleo_common.actions.plan:DeletePlanAction
|
|
tripleo.plan.list = tripleo_common.actions.plan:ListPlansAction
|
|
tripleo.plan.export = tripleo_common.actions.plan:ExportPlanAction
|
|
tripleo.plan.update_from_dir = tripleo_common.actions.plan:UpdatePlanFromDirAction
|
|
tripleo.plan.update_networks = tripleo_common.actions.plan:UpdateNetworksAction
|
|
tripleo.plan.update_plan_environment = tripleo_common.actions.plan:UpdatePlanEnvironmentAction
|
|
tripleo.plan.gather_roles = tripleo_common.actions.plan:GatherRolesAction
|
|
tripleo.plan.update_roles = tripleo_common.actions.plan:UpdateRolesAction
|
|
tripleo.plan.validate_roles = tripleo_common.actions.plan:ValidateRolesDataAction
|
|
tripleo.plan.remove_noop_deploystep = tripleo_common.actions.plan:RemoveNoopDeployStepAction
|
|
tripleo.logging_to_swift.format_messages = tripleo_common.actions.logging_to_swift:FormatMessagesAction
|
|
tripleo.logging_to_swift.publish_ui_log_to_swift = tripleo_common.actions.logging_to_swift:PublishUILogToSwiftAction
|
|
tripleo.logging_to_swift.prepare_log_download = tripleo_common.actions.logging_to_swift:PrepareLogDownloadAction
|
|
tripleo.scale.delete_node = tripleo_common.actions.scale:ScaleDownAction
|
|
tripleo.swift.tempurl = tripleo_common.actions.swifthelper:SwiftTempUrlAction
|
|
tripleo.swift.swift_information = tripleo_common.actions.swifthelper:SwiftInformationAction
|
|
tripleo.templates.process = tripleo_common.actions.templates:ProcessTemplatesAction
|
|
tripleo.templates.upload = tripleo_common.actions.templates:UploadTemplatesAction
|
|
tripleo.templates.upload_plan_environment = tripleo_common.actions.templates:UploadPlanEnvironmentAction
|
|
tripleo.validations.get_pubkey = tripleo_common.actions.validations:GetPubkeyAction
|
|
tripleo.validations.get_privkey = tripleo_common.actions.validations:GetPrivkeyAction
|
|
tripleo.validations.enabled = tripleo_common.actions.validations:Enabled
|
|
tripleo.validations.list_groups = tripleo_common.actions.validations:ListGroupsAction
|
|
tripleo.validations.list_validations = tripleo_common.actions.validations:ListValidationsAction
|
|
tripleo.validations.run_validation = tripleo_common.actions.validations:RunValidationAction
|
|
tripleo.validations.upload = tripleo_common.actions.validations:UploadValidationsAction
|
|
tripleo.files.file_exists = tripleo_common.actions.files:FileExists
|
|
tripleo.files.make_temp_dir = tripleo_common.actions.files:MakeTempDir
|
|
tripleo.files.remove_temp_dir = tripleo_common.actions.files:RemoveTempDir
|
|
tripleo.files.save_temp_dir_to_swift = tripleo_common.actions.files:SaveTempDirToSwift
|
|
tripleo.files.restore_temp_dir_from_swift = tripleo_common.actions.files:RestoreTempDirFromSwift
|
|
tripleo.ansible-generate-inventory = tripleo_common.actions.ansible:AnsibleGenerateInventoryAction
|
|
tripleo.undercloud.get_free_space = tripleo_common.actions.undercloud:GetFreeSpace
|
|
tripleo.undercloud.create_backup_dir = tripleo_common.actions.undercloud:CreateBackupDir
|
|
tripleo.undercloud.create_database_backup = tripleo_common.actions.undercloud:CreateDatabaseBackup
|
|
tripleo.undercloud.create_file_system_backup = tripleo_common.actions.undercloud:CreateFileSystemBackup
|
|
tripleo.undercloud.upload_backup_to_swift = tripleo_common.actions.undercloud:UploadUndercloudBackupToSwift
|
|
tripleo.undercloud.remove_temp_dir = tripleo_common.actions.undercloud:RemoveTempDir
|
|
# deprecated for pike release, will be removed in queens
|
|
tripleo.ansible = tripleo_common.actions.ansible:AnsibleAction
|
|
tripleo.ansible-playbook = tripleo_common.actions.ansible:AnsiblePlaybookAction
|
|
tripleo.templates.upload_default = tripleo_common.actions.templates:UploadTemplatesAction
|
|
# deprecated for rocky release, will be removed in the "S" cycle
|
|
tripleo.role.list = tripleo_common.actions.plan:ListRolesAction
|