-
Notifications
You must be signed in to change notification settings - Fork 336
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
(dns_prefix|ports|storage_profiles) is not a known attribute of class <class 'azure.mgmt.containerservice.v2018_03_31.models.managed_cluster_agent_pool_profile_py3.ManagedClusterAgentPoolProfile'> and will be ignored #167
Comments
Is anyone else having this problem? |
@SpikePy Am facing similar kind of issue while creating AKS cluster.
|
Please format your code as such ;) makes it more readable. Do you already have a AKS in the given Azure Ressource Group? The error looks a bit like the error i get if there is already a AKS. |
No the error that am seeing is same as the one reported in: Azure/azure_preview_modules#338 which is similar to what you're facing. I believe azure_rm_aks is expecting addon key. as we're getting error in create_addon_dict function:
|
Any suggestion for this problem? Can we changed working version maybe? |
so this and I have two location which have same module and maybe it also make confusion during executing ansible task
and also
|
it fixed with this pull request |
This works perfectly, thank you! |
Sorry for the noob question but how do I go about pulling these chnges down into my current ansible/AWX implementation. I'm having the exact same problem all of a sudden and I'm struggling with figuring out how to get this new merge request incorporated into my ansible deployment |
No problem you're welcome. I solved it by adding an extra task in front of the task with the azure_rm_aks-Module
This replaces the buggy file with the not yet merged fixed version and makes sure its the correct file via the hash. This is working in my CentOS-Container, maybe your path could differ. |
I'll try now. Thanks. |
Trying to find the module directory (using AWX 4.0.0) |
For anyone who is using AWX the path is /usr/lib/python[ver]/site-packages/ansible/modules/cloud/azure/ |
Figured out the path. Couldnt get your play to work so I just copied it in and made sure the permissions and owner/group was unchanged. Re-ran my automation and it failed in the same way. |
I can suggest you should edit one file only, there is additional 2 lines. |
trying that now |
{ |
I edited this: |
this is my play for azure aks:
|
I suck at markdown. Sorry |
@SpikePy Do you still have this problem? If it has been fixed, it is recommended to close it. Thank you very much! |
This problem has been fixed by #170, you can force an upgrade to the latest version to fix this problem. So I closed it temporarily. Thank you!
|
Not to reopen this ticket, but I received this same error when Azure was actually responding with legitimate 500 errors on the basis of a failed provisioning. If you are affected by this error, also check your Azure portal to see if the cluster is in a degenerate state. |
SUMMARY
I try to create a AKS (Azure Kubernetes Service). Since Yesterday i get the following error if I do so (it worked at least until 12. June 2020). At the end a AKS was created but the task fails and everything after that is not working as I need the response of this task
All shown variables are defined in the group_vars/all/main.yml
ISSUE TYPE
COMPONENT NAME
azure_rm_aks
ANSIBLE VERSION
and
CONFIGURATION
OS / ENVIRONMENT
Debian 10 and CentOS 7 Container
STEPS TO REPRODUCE
EXPECTED RESULTS
Successfully run task that created a AKS with its details stored in the variable k8scluster
ACTUAL RESULTS
The task fails with the following error but the AKS seems to be created (visible in azure portal)
The text was updated successfully, but these errors were encountered: