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

TTL not working as documented #27

Open
AnthonyHakim opened this issue Mar 31, 2016 · 0 comments
Open

TTL not working as documented #27

AnthonyHakim opened this issue Mar 31, 2016 · 0 comments

Comments

@AnthonyHakim
Copy link

Trying to use the TTL value when creating a server (3600), but getting error message:

\\"msg": "Traceback (most recent call last):\n File \"/tmp/.ansible/tmp/ansible-tmp-1459436347.31-145264489476141/clc_server\", line 3277, in <module>\n main()\n File \"/tmp/.ansible/tmp/ansible-tmp-1459436347.31-145264489476141/clc_server\", line 1664, in main\n clc_server.process_request()\n File \"/tmp/.ansible/tmp/ansible-tmp-1459436347.31-145264489476141/clc_server\", line 550, in process_request\n self.module)\n File \"/tmp/.ansible/tmp/ansible-tmp-1459436347.31-145264489476141/clc_server\", line 738, in _validate_module_params\n params['ttl'] = ClcServer._find_ttl(clc, module)\n File \"/tmp/.ansible/tmp/ansible-tmp-1459436347.31-145264489476141/clc_server\", line 912, in _find_ttl\n ttl = clc.v2.time_utils.SecondsToZuluTS(int(time.time()) + ttl)\nTypeError: unsupported operand type(s) for +: 'int' and 'str'\n",).

If I use the v2 API to create a server using the TTL value as documented ("2016-04-04T01:01:01Z"), it works without issue.

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