Skip to content
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

Error Create SLB (Server Load Balancer) #297

Open
juniorh opened this issue Aug 2, 2021 · 0 comments
Open

Error Create SLB (Server Load Balancer) #297

juniorh opened this issue Aug 2, 2021 · 0 comments

Comments

@juniorh
Copy link

juniorh commented Aug 2, 2021

I'm reporting an error during SLB creation by module ali_slb_lb.

fatal: [localhost]: FAILED! => {
    "changed": false,
    "invocation": {
        "module_args": {
            "address_type": "intranet",
            "alicloud_access_key": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
            "alicloud_assume_role": null,
            "alicloud_assume_role_arn": null,
            "alicloud_assume_role_session_expiration": null,
            "alicloud_assume_role_session_name": null,
            "alicloud_region": "xxxxxxxxxx",
            "alicloud_secret_key": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
            "alicloud_security_token": null,
            "bandwidth": 1,
            "client_token": "Ansible-Alicloud-xxxxxxxxxx-xxxxxxxxxx",
            "ecs_role_name": null,
            "internet_charge_type": "paybytraffic",
            "is_internet": false,
            "load_balancer_id": null,
            "load_balancer_name": "slb-test-1",
            "load_balancer_spec": null,
            "master_zone_id": null,
            "multi_ok": false,
            "name": "slb-test-1",
            "profile": null,
            "purge_tags": false,
            "shared_credentials_file": null,
            "slave_zone_id": null,
            "state": "present",
            "tags": null,
            "vswitch_id": null
        }
    },
    "msg": "Failed to create Load Balancer: HTTP Status: 400 Error:ShareSlbHaltSales The share instance has been discontinued. RequestID: DE87C5CE-B6D5-3479-A312-XXXXXXXXXXXX"
}

The ansible version & playbook

$ cat playbook.yaml
---
- hosts: localhost
  gather_facts: no
  tasks:
  - name: Create Loadbalancer SLB
    ali_slb_lb:
      name: 'slb-test-1'

$ ansible --version
ansible 2.10.8
  config file = None
  configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/local/lib/python3.7/dist-packages/ansible
  executable location = /usr/local/bin/ansible
  python version = 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]

$ pip3 list | grep alicloud
ansible-alicloud              1.19.0
ansible-alicloud-module-utils 1.5.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant