Skip to content
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 Report]: AppGateway Request and Response buffers default in module #2404

Open
ramuvr opened this issue Oct 25, 2023 · 17 comments
Open

[Bug Report]: AppGateway Request and Response buffers default in module #2404

ramuvr opened this issue Oct 25, 2023 · 17 comments
Assignees
Labels
Class: Resource Module 📦 This is a resource module Needs: Immediate Attention ‼️ Immediate attention of module owner / AVM team is needed Needs: Module Owner 📣 This module needs an owner to develop or maintain it Needs: Triage 🔍 Maintainers need to triage still Status: Response Overdue 🚩 When an issue/PR has not been responded to for X amount of days Type: AVM 🅰️ ✌️ Ⓜ️ This is an AVM related issue

Comments

@ramuvr
Copy link

ramuvr commented Oct 25, 2023

Describe the bug

As per MS Doc, the value for buffers should default to true.

"By default, both Request and Response buffers are enabled on your Application Gateway resource but you can choose to configure them separately."

To reproduce

Access file modules\network\application-gateway\main.bicep and see code snippet values

Code snippet

@description('Optional. Enable request buffering.')
param enableRequestBuffering bool = false

@description('Optional. Enable response buffering.')
param enableResponseBuffering bool = false

Relevant log output

No response

@ramuvr ramuvr changed the title [Bug Report]: [Bug Report]: AppGateway Request and Response buffers default in module Oct 25, 2023
@AlexanderSehr
Copy link
Contributor

Hey @ramuvr , thank you for opening this back and thank you for providing the docs reference.
If I understand you correctly, all this takes is changing both buffering switches to true to align with the best-practices? If so, we can certainly do that.

@ramuvr
Copy link
Author

ramuvr commented Oct 28, 2023

Hey @ramuvr , thank you for opening this back and thank you for providing the docs reference. If I understand you correctly, all this takes is changing both buffering switches to true to align with the best-practices? If so, we can certainly do that.

Yes, @AlexanderSehr that's my understanding. Deployed couple of appGateways recently without the attribute and noticed they were false but our template had default value so what-if was reporting I was going to change them.

@AlexanderSehr AlexanderSehr self-assigned this Oct 28, 2023
@AlexanderSehr AlexanderSehr transferred this issue from Azure/ResourceModules Jun 15, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs: Triage 🔍 Maintainers need to triage still label Jun 15, 2024

Important

The "Needs: Triage 🔍" label must be removed once the triage process is complete!

Tip

For additional guidance on how to triage this issue/PR, see the BRM Issue Triage documentation.

@AlexanderSehr
Copy link
Contributor

Hey @ilhaan,
I just migrated this issue over from CARML. Please take a look and triage if still relevant :)

@AlexanderSehr AlexanderSehr added Needs: Module Owner 📣 This module needs an owner to develop or maintain it Class: Resource Module 📦 This is a resource module Type: AVM 🅰️ ✌️ Ⓜ️ This is an AVM related issue labels Jun 15, 2024
@ilhaan
Copy link
Member

ilhaan commented Jun 19, 2024

@AlexanderSehr I will take a look

Warning

Tagging the AVM Core Team (@Azure/avm-core-team-technical-bicep) due to a module owner or contributor having not responded to this issue within 3 business days. The AVM Core Team will attempt to contact the module owners/contributors directly.

Tip

  • To prevent further actions to take effect, the "Status: Response Overdue 🚩" label must be removed, once this issue has been responded to.
  • To avoid this rule being (re)triggered, the ""Needs: Triage 🔍" label must be removed as part of the triage process (when the issue is first responded to)!

@microsoft-github-policy-service microsoft-github-policy-service bot added the Status: Response Overdue 🚩 When an issue/PR has not been responded to for X amount of days label Jun 25, 2024

Warning

Tagging the AVM Core Team (@Azure/avm-core-team-technical-bicep) due to a module owner or contributor having not responded to this issue within 3 business days. The AVM Core Team will attempt to contact the module owners/contributors directly.

Tip

  • To prevent further actions to take effect, the "Status: Response Overdue 🚩" label must be removed, once this issue has been responded to.
  • To avoid this rule being (re)triggered, the ""Needs: Triage 🔍" label must be removed as part of the triage process (when the issue is first responded to)!

Caution

**This issue requires the AVM Core Team's (@Azure/avm-core-team-technical-bicep) immediate attention as it hasn't been responded to within 6 business days. **

Tip

  • To avoid this rule being (re)triggered, the "Needs: Triage 🔍" and "Status: Response Overdue 🚩" labels must be removed when the issue is first responded to!
  • Remove the "Needs: Immediate Attention ‼️" label once the issue has been responded to.

@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs: Immediate Attention ‼️ Immediate attention of module owner / AVM team is needed label Jul 1, 2024

Warning

