Hello All,

I am trying to integrate Yardstick project with our RedHat Openstack
Environment runing on RHEL Linux 7+.

I was following installation instructions for deploying Yardstick
directly in Ubuntu image.
It is all fine until I attempt to create "yardstick-image" for
openstack.

These are the steps:
-----------------------------------------
#Create Openstack Flavor for Yardstick
openstack flavor create --disk 3 --vcpus 1 --ram 512 --swap 100
yardstick-flavor
#Install additional Qemu Utils
apt-get update && apt-get install -y qemu-utils kpartx
#Creation of Yardstick-Image
export YARD_IMG_ARCH='amd64'
echo "Defaults env_keep += \'YARD_IMG_ARCH\'" | sudo tee --append
/etc/sudoers > /dev/null
sudo -EH tools/yardstick-img-modify tools/ubuntu-server-cloudimg-
modify.sh
-----------------------------------------

Error Message:
-----------------------------------------
[Thu Dec 12 07:57:09 2019] docker0: port 1(veth1ebecb8) entered
forwarding state
+ cleanup
+ mount
+ grep /mnt/yardstick/proc
+ mount
+ grep /mnt/yardstick
+ mount
+ grep /mnt/xenial
+ '[' -f /tmp/workspace/yardstick/yardstick-xenial-server.raw ']'
+ kpartx -dv /tmp/workspace/yardstick/yardstick-xenial-server.raw
/dev/mapper/control: open failed: Operation not permitted
Failure to communicate with kernel device-mapper driver.
Check that device-mapper is available in the kernel.
Incompatible libdevmapper (unknown version) and kernel driver (unknown
version).
device mapper prerequisites not met
+ true
+ rm -f /tmp/workspace/yardstick/yardstick-xenial-server.raw
+ rm -rf /mnt/yardstick
+ echo 'Image build failed with 1'
Image build failed with 1
+ exit 1
-----------------------------------------


I am not sure about the missing kernel module.
Your quick comments about above error will be highly appreciated.

Thanks and Regards
Serkan.


[cid:imagea82264.PNG@2212abb2.47a43a31]<http://www.havelsan.com.tr>     
[cid:image386922.JPG@fa6d38db.49a75767]
Serkan ERKMEN
TEST ANALİSTİ
Üniversiteler Mah. İhsan Doğramacı Bul. ODTÜ Teknokent Havelsan A.Ş. 23/B 
Çankaya Ankara TÜRKİYE
[cid:image74a159.PNG@095a2766.4cb653da] +90 312 292 74 00       
[cid:image2524b5.PNG@d5c61442.48b9c5a2]         +90 312 219 57 97


[cid:image3e97c1.JPG@ac05355e.43a91e61]
YASAL UYARI: Bu elektronik posta işbu linki kullanarak ulaşabileceğiniz Koşul 
ve Şartlar dokümanına tabidir. 
<http://havelsan.com.tr/tr/news/e-posta-yasal-uyari>
LEGAL NOTICE: This e-mail is subject to the Terms and Conditions document which 
can be accessed with this link. 
<http://havelsan.com.tr/tr/news/e-posta-yasal-uyari>

[http://www.havelsan.com.tr/Library/images/mail/email.jpg]      Lütfen 
gerekmedikçe bu sayfa ve eklerini yazdırmayınız / Please consider the 
environment before printing this email


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#23778): 
https://lists.opnfv.org/g/opnfv-tech-discuss/message/23778
Mute This Topic: https://lists.opnfv.org/mt/68272106/21656
Group Owner: opnfv-tech-discuss+ow...@lists.opnfv.org
Unsubscribe: https://lists.opnfv.org/g/opnfv-tech-discuss/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to