redhat-cop/rhel-edge-automation-arch

Unable to upload rhel 8.5 qcow2 file to nexus

Closed this issue · 1 comments

When ansible attempts to upload the RHEL QCOW2 file to nexus, it rejects the request claiming that the file has an invalid content type:

fatal: [localhost]: FAILED! => {"changed": false, "connection": "close", "content": "", "content_security_policy": "sandbox allow-forms allow-modals allow-popups allow-presentation allow-scripts allow-top-navigation", "elapsed": 13, "msg": "Status code was 400 and not [201]: HTTP Error 400: Content type could not be determined: rhel-8.5-x86_64-kvm.qcow2", "redirected": false, "server": "Nexus/3.36.0-01 (OSS)", "status": 400, "url": "http://nexus:8081/repository/rfe-rhel-media/rhel-8.5-x86_64-kvm.qcow2", "x_content_type_options": "nosniff", "x_xss_protection": "1; mode=block"}

Fixed already:
#186