Ask Your Question
0

Nova Network: nova-network service not running

asked 2013-09-11 14:31:24 -0500

Mathias Ewald gravatar image

Hi, I am trying to set up a flat network for now. To run nova I have 2 nodes: nova01 with libvirt/kvm and nova-ctrl for all the API stuff. The nova.conf file can be identical for the most part except some IP addresses, right?

nova01: /etc/nova/nova.conf

[DEFAULT]                                                                                                                                                               
compute_driver=libvirt.LibvirtDriver
sql_connection=mysql://nova:password@10.10.10.3/nova
enabled_apis=ec2,osapi_compute,metadata
osapi_compute_listen="0.0.0.0"
osapi_compute_listen_port=8774
allow_admin_api=true
api_paste_config=/etc/nova/api-paste.ini
my_ip = 10.10.10.50
allow_instance_snapshots=true
s3_host="$my_ip"
s3_port=3333
ec2_host="$my_ip"
ec2_port=8773
ec2_scheme="http"
ec2_listen="0.0.0.0"
ec2_listen_port=8773
metadata_host="$my_ip"
metadata_port=8775
metadata_listen=0.0.0.0
instance_name_template="instance-%08x"
libvirt_inject_password=true
logdir=/var/log/nova
log-date-format="%Y-%m-%d %H:%M:%S"
debug=false
state_path=/var/lib/nova
lock_path=/var/lock/nova
rootwrap_config=/etc/nova/rootwrap.conf
auth_strategy=keystone
scheduler_driver=nova.scheduler.filter_scheduler.FilterScheduler
iscsi_helper=tgtadm
volume_api_class=nova.volume.cinder.API
rabbit_host = 10.10.10.5
rabbit_port = 5672
rabbit_use_ssl = false
rabbit_userid = guest
rabbit_password = vxlt1234
image_service=nova.image.glance.GlanceImageService
glance_host=10.10.10.10
glance_port=9292
glance_api_servers=10.10.10.10:9292
network_api_class="nova.network.api.API" 
network_manager=nova.network.manager.FlatManager
force_dhcp_release=False
flat_network_bridge=br100
flat_interface=eth1
fixed_range=''
network_api_class=nova.network.quantumv2.api.API
firewall_driver=nova.virt.firewall.NoopFirewallDriver
libvirt_use_virtio_for_bridges=True
service_quantum_metadata_proxy=True
vnc_enabled=false
vncserver_proxyclient_address=$my_ip
vncserver_listen=0.0.0.0
vnc_keymap="en-us"
[conductor]
[cells]
[baremetal]
[vmware]
[spice]
html5proxy_base_url=http://127.0.0.1:6082/spice_auto.html
server_listen=0.0.0.0
server_proxyclient_address=$my_ip
enabled=true
keymap=en-us

nova-ctrl: /etc/nova/nova.conf

[DEFAULT]
compute_driver=libvirt.LibvirtDriver
sql_connection=mysql://nova:password@10.10.10.3/nova
enabled_apis=ec2,osapi_compute,metadata
osapi_compute_listen="0.0.0.0"
osapi_compute_listen_port=8774
allow_admin_api=true
api_paste_config=/etc/nova/api-paste.ini
my_ip = 10.10.10.50
allow_instance_snapshots=true
s3_host="$my_ip"
s3_port=3333
ec2_host="$my_ip"
ec2_port=8773
ec2_scheme="http"
ec2_listen="0.0.0.0"
ec2_listen_port=8773
metadata_host="$my_ip"
metadata_port=8775
metadata_listen=0.0.0.0
instance_name_template="instance-%08x"
libvirt_inject_password=true
logdir=/var/log/nova
log-date-format="%Y-%m-%d %H:%M:%S"
debug=false
state_path=/var/lib/nova
lock_path=/var/lock/nova
rootwrap_config=/etc/nova/rootwrap.conf
auth_strategy=keystone
scheduler_driver=nova.scheduler.filter_scheduler.FilterScheduler
iscsi_helper=tgtadm
volume_api_class=nova.volume.cinder.API
rabbit_host = 10.10.10.5
rabbit_port = 5672
rabbit_use_ssl = false
rabbit_userid = guest
rabbit_password = vxlt1234
image_service=nova.image.glance.GlanceImageService
glance_host=10.10.10.10
glance_port=9292
glance_api_servers=10.10.10.10:9292
network_api_class="nova.network.api.API"
network_manager=nova.network.manager.FlatManager
force_dhcp_release=False
flat_network_bridge=br100
flat_interface=eth1
fixed_range=''
network_api_class=nova.network.quantumv2.api.API
firewall_driver=nova.virt.firewall.NoopFirewallDriver
libvirt_use_virtio_for_bridges=True
service_quantum_metadata_proxy=True
vnc_enabled=false
vncserver_proxyclient_address=$my_ip
vncserver_listen=0.0.0.0
vnc_keymap="en-us"
[conductor]
[cells]
[baremetal]
[vmware]
[spice]
html5proxy_base_url=http://127.0.0.1:6082/spice_auto.html
server_listen=0.0.0.0
server_proxyclient_address=$my_ip
enabled=true
keymap=en-us

Now I read in a document to verify the installation I could do "nova-manage service list":

root@nova-ctrl:~# nova-manage service list
Binary           Host                                 Zone             Status     State Updated_At
nova-cert ...
(more)
edit retag flag offensive close merge delete

Comments

Why do you have my_ip set to same on both hosts?

Y Sertdemir gravatar imageY Sertdemir ( 2013-09-12 00:35:58 -0500 )edit

Thanks that was a stupid mistake ... Still it I couldnt get rid of the "XXX"-state after restarting all nova-* services.

Mathias Ewald gravatar imageMathias Ewald ( 2013-09-12 13:46:14 -0500 )edit

nobody? really?

Mathias Ewald gravatar imageMathias Ewald ( 2013-09-18 00:02:08 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-09-18 00:16:21 -0500

marcelodieder gravatar image

Paste your nova.log and the command "virsh list" please.

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

1 follower

Stats

Asked: 2013-09-11 14:31:24 -0500

Seen: 930 times

Last updated: Sep 18 '13