Validating that python3 exists is not enough criteria to execute loguserdata with python3
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
Medium
|
Vitalii Gridnev | ||
Mitaka |
Fix Released
|
Undecided
|
Vitalii Gridnev |
Bug Description
On ubuntu-trusty image I faced with issue at [0] when:
1. python3 exists;
2. pkg_resources can't be imported in python3.
That leads to issues with completing wait conditions with following errors in cloud-init logs:
Traceback (most recent call last):
File "/var/lib/
import pkg_resources
ImportError: No module named 'pkg_resources'
So, I'm suggesting to use following approach to resolve this issue: when we have to determine what python executable should be used for executing loguserdata script, then should additionally check that all requirements are on the needed place.
Moreover, please consider back-porting fix to stable/mitaka branch also.
description: | updated |
Changed in heat: | |
milestone: | none → newton-3 |
importance: | Undecided → Medium |
Fix proposed to branch: master /review. openstack. org/360804
Review: https:/