Comments (4)
@deubert-it The parameter 'platform_fault_domain_count' cannot be updated in the python SDK. When we manage this resource, we first check whether the resource exists, if it does not exist, create a new resource, if it does exist, compare the parameter, if the parameter is incorrectly configured. We will print the error using the module's 'self.fail' method and do not continue! Thank you!
from azure.
@Fred-sun thank you for your response, which I understand, but it would mean I just can't use it with an existing VMSS that was created a long time ago with an older version.
from azure.
@deubert-it Sorry for replying you so late. The parameter 'platform_fault_domain_count parameter' has been added in #779. The default value of this parameter is 1. If you management VMSS by 'azure_rm_virutalmachinescaleset.py', please make sure the 'platform_fault_domain_count' value same with the exsiting VMSS. This will not prompt the 'platform_fault_domain_count parameter' question. Thank you!
In addition, to make sure my idea is correct, can you provide your VMSS information and use cases?
Test case:
- name: Create VMSS with I(orchestration_mode=Flexible)
azure_rm_virtualmachinescaleset:
resource_group: "{{ resource_group }}"
name: testVMSS{{ rpfx }}
vm_size: Standard_A1_v2
admin_username: testuser
single_placement_group: false
platform_fault_domain_count: 2
public_ip_per_vm: true
ssh_password_enabled: false
ssh_public_keys:
- path: /home/testuser/.ssh/authorized_keys
key_data: "ssh-rsa *****************@qq.com"
virtual_network_name: VMSStestVnet01
subnet_name: VMSStestSubnet01
managed_disk_type: Standard_LRS
orchestration_mode: Flexible
os_disk_caching: ReadWrite
image:
offer: 0001-com-ubuntu-server-focal
publisher: Canonical
sku: 20_04-lts
version: latest
VMSS facts:
"vmss": [
{
"id": "/subscriptions/xxxxxxxxxxxxxxx/resourceGroups/v-xisuRG013/providers/Microsoft.Compute/virtualMachineScaleSets/testVMSSfredrpfx01",
"identity": {
"type": "UserAssigned",
"user_assigned_identities": {
"/subscriptions/xxxxxxx/resourceGroups/AzSecPackAutoConfigRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/AzSecPackAutoConfigUA-eastus": {}
}
},
"location": "eastus",
"name": "testVMSSfredrpfx01",
"orchestration_mode": "Flexible",
"platform_fault_domain_count": 1,
"provisioning_state": "Succeeded",
"single_placement_group": false,
"sku": {
"capacity": 1,
"name": "Standard_A1_v2",
"tier": "Standard"
},
"tags": {
"azsecpack": "nonprod",
"platformsettings.host_environment.service.platform_optedin_for_rootcerts": "true"
}.
.................................
from azure.
kindly ping!
from azure.
Related Issues (20)
- pinned azure-cli-core has associated vulnerabilities HOT 2
- azure_rm_adapplication does not properly manipulate optional_claims
- azure.azcollection.azure_rm_snapshot snapshot creation fails HOT 1
- ad_serviceprincipal_info does not properly list all service principals
- azure.azcollection.azure_rm_adgroup module Should allow for setting the description of the group HOT 1
- azure.azcollection.azure_rm_adapplication add option 'reply_urls_with_type' HOT 7
- azure_rm_backuppolicy support different intervals at the same time HOT 4
- ModuleNotFoundError: No module named 'azure.storage.cloudstorageaccount' HOT 6
- Add new module azure.azcollection.azure_rm_conditional_access HOT 1
- azure.azcollection.azure_rm_aduser add options 'about_me, company_name, extensions' HOT 1
- azure_rm_servicebus_info module return error for Azure service bus where private end point connection IPs are enabled HOT 1
- Add Python 3.12+ ARM support - Blocked by azure-iot-hub > uamqp requirements HOT 5
- allow service_principals and groups to appear in group_members output
- How to add a certificate to an Azure App Registration HOT 1
- Collection Python requirements can no longer be installed on Mac ARM due to upstream uamqp dependency HOT 3
- issue with inventory module. List of Hosts being returned will be missing hosts at random HOT 1
- azure_rm_adgroup Present members is not idempotent and does not follow ansible best practices HOT 4
- azure.azcollection.azure_rm_adgroup module Should allow for setting the description of the group #1485 > Only a partial Fix. Will not update existing groups. HOT 1
- Triggering on-demand backup returns error HOT 2
- azure.azcollection.azure_rm_virtualmachinescalesetinstance_info and related modules incompatible with Flexible VM Scale Sets HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azure.