]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
script: ceph-backport.sh adds redmine key to api requests 63565/head
authorCasey Bodley <cbodley@redhat.com>
Wed, 28 May 2025 20:33:44 +0000 (16:33 -0400)
committerCasey Bodley <cbodley@redhat.com>
Wed, 28 May 2025 20:33:48 +0000 (16:33 -0400)
commit388c73b0f5ea8c6722306c2009d7b0d7368d3a7c
tree0a644d85a03effb5d010b67aed1fa2b950ea7235
parent3bfb9d6c9744a7bd685c18abb9df93188cefae7c
script: ceph-backport.sh adds redmine key to api requests

the ceph-backport.sh script recently started failing with:

> ceph-backport.sh: DEBUG: Considering Redmine issue: https://tracker.ceph.com/issues/70374 - is it in the Backport tracker?
> ceph-backport.sh: DEBUG:
> ceph-backport.sh: ERROR: Issue https://tracker.ceph.com/issues/70374 is not a Backport

because the command `curl --silent https://tracker.ceph.com/issues/70374.json`
now fails with `HTTP/2 401` (Unauthorized) and returns an empty string

the command succeeds after adding my redmine key as a query param like
some of the other redmine requests

Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/script/ceph-backport.sh