Ask Your Question
0

Ironic bug in All in one juno setup

asked 2014-11-07 00:41:30 -0500

kuvvarapu gravatar image

updated 2014-11-07 00:45:10 -0500

dbaxps gravatar image

I installed AIO(all in one) setup in my machine,and installed ironic also ,both (compute and ironic ) services are responding fine. but the problem is nova-compute unable to recognize as a hypervisor.

nova-compute.conf
------------------------------
[DEFAULT]
compute_driver=libvirt.LibvirtDriver
compute_driver=nova.virt.ironic.IronicDriver
scheduler_host_manager=nova.scheduler.ironic_host_manager.IronicHostManager
ram_allocation_ration=1.0
reserved_host_memory_mb=0
compute_manager=ironic.nova.compute.manager.ClusteredComputeManager

[libvirt]
virt_type=qemu

nova.conf
----------------
[DEFAULT]
rpc_backend = rabbit
rabbit_host = controller
rabbit_password = guest
my_ip = 127.0.0.1
vncserver_listen = 127.0.0.1
verbose = true
vncserver_proxyclient_address = 127.0.0.1
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
libvirt_use_virtio_for_bridges=True
verbose=True
ec2_private_dns_show_ip=True
api_paste_config=/etc/nova/api-paste.ini
enabled_apis=ec2,osapi_compute,metadata

#ironic
compute_driver=nova.virt.ironic.IronicDriver
scheduler_host_manager=nova.scheduler.ironic_host_manager.IronicHostManager
ram_allocation_ratio=1.0
reserved_host_memory_mb=0
compute_manager=ironic.nova.compute.manager.ClusteredComputeManager
compute_driver=libvirt.LibvirtDriver
[database]
connection=mysql://nova:nova@controller/nova
[keystone_authtoken]
auth_uri = http://controller:5000/v2.0
#identity_uri = http://controller:35357
auth_host = controller
auth_port = 35357

Testcase:

1) If I comment the ironic driver, then it recognizing as a compute node.but unable to see the ironic node.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2015-03-13 08:23:33 -0500

Heitor Meira gravatar image

It seems that you have defined the compute_driver paramter two times in nova.conf:

compute_driver=nova.virt.ironic.IronicDriver

And again like:

compute_driver=libvirt.LibvirtDriver

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

2 followers

Stats

Asked: 2014-11-07 00:41:30 -0500

Seen: 1,276 times

Last updated: Mar 13 '15