Skip to content

Instantly share code, notes, and snippets.

@a1git
Created December 9, 2020 14:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save a1git/0e100976a09669d01eecdd6ad0333fdb to your computer and use it in GitHub Desktop.
Save a1git/0e100976a09669d01eecdd6ad0333fdb to your computer and use it in GitHub Desktop.
The full traceback is:
WARNING: The below traceback may *not* be related to the actual failure.
File "/tmp/ansible_lxc_container_payload_ffMn55/ansible_lxc_container_payload.zip/ansible/modules/cloud/lxc/lxc_container.py", line 416, in <module>
fatal: [cloud-c3-1030990_placement_container-99b03220 -> 172.29.236.13]: FAILED! => {
"changed": false,
"invocation": {
"module_args": {
"archive": false,
"archive_compression": "gzip",
"archive_path": null,
"backing_store": "dir",
"clone_name": null,
"clone_snapshot": false,
"config": "/etc/lxc/lxc-openstack.conf",
"container_command": null,
"container_config": null,
"container_log": true,
"container_log_level": "INFO",
"directory": "/var/lib/lxc/cloud-c3-1030990_placement_container-99b03220/rootfs",
"fs_size": "5G",
"fs_type": "ext4",
"lv_name": null,
"lxc_path": null,
"name": "cloud-c3-1030990_placement_container-99b03220",
"state": "started",
"template": "download",
"template_options": "--dist ubuntu --release focal --arch amd64 --force-cache --server images.linuxcontainers.org --variant=default ",
"thinpool": null,
"vg_name": "lxc",
"zfs_root": null
}
},
"msg": "The `lxc` module is not importable. Check the requirements."
}
PLAY RECAP *************************************************************************************************************************************************************
cloud-c3-1030990_placement_container-99b03220 : ok=10 changed=0 unreachable=0 failed=1 skipped=1 rescued=0 ignored=0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment