Re: [Users] el6 live snapshots and storage migration

forwarding to the List as this may be interesting for others: -------- Original-Nachricht -------- Betreff: Re: [Users] el6 live snapshots and storage migration Datum: Wed, 19 Mar 2014 11:32:15 +0100 Von: Ernest Beinrohr <Ernest.Beinrohr@axonpro.sk> Organisation: AXON PRO An: Sven Kieske <S.Kieske@mittwald.de> This may be another option: wget http://ftp.redhat.com/pub/redhat/linux/enterprise/6Server/en/RHEV/SRPMS/qemu... sha256sum qemu-kvm-rhev-0.12.1.2-2.415.el6_5.5.src.rpm # check with http://rhn.redhat.com/errata/RHBA-2014-0248.html yum-builddep /archiv/qemu-kvm-rhev-0.12.1.2-2.415.el6_5.5.src.rpm rpmbuild --rebuild /archiv/qemu-kvm-rhev-0.12.1.2-2.415.el6_5.5.src.rpm

Thanks for this. What would the next step then be? Use edit-node to install this into an existing node iso? -----Original Message----- From: users-bounces@ovirt.org [mailto:users-bounces@ovirt.org] On Behalf Of Sven Kieske Sent: 19 March 2014 10:45 To: Users@ovirt.org List Subject: Re: [Users] el6 live snapshots and storage migration forwarding to the List as this may be interesting for others: -------- Original-Nachricht -------- Betreff: Re: [Users] el6 live snapshots and storage migration Datum: Wed, 19 Mar 2014 11:32:15 +0100 Von: Ernest Beinrohr <Ernest.Beinrohr@axonpro.sk> Organisation: AXON PRO An: Sven Kieske <S.Kieske@mittwald.de> This may be another option: wget http://ftp.redhat.com/pub/redhat/linux/enterprise/6Server/en/RHEV/SRPMS/qemu... sha256sum qemu-kvm-rhev-0.12.1.2-2.415.el6_5.5.src.rpm # check with http://rhn.redhat.com/errata/RHBA-2014-0248.html yum-builddep /archiv/qemu-kvm-rhev-0.12.1.2-2.415.el6_5.5.src.rpm rpmbuild --rebuild /archiv/qemu-kvm-rhev-0.12.1.2-2.415.el6_5.5.src.rpm _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Hi Sven, On 03/19/2014 06:45 AM, Sven Kieske wrote:
forwarding to the List as this may be interesting for others:
We have a jenkins job rebuilding qemu-kvm to enable such features. Have you tried? http://jenkins.ovirt.org/view/Packaging/job/qemu-kvm-rhev_create_rpms_el6/
-------- Original-Nachricht -------- Betreff: Re: [Users] el6 live snapshots and storage migration Datum: Wed, 19 Mar 2014 11:32:15 +0100 Von: Ernest Beinrohr <Ernest.Beinrohr@axonpro.sk> Organisation: AXON PRO An: Sven Kieske <S.Kieske@mittwald.de>
This may be another option:
wget http://ftp.redhat.com/pub/redhat/linux/enterprise/6Server/en/RHEV/SRPMS/qemu...
sha256sum qemu-kvm-rhev-0.12.1.2-2.415.el6_5.5.src.rpm # check with http://rhn.redhat.com/errata/RHBA-2014-0248.html
yum-builddep /archiv/qemu-kvm-rhev-0.12.1.2-2.415.el6_5.5.src.rpm
rpmbuild --rebuild /archiv/qemu-kvm-rhev-0.12.1.2-2.415.el6_5.5.src.rpm
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
-- Cheers Douglas

