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

azure - fix app service plan scale out #4735

Merged

Conversation

aluong
Copy link
Collaborator

@aluong aluong commented Sep 5, 2019

fix #4734
fix #4606

  • Updated examples to show how to increase number of workers (scale out)
  • Make size a required parameter
  • count is still optional and if you attempt to resize from a tier with more workers than the tier you are scaling down to, then an exception will be thrown.

Example: Start from B1:2 -> F1

2019-09-04 22:53:00,365: custodian.azure.AzureBaseAction:ERROR Failed to resize cctest-appserviceplan-linux. Inner exception: {'additional_properties': {'Message': 'Number of Web workers exceeds the maximum allowed for the hosting plan.', 'Details': [{'Message': 'Number of Web workers exceeds the maximum allowed for the hosting plan.'}, {'Code': 'Conflict'}, {'ErrorEntity': {'ExtendedCode': '03002', 'MessageTemplate': 'Number of Web workers exceeds the maximum allowed for the hosting plan.', 'Parameters': [], 'Code': 'Conflict', 'Message': 'Number of Web workers exceeds the maximum allowed for the hosting plan.'}}], 'Code': 'Conflict', 'Target': None, 'Innererror': None}, 'error': None}

@aluong aluong self-assigned this Sep 5, 2019
@aluong aluong changed the title azure- fix app service plan scale out azure - fix app service plan scale out Sep 5, 2019
@stefangordon stefangordon merged commit b15ea7e into cloud-custodian:master Sep 6, 2019
@aluong aluong deleted the fixAppServicePlanScaleOut branch September 6, 2019 20:36
fidelito pushed a commit to fidelito/cloud-custodian that referenced this pull request May 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants