need a way to set the listening ip to user specified address on guest datastores

Bug #1541222 reported by Craig Vyvial
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack DBaaS (Trove)
New
Medium
Unassigned

Bug Description

So currently we use oslo_utils.netutils._get_my_ipv4_address() on the guest instance to find the listening IP address for a datastore. While this works in a default scenario it fails when a user provides a network to the create instance or create cluster call they want the instance on with the --nics "net-id=<uuid>".

This call gets the first interface to use.
https://github.com/openstack/oslo.utils/blob/master/oslo_utils/netutils.py#L262

Craig Vyvial (cp16net)
Changed in trove:
milestone: none → mitaka-3
Amrith Kumar (amrith)
Changed in trove:
milestone: mitaka-3 → mitaka-rc1
Amrith Kumar (amrith)
Changed in trove:
milestone: mitaka-rc1 → next
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.