From scheuran at linux.vnet.ibm.com Fri Dec 1 12:13:45 2017 From: scheuran at linux.vnet.ibm.com (Andreas Scheuring) Date: Fri, 1 Dec 2017 13:13:45 +0100 Subject: [Openstack-operators] [charms] Re: Neutron bundle config options get ignored In-Reply-To: <631CFC9F-CA3A-4ADE-82C7-07187BBE107B@linux.vnet.ibm.com> References: <05F25CBE-254F-49D7-B607-60CCD1681E10@linux.vnet.ibm.com> <20171130113952.srw2hywfciftgivj@maul> <631CFC9F-CA3A-4ADE-82C7-07187BBE107B@linux.vnet.ibm.com> Message-ID: Ok, fixed - by mistake my scripts where still using an old bundle file - sorry and thanks! --- Andreas Scheuring (andreas_s) On 30. Nov 2017, at 16:11, Andreas Scheuring wrote: Hi Felipe, thanks for your reply. I now forced the values to be strings (like you suggested), but it’s still being ignored… I still wonder where the actual value is coming from. The config options does not seem to have a default (at least not documented). I’m using the lxd provider. Any other idea? Thanks! --- Andreas Scheuring (andreas_s) On 30. Nov 2017, at 12:39, Felipe Reyes > wrote: Hi Andreas, On Thu, Nov 30, 2017 at 09:50:31AM +0100, Andreas Scheuring wrote: > Hi, > I’m working on deploying a juju based OpenStack Pike. I’m using the bundle [1]. In this bundle I’m setting the config options > * bridge-mappings: provider:br-provider physnet1:br-ex > * data-port: br-provider:eth2 br-ex:eth > > But for some reason those values do not get applied. Some other values are set instead (no clue where those are coming from): The format is not correct, those options are strings and the presence of the colons is confusing the yaml parser, force the values to be interpreted as strings like this: bridge-mappings: "provider:br-provider physnet1:br-ex" data-port: "br-provider:eth2 br-ex:eth1" Best, PS: this mailing list is deprecated, please use the OpenStack development mailing list or the operators one, more details at https://docs.openstack.org/charm-guide/latest/mailing-list.html -- Felipe Reyes # Email: felipe.reyes at canonical.com (GPG:0x9B1FFF39) # Launchpad: ~freyes | IRC: freyes _______________________________________________ OpenStack-operators mailing list OpenStack-operators at lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators -------------- next part -------------- An HTML attachment was scrubbed... URL: From felipe.reyes at canonical.com Fri Dec 1 13:09:21 2017 From: felipe.reyes at canonical.com (Felipe Reyes) Date: Fri, 1 Dec 2017 10:09:21 -0300 Subject: [Openstack-operators] [charms] Re: Neutron bundle config options get ignored In-Reply-To: References: <05F25CBE-254F-49D7-B607-60CCD1681E10@linux.vnet.ibm.com> <20171130113952.srw2hywfciftgivj@maul> <631CFC9F-CA3A-4ADE-82C7-07187BBE107B@linux.vnet.ibm.com> Message-ID: <20171201130921.vsb7jcu3pfgjrgcw@maul> On Fri, Dec 01, 2017 at 01:13:45PM +0100, Andreas Scheuring wrote: > Ok, fixed - by mistake my scripts where still using an old bundle file - sorry and thanks! Great and thanks for closing the loop Best, > > --- > Andreas Scheuring (andreas_s) > > > > On 30. Nov 2017, at 16:11, Andreas Scheuring wrote: > > Hi Felipe, > thanks for your reply. > > I now forced the values to be strings (like you suggested), but it’s still being ignored… I still wonder where the actual value is coming from. The config options does not seem to have a default (at least not documented). I’m using the lxd provider. > Any other idea? > > Thanks! > > --- > Andreas Scheuring (andreas_s) > > > > On 30. Nov 2017, at 12:39, Felipe Reyes > wrote: > > Hi Andreas, > > On Thu, Nov 30, 2017 at 09:50:31AM +0100, Andreas Scheuring wrote: > > Hi, > > I’m working on deploying a juju based OpenStack Pike. I’m using the bundle [1]. In this bundle I’m setting the config options > > * bridge-mappings: provider:br-provider physnet1:br-ex > > * data-port: br-provider:eth2 br-ex:eth > > > > But for some reason those values do not get applied. Some other values are set instead (no clue where those are coming from): > > The format is not correct, those options are strings and the presence of the > colons is confusing the yaml parser, force the values to be interpreted as > strings like this: > > bridge-mappings: "provider:br-provider physnet1:br-ex" > data-port: "br-provider:eth2 br-ex:eth1" > > Best, > > PS: this mailing list is deprecated, please use the OpenStack development > mailing list or the operators one, more details at > https://docs.openstack.org/charm-guide/latest/mailing-list.html > > -- > Felipe Reyes > # Email: felipe.reyes at canonical.com (GPG:0x9B1FFF39) > # Launchpad: ~freyes | IRC: freyes > > > _______________________________________________ > OpenStack-operators mailing list > OpenStack-operators at lists.openstack.org > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators > -- Felipe Reyes Software Sustaining Engineer @ Canonical # Email: felipe.reyes at canonical.com (GPG:0x9B1FFF39) # Launchpad: ~freyes | IRC: freyes