<div><div><br></div><div>Hi All,</div><div>I am running 3 node setup .</div><div>I am allocating memory for virtual machine from huge pages <span style="background-color: rgb(255, 0, 0);">.Facing an issue  "permission denied" .</span></div><div><br></div><div><br></div><div>Please find the below command line arguments for the virtual machine .</div><div><br></div><div><b><u style="background-color: rgb(255, 255, 0);">Image type -></u></b></div><div><b><u style="background-color: rgb(255, 255, 0);"><div> glance image-show VirtIoImageDemo</div><div>+-------------------------+--------------------------------------+</div><div>| Property                | Value                                |</div><div>+-------------------------+--------------------------------------+</div><div>| Property 'hw_vif_model' | virtio                               |</div><div>| checksum                | 3c0ecbfdae4be7f4170837da831ce65b     |</div><div>| container_format        | bare                                 |</div><div>| created_at              | 2015-08-27T10:59:31                  |</div><div>| deleted                 | False                                |</div><div>| disk_format             | qcow2                                |</div><div>| id                      | 19845c86-7508-456c-94a8-bb20a403a152 |</div><div>| is_public               | True                                 |</div><div>| min_disk                | 0                                    |</div><div>| min_ram                 | 0                                    |</div><div>| name                    | VirtIoImageDemo                      |</div><div>| owner                   | 9626b042b482469486fa7103c35d1203     |</div><div>| protected               | False                                |</div><div>| size                    | 21474836480                          |</div><div>| status                  | active                               |</div><div>| updated_at              | 2015-08-27T11:10:25                  |</div><div>+-------------------------+--------------------------------------+</div><div><br></div><div><br></div></u></b></div><div><b><u style="background-color: rgb(255, 255, 0);"><br></u></b></div><div><span style="background-color: rgb(255, 255, 0);"><b><u>Instance Log -></u></b></span></div><div>2015-08-31 09:19:52.271+0000: starting up</div><div>LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin QEMU_AUDIO_DRV=none /usr/bin/qemu-system-x86_64 -name instance-0000016f -S -machine pc-i440fx-trusty,accel=kvm,usb=off -cpu host -m 2048<span style="background-color: rgb(255, 255, 0);"> -mem-prealloc -mem-path /dev/hugepages/libvirt/qemu</span> -realtime mlock=off -smp 2,sockets=2,cores=1,threads=1 -uuid 363aa6e2-3090-4f31-a6ae-ccd368f96e91 -smbios type=1,manufacturer=OpenStack Foundation,product=OpenStack Nova,version=2014.1,serial=44454c4c-3000-104d-804a-b8c04f473332,uuid=363aa6e2-3090-4f31-a6ae-ccd368f96e91 -no-user-config -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/instance-0000016f.monitor,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc,driftfix=slew -global kvm-pit.lost_tick_policy=discard -no-hpet -no-shutdown -boot strict=on -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -drive file=/var/lib/nova/instances/363aa6e2-3090-4f31-a6ae-ccd368f96e91/disk,if=none,id=drive-virtio-disk0,format=qcow2,cache=none -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x4,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 -netdev tap,fd=24,id=hostnet0,vhost=on,vhostfd=25 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=fa:16:3e:1a:60:5b,bus=pci.0,addr=0x3 -chardev file,id=charserial0,path=/var/lib/nova/instances/363aa6e2-3090-4f31-a6ae-ccd368f96e91/console.log -device isa-serial,chardev=charserial0,id=serial0 -chardev pty,id=charserial1 -device isa-serial,chardev=charserial1,id=serial1 -device usb-tablet,id=input0 -vnc 0.0.0.0:0 -k en-us -device cirrus-vga,id=video0,bus=pci.0,addr=0x2 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x5</div><div>Domain id=2 is tainted: host-cpu</div><div><span style="background-color: rgb(255, 255, 0);">char device redirected to /dev/pts/8 (label charserial1)</span></div><div><span style="background-color: rgb(255, 255, 0);">/dev/hugepages/libvirt/qemu: Permission denied</span></div><div><span style="background-color: rgb(255, 255, 0);">2015-08-31 09:19:52.544+0000: shutting down</span></div></div><div><br></div><div><div><span style="background-color: rgb(255, 255, 0);"> mount | grep huge</span></div><div>cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,relatime,hugetlb)</div><div>hugetlbfs on /dev/hugepages type hugetlbfs (rw,uid=120,mode=1770,gid=128)</div></div><div><br></div><div><div><span style="background-color: rgb(255, 255, 0);">sysctl -a | grep huge</span></div><div>error: "Invalid argument" reading key "fs.binfmt_misc.register"</div><div>error: permission denied on key 'net.ipv4.route.flush'</div><div>error: permission denied on key 'net.ipv6.route.flush'</div><div>error: permission denied on key 'vm.compact_memory'</div><div>vm.hugepages_treat_as_movable = 0</div><div>vm.hugetlb_shm_group = 0</div><div>vm.nr_hugepages = 3072</div><div>vm.nr_hugepages_mempolicy = 3072</div><div>vm.nr_overcommit_hugepages = 0</div></div><div><br></div><div><br></div><div>Please help me resolve the issue.</div><div>thanks</div><div>Mohit Malik</div><div><br></div><div><br></div><br><A HREF="https://sigads.rediff.com/RealMedia/ads/click_nx.ads/www.rediffmail.com/signatureline.htm@Middle?" target="_blank"><IMG SRC="https://sigads.rediff.com/RealMedia/ads/adstream_nx.ads/www.rediffmail.com/signatureline.htm@Middle"></A><table cellpadding="0" cellspacing="0"><tbody><tr><td><div style="font-family: Arial, Helvetica, sans-serif; font-size:14px">Get your own <span style="padding-bottom: 0px; background-color: #cc0000; padding-left: 3px; padding-RIGHT: 3px; font-family: Arial, Helvetica, sans-serif; color: #ffffff; font-size: 12px; padding-top: 0px"><b>FREE</b></span> website,  <span style="padding-bottom: 0px; background-color: #c00; padding-left: 3px; padding-RIGHT: 3px; font-family: Arial, Helvetica, sans-serif; color: #ffffff; font-size: 12px; padding-top: 0px"><b>FREE</b></span> domain & <span style="padding-bottom: 0px; background-color: #c00; padding-left: 3px; padding-RIGHT: 3px; font-family: Arial, Helvetica, sans-serif; color: #ffffff; font-size: 12px; padding-top: 0px"><b>FREE</b></span> mobile app with Company email.  </div></td><td><a href="http://track.rediff.com/click?url=___http://businessemail.rediff.com?sc_cid=sign-1-10-13___&cmp=host&lnk=sign-1-10-13&nsrv1=host" style="font-family: Arial, Helvetica, sans-serif; color: #fff; font-size: 14px; color:#0000cc" target="_blank"><b>Know More ></b></a><!-- <in-put type="button" cl-ass="button" on-click="parent.location='http://track.rediff.com/click?url=___http://businessemail.rediff.com/company-email-hosting-services?sc_cid=signature-23-9-13___&cmp=signature-23-9-13&lnk=mypagelogout&nsrv1=host'" value="Know more >"> </input> --></td></tr></tbody></table>