Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Ironic bug in All in one juno setup

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.

Ironic bug in All in one juno setup

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

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

compute_manager=ironic.nova.compute.manager.ClusteredComputeManager [libvirt] virt_type=qemu

[libvirt] virt_type=qemu

nova.conf

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

enabled_apis=ec2,osapi_compute,metadata

ironic

#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:5000/v2.0 #identity_uri = http://controller:35357

http://controller:35357 auth_host = controller auth_port = 35357

35357

Testcase:

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