Actions
Bug #32421
closedhammer export fails with super large chunk size (change chunk-size-mb to gb)
Status:
Closed
Priority:
Normal
Assignee:
Category:
Inter Server Sync
Target version:
Difficulty:
Triaged:
Yes
Description
```
- hammer content-export complete library --organization-title "export-153" --chunk-size-mb 100000000000000
[................................................................................] [100%]
Error: [Errno 32] Broken pipe
undefined method `first' for nil:NilClass
```
Fails while
- hammer content-export complete library --organization-title "export-153" --chunk-size-mb 1000000000000
[................................................................................] [100%]
```
works.
The issue here is that the user may accidentally assume `--chunk-size-mb` and feed unusually large numbers.
We need katello to handle this invalid size error better and fail gracefully.
Actions