-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: Workflow stuck at the Annotating resources step #267
Comments
Hey @lucafaggianelli, We believe this may be related to #264 which we've already created a fix for, and it will be part of our next release. |
cool, I'll try the next release thanks! |
Working on getting one out now! Will update as soon as it's out |
Release should be out with 4.8! |
@jaiveerk should I open another issue? |
Hm, that's interesting - not sure how something on our end could cause an error there. I wonder if an intermediate step is failing, would you mind running with debug logs? Correct me if I'm wrong or misunderstanding, but the timeout message you posted above looks like the action timed out because our step was taking too long, but it looks like here the runner is failing to pull information from your workflows? |
Yes because the timeout seems to belong to the Annotating resources group, the rest of the workflow is OK and I don't send any HTTP API request to read the workflow. And this is the workflow code: name: Deploy to Kubernetes
uses: Azure/k8s-deploy@v4.8
with:
action: deploy
namespace: ${{ env.K8S_NAMESPACE }}
manifests: |
.deployment/k8s-manifests/deploy.yml
images: |
${{ env.DOCKER_REGISTRY }}/riskpnl/${{ env.NAME }}:${{ github.sha }}
annotate-namespace: 'false' |
Has this action worked for you in the past? I wonder if the issue is stemming from restricted repo access. |
as far as I tried this action, it never worked for me, v4.7 hanged forever at the Annotating resources step (this issue) and now this error. BTW if I remove the k8s-deploy action, the workflow passes |
We believe this may be due to an error with the runner's ability to access your repo due to the fact that you appear to be using a custom-hosted Github repo. To resolve the issue for now, we've added an extra catch so that your action doesn't fail as a result of one single failed annotation attempt. |
Ok thanks a lot! And yes I use GitHub enterprise self hosted and the
specific repo is marked as internal, if that may help
I’ll test it and let you know.
Il giorno gio 8 dic 2022 alle 18:11 Jaiveer Katariya <
***@***.***> ha scritto:
… We believe this may be due to an error with the runner's ability to access
your repo due to the fact that you appear to be using a custom-hosted
Github repo.
To resolve the issue for now, we've added an extra catch so that your
action doesn't fail as a result of one single failed annotation attempt.
—
Reply to this email directly, view it on GitHub
<#267 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABCDSA6WOYGMMHSIIH2MJ2LWMIJC3ANCNFSM6AAAAAASVLNGOM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Sounds good! I'm waiting on PR approval from my team and we need to cut a new release, but I'll let you know when that's done! |
Reopening to track this until we release. |
What happened?
The k8s-deploy action get stuck at the
Annotating resources
step:Everything goes fine and the pods are correctly deployed, but the Github Actions job get stuck and I need it to cancel it manually or wait for it to timeout, resulting in a failed run.
I tried also to set the option
annotate-namespace
to false but nothing changesVersion
Runner
self-hosted
Relevant log output
Debug log of the annotating resources step:
The text was updated successfully, but these errors were encountered: