Skip to main content

Posts

Showing posts with the label nova

How to analyse nova logs via logstash

In Elasticsearch family, there is a three that collects, analyses and plots logs, which I found quite beneficial. The three is  Logstash + Elasticsearch + Kibana. Logstash collects logs with various formats and parses them by using a given recipe. then parsed logs are stored into elasticsearch or another selected back-end. After all, using indexes in elasticsearch, Kibana will let you analyse logs in various ways with great visuality. In this post, I will quickly show how to work on openstack-nova logs on an already set up environment.

Openstack-compute on virtual machine - Unable to create an instance

I have built an openstack(icehouse) platform with three virtual machines; controller, compute and network nodes. I aim to use qemu instead of kvm for virtualization. So I have inserted the following lines into /etc/nova/nova.conf in compute node: [default] compute_driver=libvirt.LibvirtDriver [libvirt] virt_type=qemu But if an instance is tried to be created, it immediately gets into error state: Error: internal error: no supported architecture for os type 'hvm' After some research, I have found the golden information: Qemu hypervisor only supports RAW, QCOW2, VMDK virtual disk formats. Mine is VDI. I have converted the disk image into VMDK format. qemu-img convert input.vdi -O vmdk output.vmdk After running compute-vm on vmdk image, I become able to create an instance without any error.