Plugin match incorrect

Bug #1640376 reported by Joshua Harlow
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
New
Undecided
Unassigned

Bug Description

Currently when I have one of the following in
my plugins config:

[horizon-base-plugin-XYZ]

This causes 'base' to think this is a plugin for
it when its only a plugin for horizon (or other
project) which is wrong and causes errors like:

ERROR:kolla.image.build:Unhandled error when running BuildTask(base)
Traceback (most recent call last):
  File "/home/jenkins/workspace/glance@2/kolla/.venv/lib/python2.7/site-packages/kolla/image/build.py", line 487, in run
    task.run()
  File "/home/jenkins/workspace/glance@2/kolla/.venv/lib/python2.7/site-packages/kolla/image/build.py", line 271, in run
    self.builder(self.image)
  File "/home/jenkins/workspace/glance@2/kolla/.venv/lib/python2.7/site-packages/kolla/image/build.py", line 398, in builder
    archive_path = self.process_source(image, plugin)
  File "/home/jenkins/workspace/glance@2/kolla/.venv/lib/python2.7/site-packages/kolla/image/build.py", line 294, in process_source
    dest_archive = os.path.join(image.path, source['name'] + '-archive')
KeyError: 'name'

Joshua Harlow (harlowja)
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on kolla (master)

Change abandoned by Joshua Harlow (<email address hidden>) on branch: master
Review: https://review.openstack.org/395399
Reason: Dup of https://review.openstack.org/#/c/393291/

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.