Activity log for bug #1640376

Date Who What changed Old value New value Message
2016-11-09 04:59:19 Joshua Harlow bug added bug
2016-11-09 05:00:34 Joshua Harlow description Stop matching wrong prefixes 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' 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'
2016-11-09 16:54:24 Joshua Harlow marked as duplicate 1638900