Ask Your Question
0

nova.conf ip configuration

asked 2013-05-12 09:04:21 -0500

polslinux gravatar image

I have a doubt about what ip to write inside the nova.conf file of the compute node.
This is the nova.conf file of the control node:

[DEFAULT]
dhcpbridge_flagfile=/etc/nova/nova.conf
dhcpbridge=/usr/bin/nova-dhcpbridge
logdir=/var/log/nova
state_path=/var/lib/nova
lock_path=/var/lock/nova
force_dhcp_release=True
iscsi_helper=tgtadm
libvirt_use_virtio_for_bridges=True
connection_type=libvirt
root_helper=sudo nova-rootwrap /etc/nova/rootwrap.conf
verbose=True
ec2_private_dns_show_ip=True
api_paste_config=/etc/nova/api-paste.ini
volumes_path=/var/lib/nova/volumes
enabled_apis=ec2,osapi_compute,metadata
mysql_connection=mysql://nova:novaPass@172.25.27.11/nova

# AUTHENTICATION
auth_strategy=keystone
[keystone_authtoken]
auth_host = 127.0.0.1
auth_port = 35357
auth_protocol = http
admin_tenant_name = service
admin_user = nova
admin_password = nova
signing_dirname = /tmp/keystone/signing-nova

# NETWORK
network_manager_nova=nova.network.manager.FlatDHCPManager
my_ip=172.25.27.11
fixed_range=172.25.100.0/24
#public_interface=eth0
#vlan_interface=eth0
flat_interface=eth0
flat_network_bridge=br100
flat_injected=False

# RABBITMQ
rabbit_host=172.25.27.11

# NOVNC CONSOLE
novncproxy_base_url=http://172.25.27.11:6080/vnc_auto.html
vncserver_proxyclient_address=172.25.27.11
vncserver_listen=172.25.27.11

# GLANCE
image_service=nova.image.glance.GlanceImageService
flance_api_servers=172.25.27.11:9292

# VOLUMES
volume_driver=nova.colume.driver.ISCSIDriver
volume_group=nova-volumes
volume_name_template=volume-%s

# SCHEDULER
compute_scheduler_driver=nova.scheduler.filter_scheduler.FilterScheduler

# APIS
osapi_compute_extension=nova.api.openstack.compute.contrib.standard_extensions
ec2_dmz_host=172.25.27.11
s3_host=172.25.27.11

And this is the nova.conf file of the compute node:

[DEFAULT]
dhcpbridge_flagfile=/etc/nova/nova.conf
dhcpbridge=/usr/bin/nova-dhcpbridge
logdir=/var/log/nova
state_path=/var/lib/nova
lock_path=/var/lock/nova
force_dhcp_release=True
iscsi_helper=tgtadm
libvirt_use_virtio_for_bridges=True
connection_type=libvirt
root_helper=sudo nova-rootwrap /etc/nova/rootwrap.conf
verbose=True
ec2_private_dns_show_ip=True
api_paste_config=/etc/nova/api-paste.ini
volumes_path=/var/lib/nova/volumes
enabled_apis=ec2,osapi_compute,metadata
mysql_connection=mysql://nova:novaPass@172.25.27.11/nova

# NETWORK
network_manager=nova.network.manager.FlatDHCPManager
flat_network_bridge=br100
flat_interface=eth0
flat_injected=False
fixed_range=172.25.100.0/24

# AUTHENTICATION
auth_strategy=keystone
[keystone_authtoken]
auth_host = 172.25.27.11
auth_port = 35357
auth_protocol = http
admin_tenant_name = service
admin_user = nova
admin_password = nova
signing_dirname = /tmp/keystone/signing-nova

# RABBITMQ
rabbit_host=172.25.27.11

# NOVNC CONSOLE
novncproxy_base_url=http://172.25.27.11:6080/vnc_auto.html
vncserver_proxyclient_address=172.25.27.9
vncserver_listen=172.25.27.9

# GLANCE
image_service=nova.image.glance.GlanceImageService
flance_api_servers=172.25.27.11:9292

# VOLUMES
volume_driver=nova.colume.driver.ISCSIDriver
volume_group=nova-volumes
volume_name_template=volume-%s

# SCHEDULER
compute_scheduler_driver=nova.scheduler.filter_scheduler.FilterScheduler

# APIS
osapi_compute_extension=nova.api.openstack.compute.contrib.standard_extensions
ec2_dmz_host=172.25.27.11
s3_host=172.25.27.11

My questions are:
1) in the compute node "nova.conf" file the ip address have to be the control node ip (172.25.27.11) address or the compute node ip address (172.25.27.9)?
2) why i have to run nova-manage db sync also on the compute node? Have i to create the db or it is just a remote sync to the control node?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
2

answered 2013-05-12 11:21:09 -0500

darragh-oreilly gravatar image

1) your compute node's nova.conf looks good.

2) you don't need to.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2013-05-12 09:04:21 -0500

Seen: 609 times

Last updated: May 12 '13