Tagging the AVM Core Team (@Azure/avm-core-team-technical-bicep) due to a module owner or contributor having not responded to this issue within 3 business days. The AVM Core Team will attempt to contact the module owners/contributors directly.

Tip

  • To prevent further actions to take effect, the "Status: Response Overdue 🚩" label must be removed, once this issue has been responded to.
  • To avoid this rule being (re)triggered, the ""Needs: Triage 🔍" label must be removed as part of the triage process (when the issue is first responded to)!

Caution

**This issue requires the AVM Core Team's (@Azure/avm-core-team-technical-bicep) immediate attention as it hasn't been responded to within 6 business days. **

Tip

  • To avoid this rule being (re)triggered, the "Needs: Triage 🔍" and "Status: Response Overdue 🚩" labels must be removed when the issue is first responded to!
  • Remove the "Needs: Immediate Attention ‼️" label once the issue has been responded to.

Warning

Tagging the AVM Core Team (@Azure/avm-core-team-technical-bicep) due to a module owner or contributor having not responded to this issue within 3 business days. The AVM Core Team will attempt to contact the module owners/contributors directly.

Tip

  • To prevent further actions to take effect, the "Status: Response Overdue 🚩" label must be removed, once this issue has been responded to.
  • To avoid this rule being (re)triggered, the ""Needs: Triage 🔍" label must be removed as part of the triage process (when the issue is first responded to)!

Caution

**This issue requires the AVM Core Team's (@Azure/avm-core-team-technical-bicep) immediate attention as it hasn't been responded to within 6 business days. **

Tip

  • To avoid this rule being (re)triggered, the "Needs: Triage 🔍" and "Status: Response Overdue 🚩" labels must be removed when the issue is first responded to!
  • Remove the "Needs: Immediate Attention ‼️" label once the issue has been responded to.

Warning

Tagging the AVM Core Team (@Azure/avm-core-team-technical-bicep) due to a module owner or contributor having not responded to this issue within 3 business days. The AVM Core Team will attempt to contact the module owners/contributors directly.

Tip

  • To prevent further actions to take effect, the "Status: Response Overdue 🚩" label must be removed, once this issue has been responded to.
  • To avoid this rule being (re)triggered, the ""Needs: Triage 🔍" label must be removed as part of the triage process (when the issue is first responded to)!

Caution

**This issue requires the AVM Core Team's (@Azure/avm-core-team-technical-bicep) immediate attention as it hasn't been responded to within 6 business days. **

Tip

  • To avoid this rule being (re)triggered, the "Needs: Triage 🔍" and "Status: Response Overdue 🚩" labels must be removed when the issue is first responded to!
  • Remove the "Needs: Immediate Attention ‼️" label once the issue has been responded to.

@AlexanderSehr
Copy link
Contributor

Hey @ilhaan, please triage the issue when you get the chance :)

@ilhaan
Copy link
Member

ilhaan commented Jul 19, 2024

@AlexanderSehr So the MS doc linked in the original issue by @ramuvr does say that request and response buffers are enabled by default. However, it also does say this:

You can keep either the Request or Response buffer, enabled or disable, based on your requirements and/or the observed performance of the client systems that communicate with your Application Gateway.
Warning
We strongly recommend that you test and evaluate the performance before rolling this out on the production gateways.

The change to make these default to true is simple, but I am concerned about the impact it can have on users of the module who are using the current default of false when they upgrade to a new published version after we publish this update.

I see us having two options in this situation:

  1. Remove the default false and force users to explicitly define a value for this so they are aware and can make a decision on their own.
  2. Change major version so that users know there is a major change to this config. Not sure how we've been handling such changes in AVM and a quick search through AVM docs does not bring up info on versioning.

Please let me know your thoughts @AlexanderSehr

@AlexanderSehr
Copy link
Contributor

Hey @ilhaan,
thanks for the research. Regarding the versioning we'd go with semver - if - we're already on 1.0. However, as we're not, breaking changes are treated as 'minor' version updates. So we'd update the version.json from let's say 0.2 to 0.3.

To the topic at hand - if they're enabled by default then I'm inclined to recommend setting them to enabled as well. But I can't say that I know the service well enough to judge the implications. Ultimately, it would be up to you.
Mind you, this is just an issue we carried over from CARML to finally get around and properly triage it. If in doubt, you're more than welcome to close it as 'not planned' with the reasoning you've given above. No pressure 💪

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Class: Resource Module 📦 This is a resource module Needs: Immediate Attention ‼️ Immediate attention of module owner / AVM team is needed Needs: Module Owner 📣 This module needs an owner to develop or maintain it Needs: Triage 🔍 Maintainers need to triage still Status: Response Overdue 🚩 When an issue/PR has not been responded to for X amount of days Type: AVM 🅰️ ✌️ Ⓜ️ This is an AVM related issue
Projects
Status: Needs: Triage
Status: Low priority
Development

No branches or pull requests

3 participants