|Anonymous | Login | Signup for a new account||2018-05-23 10:53 CEST|
|My View | View Issues | Change Log | Roadmap | | Repositories | Search | My Account|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000824||bareos-core||[All Projects] director||public||2017-05-30 15:53||2017-06-08 15:21|
|Target Version||Fixed in Version|
|Summary||0000824: Consolidation job requires explicit Storage definiton in Pool resource|
|Description||Documentation states that defining Storage is not required in either Pool or Job resource, but that it must exist in at least one.|
However, I ran into the issue where Virtual Full job requires Storage to be defined in Pool resource even though it was already present at Job resource.
Error message presented was:
Fatal error: No Storage specification found in Next Pool "poolname".
Manually copying storage from Job to Pool resource removed the error and backup job completed successfully. This is bad workaround as this removes flexibility that we previously exploited in having Storage defined at Job level rather than Pool level.
Detected storage line in job log looks like this.
*When defined in Job resource:
"Storage: "storagename" (From Job resource)"
*When defined in Pool resource:
"Storage: "storagename" (From Storage from Pool's NextPool resource)"
If any more information is required, please do let me know.
Momcilo 'Momo' Medic.
|Steps To Reproduce||*Create pool without Storage definition.|
*Create Always Incremental job with Storage defined.
*Wait for first Consolidation job.
*Error is thrown.
|Tags||No tags attached.|
|Attached Files||0001-Fixes-bug-0000824-Consolidation-pool-requires-storag.patch [^] (1,061 bytes) 2017-06-08 15:21 [Show Content]|
This one seems relatively easy to fix.
We need to allow for backup to take place if we already have write storage defined.
I am attaching proposed patch that would make job only fail if wstorage is not defined in Job resource and we don't have storage in pool.
Patch is rather small and should be easy to review.
Please let me know if any more information is needed from me.
|2017-05-30 15:53||medicmomcilo||New Issue|
|2017-06-06 15:41||joergs||Status||new => acknowledged|
|2017-06-08 15:21||medicmomcilo||File Added: 0001-Fixes-bug-0000824-Consolidation-pool-requires-storag.patch|
|2017-06-08 15:21||medicmomcilo||Note Added: 0002651|
|Copyright © 2000 - 2018 MantisBT Team|