Hi Rich One more quiry. After installing libguestfs-test-tool on my powerpc ubuntu,I'm getting this following error on my system ... UnsupportedRpcVersion: Specified RPC version, 3.23, not supported by this endpoint. Can you help regarding this? Thanks On Sat, May 31, 2014 at 4:18 PM, abhishek jain <ashujain9727@gmail.com> wrote:> Hi Rich > > Thanks for the quick response. > > I'll test and let you know the result. > > > On Sat, May 31, 2014 at 4:12 PM, Richard W.M. Jones <rjones@redhat.com> > wrote: > >> On Sat, May 31, 2014 at 03:01:47PM +0530, abhishek jain wrote: >> > /usr/local/lib/guestfs/supermin.d/udev-rules.tar.gz type gzip base image >> > (tar) >> > supermin: build: 121 packages, including dependencies >> > supermin: build: 7109 files >> > supermin: build: 7109 files, after removing unreadable files >> > supermin: build: 4939 files, after matching excludefiles >> > supermin: build: 4941 files, after adding hostfiles >> > supermin: build: 4944 files, after munging >> > supermin: failed to find a suitable kernel (host_cpu=powerpc64). >> > >> > I looked for kernels in /boot and modules in /lib/modules. >> > >> > If this is a Xen guest, and you only have Xen domU kernels >> > installed, try installing a fullvirt kernel (only for >> > supermin use, you shouldn't boot the Xen guest with it). >> > libguestfs: error: /usr/bin/supermin exited with error status 1, see >> debug >> > messages above >> > libguestfs-test-tool: failed to launch appliance >> > libguestfs: closing guestfs handle 0x10016848 (state 0) >> > libguestfs: command: run: rm >> > libguestfs: command: run: \ -rf /tmp/libguestfsvnUxG2 >> >> This is actually a bug in supermin. However I think it is fixed in >> recent supermin. >> >> Have a look at the patt_of_cpu function here: >> >> https://github.com/libguestfs/supermin/blob/master/src/kernel.ml#L26 >> >> This was added by Hilko's patch: >> >> >> https://github.com/libguestfs/supermin/commit/e8dd485a1737da365bc6af4afb5945817219393e >> >> and I suspect you will need to include this patch in your version of >> supermin. You'll have to also look at the contents of /boot. >> >> Note also that you don't need to install the supermin package in order >> to use it, if you follow the instructions here: >> >> >> http://libguestfs.org/guestfs-faq.1.html#how-can-i-compile-and-install-libguestfs-if-my-distro-doesnt-have-new-enough-qemu-supermin-kernel >> >> Rich. >> >> -- >> Richard Jones, Virtualization Group, Red Hat >> http://people.redhat.com/~rjones >> Read my programming and virtualization blog: http://rwmj.wordpress.com >> Fedora Windows cross-compiler. Compile Windows programs, test, and >> build Windows installers. Over 100 libraries supported. >> http://fedoraproject.org/wiki/MinGW >> > >
On Mon, Jun 02, 2014 at 07:10:49PM +0530, abhishek jain wrote:> Hi Rich > > One more quiry. > After installing libguestfs-test-tool on my powerpc ubuntu,I'm getting this > following error on my system ... > > > UnsupportedRpcVersion: Specified RPC version, 3.23, not supported by this > endpoint. > > Can you help regarding this?I really need to see the complete, unedited output of libguestfs-test-tool, and / or the command that produced this error. Isolated error messages are not very useful. Rich.> > Thanks > > > On Sat, May 31, 2014 at 4:18 PM, abhishek jain <ashujain9727@gmail.com> > wrote: > > > Hi Rich > > > > Thanks for the quick response. > > > > I'll test and let you know the result. > > > > > > On Sat, May 31, 2014 at 4:12 PM, Richard W.M. Jones <rjones@redhat.com> > > wrote: > > > >> On Sat, May 31, 2014 at 03:01:47PM +0530, abhishek jain wrote: > >> > /usr/local/lib/guestfs/supermin.d/udev-rules.tar.gz type gzip base image > >> > (tar) > >> > supermin: build: 121 packages, including dependencies > >> > supermin: build: 7109 files > >> > supermin: build: 7109 files, after removing unreadable files > >> > supermin: build: 4939 files, after matching excludefiles > >> > supermin: build: 4941 files, after adding hostfiles > >> > supermin: build: 4944 files, after munging > >> > supermin: failed to find a suitable kernel (host_cpu=powerpc64). > >> > > >> > I looked for kernels in /boot and modules in /lib/modules. > >> > > >> > If this is a Xen guest, and you only have Xen domU kernels > >> > installed, try installing a fullvirt kernel (only for > >> > supermin use, you shouldn't boot the Xen guest with it). > >> > libguestfs: error: /usr/bin/supermin exited with error status 1, see > >> debug > >> > messages above > >> > libguestfs-test-tool: failed to launch appliance > >> > libguestfs: closing guestfs handle 0x10016848 (state 0) > >> > libguestfs: command: run: rm > >> > libguestfs: command: run: \ -rf /tmp/libguestfsvnUxG2 > >> > >> This is actually a bug in supermin. However I think it is fixed in > >> recent supermin. > >> > >> Have a look at the patt_of_cpu function here: > >> > >> https://github.com/libguestfs/supermin/blob/master/src/kernel.ml#L26 > >> > >> This was added by Hilko's patch: > >> > >> > >> https://github.com/libguestfs/supermin/commit/e8dd485a1737da365bc6af4afb5945817219393e > >> > >> and I suspect you will need to include this patch in your version of > >> supermin. You'll have to also look at the contents of /boot. > >> > >> Note also that you don't need to install the supermin package in order > >> to use it, if you follow the instructions here: > >> > >> > >> http://libguestfs.org/guestfs-faq.1.html#how-can-i-compile-and-install-libguestfs-if-my-distro-doesnt-have-new-enough-qemu-supermin-kernel > >> > >> Rich. > >> > >> -- > >> Richard Jones, Virtualization Group, Red Hat > >> http://people.redhat.com/~rjones > >> Read my programming and virtualization blog: http://rwmj.wordpress.com > >> Fedora Windows cross-compiler. Compile Windows programs, test, and > >> build Windows installers. Over 100 libraries supported. > >> http://fedoraproject.org/wiki/MinGW > >> > > > >-- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into KVM guests. http://libguestfs.org/virt-v2v
Hi Rich I'm running openstack compute node on powerpc ubuntu 13.10 and openstack controller node on ubuntu x86 machine.Initially when I tried booting VM from controller node onto powerpc compute node,the nova-compute service which is responsible for booting VM on compute node was searching for libguestfs-test-tool.After compiling linguesftfs for powerpc,the nova-compute resulted in the supermin error as discussed with you earlier.The VM at compute node was stucking at spawning state at that moment. The libguestfs-test-tool compilation required following packages to be installed on powerpc ubuntu ... sudo apt-get install libncurses5-dev gperf flex pkg-config aptitude erlang-dev libxml2-dev libgnutls-dev libdevmapper-dev libcurl4-gnutls-dev python-dev libpciaccess-dev libnl-dev gcc make libreadline-dev libglib2.0-dev rsyslog libtool apt-utils bison libaugeas-dev autoconf However when I'm trying to again boot VM from controller node onto compute node,the nova-compute service on compute node is displaying following error.. Traceback (most recent call last):^M 2014-06-02 08:58:18.783 24773 TRACE nova.openstack.common.rpc.amqp File "/opt/stack/nova/nova/openstack/common/rpc/amqp.py", line 461, in _process_data^M 2014-06-02 08:58:18.783 24773 TRACE nova.openstack.common.rpc.amqp **args)^M 2014-06-02 08:58:18.783 24773 TRACE nova.openstack.common.rpc.amqp File "/opt/stack/nova/nova/openstack/common/rpc/dispatcher.py", line 178, in dispatch^M 2014-06-02 08:58:18.783 24773 TRACE nova.openstack.common.rpc.amqp raise rpc_common.UnsupportedRpcVersion(version=version)^M 2014-06-02 08:58:18.783 24773 TRACE nova.openstack.common.rpc.amqp UnsupportedRpcVersion: Specified RPC version, 3.23, not supported by this endpoint.^M 2014-06-02 08:58:18.783 24773 TRACE nova.openstack.common.rpc.amqp ^M 2014-06-02 08:58:23.907 24773 DEBUG nova.openstack.common.rpc.amqp [-] Making synchronous call on conductor ... multicall /opt/stack/nova/nova/openstack/common/rpc/amqp.py:553^M 2014-06-02 08:58:23.908 24773 DEBUG nova.openstack.common.rpc.amqp [-] MSG_ID is e4d4ee738c9f404592f63db7f70154fa multicall /opt/stack/nova/nova The VM is now not even spawning . Can you help regarding this? Thanks for the support.