Ask Your Question
0

xen error blktap kernel module not installed

asked 2015-03-15 23:30:40 -0500

mrbriancollins gravatar image

2015-03-16 00:09:56.741 13808 TRACE nova.compute.manager [instance: 152bd71a-4f8e-4781-b397-77f95776aa7d] libvirtError: POST operation failed: xend_post: error from xen daemon: (xend.err "('create', '-aaio:/var/lib/nova/instances/152bd71a-4f8e-4781-b397-77f95776aa7d/disk') failed (55808 blktap kernel module not installed )")

rest of the env works. vm frameworks and is know good in another xen enviornment. I am able to boot image using fedora20 + xen.

adding xen server to openstack and trying to boot vm. I have worked past many issues. this is the latest: From the nova-compute log:

2015-03-16 00:07:47.943 13808 INFO nova.scheduler.client.report [-] Compute_service record updated for ('stack5.orbit8.com', 'stack5.orbit8.com')
2015-03-16 00:07:47.943 13808 INFO nova.compute.resource_tracker [-] Compute_service record updated for stack5.orbit8.com:stack5.orbit8.com
2015-03-16 00:08:05.927 13808 AUDIT nova.compute.manager [req-465e7134-1a1f-41a1-96f9-68b47e2f52ee None] [instance: 152bd71a-4f8e-4781-b397-77f95776aa7d] Starting instance...
2015-03-16 00:08:06.006 13808 AUDIT nova.compute.claims [-] [instance: 152bd71a-4f8e-4781-b397-77f95776aa7d] Attempting claim: memory 2048 MB, disk 20 GB
2015-03-16 00:08:06.006 13808 AUDIT nova.compute.claims [-] [instance: 152bd71a-4f8e-4781-b397-77f95776aa7d] Total memory: 196595 MB, used: 512.00 MB
2015-03-16 00:08:06.007 13808 AUDIT nova.compute.claims [-] [instance: 152bd71a-4f8e-4781-b397-77f95776aa7d] memory limit: 294892.50 MB, free: 294380.50 MB
2015-03-16 00:08:06.007 13808 AUDIT nova.compute.claims [-] [instance: 152bd71a-4f8e-4781-b397-77f95776aa7d] Total disk: 5582 GB, used: 0.00 GB
2015-03-16 00:08:06.007 13808 AUDIT nova.compute.claims [-] [instance: 152bd71a-4f8e-4781-b397-77f95776aa7d] disk limit not specified, defaulting to unlimited
2015-03-16 00:08:06.017 13808 AUDIT nova.compute.claims [-] [instance: 152bd71a-4f8e-4781-b397-77f95776aa7d] Claim successful
2015-03-16 00:08:06.116 13808 INFO nova.scheduler.client.report [-] Compute_service record updated for ('stack5.orbit8.com', 'stack5.orbit8.com')
2015-03-16 00:08:06.218 13808 INFO nova.scheduler.client.report [-] Compute_service record updated for ('stack5.orbit8.com', 'stack5.orbit8.com')
2015-03-16 00:08:06.465 13808 INFO nova.virt.libvirt.driver [-] [instance: 152bd71a-4f8e-4781-b397-77f95776aa7d] Creating image
2015-03-16 00:08:07.131 13808 INFO nova.scheduler.client.report [-] Compute_service record updated for ('stack5.orbit8.com', 'stack5.orbit8.com')
2015-03-16 00:08:47.551 13808 AUDIT nova.compute.resource_tracker [-] Auditing locally available compute resources
2015-03-16 00:08:47.963 13808 AUDIT nova.compute.resource_tracker [-] Total physical ram (MB): 196595, total allocated virtual ram (MB): 2560
2015-03-16 00:08:47.963 13808 AUDIT nova.compute.resource_tracker [-] Free disk (GB): 5562
2015-03-16 00:08:47.963 13808 AUDIT nova.compute.resource_tracker [-] Total usable vcpus: 24, total allocated vcpus: 0
2015-03-16 00:08:47.963 13808 AUDIT nova.compute.resource_tracker [-] PCI stats: []
2015-03-16 00:08:47.993 13808 INFO nova.scheduler.client.report [-] Compute_service record updated for ('stack5.orbit8.com', 'stack5.orbit8.com')
2015-03-16 00:08:47.993 13808 INFO nova.compute.resource_tracker [-] Compute_service record updated for stack5.orbit8.com:stack5.orbit8.com
2015-03-16 00:09:49.538 13808 AUDIT nova.compute.resource_tracker [-] Auditing locally available compute resources
2015-03-16 00:09:50.025 13808 AUDIT nova.compute.resource_tracker [-] Total physical ram (MB): 196595, total allocated virtual ram (MB): 2560
2015-03-16 00:09:50.026 13808 AUDIT nova ...
(more)
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-03-21 16:08:41 -0500

mrbriancollins gravatar image

in the more recent versions of xen the blktap (tap) module has changed from (tap) to (tap2). I just need to figure out how to get this peice in the config referenced above to use blktap instead of blktap2. <driver name="tap2" type="raw"/> also its addressing sda instead of xvda.... Somehow I find the answer to this next question.

<disk type='file' device='disk'>
  <driver name='tap2' type='raw'/>
  <source file='/var/lib/nova/instances/152bd71a-4f8e-4781-b397-77f95776aa7d/disk'/>
  <target dev='sda' bus='scsi'/>
</disk>

I am not positive but I believe this should be: <disk type="file" device="disk"> <driver name="tap" type="raw"/> <source file="/var/lib/nova/instances/152bd71a-4f8e-4781-b397-77f95776aa7d/disk"/> <target dev="xvda" bus="scsi"/> </disk>

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: 2015-03-15 23:30:40 -0500

Seen: 340 times

Last updated: Mar 21 '15