The python-requests package is pulled in by apt via dependency
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack-Ansible |
Invalid
|
Undecided
|
Unassigned | ||
Liberty |
Invalid
|
Undecided
|
Unassigned | ||
Trunk |
Invalid
|
Undecided
|
Unassigned |
Bug Description
The python-requests package is being pulled in from apt by lxc-templates.
If this happens after the install of the requests pip wheel, nova image-create and migrate (and potentially others) run into LP:1476770, where an image object with an empty properties dictionary is returned to glanceclient, which raises an AttributeError for key "id".
The lxc-templates package recommends cloud-image-utils, which in turn has a direct dependency on euca2ools, which has a direct dependency on python-requests.
root@87b035a9-
|Recommends: cloud-image-utils
root@87b035a9-
Depends: euca2ools
root@87b035a9-
Depends: python-requests
We are using the apt module to install lxc-templates, which defaults to installing recommended packages unless install_recommends is set to no.
In the 10 series it is being installed here:
rpc_deployment/
In the 11 series it is installed here:
playbooks/
playbooks/
CVE References
Changed in openstack-ansible: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
no longer affects: | openstack-ansible/trunk |
Changed in openstack-ansible: | |
status: | Confirmed → Invalid |
As a workaround to avoid this issue it would be best to execute administrative commands from the Utility container. This works around the issue while the upstream bug is resolved.