diff options
| author | Jenkins <jenkins@review.openstack.org> | 2016-09-01 09:47:41 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2016-09-01 09:47:41 +0000 |
| commit | fdb33d04ec2b21c3a28184164666a33351841400 (patch) | |
| tree | a0c9d977a41c110b50e0292ef5ae0bed29fbf0d4 /kolla | |
| parent | 0bf7e9b66d0cfe029d5d702dec41d03a60fe1c18 (diff) | |
| parent | e821f58c9b40dfb3f335b51f8a41627ac221726b (diff) | |
| download | kolla-fdb33d04ec2b21c3a28184164666a33351841400.tar.gz kolla-fdb33d04ec2b21c3a28184164666a33351841400.zip | |
Merge "Install neutron-lbaas-dashboard from source in horizon container"
Diffstat (limited to 'kolla')
| -rw-r--r-- | kolla/common/config.py | 4 | ||||
| -rw-r--r-- | kolla/image/build.py | 10 |
2 files changed, 12 insertions, 2 deletions
diff --git a/kolla/common/config.py b/kolla/common/config.py index 9de8a8198..ba94f1f39 100644 --- a/kolla/common/config.py +++ b/kolla/common/config.py @@ -209,6 +209,10 @@ SOURCES = { 'type': 'url', 'location': ('http://tarballs.openstack.org/horizon/' 'horizon-master.tar.gz')}, + 'horizon-plugin-neutron-lbaas-dashboard': { + 'type': 'url', + 'location': ('http://tarballs.openstack.org/neutron-lbaas-dashboard/' + 'neutron-lbaas-dashboard-master.tar.gz')}, 'ironic-base': { 'type': 'url', 'location': ('http://tarballs.openstack.org/ironic/' diff --git a/kolla/image/build.py b/kolla/image/build.py index 1eb3a4634..03534b797 100644 --- a/kolla/image/build.py +++ b/kolla/image/build.py @@ -824,8 +824,14 @@ class KollaWorker(object): (re.search('{}-plugin-.+'.format(image.name), section) for section in self.conf.list_all_sections()) if match]: - self.conf.register_opts(common_config.get_source_opts(), - plugin) + try: + self.conf.register_opts( + common_config.get_source_opts(), + plugin + ) + except cfg.DuplicateOptError: + LOG.debug('Plugin %s already registered in config', + plugin) image.plugins.append( process_source_installation(image, plugin)) |
