Ask Your Question
0

The server has either erred or is incapable of performing the requested operation.(HTTP 500)500

asked 2015-04-02 13:11:07 -0500

amitabh sinha gravatar image

when I am trying t launch an instance I am getting this error.

I have checked my all logs files.Only in libvirt I am getting error.

vi /var/log/libvirt/libvirt.log 2015-04-02 14:26:18.454+0000: 26404: info : libvirt version: 1.2.2 2015-04-02 14:26:18.454+0000: 26404: error : virNetSocketReadWire:1454 : End of file while reading data: Input/output error

vi /var/log/nova/novacompute.log

2015-04-02 09:29:20.912 6657 AUDIT nova.compute.resource_tracker [-] Total physical ram (MB): 32064, total allocated virtual ram (MB): 512 2015-04-02 09:29:20.912 6657 AUDIT nova.compute.resource_tracker [-] Free disk (GB): 183 2015-04-02 09:29:20.913 6657 AUDIT nova.compute.resource_tracker [-] Total usable vcpus: 4, total allocated vcpus: 0 2015-04-02 09:29:20.913 6657 AUDIT nova.compute.resource_tracker [-] PCI stats: [] 2015-04-02 09:29:20.914 6657 INFO nova.compute.resource_tracker [-] Compute_service record updated for compute:compute

I haved checked my libvirt version as well it is 1.2.2. Even I tried to upgrade it to 1.2.4 but it is giving congifuration error

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2015-04-03 03:57:52 -0500

I think it is a permission problem; check if /dev/kvm have root owner and kvm group.

If it is not the case, just run:

chown root:kvm /dev/kvm
edit flag offensive delete link more

Comments

I have checked the permission. It is having the following permissions

crw-rw----+ 1 root kvm      10, 232 Apr  3 16:25 kvm
amitabh sinha gravatar imageamitabh sinha ( 2015-04-06 00:14:46 -0500 )edit
0

answered 2015-04-03 04:03:43 -0500

RHK gravatar image

updated 2015-04-03 04:06:50 -0500

Amitabh,

Cloud you check the libvirt conf file once and check is there any misconfiguration in the host.

Edit libvirtd_opts variable in /etc/init/libvirt-bin.conf file:

env libvirtd_opts="-d -l"

Edit /etc/default/libvirt-bin file

libvirtd_opts="-d -l"

Regards,
RHK

edit flag offensive delete link more

Comments

HARI

I have added those lines to the expected files.After that I have restart the nova-compute.But still he problem remains same.

amitabh sinha gravatar imageamitabh sinha ( 2015-04-06 00:16:11 -0500 )edit

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: 2015-04-02 13:11:07 -0500

Seen: 546 times

Last updated: Apr 03 '15