Please provide your feedback in this short Flings' survey.
Apr 29, 2022

Hi, I would like to deploy using this tool. but not working.
this is logs.

how about this cause?

I tried to deply some time but not succeed.

---
Error: Error running command 'export ANSIBLE_NOCOLOR=True ; ansible-playbook ansible/pbCloudOnly.yml --extra-vars '{"vsphere_server": "192.168.110.22", "avi_version": "21.1.4", "controllerPrivateIps": ["192.168.110.32"], "vsphere_password": "VMware1!", "controller": {"avi_ctrl_floating_ip":"","cluster":false,"count":"1","cpu":8,"disk":128,"dns":["192.168.110.10"],"environment":"VMWARE","floating_ip":false,"from_email":"avicontroller@avicontroller.local","image":"21.1.4","memory":24768,"network_name":{"dhcp":false,"display_name":"","gateway_address":"","id":"","network":"","type":""},"ntp":["95.81.173.155","188.165.236.162"],"public_ip":false,"se_in_provider_context":"false","tenant_access_to_provider_se":"true","tenant_vrf":"false","wait_for_guest_net_timeout":5}, "vsphere_username": "administrator@vsphere.local", "deployment": {"EasyAviSeExclusionList":"","EasyAviTagCategoryName":"EasyAvi","application":false,"aviOva":"/root/images/controller-21.1.4.ova","cl_avi_name":"test","cl_create":true,"controller":{"avi_ctrl_floating_ip":"","cluster":false,"count":"1","cpu":8,"disk":128,"dns":["192.168.110.10"],"environment":"VMWARE","floating_ip":false,"from_email":"avicontroller@avicontroller.local","image":"21.1.4","memory":24768,"network_name":{"dhcp":false,"display_name":"","gateway_address":"","id":"","network":"","type":""},"ntp":["95.81.173.155","188.165.236.162"],"public_ip":false,"se_in_provider_context":"false","tenant_access_to_provider_se":"true","tenant_vrf":"false","wait_for_guest_net_timeout":5},"deployment_id":"437c147d-3e99-4eac-53f9-96ab20b1e0bd","deployment_name":"test","dfw_rules":false,"domains":[{"name":"vsphere.local"}],"environment":"vsphere","httppolicyset":[{"http_request_policy":{"rules":[{"match":{"path":{"match_criteria":"CONTAINS","match_str":["hello","world"]}},"name":"Rule 1","rewrite_url_action":{"path":{"tokens":[{"str_value":"index.html","type":"URI_TOKEN_TYPE_STRING"}],"type":"URI_PARAM_TYPE_TOKENIZED"},"query":{"keep_query":true}},"switching_action":{"action":"HTTP_SWITCHING_SELECT_POOL","pool_ref":"/api/pool?name=pool1-hello-vsphere","status_code":"HTTP_LOCAL_RESPONSE_STATUS_CODE_200"}},{"match":{"path":{"match_criteria":"CONTAINS","match_str":["avi"]}},"name":"Rule 2","rewrite_url_action":{"path":{"tokens":[{"str_value":"","type":"URI_TOKEN_TYPE_STRING"}],"type":"URI_PARAM_TYPE_TOKENIZED"},"query":{"keep_query":true}},"switching_action":{"action":"HTTP_SWITCHING_SELECT_POOL","pool_ref":"/api/pool?name=pool2-avi-vsphere","status_code":"HTTP_LOCAL_RESPONSE_STATUS_CODE_200"}}]},"name":"http-request-policy-app1-content-switching-vsphere"}],"name":"cloudVsphere","network_backend":{"avi_ctrl_floating_ip":"","backend_ips":["",""],"dhcp":false,"dns":"192.168.110.10"},"network_management":{"avi_ctrl_floating_ip":"","avi_ctrl_mgmt_ips":["192.168.110.32","",""],"cidr":"192.168.110.0/24","defaultGateway":"192.168.110.1","dhcp":false,"dns":"192.168.110.10","ipEndPool":"192.168.110.125","ipStartPool":"192.168.110.120","name":"DSwitch-Management"},"network_vip":{"avi_ctrl_floating_ip":"","cidr":"192.168.220.0/23","dhcp":false,"dns":"192.168.110.10","ipEndPool":"192.168.220.199","ipStartPool":"192.168.220.1","name":"K8s-Frontend"},"nsxt_exclusion_list":false,"pools":[{"lb_algorithm":"LB_ALGORITHM_ROUND_ROBIN","name":"pool1-hello-vsphere"},{"application_persistence_profile_ref":"System-Persistence-Client-IP","default_server_port":8080,"name":"pool2-avi-vsphere"}],"public_ip":false,"serviceEngineGroup":[{"cpu_reserve":true,"data_networks":[{"defaultGatewaySeGroup":true,"dhcp":false,"ips":["","","",""],"name":"K8s-Frontend"}],"disk_per_se":25,"extra_shared_config_memory":false,"ha_mode":"HA_MODE_SHARED","management_network":{"defaultGateway":"192.168.110.1","defaultGatewaySeGroup":true,"dhcp":false,"ips":["","","",""],"name":"DSwitch-Management"},"mem_reserve":true,"memory_per_se":2048,"min_scaleout_per_vs":0,"name":"Default-Group","numberOfSe":10,"vcpus_per_se":2}],"ubuntuApp":"/root/images/easyavi-ubuntu-bionic.ova","ubuntuJump":"/root/images/easyavi-ubuntu-bionic.ova","vcenter":{"cluster":"RegionA01-MGMT","datastore":"map-vol","dc":"RegionA01"},"virtualservices":{"dns":[{"name":"dns","services":[{"port":53}]}],"http":[{"http_policies":[{"http_policy_set_ref":"/api/httppolicyset?name=http-request-policy-app1-content-switching-vsphere","index":11}],"name":"app1","pool_ref":"pool1-hello-vsphere","services":[{"enable_ssl":"false","port":80},{"enable_ssl":"true","port":443}]}]}}, "avi_username": "admin", "avi_password": "U80AD7$@LdF%"}'': exit status 2. Output: [WARNING]: No inventory was parsed, only implicit localhost is available
[WARNING]: provided hosts list is empty, only localhost is available. Note that
the implicit localhost does not match 'all'
PLAY [localhost] ***************************************************************
TASK [avinetworks.avisdk : Check ansible version] ******************************
skipping: [localhost]
TASK [pbCloudOnly | Set variable avi_credentials] ******************************
ok: [localhost]
TASK [pbCloudOnly | Wait for Controller to be up...] ***************************
ok: [localhost]
TASK [pbCloudOnly | Wait for the Controller cluster to finish - if cluster has been configured] ***
skipping: [localhost]
TASK [pbCloudOnly | Remove New Content Library - "test"] ***********************
changed: [localhost]
TASK [pbCloudOnly | Remove Existing Content Library Items - "test"] ************
skipping: [localhost] => (item=test-avictrl-ova)
skipping: [localhost] => (item=test-backend-ova)
TASK [pbCloudOnly | Remove Existing Content Library Item - "test"] *************
skipping: [localhost]
TASK [set_fact] ****************************************************************
ok: [localhost]
TASK [pbCloudOnly | DNS Lookup on FQDN so Cloud Connector can properly Resolve] ***
skipping: [localhost]
TASK [pbCloudOnly | Avi vCenter Cloud INIT] ************************************
changed: [localhost]
TASK [pbCloudOnly | vCenter Write cloud network discovery in progress] *********
FAILED - RETRYING: pbCloudOnly | vCenter Write cloud network discovery in progress (120 retries left).
ok: [localhost]
TASK [pbCloudOnly | Create Avi DNS provider Without domain names] **************
changed: [localhost]
TASK [pbCloudOnly | Update Avi DNS provider With domain names] *****************
changed: [localhost] => (item={'name': 'vsphere.local'})
TASK [pbCloudOnly | Define Management - deployment] ****************************
ok: [localhost]
TASK [pbCloudOnly | Configure MGMT Default Gateway] ****************************
changed: [localhost]
TASK [pbCloudOnly | Configure Management Network - deployment] *****************
changed: [localhost]
TASK [pbCloudOnly | Define VIP Configured Subnets - deployment] ****************
ok: [localhost]
TASK [pbCloudOnly | Configure VIP Network - deployment] ************************
changed: [localhost]
TASK [pbCloudOnly | Create Avi IPAM - deployment] ******************************
changed: [localhost]
TASK [pbCloudOnly | Define Backend Subnets - deployment] ***********************
skipping: [localhost]
TASK [pbCloudOnly | Configure Backend Network - deployment] ********************
skipping: [localhost]
TASK [Modify Cluster Licensing] ************************************************
skipping: [localhost]
TASK [pbCloudOnly | Update Avi Cloud - deployment] *****************************
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Error 400 Msg {\"error\": \"Only system level licensing tier is allowed for cloud objects.\"} req: {'name': 'cloudVsphere', 'vtype': 'CLOUD_VCENTER', 'vcenter_configuration': {'username': 'administrator@vsphere.local', 'password': 'VMware1!', 'datacenter': 'RegionA01', 'management_network': '/api/vimgrnwruntime/?name=DSwitch-Management', 'privilege': 'WRITE_ACCESS', 'vcenter_url': '192.168.110.22'}, 'dhcp_enabled': True, 'license_type': 'LIC_CORES', 'state_based_dns_registration': False, 'license_tier': 'ENTERPRISE', 'ipam_provider_ref': 'ipamdnsproviderprofile-645a1d83-232e-452e-9a72-1034baae2474', 'dns_provider_ref': 'ipamdnsproviderprofile-fc69d49c-22a3-40de-a2bb-9184af0b4707'} api_context:{'session_id': 'zqdb6k6414wock682zihqjkbpqd6b09r', 'csrftoken': 'cXXhQSrzSk2NI2fkNQQNyTK0cT2rb2rR'} "}
PLAY RECAP *********************************************************************
localhost : ok=14 changed=8 unreachable=0 failed=1 skipped=8 rescued=0 ignored=0

-----