[openstack-dev] [ansible] One or more undefined variables: 'dict object' has no attribute 'bridge'
wade.holler at gmail.com
Sat Dec 12 17:09:24 UTC 2015
I haven't reviewed your configs yet but if "bridge" is a valid ansible
inventory attribute , then this error is usually caused by trying to
reference a host that ansible didn't check in on yet / gather facts on. At
least this is what is has been in my brief experience.
For example if I wanted to reference all hosts in a "webservers" ansible
group to build a haproxy config but that playbook didn't apply to the
"webservers" group them their facts have not been collected.
Just a thought.
On Sat, Dec 12, 2015 at 9:34 AM Mark Korondi <korondi.mark at gmail.com> wrote:
> Hi all,
> Trying to set up openstack-ansible, but stuck on this point:
> > TASK: [set local_ip fact (is_metal)]
> > ...
> > fatal: [os-compute-1] => One or more undefined variables: 'dict object'
> has no
> > attribute 'bridge'
> > ...
> > One or more undefined variables: 'dict object' has no attribute 'bridge'
> These are my configs:
> - http://paste.openstack.org/show/481739/
> - http://paste.openstack.org/show/481740/
> (/etc/network/interfaces on compute host called `os-compute-1`)
> I set up the eth12 veth pair interface also on the compute host as you can
> `ifup-ifdown` works without any problems reported.
> Why is it reporting an undefined bridge variable? Any ideas on my config
> is well
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the OpenStack-dev