Uploaded image for project: 'Product Technical Learning'
  1. Product Technical Learning
  2. PTL-13357

Dynolabs script must enforce the deletion of a container image

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • RH294 - RHEL9.0-en-2-20221117
    • RH294
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • en-US (English)

      Please fill in the following information:


      URL: /home/student/.venv/labs/lib/python3.9/site-packages/rh294/ansible/common/remove-ee-image.yml
      Reporter RHNID:  
      Section Title:                                                                        

      Issue description

      The ansible task file uses podman_image component to remove the container image. However if the image is being used by any instance of ansible-navigator, this would fail. To make sure it is deleted, force the deletion by adding the parameter force:

      https://docs.ansible.com/ansible/latest/collections/containers/podman/podman_image_module.html#parameter-force

      Steps to reproduce:

      Leave one instance of ansible-navigator running and run the script lab review-cr1 start. The grading script does not raise an error and skips the creation of the swap disk that is fundamentally used by the grading.

      Workaround:

       

      Expected result:

              shasingh01 Shashi Singh
              rhn-gls-rtaniguchi Ricardo Taniguchi
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: