summaryrefslogtreecommitdiff
path: root/openstack/etc
diff options
context:
space:
mode:
authorFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2015-02-04 18:45:02 +0000
committerFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2015-02-04 18:45:02 +0000
commit75ece84ad64580a5bf2a72039a2a0eb350b901f3 (patch)
tree75579d09fc370625a69ccd7ce3110d2048d9c6cf /openstack/etc
parente845fe6aa5c89cf84dcbcd826378cf2658897fb5 (diff)
downloaddefinitions-75ece84ad64580a5bf2a72039a2a0eb350b901f3.tar.gz
WIP: Add hostname to /etc/hosts and point the services to this host
Diffstat (limited to 'openstack/etc')
-rw-r--r--openstack/etc/cinder/cinder.conf2
-rw-r--r--openstack/etc/glance/glance-api.conf2
-rw-r--r--openstack/etc/glance/glance-registry.conf2
-rw-r--r--openstack/etc/hosts2
-rw-r--r--openstack/etc/keystone/keystone.conf2
-rw-r--r--openstack/etc/neutron/neutron.conf4
-rw-r--r--openstack/etc/neutron/plugins/ml2/ml2_conf.ini2
-rw-r--r--openstack/etc/nova/nova.conf2
8 files changed, 10 insertions, 8 deletions
diff --git a/openstack/etc/cinder/cinder.conf b/openstack/etc/cinder/cinder.conf
index 36fe762b..764c08bc 100644
--- a/openstack/etc/cinder/cinder.conf
+++ b/openstack/etc/cinder/cinder.conf
@@ -2363,7 +2363,7 @@ volume_group=cinder-volumes
# Deprecated group/name - [DEFAULT]/sql_connection
# Deprecated group/name - [DATABASE]/sql_connection
# Deprecated group/name - [sql]/connection
-connection=postgresql://##CINDER_DB_USER##:##CINDER_DB_PASSWORD##@127.0.0.1/cinder
+connection=postgresql://##CINDER_DB_USER##:##CINDER_DB_PASSWORD##@onenode/cinder
# The SQLAlchemy connection string to use to connect to the
# slave database. (string value)
diff --git a/openstack/etc/glance/glance-api.conf b/openstack/etc/glance/glance-api.conf
index e074a735..c30ce62f 100644
--- a/openstack/etc/glance/glance-api.conf
+++ b/openstack/etc/glance/glance-api.conf
@@ -586,7 +586,7 @@ image_cache_dir = /var/lib/glance/image-cache/
# Deprecated group/name - [DATABASE]/sql_connection
# Deprecated group/name - [sql]/connection
#connection = <None>
-connection=postgresql://##GLANCE_DB_USER##:##GLANCE_DB_PASSWORD##@127.0.0.1/glance
+connection=postgresql://##GLANCE_DB_USER##:##GLANCE_DB_PASSWORD##@onenode/glance
# The SQL mode to be used for MySQL sessions. This option,
# including the default, overrides any server-set SQL mode. To
diff --git a/openstack/etc/glance/glance-registry.conf b/openstack/etc/glance/glance-registry.conf
index 08a58922..fbfe7c8d 100644
--- a/openstack/etc/glance/glance-registry.conf
+++ b/openstack/etc/glance/glance-registry.conf
@@ -99,7 +99,7 @@ limit_param_default = 25
# Deprecated group/name - [DATABASE]/sql_connection
# Deprecated group/name - [sql]/connection
#connection = <None>
-connection=postgresql://##GLANCE_DB_USER##:##GLANCE_DB_PASSWORD##@127.0.0.1/glance
+connection=postgresql://##GLANCE_DB_USER##:##GLANCE_DB_PASSWORD##@onenode/glance
# The SQL mode to be used for MySQL sessions. This option,
# including the default, overrides any server-set SQL mode. To
diff --git a/openstack/etc/hosts b/openstack/etc/hosts
new file mode 100644
index 00000000..b35139ac
--- /dev/null
+++ b/openstack/etc/hosts
@@ -0,0 +1,2 @@
+127.0.0.1 localhost onenode
+::1 localhost
diff --git a/openstack/etc/keystone/keystone.conf b/openstack/etc/keystone/keystone.conf
index 3d580d77..a46cc5fc 100644
--- a/openstack/etc/keystone/keystone.conf
+++ b/openstack/etc/keystone/keystone.conf
@@ -628,7 +628,7 @@ rpc_backend=rabbit
# Deprecated group/name - [DATABASE]/sql_connection
# Deprecated group/name - [sql]/connection
#connection=<None>
-connection=postgresql://##KEYSTONE_DB_USER##:##KEYSTONE_DB_PASSWORD##@127.0.0.1/keystone
+connection=postgresql://##KEYSTONE_DB_USER##:##KEYSTONE_DB_PASSWORD##@onenode/keystone
# The SQLAlchemy connection string to use to connect to the
# slave database. (string value)
diff --git a/openstack/etc/neutron/neutron.conf b/openstack/etc/neutron/neutron.conf
index 8248febb..1e832ccd 100644
--- a/openstack/etc/neutron/neutron.conf
+++ b/openstack/etc/neutron/neutron.conf
@@ -243,7 +243,7 @@ notify_nova_on_port_status_changes = True
notify_nova_on_port_data_changes = True
# URL for connection to nova (Only supports one nova region currently).
-nova_url = http://127.0.0.1:8774/v2
+nova_url = http://onenode:8774/v2
# Name of nova region to use. Useful if keystone manages more than one region
nova_region_name = ##NOVA_REGION##
@@ -575,7 +575,7 @@ admin_password = ##NEUTRON_SERVICE_PASSWORD##
# to put the [database] section and its connection attribute in this
# configuration file.
#connection=sqlite:////var/lib/neutron/neutron.sqlite
-connection=postgresql://##NEUTRON_DB_USER##:##NEUTRON_DB_PASSWORD##@127.0.0.1/neutron
+connection=postgresql://##NEUTRON_DB_USER##:##NEUTRON_DB_PASSWORD##@onenode/neutron
# Database engine for which script will be generated when using offline
# migration
diff --git a/openstack/etc/neutron/plugins/ml2/ml2_conf.ini b/openstack/etc/neutron/plugins/ml2/ml2_conf.ini
index fb4d7a9f..58e5fe21 100644
--- a/openstack/etc/neutron/plugins/ml2/ml2_conf.ini
+++ b/openstack/etc/neutron/plugins/ml2/ml2_conf.ini
@@ -77,7 +77,7 @@ enable_security_group = True
enable_ipset = True
[ovs]
-local_ip = 127.0.0.1
+local_ip = onenode
enable_tunneling = True
bridge_mappings=External:br-ex,Physnet1:br-eth1
diff --git a/openstack/etc/nova/nova.conf b/openstack/etc/nova/nova.conf
index 09052cd7..3296cd32 100644
--- a/openstack/etc/nova/nova.conf
+++ b/openstack/etc/nova/nova.conf
@@ -365,7 +365,7 @@ vnc_keymap="en-us"
# DATABASE #
############
[database]
-connection=postgresql://##NOVA_DB_USER##:##NOVA_DB_PASSWORD##@127.0.0.1/nova
+connection=postgresql://##NOVA_DB_USER##:##NOVA_DB_PASSWORD##@onenode/nova
#############
# CONDUCTOR #