Fw:Re:Re: build libvirt error. lack of AppArmor .

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 







1.my  configure options is "./configure --with-selinux=no --with-secdriver-selinux=no --with-apparmor=no --with-secdriver-apparmor=no --with-init-script=redhat"
because i can not start  spSP3-guest-OS,infos on the internet tell  security-driver should  be disabled. i just test it. so --with-XXXXX=no.
the second problem is  details of my guest-os.
2. /var/log/libvirt/qemu/xpSP3.log.  i do not know libvirtd or qemu-kvm which one can not recognize ceph-rbd?
--my rbd  disk configuration-----------
<disk type='network' device='disk'>
      <driver name='qemu' type='raw'/>
      <auth username='! cloud'>
        <secret type='ceph' uuid='7a91dc24-b072-43c4-98fb-4b2415322b0f'/>
      </auth>
      <source protocol='rbd' name='cloud/testrbd'>
        <host name='192.168.10.4' port='6789'/>
      </source>
      <target dev='vdb' bus='virtio'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
    </disk>
---xpSP3.log---------------- 
LC_ALL=C PATH=/sbin:/usr/sbin:/bin:/usr/bin HOME=/root USER=root LOGNAME=root QEMU_AUDIO_DRV=none /usr/libexec/qemu-kvm -S -M rhel6.2.0 -enable-kvm -m 512 -smp 1,sockets=1,cores=1,threads=1 -name xpSP3 -uuid b45bd66a-6700-4905-c5f4-4c799413d7b7 -nodefconfig -nodefaults -chardev socket,id=charmonitor,pa! th=/var/lib/libvirt/qemu/xpSP3.monitor,server,nowait -mon char! dev=charmonitor,id=monitor,mode=control -rtc base=localtime,driftfix=slew -no-shutdown -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -drive file=/var/lib/libvirt/images/xpSP3.img,if=none,id=drive-ide0-0-0,format=raw,cache=none -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1 -drive file=rbd:cloud/testrbd:id=cloud:key=AQCGbGRQ+M+NGBAATtylZNiSxqCTQ4uaApd+9w==:auth_supported=cephx none:mon_host=192.168.10.4\:6789,if=none,id=drive-ide0-0-1,format=raw -device ide-drive,bus=ide.0,unit=1,drive=drive-ide0-0-1,id=ide0-0-1 -netdev tap,fd=26,id=hostnet0 -device e1000,netdev=hostnet0,id=net0,mac=52:54:00:2a:8c:48,bus=pci.0,addr=0x3 -chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=serial0 -device usb-tablet,id=input0 -vnc 0.0.0.0:0 -vga std -device intel-hda,id=sound0,bus=pci.0,addr=0x4 -device hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x5
Domain id=2 is tainted: high! -privileges
char device redirected to /dev/pts/4
qemu-kvm: -drive file=rbd:cloud/testrbd:id=cloud:key=AQCGbGRQ+M+NGBAATtylZNiSxqCTQ4uaApd+9w==:auth_supported=cephx none:mon_host=192.168.10.4\:6789,if=none,id=drive-ide0-0-1,format=raw: could not open disk image rbd:cloud/testrbd:id=cloud:key=AQCGbGRQ+M+NGBAATtylZNiSxqCTQ4uaApd+9w==:auth_supported=cephx none:mon_host=192.168.10.4\:6789: No such file or directory



At 2012-10-11 05:11:58,"Eric Blake" <eblake@xxxxxxxxxx> wrote: >On 10/10/2012 04:04 AM, yue wrote: >> error occur when  attach a rbd-disk to domain. >>   >> 1.configure: error: You must install the AppArmor development package in order to compile libvirt > >What command line did you pass to configure?  AppArmor is optional (and >in fact, Fedora does not use it); so this message should only be >triggered if you passed an explicit --with-apparmor or >--with-secdriver-apparmor to configure, in which case, yes, then you >need the apparmor devel package. > >> 2. >> 2012-10-10 17:36:16.305+0000: 3808: warning : qemuDomainObjTaint:1297 : Domain id=2 name='xpSP3' uuid=b45bd66a-6700-4905-c5f4-4c799413d7b7 is tainted: high-privileges >> 2012-10-10 17:36:16.712+0000: 3808: error : qemuMonitorOpenUnix:266 : failed to connect to monitor socket: No such process > >This usually means that qemu failed to start; can you check the log file >for that guest (perhaps /var/log/libvirt/qemu/xpSP3.log) to see if there >are more details why? > >--  >Eric Blake   eblake@xxxxxxxxxx    +1-919-301-3266 >Libvirt virtualization library http://libvirt.org >




--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]