arbabnazar / ansible-aws-roles Goto Github PK
View Code? Open in Web Editor NEWAnsible roles to create VPC,EC2,ELB etc
License: MIT License
Ansible roles to create VPC,EC2,ELB etc
License: MIT License
TASK [elb : Ensure load balancer exists] ***************************************
An exception occurred during task execution. The full traceback is:
Traceback (most recent call last):
File "/tmp/vagrant/ansible_6hqWOb/ansible_module_ec2_elb_lb.py", line 1342, in <module>
main()
File "/tmp/vagrant/ansible_6hqWOb/ansible_module_ec2_elb_lb.py", line 1326, in main
elb_man.ensure_ok()
File "/tmp/vagrant/ansible_6hqWOb/ansible_module_ec2_elb_lb.py", line 410, in _do_op
return op(*args, **kwargs)
File "/tmp/vagrant/ansible_6hqWOb/ansible_module_ec2_elb_lb.py", line 493, in ensure_ok
self.select_stickiness_policy()
File "/tmp/vagrant/ansible_6hqWOb/ansible_module_ec2_elb_lb.py", line 1042, in select_stickiness_policy
self._set_stickiness_policy(elb_info, listeners_dict, policy, **policy_attrs)
File "/tmp/vagrant/ansible_6hqWOb/ansible_module_ec2_elb_lb.py", line 1005, in _set_stickiness_policy
self._create_policy(policy_attrs['param_value'], policy_attrs['method'], policy[0])
File "/tmp/vagrant/ansible_6hqWOb/ansible_module_ec2_elb_lb.py", line 982, in _create_policy
getattr(self.elb_conn, policy_meth )(policy_param, self.elb.name, policy)
File "/usr/local/lib/python2.7/dist-packages/boto/ec2/elb/__init__.py", line 637, in create_lb_cookie_stickiness_policy
return self.get_status('CreateLBCookieStickinessPolicy', params)
File "/usr/local/lib/python2.7/dist-packages/boto/connection.py", line 1227, in get_status
raise self.ResponseError(response.status, response.reason, body)
boto.exception.BotoServerError: BotoServerError: 400 Bad Request
<ErrorResponse xmlns="http://elasticloadbalancing.amazonaws.com/doc/2012-06-01/">
<Error>
<Type>Sender</Type>
<Code>ValidationError</Code>
<Message>Policy name cannot contain characters that are not letters, or digits or the dash.</Message>
</Error>
<RequestId>XXXXXXXXXXXXXX</RequestId>
</ErrorResponse>
fatal: [vagrant]: FAILED! => {"changed": false, "failed": true, "invocation": {"module_name": "ec2_elb_lb"}, "module_stderr": "Traceback (most recent call last):\n File \"/tmp/vagrant/ansible_6hqWOb/ansible_module_ec2_elb_lb.py\", line 1342, in <module>\n main()\n File \"/tmp/vagrant/ansible_6hqWOb/ansible_module_ec2_elb_lb.py\", line 1326, in main\n elb_man.ensure_ok()\n File \"/tmp/vagrant/ansible_6hqWOb/ansible_module_ec2_elb_lb.py\", line 410, in _do_op\n return op(*args, **kwargs)\n File \"/tmp/vagrant/ansible_6hqWOb/ansible_module_ec2_elb_lb.py\", line 493, in ensure_ok\n self.select_stickiness_policy()\n File \"/tmp/vagrant/ansible_6hqWOb/ansible_module_ec2_elb_lb.py\", line 1042, in select_stickiness_policy\n self._set_stickiness_policy(elb_info, listeners_dict, policy, **policy_attrs)\n File \"/tmp/vagrant/ansible_6hqWOb/ansible_module_ec2_elb_lb.py\", line 1005, in _set_stickiness_policy\n self._create_policy(policy_attrs['param_value'], policy_attrs['method'], policy[0])\n File \"/tmp/vagrant/ansible_6hqWOb/ansible_module_ec2_elb_lb.py\", line 982, in _create_policy\n getattr(self.elb_conn, policy_meth )(policy_param, self.elb.name, policy)\n File \"/usr/local/lib/python2.7/dist-packages/boto/ec2/elb/__init__.py\", line 637, in create_lb_cookie_stickiness_policy\n return self.get_status('CreateLBCookieStickinessPolicy', params)\n File \"/usr/local/lib/python2.7/dist-packages/boto/connection.py\", line 1227, in get_status\n raise self.ResponseError(response.status, response.reason, body)\nboto.exception.BotoServerError: BotoServerError: 400 Bad Request\n<ErrorResponse xmlns=\"http://elasticloadbalancing.amazonaws.com/doc/2012-06-01/\">\n <Error>\n <Type>Sender</Type>\n <Code>ValidationError</Code>\n <Message>Policy name cannot contain characters that are not letters, or digits or the dash.</Message>\n </Error>\n <RequestId>XXXXXXXXXXXX</RequestId>\n</ErrorResponse>\n\n", "module_stdout": "", "msg": "MODULE FAILURE"}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.