# github pull request MIG tooling ###### tags: `notes` ## Background * https://github.com/konveyor/mig-operator/blob/master/.github/workflows/bz-pr-action.yml * https://github.com/konveyor/bz-github-action ## Alternative code bases.. * https://github.com/openshift/bugzilla-tools/pull/42/files ## Alternative config * https://source.redhat.com/groups/public/atomicopenshift/atomicopenshift_wiki/openshift_bugzilla_process * https://docs.ci.openshift.org/docs/architecture/bugzilla/ * https://github.com/kubernetes/test-infra/blob/96e55b3887c574f897052f722022ebe5acf35675/prow/plugins/plugin-config-documented.yaml#L49 ## Some findings (migi) This action did pass, I suspect some issue with Bugzilla authentication service occured: https://github.com/konveyor/mig-ui/runs/5857727162?check_suite_focus=true The response from bugzilla was 32000 and from bugzilla documentation "it's a "transient" unknown error": https://www.bugzilla.org/docs/4.4/en/html/api/Bugzilla/WebService.html#Unknown_Errors Error from the action is from this: https://github.com/konveyor/bz-github-action/blob/master/cmd/pr-action/main.go#L105 Which is from that func: https://github.com/konveyor/bz-github-action/blob/master/pkg/bugzilla/client.go#L823 So here we could check if the code is 32000 and ask for re-running this action later? ## Current issue @shawn, appears the bz-pr automation isn't working as expected; I noticed it on https://github.com/konveyor/mig-ui/pull/1396/ for BZ2072036 . Are we passing any "unsupported parameters"? I thought what you changed was working, do we need to make any specific changes across the repos? JSONRPC error 32000: You have attempted to access the API either using an unsupported method or using one or more unsupported parameters. You must use the 'Authorization' header to authenticate to the API and you must remove all unsupported parameters from the query. Thanks! :bugzilla: #2072036 [POST] Migration plan for storage conversion cannot be created if there's no replication repository – medium/high in UI for 1.7.0/1.7.1 Added by shodan 12 replies Rayford Johnson 2 hours ago from the check's "update bugzilla with pr" section: /usr/bin/docker run --name quayiokonveyorprbzgithubaction_3180fb --label 2bcf09 --workdir /github/workspace --rm -e INPUT_ORG_REPO -e INPUT_PR_NUMBER -e INPUT_BZ_PRODUCT -e INPUT_TITLE -e INPUT_GITHUB_TOKEN -e INPUT_BUGZILLA_TOKEN -e HOME -e GITHUB_JOB -e GITHUB_REF -e GITHUB_SHA -e GITHUB_REPOSITORY -e GITHUB_REPOSITORY_OWNER -e GITHUB_RUN_ID -e GITHUB_RUN_NUMBER -e GITHUB_RETENTION_DAYS -e GITHUB_RUN_ATTEMPT -e GITHUB_ACTOR -e GITHUB_WORKFLOW -e GITHUB_HEAD_REF -e GITHUB_BASE_REF -e GITHUB_EVENT_NAME -e GITHUB_SERVER_URL -e GITHUB_API_URL -e GITHUB_GRAPHQL_URL -e GITHUB_REF_NAME -e GITHUB_REF_PROTECTED -e GITHUB_REF_TYPE -e GITHUB_WORKSPACE -e GITHUB_ACTION -e GITHUB_EVENT_PATH -e GITHUB_ACTION_REPOSITORY -e GITHUB_ACTION_REF -e GITHUB_PATH -e GITHUB_ENV -e GITHUB_STEP_SUMMARY -e RUNNER_OS -e RUNNER_ARCH -e RUNNER_NAME -e RUNNER_TOOL_CACHE -e RUNNER_TEMP -e RUNNER_WORKSPACE -e ACTIONS_RUNTIME_URL -e ACTIONS_RUNTIME_TOKEN -e ACTIONS_CACHE_URL -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/mig-ui/mig-ui":"/github/workspace" quay.io/konveyor/pr-bz-github-action &errors.errorString{s:"JSONRPC error 32000: You have attempted to access the API either using an unsupported method or using one or more unsupported parameters. You must use the 'Authorization' header to authenticate to the API and you must remove all unsupported parameters from the query. The unsupported parameters are: Bugzilla_login, Bugzilla_password, Bugzilla_token, Bugzilla_api_key. See https://bugzilla.redhat.com/docs/en/html/api/core/v1/general.html#authentication for details on using the 'Authorization' header."}Unable to add PR to BZ &github.Response{Response:(*http.Response)(0xc000108120), NextPage:0, PrevPage:0, FirstPage:0, LastPage:0, NextPageToken:"", Rate:github.Rate{Limit:1000, Remaining:999, Reset:github.Timestamp{Time:time.Time{wall:0x0, ext:63784873941, loc:(*time.Location)(0x914640)}}}}