Skip to content
Snippets Groups Projects
Commit 8f4c1144 authored by Steven Murray's avatar Steven Murray Committed by Steven Murray
Browse files

This commit works towards implementing the following RFE:

bug #68020: RFE: The mighunter should gracefully stop when it encounters an invalid migration-policy or stream-policy function-name

Improved the rather misleading error-message that is logged by the mighunter
when the migrator-policy Python-function does not attach a tape-copy to any
tape-pool.
parent 0f7aedc9
Branches
Tags
No related merge requests found
......@@ -281,6 +281,7 @@ char *sys_sterrlist[ESTMAXERR-ESTBASEOFF+2] =
"File has no copy on tape and no diskcopies are accessible",
"File is on an offline tape",
"Request canceled while queuing",
"Tape-copy not found",
"BAD ERROR NUMBER"
};
......
......@@ -287,7 +287,8 @@
#define ESTNOSEGFOUND ESTBASEOFF+23 /* File has no copy on tape and no diskcopies are accessible */
#define ESTTAPEOFFLINE ESTBASEOFF+24 /* File is on an offline tape */
#define ESTREQCANCELED ESTBASEOFF+25 /* Request canceled while queuing */
#define ESTMAXERR ESTBASEOFF+25
#define ESTTCNOTFOUND ESTBASEOFF+26 /* Tape-copy not found */
#define ESTMAXERR ESTBASEOFF+26
/*
*------------------------------------------------------------------------
......
......@@ -599,6 +599,9 @@ The following error values are returned only by the stager package:
.TP
.B ESTREQCANCELED
(1725) Request canceled while queuing
.TP
.B ESTTCNOATTACH
(1726) Tape-copy not found
.SH SYSREQ ERRORS
The following error value is returned only by the sysreq package:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment