-
Bug
-
Resolution: Done
-
Major
-
CL210 - RHOSP10.1 2 20171006
-
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.
- Source the /home/student/operator1-production-rc file.
[student@workstation ~]$ }}{{source ~/operator1-production-rc - 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. - 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