On Wed, 19 Mar 2014, Sven Kieske wrote:
forwarding to the List as this may be interesting for others:
This may be another option:
wget http://ftp.redhat.com/pub/redhat/linux/enterprise/6Server/en/RHEV/SRPMS/qemu...
sha256sum qemu-kvm-rhev-0.12.1.2-2.415.el6_5.5.src.rpm # check with http://rhn.redhat.com/errata/RHBA-2014-0248.html
yum-builddep /archiv/qemu-kvm-rhev-0.12.1.2-2.415.el6_5.5.src.rpm
rpmbuild --rebuild /archiv/qemu-kvm-rhev-0.12.1.2-2.415.el6_5.5.src.rpm
seemingly untested. Not sure if it is a missing BR, or a patch is needed. The build fails thus here: + ../configure --target-list=x86_64-softmmu --prefix=/usr --localstatedir=/var --sysconfdir=/etc --audio-drv-list=pa,alsa --audio-card-list=ac97,es1370 --disable-strip '--extra-ldflags=-Wl,--build-id -pie -Wl,-z,relro -Wl,-z,now' '--extra-cflags=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIE -DPIE' --disable-xen --block-drv-rw-whitelist=qcow2,raw,file,host_device,host_cdrom,qed,gluster,rbd --block-drv-ro-whitelist=vmdk,vhdx,vpc --disable-debug-tcg --disable-sparse --enable-werror --disable-sdl --disable-curses --disable-curl --disable-check-utests --enable-vnc-tls --enable-vnc-sasl --disable-brlapi --disable-bluez --enable-docs --disable-vde --enable-linux-aio --enable-kvm --enable-spice --enable-kvm-cap-pit --enable-kvm-cap-device-assignment --trace-backend=dtrace --enable-smartcard --disable-smartcard-nss --enable-usb-redir --enable-mixemu --enable-glusterfs ERROR ERROR: User requested feature usb-redir ERROR: configure was not able to find it ERROR

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, 19 Mar 2014, R P Herrold wrote: These steps build under a basic CentOS 6, updated to current:
wget \ http://ftp.redhat.com/pub/redhat/linux/enterprise/6Server/en/RHEV/SRPMS/qemu...
sha256sum qemu-kvm-rhev-0.12.1.2-2.415.el6_5.5.src.rpm # check with http://rhn.redhat.com/errata/RHBA-2014-0248.html
yum-builddep /archiv/qemu-kvm-rhev-0.12.1.2-2.415.el6_5.5.src.rpm
wget \ ftp://ftp.owlriver.com/pub/local/ORC/qemu-kvm-rhev/qemu-kvm-nousb-redir.spec rpm -U qemu-kvm-rhev-0.12.1.2-2.415.el6_5.5.src.rpm rpmbuild -ba qemu-kvm-nousb-redir.spec and a collection of binaries and SRPM will result. /home/herrold/rpmbuild/SRPMS/qemu-kvm-rhev-0.12.1.2-2.415.orc6.6.pmman.src.rpm /home/herrold/rpmbuild/RPMS/x86_64/qemu-kvm-rhev-0.12.1.2-2.415.orc6.6.pmman.x86_64.rpm /home/herrold/rpmbuild/RPMS/x86_64/qemu-img-rhev-0.12.1.2-2.415.orc6.6.pmman.x86_64.rpm /home/herrold/rpmbuild/RPMS/x86_64/qemu-kvm-rhev-tools-0.12.1.2-2.415.orc6.6.pmman.x86_64.rpm Diff is as follows (mod linewraps): [herrold@centos-6 qemu-kvm-rhev]$ diff -u qemu-kvm.spec qemu-kvm-nousb-redir.spec - --- qemu-kvm.spec 2014-03-19 14:25:52.000000000 -0400 +++ qemu-kvm-nousb-redir.spec 2014-03-19 16:33:57.000000000 - -0400 @@ -2,6 +2,18 @@ # Define rhev as the first variable %define rhev 1 +# usb-redir +# quite invasive, but we can patch the ./configure +# to exclude by default (viz, leave undefined ) and then ignore, perhaps +%define config_usb_redir %{nil} +%if 0%{?usb-redir} +%define enable_usb_redir 1 +%define config_usb_redir --enable-usb-redir +%else +%define enable_usb_redir 0 +%define config_usb_redir --disable-usb-redir +%endif + %if 0%{?rhev_test} %define enable_fake_machine 1 %else @@ -85,7 +97,10 @@ %define buildid %{nil} - -%define zrelease 5 +# orc temp fork as to usb-redir +%define buildid .pmman +%define zrelease 6 + %define sublevel 0.12.1.2 %define pkgrelease 2.415 @@ -11531,12 +11546,17 @@ --trace-backend=dtrace \ --enable-smartcard \ --disable-smartcard-nss \ - - --enable-usb-redir \ --enable-mixemu \ --enable-glusterfs \ + %{config_usb_redir} \ %{fake_machine_arg} \ %{disable_rhev_features_arg} +# view state of orc pmman patch +echo "config_usb_redir: -|%{config_usb_redir}|-" +# exit 1 + + echo "config-host.mak contents:" echo "===" cat config-host.mak @@ -11552,6 +11572,7 @@ ../configure --target-list=x86_64-softmmu \ --extra-ldflags="$extraldflags -pie -Wl,-z,relro - -Wl,-z,now" \ --extra-cflags="$RPM_OPT_FLAGS -fPIE -DPIE" \ + %{config_usb_redir} \ %{qemu_ga_build_flags} cd ../qemu-kvm-x86_64-build @@ -11804,6 +11825,9 @@ %endif # with qemu_kvm %changelog +* Tue Mar 19 2014 R P Herrold <info@owlriver.com> - 0.12.1.2-2.415.el6_5.6 +- add: config_usb_redir conditional for easier stock C6 building + * Tue Feb 25 2014 Miroslav Rezanina <mrezanin@redhat.com> - 0.12.1.2-2.415.el6_5.5 - kvm-monitor-Cleanup-mon-outbuf-on-write-error.patch [bz#1069239] - Resolves: bz#1069239 [herrold@centos-6 qemu-kvm-rhev]$ untested - -- Russ herrold -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) iEYEARECAAYFAlMqECoACgkQMRh1QZtklkRTygCdHJAWupOrCrzq/iX0bTBduAN7 EC4An2Oa3xaGkSU99+/ABcTOm2ezzybM =+82Z -----END PGP SIGNATURE-----

