-
Notifications
You must be signed in to change notification settings - Fork 0
/
task_aks0225.log
38 lines (27 loc) · 3.07 KB
/
task_aks0225.log
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
root@myVM:/home/azureuser# ansible-playbook main.yml --extra-vars "{\"test\":\"test.yml\",\"resource_group\":\"ansible-aks-test01\"}"
[WARNING]: provided hosts list is empty, only localhost is available. Note
that the implicit localhost does not match 'all'
PLAY [localhost] ***************************************************************
TASK [Gathering Facts] *********************************************************
ok: [localhost]
TASK [create resource group] ***************************************************
ok: [localhost]
TASK [include_tasks] ***********************************************************
included: /home/azureuser/test.yml for localhost
TASK [Create an AKS instance (check mode)] *************************************
[WARNING]: Azure API profile latest does not define an entry for
ContainerServiceClient
changed: [localhost]
TASK [Check there is no AKS created] *******************************************
ok: [localhost]
TASK [Check there is no AKS created] *******************************************
ok: [localhost] => {
"changed": false,
"msg": "All assertions passed"
}
TASK [Create an AKS instance] **************************************************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: AttributeError: 'ManagedClustersOperations' object has no attribute 'get_access_profiles'
fatal: [localhost]: FAILED! => {"changed": false, "module_stderr": "Traceback (most recent call last):\n File \"/root/.ansible/tmp/ansible-tmp-1551061256.39-190177924518079/AnsiballZ_azure_rm_aks.py\", line 114, in <module>\n _ansiballz_main()\n File \"/root/.ansible/tmp/ansible-tmp-1551061256.39-190177924518079/AnsiballZ_azure_rm_aks.py\", line 106, in _ansiballz_main\n invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n File \"/root/.ansible/tmp/ansible-tmp-1551061256.39-190177924518079/AnsiballZ_azure_rm_aks.py\", line 49, in invoke_module\n imp.load_module('__main__', mod, module, MOD_DESC)\n File \"/tmp/ansible_azure_rm_aks_payload_fmsPtU/__main__.py\", line 611, in <module>\n File \"/tmp/ansible_azure_rm_aks_payload_fmsPtU/__main__.py\", line 607, in main\n File \"/tmp/ansible_azure_rm_aks_payload_fmsPtU/__main__.py\", line 400, in __init__\n File \"/tmp/ansible_azure_rm_aks_payload_fmsPtU/ansible_azure_rm_aks_payload.zip/ansible/module_utils/azure_rm_common.py\", line 315, in __init__\n File \"/tmp/ansible_azure_rm_aks_payload_fmsPtU/__main__.py\", line 496, in exec_module\n File \"/tmp/ansible_azure_rm_aks_payload_fmsPtU/__main__.py\", line 552, in create_update_aks\n File \"/tmp/ansible_azure_rm_aks_payload_fmsPtU/__main__.py\", line 600, in get_aks_kubeconfig\nAttributeError: 'ManagedClustersOperations' object has no attribute 'get_access_profiles'\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}
to retry, use: --limit @/home/azureuser/main.retry
PLAY RECAP *********************************************************************
localhost : ok=6 changed=1 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0