Skip to content

[Enhancement] API call to unlock a profile definition ? #942

@Bischoff

Description

@Bischoff

My users sometimes face issues like this one:

> delete_s390_guest S43MINUE
HTTP status: 500, body: {"overallRC": 8, "modID": 1, "rc": 400, "rs": 12, "errmsg": "SMT error: SMT request
failed. RequestData: 'deletevm S43MINUE directory', Results: '{'overallRC': 8, 'rc': 400, 'rs': 12, 'errno':
0, 'strError': 'ULGSMC5400E Image or profile definition is locked ', 'response': ['(Error) ULTVMU0300E
SMAPI API failed: Image_Delete_DM, overall rc: 8, rc: 400, rs: 12, errno: 0, cmd: sudo /opt/zthin/bin/smcli 
Image_Delete_DM --addRCheader -T S43MINUE -e 0 --timeout 240, out:   API issued : Image_Delete_DM',
'Deleting S43MINUE from the directory... ', 'Failed', '  Return Code: 400', '  Reason Code: 12',
'  Description: ULGSMC5400E Image or profile definition is locked ', '  API issued : Image_Delete_DM']}'.",
"output": ""}

Of course I can login as MAINT in a 3270 terminal and do

dirm for S43MINUE unlock

but this is not something the Feilong users can do by themselves to get ublocked.

Would it make sense to add a call to remove a SMAPI lock for a given userid?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions