I'm getting the error "OS image Cannot be edited or deleted. It still assigned to a computer OSG000503" when trying to delete an OS image. How to find the computers it is assigned to?

book

Article ID: 16854

calendar_today

Updated On:

Products

CA Automation Suite for Data Centers - Configuration Automation CA Client Automation - Asset Management CA Client Automation - IT Client Manager CA Client Automation CA Client Automation - Remote Control CA Client Automation - Asset Intelligence CA Client Automation - Desktop Migration Manager CA Client Automation - Patch Manager

Issue/Introduction

An OS image can not be deleted if it's still assigned to Computers



I need to remove old OS images but I'm getting the error "OS image Cannot be edited or deleted.

It still assigned to a computer OSG000503" when trying to delete an OS image.

How to find the computers it is assigned to?

Environment

CA-Client Automation - All versions

Resolution

In order to find the Computers that still have the OS Image assigned to them, select OS Installations under Computer and Users > All Computers > {Group Details}.

The default view (Basic) does not allow to see the assigned OS image that can be seen in the Details view that can be selected as shown in the following screenshot:

 

<Please see attached file for image>

src="/servlet/servlet.FileDownload?file=0150c000004AKZIAA4" alt="OS Installation-basic-view.png" width="914" height="669">

 

Once selected, the following Detailed view is shown and can be filtered by the OS Image name or just sort the OS Image column to find the related Computers that can then be edited to change the OS Image or delete them from OS Installation Management

 

<Please see attached file for image>

src="/servlet/servlet.FileDownload?file=0150c000004AKZJAA4" alt="OS Installation-detail-view.png" width="927" height="646">

Additional Information

To finish removing the OS Image from the Domain Manager, it must be removed from the remote Boot Servers by using the procedure "Remove from BootServer" from the same package used to add it to the Boot Server.

To delete it from the Domain Manager it can be done from the list shown by selecting Software > Boot and OS Image Library > OS Images

 

<Please see attached file for image>

OS Images-before delete.png

 

Once deleted, the Image is still shown as Detected as it has been removed from the Boot Server but not from the Local Image Preparation System

<Please see attached file for image>

OS Images-after delete.png

 

The OS Image can be finally deleted from the list Software > Boot and OS Image Library > Image Prepare System > Local OS Images

<Please see attached file for image>

Local OS Images-before delete.png

Attachments

1558719226686000016854_sktwi1f5rjvs16v89.png get_app
1558719224823000016854_sktwi1f5rjvs16v88.png get_app
1558719223128000016854_sktwi1f5rjvs16v87.png get_app
1558719221081000016854_sktwi1f5rjvs16v86.png get_app
1558719219114000016854_sktwi1f5rjvs16v85.png get_app