Project

Profile

Help

Test #4537

Pulp returns 200 when it fails to create rpm content

Added by bherring 7 months ago. Updated 6 months ago.

Status:
NEW
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Version:
Platform Release:
Tags:
Sprint:

Description

Steps to reproduce:

$ echo "blah" > foo-4.1-1.noarch.rpm
$ http --form POST http://localhost:8000/pulp/api/v3/artifacts/ file@./foo-4.1-1.noarch.rpm
$ http POST http://localhost:8000/pulp/api/v3/content/rpm/packages/ relative_path=foo.rpm _artifact="/pulp/api/v3/artifacts/1/" filename=foo-4.1-1.noarch.rpm

The response correctly shows an error ("RPM file cannot be parsed for metadata.") but the http status code is 200.


Related issues

Copied from RPM Support - Issue #4471: Pulp returns 200 when it fails to create rpm content MODIFIED Actions

History

#1 Updated by bherring 7 months ago

  • Copied from Issue #4471: Pulp returns 200 when it fails to create rpm content added

#2 Updated by bmbouter 6 months ago

  • Tags deleted (Pulp 3)

Please register to edit this issue

Also available in: Atom PDF