-
Bug
-
Resolution: Done-Errata
-
Major
-
6.13.0
-
False
-
-
False
-
CLOSED
-
2,200
-
True
-
Phoenix
-
-
-
Sprint 113, Sprint 114, Sprint 115, Sprint 116
-
Important
Description of problem:
Running "# hammer content-export incremental library --organization="RedHat"" command on Satellite server fails with below error.
~~~
Error: Error message: the server returns an error
HTTP status code: 400
Response headers:
Response body:
{"non_field_errors":["Incremental export can only be requested when there is a previous export or start_versions= has been specified."]}undefined method `output_file_info' for nil:NilClass
~~~
Version-Release number of selected component (if applicable): satellite-6.13.0-4.el8sat.noarch
How reproducible: Always
Steps to Reproduce:
1. Run below command on Satellite to export the Library environment.
- hammer content-export complete library --organization="My_Organization
2. The required directory is created within "/var/lib/pulp/exports/My_Organization/Export-Library"
3. Run following command to export Library environment incrementally:
- hammer content-export incremental library --organization="My_Organization"
Actual results: The command fails with below error:
Error: Error message: the server returns an error
HTTP status code: 400
Response headers:
Response body:
{"non_field_errors":["Incremental export can only be requested when there is a previous export or start_versions= has been specified."]}undefined method `output_file_info' for nil:NilClass
Expected results: The command should get executed successfully.
Additional info: Following steps as per Section-8.2 and Section-8.4 from following documentation: https://dxp-docp-prod.apps.ext-waf.spoke.prod.us-west-2.aws.paas.redhat.com/documentation/en-us/red_hat_satellite/6.13/html-single/managing_content/index?lb_target=preview
This issue is not observed on Satellite 6.12.