Allow common bind interface attribute like the existing bind-host one

Bug #1411840 reported by Mark Vanderwiel on 2015-01-16
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack + Chef
Undecided
Mark Vanderwiel

Bug Description

Similar to the ['openstack']['endpoints']['bind-host'] common attribute above, a new ['openstack']['endpoints']['bind-interface'] common attribute is needed. The default value should be nil and should be used to set the default value for the ['openstack']['endpoints']['<service_name>-bind']['bind_interface'] attributes. This new common attribute makes it easier to configure a common service endpoint bind.

Related code snippet from ohttps://github.com/stackforge/cookbook-openstack-common/blob/master/attributes/default.rb#L165

# Note: The ['<service-name>-bind'] for each service exist so that a user can
# have a service bind to a local IP per API node, that is different to the
# actual endpoint for that service, which may be a load balanced IP
default['openstack']['endpoints']['bind-host'] = '127.0.0.1'

Fix proposed to branch: master
Review: https://review.openstack.org/148012

Changed in openstack-chef:
status: New → In Progress

Reviewed: https://review.openstack.org/148012
Committed: https://git.openstack.org/cgit/stackforge/cookbook-openstack-common/commit/?id=0aeb4fc7ea53703585c93cc9f1eba765abedb10b
Submitter: Jenkins
Branch: master

commit 0aeb4fc7ea53703585c93cc9f1eba765abedb10b
Author: Mark Vanderwiel <email address hidden>
Date: Fri Jan 16 16:01:28 2015 -0600

    Add global bind-interface attribute like the existing bind-host one

    To make environment config easier add a bind-interface, very similar to
    the existing bind-host attribuite.
    Cleanup endpoint recipe to skip parent override keys.

    Change-Id: Ic830a8bae71a690682ceaf876eaff40540e28b5f
    Closes-Bug: #1411840

Changed in openstack-chef:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers