#8091 Failed to talk to Greenwave. error in Fedora Rawhide Update
Closed: Fixed 4 years ago by kevin. Opened 4 years ago by tstellar.

This update https://bodhi.fedoraproject.org/updates/FEDORA-2019-adf1756f45 shows the error message "Failed to talk to Greenwave." on the "Automated Tests" tab.


Reproducible in shell:

> http https://greenwave.fedoraproject.org/api/v1.0/decision <<< '{"product_version":"fedora-32","decision_context":"bodhi_update_push_stable","subject":[{"item":"lld-8.0.0-2.fc32","type":"koji_build"},{"item":"FEDORA-2019-adf1756f45","type":"bodhi_update"}],"verbose":true}'
HTTP/1.1 404 NOT FOUND
Access-Control-Allow-Headers: Content-Type
Access-Control-Allow-Method: POST, OPTIONS
Access-Control-Allow-Origin: https://bodhi.fedoraproject.org
AppTime: D=70089
Connection: Keep-Alive
Content-Length: 128
Content-Type: application/json
Date: Wed, 14 Aug 2019 13:20:37 GMT
Keep-Alive: timeout=15, max=500
Referrer-Policy: same-origin
Server: gunicorn/19.9.0
Set-Cookie: dcf65fcc9d6c20ff47f62c5c746436e5=cba715a8ee8dc3ad21b3202f29ec8a49; path=/; HttpOnly; Secure
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
X-Content-Type-Options: nosniff
X-Fedora-ProxyServer: proxy08.fedoraproject.org
X-Fedora-RequestID: XVQKpT9z0T2eEr1t7@EqegAAA8U
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 1; mode=block

{
    "message": "Cannot find any applicable policies for koji_build subjects at gating point bodhi_update_push_stable in fedora-32"
}

Looks like fedora-32 needs to be added to product_versions in Greenwave server configuration.

BTW, to avoid updating the policies in future, you can add fedora-* ... but I think decision change messages could contain fedora-* instead of specific product version.

@lholecek , thanks I ll add fedora-32 to the policies.

Metadata Update from @cverna:
- Issue assigned to cverna

4 years ago

Metadata Update from @kevin:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

4 years ago

Login to comment on this ticket.

Metadata