This is a multi-part message in MIME format. --------------090205040106040507080503 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Dn(a 19.03.2014 19:15, R P Herrold wrote / napísal(a):
On Wed, 19 Mar 2014, Sven Kieske wrote:
forwarding to the List as this may be interesting for others: This may be another option:
wget http://ftp.redhat.com/pub/redhat/linux/enterprise/6Server/en/RHEV/SRPMS/qemu...
sha256sum qemu-kvm-rhev-0.12.1.2-2.415.el6_5.5.src.rpm # check with http://rhn.redhat.com/errata/RHBA-2014-0248.html
yum-builddep /archiv/qemu-kvm-rhev-0.12.1.2-2.415.el6_5.5.src.rpm
rpmbuild --rebuild /archiv/qemu-kvm-rhev-0.12.1.2-2.415.el6_5.5.src.rpm seemingly untested. Not sure if it is a missing BR, or a patch is needed. The build fails thus here:
Works ok on my centos 6.5. these are my packages, so maybe a BuildRequired is missing in the src.rpm $ rpm -qa \*usb\* libusb1-devel-1.0.9-0.6.rc1.el6.x86_64 libusb1-1.0.9-0.6.rc1.el6.x86_64 rt73usb-firmware-1.8-7.el6.noarch usbutils-003-4.el6.x86_64 usbredir-devel-0.5.1-1.el6.x86_64 libertas-usb8388-firmware-5.110.22.p23-3.1.el6.noarch usbredir-0.5.1-1.el6.x86_64 libusb-0.1.12-23.el6.x86_64 -- Ernest Beinrohr, AXON PRO Ing <http://www.beinrohr.sk/ing.php>, RHCE <http://www.beinrohr.sk/rhce.php>, RHCVA <http://www.beinrohr.sk/rhce.php>, LPIC <http://www.beinrohr.sk/lpic.php>, VCA <http://www.beinrohr.sk/vca.php>, +421-2--6241-0360 <callto://+421-2--6241-0360>, +421-903--482-603 <callto://+421-903--482-603> icq:28153343, gtalk: oernii@axonpro.sk, jabber:oernii@jabber.org ------------------------------------------------------------------------ "For a successful technology, reality must take precedence over public relations, for Nature cannot be fooled." Richard Feynman --------------090205040106040507080503 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit <html> <head> <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#FFFFFF" text="#000000"> <div class="moz-cite-prefix">Dňa 19.03.2014 19:15, R P Herrold wrote / napísal(a):<br> </div> <blockquote cite="mid:alpine.LRH.2.03.1403191413340.2912@bjyevire.pbz" type="cite"> <pre wrap="">On Wed, 19 Mar 2014, Sven Kieske wrote: </pre> <blockquote type="cite"> <pre wrap="">forwarding to the List as this may be interesting for others: </pre> </blockquote> <pre wrap=""> </pre> <blockquote type="cite"> <pre wrap="">This may be another option: wget <a class="moz-txt-link-freetext" href="http://ftp.redhat.com/pub/redhat/linux/enterprise/6Server/en/RHEV/SRPMS/qemu-kvm-rhev-0.12.1.2-2.415.el6_5.5.src.rpm">http://ftp.redhat.com/pub/redhat/linux/enterprise/6Server/en/RHEV/SRPMS/qemu-kvm-rhev-0.12.1.2-2.415.el6_5.5.src.rpm</a> sha256sum qemu-kvm-rhev-0.12.1.2-2.415.el6_5.5.src.rpm # check with <a class="moz-txt-link-freetext" href="http://rhn.redhat.com/errata/RHBA-2014-0248.html">http://rhn.redhat.com/errata/RHBA-2014-0248.html</a> yum-builddep /archiv/qemu-kvm-rhev-0.12.1.2-2.415.el6_5.5.src.rpm rpmbuild --rebuild /archiv/qemu-kvm-rhev-0.12.1.2-2.415.el6_5.5.src.rpm </pre> </blockquote> <pre wrap=""> seemingly untested. Not sure if it is a missing BR, or a patch is needed. The build fails thus here: </pre> </blockquote> Works ok on my centos 6.5.<br> <br> these are my packages, so maybe a BuildRequired is missing in the src.rpm<br> <br> <tt>$ rpm -qa \*usb\*</tt><tt><br> </tt><tt>libusb1-devel-1.0.9-0.6.rc1.el6.x86_64</tt><tt><br> </tt><tt>libusb1-1.0.9-0.6.rc1.el6.x86_64</tt><tt><br> </tt><tt>rt73usb-firmware-1.8-7.el6.noarch</tt><tt><br> </tt><tt>usbutils-003-4.el6.x86_64</tt><tt><br> </tt><tt>usbredir-devel-0.5.1-1.el6.x86_64</tt><tt><br> </tt><tt>libertas-usb8388-firmware-5.110.22.p23-3.1.el6.noarch</tt><tt><br> </tt><tt>usbredir-0.5.1-1.el6.x86_64</tt><tt><br> </tt><tt>libusb-0.1.12-23.el6.x86_64</tt><br> <br> <div class="moz-signature">-- <br> <div id="oernii_footer" style="color: gray;"> <span style="font-family: Lucida Console, Luxi Mono, Courier, monospace; font-size: 90%;"> Ernest Beinrohr, AXON PRO<br> <a style="text-decoration: none; color: gray;" href="http://www.beinrohr.sk/ing.php">Ing</a>, <a style="text-decoration: none; color: gray;" href="http://www.beinrohr.sk/rhce.php">RHCE</a>, <a style="text-decoration: none; color: gray;" href="http://www.beinrohr.sk/rhce.php">RHCVA</a>, <a style="text-decoration: none; color: gray;" href="http://www.beinrohr.sk/lpic.php">LPIC</a>, <a style="text-decoration: none; color: gray;" href="http://www.beinrohr.sk/vca.php">VCA</a>, <a style="text-decoration: none; color: gray;" href="callto://+421-2--6241-0360">+421-2--6241-0360</a>, <a style="text-decoration: none; color: gray;" href="callto://+421-903--482-603">+421-903--482-603</a><br> icq:28153343, gtalk: <a class="moz-txt-link-abbreviated" href="mailto:oernii@axonpro.sk">oernii@axonpro.sk</a>, <a class="moz-txt-link-abbreviated" href="mailto:jabber:oernii@jabber.org">jabber:oernii@jabber.org</a> <br> </span> <hr style="height: 1px; width: 95%"> <span style="font-size: 70%;"> “For a successful technology, reality must take precedence over public relations, for Nature cannot be fooled.” Richard Feynman </span> </div> </div> <img src="http://nojsstats.appspot.com/UA-44497096-1/email.beinrohr.sk" moz-do-not-send="true" border="0" height="1" width="1"> </body> </html> --------------090205040106040507080503--

On Thu, 20 Mar 2014, Ernest Beinrohr wrote:
Works ok on my centos 6.5.
these are my packages, so maybe a BuildRequired is missing in the src.rpm
$ rpm -qa \*usb\* libusb1-devel-1.0.9-0.6.rc1.el6.x86_64 libusb1-1.0.9-0.6.rc1.el6.x86_64 rt73usb-firmware-1.8-7.el6.noarch usbutils-003-4.el6.x86_64 usbredir-devel-0.5.1-1.el6.x86_64 libertas-usb8388-firmware-5.110.22.p23-3.1.el6.noarch usbredir-0.5.1-1.el6.x86_64 libusb-0.1.12-23.el6.x86_64
thank tyou for other reasons in development (spice and friends must have wanted a later 'usbredir-server') I had to 'fork ahead' my 'usbredir' series, and it seems the tines had diverged [herrold@centos-6 qemu-kvm-rhev]$ rpm -q `cat README-others` libusb1-devel-1.0.9-0.6.rc1.el6.x86_64 libusb1-1.0.9-0.6.rc1.el6.x86_64 rt73usb-firmware-1.8-7.el6.noarch usbutils-003-4.el6.x86_64 usbredir-devel-0.6-5.orc6.x86_64 libertas-usb8388-firmware-5.110.22.p23-3.1.el6.noarch usbredir-0.6-5.orc6.x86_64 libusb-0.1.12-23.el6.x86_64 [herrold@centos-6 qemu-kvm-rhev]$ -- Russ herrold
participants (5)
-
Douglas Schilling Landgraf
-
Ernest Beinrohr
-
R P Herrold
-
Simon Barrett
-
Sven Kieske