latam-tech-office / install-openshift

Ansible's Playbooks to perform installation of Red Hat OpenShift Container Platform on several Cloud Providers
6 stars 7 forks source link

Error Creating Subnet openshift-master-infra for Master and infra #7

Open ChrystianDuarte opened 5 years ago

ChrystianDuarte commented 5 years ago

Azure: cuenta trial de azure.

[root@localhost tasks]# ansible --version ansible 2.8.5 config file = None configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /opt/rh/python27/root/usr/lib/python2.7/site-packages/ansible executable location = /opt/rh/python27/root/usr/bin/ansible python version = 2.7.16 (default, Jun 28 2019, 16:57:28) [GCC 4.8.5 20150623 (Red Hat 4.8.5-16)] [root@localhost install-openshift]# ./step1_create_network.yaml .. . . TASK [azure_ocp_network : Creating Subnet openshift-master-infra for Master and infra: 10.1.0.0/16] *** fatal: [localhost]: FAILED! => {"changed": false, "msg": "Unsupported parameters for (azure_rm_subnet) module: tags Supported parameters include: ad_user, address_prefix_cidr, adfs_authority_url, api_profile, auth_source, cert_validation_mode, client_id, cloud_environment, name, password, profile, resource_group, route_table, secret, security_group, service_endpoints, state, subscription_id, tenant, virtual_network_name"}

PLAY RECAP ***** localhost : ok=6 changed=2 unreachable=0 failed=1 skipped=4 rescued=0 ignored=0

ChrystianDuarte commented 5 years ago

I could make it work. Steps: In file ./step2_create_computing.yaml I removed the tag parameter in lines 18 and 23, tasks:

After removing that parameter, it worked