-
Notifications
You must be signed in to change notification settings - Fork 76
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
Linux Consumption Function app sync trigger fails with RBAC auth when WEBSITE_RUN_FROM_PACKAGE is already added with new URL #147
Comments
I have tested with the latest version v1.4.7 of the action and the problem still exists. |
Same for us. Technical details:
tested with both v1.4.6 and v1.4.7 |
This issue is idle because it has been open for 14 days with no activity. |
We are also suffering with this issue on the latest version of this action. |
Me too, with same technical details |
Please try to deploy using publish profile instead of RBAC like here: https://github.com/Azure/actions-workflow-samples/blob/a9e4bce81a6c87e56021a480805a521403437eaf/FunctionApp/linux-python-functionapp-on-azure.yml#L46 |
According to my previous attempts using publish profiles, they are not compatible with |
Go to azure portal and remove function app setting "WEBSITE_RUN_FROM_PACKAGE". Once it is successful, then re-deploy using publish profile instead of RBAC like here: https://github.com/Azure/actions-workflow-samples/blob/a9e4bce81a6c87e56021a480805a521403437eaf/FunctionApp/linux-python-functionapp-on-azure.yml#L46 WEBSITE_RUN_FROM_PACKAGE = 1 is not supported on Linux consumption because of which the other option is WEBSITE_RUN_FROM_PACKAGE = URL if the user wants to use a remote zip. Using ZipDeploy path is the recommended path for Linux Consumption, and it doesn't increase cold start. |
@akbast please try the above steps and let me know if it works. |
@patelchandni it works with publish profile, as you described. The problem is, I have bunch of functions in a subscription which should be deployed with GitHub Actions. For achieving this, I have created a SP to use RBAC deployment. If you have only one function app, this could be a workaround. But for multiple function apps, the RBAC deployment will be definitely necessary. |
Can confirm that it works with publish-profile, but as @akbast mentions: this does not scale well with multiple func-apps. Will Functionapps on linux consumption plans + RBAC deployment be supported in the future? |
This issue is idle because it has been open for 14 days with no activity. |
Using a publish profile with Zip Deploy has the issue of not preserving Linux file permissions, as described here. |
This issue is idle because it has been open for 14 days with no activity. |
Hello, I am experiencing the same issue as described above. I have no issues running a function app using the publish profile, but it will not publish when using RBAC -which would be very helpful to have as we have a number of functions and environments. Looking at the azure functions activity log, I can see a number of "BadRequest" errors during the publish process. |
Experiencing the same problem currently @patelchandni |
This issue is idle because it has been open for 14 days with no activity. |
Hello @patelchandni, I have in between some news about this. We have tested following: I created a Function in Then I have tested this with a Conclusion: The management.azure.com Endpoint delivers information differently depends on from which region the request is coming and the “information” replication is not done yet, so that a request from a different region than the Function App is located delivers an empty response. Hope it helps for your further investigation. |
This issue is idle because it has been open for 14 days with no activity. |
Been experiencing this consistently for 6 months. I can run the same deployment 2 times, with this error the first time, and a successful deployment on the retry. |
This issue is idle because it has been open for 14 days with no activity. |
Facing the issue a well, I was wondering if anyone was able to resolve this? |
Facing this issue still in 2024 |
@patelchandni |
facing the same issue using: |
Same issue here i cant see the function ans its details in Azue portal |
Same issue with .NET 8. when restarting the function afew times and retrying a few time randomly it starts working again - please fix Is there a way to remove tha labels from this issue? I think no one pays attention to it because its labled as "idle waiting for customer" - Maybe it makes sence to open a new issue? |
Same issue for here with .NET 8 trying to redeploy through Github Action.
Consumption Plan please find fix for this. |
I was able to deploy using |
Hello,
When we try to deploy our node function we are getting following error:
When I check the WEBSITE_RUN_FROM_PACKAGE Parameter in Azure Portal, I see that the parameter is updated. Removing WEBSITE_RUN_FROM_PACKAGE from function and redeploying works.
Technical details:
Any Idea, what could be wrong?
Cheers
The text was updated successfully, but these errors were encountered: