element-info incorrectly errors when a dependency is virtual and the provides comes after the dependency
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Invalid
|
High
|
Unassigned |
Bug Description
This is due to the dependency being added to the queue and examined before the user-input has been fully parsed to see what is provided by them.
This also shows a weakness where the dependencies of a provided element are loaded from the element of the name of the dependency before the dependencies of the element providing that are loaded, potentially leading to unwanted elements in an image.
Example:
The following is a simple change to the provides test that shows the incorrect dependency behaviour:
def test_provide(self):
result = element_
The following is a simple test to show the incorrect provides behaviour:
def test_provide_
result = element_
Changed in tripleo: | |
status: | New → Confirmed |
assignee: | nobody → Jon-Paul Sullivan (jonpaul-sullivan) |
Changed in tripleo: | |
importance: | Undecided → High |
I've reset this to "nobody" and putting on list for re-triage (see https:/ /etherpad. openstack. org/p/tripleo- bug-cleanup- 2016)