Tobiko 0.8.4

Release Notes

0.8.4

Prelude

New CLI command tobiko

New Features

  • New CLI command tobiko is added. This new tool can be used to e.g. run some background commands by Tobiko. Currently the only supported command is tobiko ping which can be used to run ping of the server in the background process (e.g. to run it from the POD on the OpenShift cluster)

  • Support for running background ping process from the OpenShift POD. This will be done that way automatically when Tobiko will be using podified topology class but also can be enabled on the tripleo topology by setting run_background_ping_in_pod to true in the tobiko config file. Running background ping from the POD on the tripleo topology is useful in e.g. adoption jobs to run background ping during the whole adoption process.

  • Tobiko roles can customize guest images before test execution

    CI jobs using tobiko ansible roles have three options to use customized guest images:

    • The new default behavior is that the Tobiko ansible roles will customize the Ubuntu guest images before test execution. The command to customize the image can be modified overriding download_images.ubuntu-customized.customize_command_pattern

    • If download_images.ubuntu-customized.customized is overriden and set to true, the image from the provided URL will not be customized. It is expected that the provided image is already customized

    • The legacy behavior, to customize Ubuntu images during test execution, can be applied by removing the default definition from download_images.ubuntu-customized.customize_command_pattern and setting download_images.ubuntu-customized.customized to false. This option will not be available in next Tobiko releases.

Deprecation Notes

  • Tobiko roles can customize guest images before test execution

    The “legacy behavior” option from the New feature Tobiko roles can customize guest images before test execution will be deprecated. In next Tobiko releases, it will not be possible to customize Ubuntu images during test exeuction.

Other Notes

  • Introduced new config option run_background_ping_in_pod which can be used to run background ping process using OpenShift POD even if tests are run on the tripleo topology.

  • Introduced new config option tobiko_image which can be used to specify image which will be used to run POD with e.g. tobiko ping command to run background ping inside the OpenShift POD.

  • Introduced new config option tobiko_start_pod_timeout which can be used to define how much time Tobiko will wait for the POD with background process to be Running. In most cases there is no need to wait long time for that but if image specified in the tobiko_image config option is not in the local registry, downloading it may take some time and then adjusting this timeout setting may be necessary.

  • Introduced new config option background_tasks_project which allows to speficy an OpenShift namespace in which PODs with background tasks, like e.g. tobiko ping will be created. If this namespace don’t exists in the OpenShift cluster, it will be created.