creating lxc containers on arm devices fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack-Ansible |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
I am setting up openstack-ansible on a heterogeneous cluster consisting of an x86 control node and arm compute nodes. For services (e.g. a repo service) to also run on the arm nodes containers need to be created on the arm nodes.
Encountered failure:
Container creation of openstack-ansible fails with the following error during TASK [lxc_hosts : Create base container]:
fatal: [odroid]: FAILED! => {"changed": false, "command": "/usr/bin/
Reason for failure:
lxc-create cannot resolve the template argument arch=''.
Suggested fix:
Add an architecture mapping for arm:
lxc_architectu
x86_64: amd64
ppc64le: ppc64el
armv7l: armhf
This mapping update needs (at least) to be applied to:
- ansible/
- ansible/
Please note that the above list may not be complete. I chose to redefine the mentioned variable in user_variables which allowed successful container creation on the arm host.
Changed in openstack-ansible: | |
status: | New → Confirmed |
importance: | Undecided → Wishlist |
assignee: | nobody → Jean-Philippe Evrard (jean-philippe-evrard) |
tags: | added: low-hanging-fruit |
Changed in openstack-ansible: | |
status: | In Progress → Fix Released |
assignee: | Jean-Philippe Evrard (jean-philippe-evrard) → nobody |
Fix proposed to branch: master /review. openstack. org/496337
Review: https:/