1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85
| The full traceback is: File "/tmp/ansible_kolla_docker_payload_d27r44yb/ansible_kolla_docker_payload.zip/ansible/modules/kolla_docker.py", line 381, in main File "/tmp/ansible_kolla_docker_payload_d27r44yb/ansible_kolla_docker_payload.zip/ansible/module_utils/kolla_docker_worker.py", line 114, in compare_container self.check_container_differs() or File "/tmp/ansible_kolla_docker_payload_d27r44yb/ansible_kolla_docker_payload.zip/ansible/module_utils/kolla_docker_worker.py", line 135, in check_container_differs self.compare_dimensions(container_info) or File "/tmp/ansible_kolla_docker_payload_d27r44yb/ansible_kolla_docker_payload.zip/ansible/module_utils/kolla_docker_worker.py", line 330, in compare_dimensions elif current_dimensions[key2]: failed: [control01] (item={'key': 'cron', 'value': {'container_name': 'cron', 'group': 'cron', 'enabled': True, 'image': 'quay.nju.edu.cn/openstack.kolla/ubuntu-source-cron:yoga', 'environment': {'DUMMY_ENVIRONMENT': 'kolla_useless_env', 'KOLLA_LOGROTATE_SCHEDULE': 'daily'}, 'volumes': ['/etc/kolla/cron/:/var/lib/kolla/config_files/:ro', '/etc/localtime:/etc/localtime:ro', '/etc/timezone:/etc/timezone:ro', 'kolla_logs:/var/log/kolla/'], 'dimensions': {}}}) => { "ansible_loop_var": "item", "changed": true, "invocation": { "module_args": { "action": "compare_container", "api_version": "auto", "auth_email": null, "auth_password": null, "auth_registry": "quay.nju.edu.cn", "auth_username": null, "cap_add": [], "cgroupns_mode": null, "client_timeout": 120, "command": null, "detach": true, "dimensions": {}, "environment": { "DUMMY_ENVIRONMENT": "kolla_useless_env", "KOLLA_CONFIG_STRATEGY": "COPY_ALWAYS", "KOLLA_LOGROTATE_SCHEDULE": "daily" }, "graceful_timeout": 10, "healthcheck": null, "ignore_missing": false, "image": "quay.nju.edu.cn/openstack.kolla/ubuntu-source-cron:yoga", "labels": {}, "name": "cron", "privileged": false, "remove_on_exit": true, "restart_policy": "unless-stopped", "restart_retries": 10, "security_opt": [], "state": "running", "tls_cacert": null, "tls_cert": null, "tls_key": null, "tls_verify": false, "tmpfs": null, "tty": false, "volumes": [ "/etc/kolla/cron/:/var/lib/kolla/config_files/:ro", "/etc/localtime:/etc/localtime:ro", "/etc/timezone:/etc/timezone:ro", "kolla_logs:/var/log/kolla/" ], "volumes_from": null } }, "item": { "key": "cron", "value": { "container_name": "cron", "dimensions": {}, "enabled": true, "environment": { "DUMMY_ENVIRONMENT": "kolla_useless_env", "KOLLA_LOGROTATE_SCHEDULE": "daily" }, "group": "cron", "image": "quay.nju.edu.cn/openstack.kolla/ubuntu-source-cron:yoga", "volumes": [ "/etc/kolla/cron/:/var/lib/kolla/config_files/:ro", "/etc/localtime:/etc/localtime:ro", "/etc/timezone:/etc/timezone:ro", "kolla_logs:/var/log/kolla/" ] } }, "msg": "'Traceback (most recent call last):\\n File \"/tmp/ansible_kolla_docker_payload_d27r44yb/ansible_kolla_docker_payload.zip/ansible/modules/kolla_docker.py\", line 381, in main\\n File \"/tmp/ansible_kolla_docker_payload_d27r44yb/ansible_kolla_docker_payload.zip/ansible/module_utils/kolla_docker_worker.py\", line 114, in compare_container\\n self.check_container_differs() or\\n File \"/tmp/ansible_kolla_docker_payload_d27r44yb/ansible_kolla_docker_payload.zip/ansible/module_utils/kolla_docker_worker.py\", line 135, in check_container_differs\\n self.compare_dimensions(container_info) or\\n File \"/tmp/ansible_kolla_docker_payload_d27r44yb/ansible_kolla_docker_payload.zip/ansible/module_utils/kolla_docker_worker.py\", line 330, in compare_dimensions\\n elif current_dimensions[key2]:\\nKeyError: \\'KernelMemory\\'\\n'" }
PLAY RECAP *************************************************************************************************************************************************************************************************************************** control01 : ok=17 changed=0 unreachable=0 failed=1 skipped=1 rescued=0 ignored=0 localhost : ok=4 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
Command failed ansible-playbook -e @/etc/kolla/globals.yml -e @/etc/kolla/passwords.yml -e CONFIG_DIR=/etc/kolla -e kolla_action=deploy /path/to/venv/share/kolla-ansible/ansible/site.yml --verbose --verbose --verbose --verbose --inventory multinode
|