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

CL210-406: Typo in Grading Script for Chapter 7 - Lab: Troubleshooting OpenStack

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • CL210 - RHOSP13.0 1
    • CL210 - RHOSP10.1 2 20171006
    • CL210
    • None
    • RHEL7

      RHOSP10.1

    • en-US (English)

      URL:
      Reporter RHNID: amadhusu-RHLS
      Section: - Lab: Troubleshooting OpenStack
      Language: en-US (English)
      Workaround: Ignoring the Grading Script error is the workaround as of now

      Description: According to the Lab, the image "production-rhel7" should be removed. The grading script - "lab troubleshooting-review grade" checks whether rhel7 image is removed instead of production-rhel7 due to a typo in the script. The script checks for the variable "image_name" instead of "image_name2".

      As the operator1 user, remove the existing image called production-rhel7. The operator1-production-rc file can be found in student's home directory on workstation. Troubleshoot any problems.

      1. Source the /home/student/operator1-production-rc file.
        [student@workstation ~]$ }}{{source ~/operator1-production-rc
      2. Delete the existing image.
        [student@workstation ~(operator1-production)]$ }}{{openstack image delete }}{{production-rhel7
        Failed to delete image with name or ID '21b3b8ba-e28e-4b41-9150-ac5b44f9d8ef': 403 Forbidden
        Image 21b3b8ba-e28e-4b41-9150-ac5b44f9d8ef is protected and cannot be deleted.
        (HTTP 403)
        Failed to delete 1 of 1 images.
      3. The error you see is because the image is currently protected. You need to unprotect the image before it can be deleted.
        [student@workstation ~(operator1-production)]$ }}{{openstack image set }}{{--unprotected production-rhel7[student@workstation ~(operator1-production)]$ }}{{openstack image delete }}{{production-rhel7

      Customer SFDC Case Reference: 01991120

              snehk_jira Snehangshu Karmakar (Inactive)
              amadhusu Achyut Madhusudan (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: