Bug 1376724 - Setting my_ip in nova.conf also for controller nodes
Summary: Setting my_ip in nova.conf also for controller nodes
Keywords:
Status: CLOSED DUPLICATE of bug 1486948
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: rhosp-director
Version: 7.0 (Kilo)
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: 10.0 (Newton)
Assignee: Angus Thomas
QA Contact: Omri Hochman
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-16 09:14 UTC by VIKRANT
Modified: 2019-12-16 06:51 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-01-16 01:08:15 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 2630151 0 None None None 2016-09-16 09:18:32 UTC

Description VIKRANT 2016-09-16 09:14:20 UTC
Description of problem:

Setting my_ip in nova.conf also for controller nodes.

In controller nodes my_ip in nova.conf is not set, nova creates firewall rules, which use external IP address. The firewall rules should use internal IP address instead.

my_ip is set for compute nodes by overcloud_compute.pp of openstack-tripleo-heat-templates in these lines:
nova_config {
  'DEFAULT/my_ip':                     value => $ipaddress;
  'DEFAULT/linuxnet_interface_driver': value => 'nova.network.linux_net.LinuxOVSInterfaceDriver';
}
A similar way could be done by overcloud_controller.pp for controller nodes during creation of the overcloud.

Cu has switched to private IP manually to reduce the security risks but have some questions surrounding it.

Why is the my_ip not set for controller nodes?
Is there some problem if it is set?
What is the recommended way to set my_ip in controllers?

Version-Release number of selected component (if applicable):
RHEL OSP 7

How reproducible:
Everytime. 

Steps to Reproduce:
1. Deploy a new setup, my_ip parameter is getting set on compute nodes but not on controller nodes. 
2. Controller nodes are using external IP for firewall rules. Cu is having security concerns because of having external ip in firewall rule.
3.

Actual results:
Deployment is not setting my_ip on controller nodes. 

Expected results:
Deployment should set my_ip on controller nodes in nova.conf file so that firewall rules can have internal IP.

Additional info:

Comment 8 Ollie Walsh 2018-01-16 01:08:15 UTC
my_ip is set as a consequence of https://bugzilla.redhat.com/show_bug.cgi?id=1486948 so marking this a duplicate of that bug

*** This bug has been marked as a duplicate of bug 1486948 ***


Note You need to log in before you can comment on or make changes to this bug.