Project

General

Profile

Actions

Bug #4748

closed

errors on import manifest should complete dynflow task and display information to user

Added by Thomas McKay almost 11 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Orchestration
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

% hammer -v subscription upload --organization-id megacorp --file test/data/megacorp.zip
....this will work first time....
% hammer -v subscription upload --organization-id megacorp --file test/data/megacorp.zip
ERROR 2014-03-20 11:15:13 Exception ForemanTasks::Lock::LockConflict
Manifest upload failed:
ForemanTasks::Lock::LockConflict

In this case, an error importing the manifest happened ("manifest already imported") and this should be a non-error information message to user.

Other cases (such as trying to import that manifest into an org other than megacorp) will generate real error message which should be displayed to user and dynflow task completed anyway (with rollback if necessary).

Actions

Also available in: Atom PDF