seancallaway / rancher_ansible Goto Github PK
View Code? Open in Web Editor NEWAnsible Modules for Interacting with Rancher
License: MIT License
Ansible Modules for Interacting with Rancher
License: MIT License
Hi
I am getting the following error when using the drain function.
The drain start and completes, so it is only the "ansible job" which in indicating something went wrong. Unfortunately I am a terrible at python...
{
"module_stdout": "/usr/lib/python3.6/site-packages/urllib3/connectionpool.py:847: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings\r\n InsecureRequestWarning)\r\nTraceback (most recent call last):\r\n File \"/home/ansible/.ansible/tmp/ansible-tmp-1643867344.0378213-97863888650931/AnsiballZ_rancher_node.org\", line 102, in <module>\r\n _ansiballz_main()\r\n File \"/home/ansible/.ansible/tmp/ansible-tmp-1643867344.0378213-97863888650931/AnsiballZ_rancher_node.org\", line 94, in _ansiballz_main\r\n invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\r\n File \"/home/ansible/.ansible/tmp/ansible-tmp-1643867344.0378213-97863888650931/AnsiballZ_rancher_node.org\", line 40, in invoke_module\r\n runpy.run_module(mod_name='ansible.modules.rancher_node', init_globals=None, run_name='__main__', alter_sys=False)\r\n File \"/usr/lib64/python3.6/runpy.py\", line 208, in run_module\r\n return _run_code(code, {}, init_globals, run_name, mod_spec)\r\n File \"/usr/lib64/python3.6/runpy.py\", line 85, in _run_code\r\n exec(code, run_globals)\r\n File \"/tmp/ansible_rancher_node_payload_dzj4hizb/ansible_rancher_node_payload.zip/ansible/modules/rancher_node.py\", line 176, in <module>\r\n File \"/tmp/ansible_rancher_node_payload_dzj4hizb/ansible_rancher_node_payload.zip/ansible/modules/rancher_node.py\", line 168, in main\r\n File \"/tmp/ansible_rancher_node_payload_dzj4hizb/ansible_rancher_node_payload.zip/ansible/modules/rancher_node.py\", line 50, in rancher_node_drained\r\n File \"/tmp/ansible_rancher_node_payload_dzj4hizb/ansible_rancher_node_payload.zip/ansible/modules/rancher_node.py\", line 19, in get_node\r\nKeyError: 'pagination'\r\n",
"module_stderr": "Shared connection to NODE.DOMAIN.ORG closed.\r\n",
"msg": "MODULE FAILURE\nSee stdout/stderr for the exact error",
"rc": 1,
"_ansible_no_log": false,
"changed": false
}
In the case that self-signed certs are in use, allow the passing of validate_certs: false
to the modules in order to skip certificate validation.
Package this as a collection in Ansible Galaxy.
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.