Re: [one-users] ttylinux fails to start

2011-04-27 Thread Mike Putter
There seemed to be a problem with the NFS share as it didn't mount 
correctly when the node restarts.
Although it doesn't mount correctly, the dir structure is still 
available showing an old file structure.
I've to figure out how to correctly add it to fstab. At the moment it 
throws an error at start up and I have to mount it manually.


With the correct mount I was able to start up ttylinux (status 'runn') 
but I couldn't connect (no IP, no ssh possibility). Looking in a qemu 
window, the ttylinux image throws disk errors continuously and is not 
really able to start up completely. I think some kind of incompatibility 
between the server settings/config where the image was created and my node.


Therefore I will try to create an ubuntu image with virt-builder to see 
if that will work.


If I run into new issues I will post them in a new thread.

Thanks so far,
Mike




On 04/27/2011 04:56 PM, Javier Fontan wrote:

Have you checked that the directory you are sharing is the same one as
the var dir?

On Fri, Apr 15, 2011 at 4:53 PM, Mike Putterm...@wirelesswebsolutions.nl  
wrote:

On the cluster frontend (as oneadmin):

oneadmin@voyager:~/var$ touch test
oneadmin@voyager:~/var$ ls -lAF
total 456
drwxrwxrwx 2 oneadmin cloud   4096 2011-04-12 14:28 0/
drwxrwxrwx 2 oneadmin cloud   4096 2011-04-12 15:02 1/
drwxrwxrwx 2 oneadmin cloud   4096 2011-04-12 15:57 2/
drwxrwxrwx 2 oneadmin cloud   4096 2011-04-13 14:10 3/
drwxrwxrwx 2 oneadmin cloud   4096 2011-04-13 14:19 4/
drwxrwxrwx 2 oneadmin cloud   4096 2011-04-13 17:21 5/
drwxrwxrwx 2 oneadmin cloud   4096 2011-04-14 14:45 6/
drwxrwxrwx 2 oneadmin cloud   4096 2011-04-14 15:26 7/
drwxrwxrwx 2 oneadmin cloud   4096 2011-04-14 15:54 8/
-rw-r--r-- 1 oneadmin cloud648 2011-04-15 15:57 config
drwxrws--T 2 oneadmin cloud   4096 2011-04-07 22:06 images/
-rw-r- 1 oneadmin cloud  0 2011-04-15 15:57 .lock
-rw-r--r-- 1 oneadmin cloud  31744 2011-04-15 16:39 one.db
-rw-r--r-- 1 oneadmin cloud  20940 2011-04-15 16:47 oned.log
-rw-r--r-- 1 oneadmin cloud  5 2011-04-15 15:57 oned.pid
-rw--- 1 oneadmin cloud 321865 2011-04-15 16:47 one_xmlrpc.log
drwxr-xr-x 4 oneadmin cloud   4096 2011-04-07 22:06 remotes/
-rw-r--r-- 1 oneadmin cloud  21614 2011-04-15 16:47 sched.log
-rw-r--r-- 1 oneadmin cloud  5 2011-04-15 15:57 sched.pid
-rw-r--r-- 1 oneadmin cloud  0 2011-04-15 16:47 test



This is what I see at the node:

administrator@wws-vmhost01:/srv/cloud/one/var$ ls -lAF
total 36
drwxr-xr-x 3 oneadmin cloud 4096 2011-04-12 14:28 0/
drwxr-xr-x 3 oneadmin cloud 4096 2011-04-12 15:02 1/
drwxr-xr-x 3 oneadmin cloud 4096 2011-04-12 15:57 2/
drwxr-xr-x 3 oneadmin cloud 4096 2011-04-13 14:10 3/
drwxr-xr-x 3 oneadmin cloud 4096 2011-04-13 14:18 4/
drwxr-xr-x 3 oneadmin cloud 4096 2011-04-13 17:21 5/
drwxr-xr-x 3 oneadmin cloud 4096 2011-04-14 14:44 6/
drwxr-xr-x 3 oneadmin cloud 4096 2011-04-14 15:26 7/
drwxr-xr-x 3 oneadmin cloud 4096 2011-04-14 15:53 8/


Can't see the test file ...
What action could I take ?



On 04/15/2011 04:27 PM, Javier Fontan wrote:

Don't do that, the disk.0 that is written in the deployment file is
the actual disk copied by the TM. It seems that you are using tm_nfs
but the shared storage is not mounted in the correct path in the
remote node. Try creating a file in /srv/cloud/one/var and check if
you can see it in the remote host in the same path.

On Fri, Apr 15, 2011 at 4:05 PM, Mike Putterm...@wirelesswebsolutions.nl
  wrote:

Got some progress here:


qemu: could not open disk image /srv/cloud/one/var//8/images/disk.0: No
such file or directory

Indeed: the XML file is called deployment.0
Don't know why it created the file as disk.0 ...

Moreover, I could get the image running directly in the node by invoking:

virsh --connect qemu:///system create deployment.0
Domain one-8 created from deployment.0

(off course after editting the deployment.0 file changing disk.0 to
deployment.0)

So, it seems it's possible to get it going. Now I have to figure out how
to
teach OpenNebula to create a proper deployment file !
Where is this file generated ?


On 04/15/2011 01:13 PM, Mike Putter wrote:

Thanks for your swift reply: the output of
/var/log/libvirt/qemu/one-8.log
reads:

LC_ALL=C
PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
/usr/bin/kvm -S -M pc
-0.12 -cpu qemu32 -enable-kvm -m 64 -smp 1 -name one-8 -uuid
a0a30e17-c21d-6e28-39bb-aed8df76c2b
4 -nographic -chardev
socket,id=monitor,path=/var/lib/libvirt/qemu/one-8.monitor,server,nowait
-
monitor chardev:monitor -no-acpi -boot c -drive
file=/srv/cloud/one/var//8/images/disk.0,if=ide,
index=0,boot=on,format=raw -net
nic,macaddr=02:00:c0:a8:01:0b,vlan=0,name=nic.0 -net tap,fd=38,v
lan=0,name=tap.0 -serial none -parallel none -usb
open /dev/kvm: No such file or directory
Could not initialize KVM, will disable KVM support
qemu: could not open disk image /srv/cloud/one/var//8/images/disk.0: No
such file or directory


Is it possible to have a fall back to qemu

Re: [one-users] errors on scons compiling

2011-04-15 Thread Mike Putter

Oke, great

I did continue deployment of my private cloud with one node and the 
ttylinux image example but got stuck over there and created a new post 
for it:

http://lists.opennebula.org/pipermail/users-opennebula.org/2011-April/004790.html

Maybe you can have a look at it ?
Thanks a lot!

Mike



On 04/15/2011 12:42 PM, Javier Fontan wrote:

This kind of messages are normal

--8--
Testing recipe: pkg-config
   Error calling pkg-config xmlrpc_server_abyss++ --static --libs
Testing recipe: xmlrpc-c-config
g++ .xmlrpc_test/xmlrpc_test.c06a50.cc -o
.xmlrpc_test/xmlrpc_test.c06a50.cc.out  -L/usr/lib
-lxmlrpc_server_abyss++ -lxmlrpc_server++ -lxmlrpc_server_abyss
-lxmlrpc_server -lxmlrpc_abyss  -lpthread -lxmlrpc++ -lxmlrpc
-lxmlrpc_util -lxmlrpc_xmlparse -lxmlrpc_xmltok  -I/usr/include
1.xmlrpc_test/xmlrpc_test.c06a50.cc.log 21
--8--

There is a script that tries to compile with different configurations
as xmlrpc package is not configured the same in every linux distro.
Maybe the messages are too verbose but we think it is better that way
as we get more information when there's some kind of trouble.

If it continued compiling then it should be ok, it ends with this message:

scons: done building targets.



On Fri, Apr 15, 2011 at 12:34 PM, Mike Putter
m...@wirelesswebsolutions.nl  wrote:

Hi Javier,

Thanks for your help; I got a little bit further with this as I reinstalled
some packages (development packages instead of normal ones). The error
messages still came on but at least it continued the compilation. It might
well be that I can expect trouble down the road ?


On my cluster frontend I have:

g++ --version

g++ (Ubuntu/Linaro 4.4.4-14ubuntu5) 4.4.5



xmlrpc-c-config c++2 client --libs --cflags


-L/usr/lib  -lxmlrpc_client++ -lcurl -lxmlrpc_client -lxmlrpc++ -lxmlrpc
-lxmlrpc_util -lxmlrpc_xmlparse -lxmlrpc_xmltok -Wl,--rpath -Wl,/usr/lib
-I/usr/include


Is this ok ?





On 04/15/2011 11:55 AM, Javier Fontan wrote:

Can you tell me what is your g++ version? Also execute
xmlrpc-c-config c++2 client --libs --cflags and tell me what is the
output.

On Thu, Apr 7, 2011 at 4:50 PM, Mike Putterm...@wirelesswebsolutions.nl
  wrote:

Hi,

I'm receiving the following errors during scons compiling:


Testing recipe: pkg-config
   Error calling pkg-config xmlrpc_server_abyss++ --static --libs
Testing recipe: xmlrpc-c-config
g++ .xmlrpc_test/xmlrpc_test.c06a50.cc -o
.xmlrpc_test/xmlrpc_test.c06a50.cc.out  -L/usr/lib
  -lxmlrpc_server_abyss++
-lxmlrpc_server++ -lxmlrpc_server_abyss -lxmlrpc_server -lxmlrpc_abyss
-lpthread -lxmlrpc++ -lxmlrpc -lxmlrpc_util -lxmlrpc_xmlparse
-lxmlrpc_xmltok  -I/usr/include 1.xmlrpc_test/xmlrpc_test.c06a50.cc.log
21

Testing recipe: mixed hardcoded libraries and xmlrpc-c-config (debian
lenny)
g++ .xmlrpc_test/xmlrpc_test.c06a50.cc -o
.xmlrpc_test/xmlrpc_test.c06a50.cc.out  -L/usr/lib
  -lxmlrpc_server_abyss++
-lxmlrpc_server++ -lxmlrpc_server_abyss -lxmlrpc_server -lxmlrpc_abyss
-lpthread -lxmlrpc++ -lxmlrpc -lxmlrpc_util -lxmlrpc_xmlparse
-lxmlrpc_xmltok  -I/usr/include 1.xmlrpc_test/xmlrpc_test.c06a50.cc.log
21

Testing recipe: hardcoded libraries for Mac OS X (installed using port)
g++ .xmlrpc_test/xmlrpc_test.c06a50.cc -o
.xmlrpc_test/xmlrpc_test.c06a50.cc.out  -I/opt/local/include
-L/opt/local/lib -lwwwxml -lxmltok -lxmlparse -lwwwzip -lwwwinit -lwwwapp
-lwwwtelnet -lwwwhtml -lwwwnews -lwwwhttp -lwwwmime -lwwwgopher -lwwwftp
-lwwwfile -lwwwdir -lwwwcache -lwwwstream -lwwwmux -lwwwtrans -lwwwcore
-lwwwutils -lmd5 -ldl -lz -lpthread -lxmlrpc_client++ -lxmlrpc_client
-lxmlrpc++ -lxmlrpc -lxmlrpc_util -lxmlrpc_xmlparse -lxmlrpc_xmltok
-lxmlrpc_server_abyss++ -lxmlrpc_server++ -lxmlrpc_server_abyss
-lxmlrpc_server -lxmlrpc_abyss 1.xmlrpc_test/xmlrpc_test.c06a50.cc.log
21


the xmlrpc-test log reads:

g++ .xmlrpc_test/xmlrpc_test.b6d8e5.cc -o
.xmlrpc_test/xmlrpc_test.b6d8e5.cc.out  -L/usr/lib  -lxmlrpc_client++
-lcurl
-lxmlrpc_client -lxmlrpc++ -lxmlrpc -lxmlrpc_util -lxmlrpc_xmlparse
-lxmlrpc_
xmltok -Wl,--rpath -Wl,/usr/lib  -I/usr/include
1.xmlrpc_test/xmlrpc_test.b6d8e5.cc.log 21
.xmlrpc_test/xmlrpc_test.b6d8e5.cc: In function 'int main(int, char**)':
.xmlrpc_test/xmlrpc_test.b6d8e5.cc:36: warning: taking address of
temporary
.xmlrpc_test/xmlrpc_test.b6d8e5.cc:37: warning: taking address of
temporary
.xmlrpc_test/xmlrpc_test.b6d8e5.cc:40: warning: taking address of
temporary
.xmlrpc_test/xmlrpc_test.b6d8e5.cc:41: warning: taking address of
temporary


I'm stuck now; no luck Googling around or reinstalling alternatives to
necessary packages...
Anyone ?


--
Met vriendelijke groet,

Mike Putter

Wireless Web Solutions
Jubelpark 10
1567 HP Assendelft

T: +31 (0)75 20 22 32 6
M: +31 (0)6 18 42 40 77
E: m...@wirelesswebsolutions.nl
W: http://www.wirelesswebsolutions.nl/
Skype: mikeputter

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Re: [one-users] ttylinux fails to start

2011-04-15 Thread Mike Putter

Got some progress here:

 qemu: could not open disk image /srv/cloud/one/var//8/images/disk.0: 
No such file or directory


Indeed: the XML file is called deployment.0
Don't know why it created the file as disk.0 ...

Moreover, I could get the image running directly in the node by invoking:

virsh --connect qemu:///system create deployment.0
Domain one-8 created from deployment.0

(off course after editting the deployment.0 file changing disk.0 to 
deployment.0)


So, it seems it's possible to get it going. Now I have to figure out how 
to teach OpenNebula to create a proper deployment file !

Where is this file generated ?


On 04/15/2011 01:13 PM, Mike Putter wrote:
Thanks for your swift reply: the output of 
/var/log/libvirt/qemu/one-8.log reads:


LC_ALL=C 
PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin 
/usr/bin/kvm -S -M pc
-0.12 -cpu qemu32 -enable-kvm -m 64 -smp 1 -name one-8 -uuid 
a0a30e17-c21d-6e28-39bb-aed8df76c2b
4 -nographic -chardev 
socket,id=monitor,path=/var/lib/libvirt/qemu/one-8.monitor,server,nowait 
-
monitor chardev:monitor -no-acpi -boot c -drive 
file=/srv/cloud/one/var//8/images/disk.0,if=ide,
index=0,boot=on,format=raw -net 
nic,macaddr=02:00:c0:a8:01:0b,vlan=0,name=nic.0 -net tap,fd=38,v

lan=0,name=tap.0 -serial none -parallel none -usb
open /dev/kvm: No such file or directory
Could not initialize KVM, will disable KVM support
qemu: could not open disk image /srv/cloud/one/var//8/images/disk.0: 
No such file or directory



Is it possible to have a fall back to qemu if the VT-x instruction set 
is absent ?

It looks like qemu is trying ...


On 04/15/2011 01:01 PM, Javier Fontan wrote:

Probably the problem is the support for virtualization. To be sure you
can check in the node /var/log/libvirt/qemu/one-vmid.log.

On Tue, Apr 12, 2011 at 3:31 PM, Mike 
Putterm...@wirelesswebsolutions.nl  wrote:

Hi,

I followed the example of creating a ttylinux VM.

The VM starts, boots and eventually fails.

The error log reads:

Tue Apr 12 15:02:23 2011 [DiM][I]: New VM state is ACTIVE.
Tue Apr 12 15:02:23 2011 [LCM][I]: New VM state is PROLOG.
Tue Apr 12 15:02:23 2011 [VM][I]: Virtual Machine has no context
Tue Apr 12 15:02:24 2011 [TM][I]: tm_clone.sh:
voyager:/srv/cloud/one/one-templates/ttylinux.img
wws-vmhost01:/srv/cloud/one/var//1/ima
ges/disk.0
Tue Apr 12 15:02:24 2011 [TM][I]: tm_clone.sh: DST:
/srv/cloud/one/var//1/images/disk.0
Tue Apr 12 15:02:24 2011 [TM][I]: tm_clone.sh: Creating directory
/srv/cloud/one/var//1/images
Tue Apr 12 15:02:24 2011 [TM][I]: tm_clone.sh: Executed mkdir -p
/srv/cloud/one/var//1/images.
Tue Apr 12 15:02:24 2011 [TM][I]: tm_clone.sh: Executed chmod a+w
/srv/cloud/one/var//1/images.
Tue Apr 12 15:02:24 2011 [TM][I]: tm_clone.sh: Cloning
/srv/cloud/one/one-templates/ttylinux.img
Tue Apr 12 15:02:24 2011 [TM][I]: tm_clone.sh: Executed cp -r
/srv/cloud/one/one-templates/ttylinux.img 
/srv/cloud/one/var//1/images/d

isk.0.
Tue Apr 12 15:02:24 2011 [TM][I]: tm_clone.sh: Executed chmod a+rw
/srv/cloud/one/var//1/images/disk.0.
Tue Apr 12 15:02:26 2011 [LCM][I]: New VM state is BOOT
Tue Apr 12 15:02:26 2011 [VMM][I]: Generating deployment file:
/srv/cloud/one/var/1/deployment.0
Tue Apr 12 15:02:58 2011 [VMM][I]: Command execution fail: 'if [ -x
/var/tmp/one/vmm/kvm/deploy ]; then /var/tmp/one/vmm/kvm/deploy /
srv/cloud/one/var//1/images/deployment.0; else
  exit 42; fi'
Tue Apr 12 15:02:58 2011 [VMM][I]: STDERR follows.
Tue Apr 12 15:02:58 2011 [VMM][I]: error: Failed to create domain from
/srv/cloud/one/var//1/images/deployment.0
Tue Apr 12 15:02:58 2011 [VMM][I]: error: monitor socket did not 
show up.:

Connection refused
Tue Apr 12 15:02:58 2011 [VMM][I]: ExitCode: 255
Tue Apr 12 15:02:58 2011 [VMM][E]: Error deploying virtual machine: 
error:

Failed to create domain from /srv/cloud/one/var//1/images/de
ployment.0
Tue Apr 12 15:02:58 2011 [DiM][I]: New VM state is FAILED
Tue Apr 12 15:02:58 2011 [TM][W]: Ignored: LOG - 1 tm_delete.sh: 
Deleting

/srv/cloud/one/var//1/images

Tue Apr 12 15:02:58 2011 [TM][W]: Ignored: LOG - 1 tm_delete.sh: 
Executed

rm -rf /srv/cloud/one/var//1/images.

Tue Apr 12 15:02:58 2011 [TM][W]: Ignored: TRANSFER SUCCESS 1 -

Tue Apr 12 15:16:36 2011 [DiM][I]: New VM state is DONE.



I restarted the host machine before deployment of the VM, so VM 
services

should be initiated.

BTW: I found out that the host CPU has no support for the 
virtualization
instruction set required by KVM. Can it be the cause of the above 
failure ?
Or should KVM revert automatically to another state to continue 
deployment ?


I'm glad to provide more output from logs if necessary.



___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org





___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] ttylinux fails to start

2011-04-15 Thread Mike Putter

On the cluster frontend (as oneadmin):

oneadmin@voyager:~/var$ touch test
oneadmin@voyager:~/var$ ls -lAF
total 456
drwxrwxrwx 2 oneadmin cloud   4096 2011-04-12 14:28 0/
drwxrwxrwx 2 oneadmin cloud   4096 2011-04-12 15:02 1/
drwxrwxrwx 2 oneadmin cloud   4096 2011-04-12 15:57 2/
drwxrwxrwx 2 oneadmin cloud   4096 2011-04-13 14:10 3/
drwxrwxrwx 2 oneadmin cloud   4096 2011-04-13 14:19 4/
drwxrwxrwx 2 oneadmin cloud   4096 2011-04-13 17:21 5/
drwxrwxrwx 2 oneadmin cloud   4096 2011-04-14 14:45 6/
drwxrwxrwx 2 oneadmin cloud   4096 2011-04-14 15:26 7/
drwxrwxrwx 2 oneadmin cloud   4096 2011-04-14 15:54 8/
-rw-r--r-- 1 oneadmin cloud648 2011-04-15 15:57 config
drwxrws--T 2 oneadmin cloud   4096 2011-04-07 22:06 images/
-rw-r- 1 oneadmin cloud  0 2011-04-15 15:57 .lock
-rw-r--r-- 1 oneadmin cloud  31744 2011-04-15 16:39 one.db
-rw-r--r-- 1 oneadmin cloud  20940 2011-04-15 16:47 oned.log
-rw-r--r-- 1 oneadmin cloud  5 2011-04-15 15:57 oned.pid
-rw--- 1 oneadmin cloud 321865 2011-04-15 16:47 one_xmlrpc.log
drwxr-xr-x 4 oneadmin cloud   4096 2011-04-07 22:06 remotes/
-rw-r--r-- 1 oneadmin cloud  21614 2011-04-15 16:47 sched.log
-rw-r--r-- 1 oneadmin cloud  5 2011-04-15 15:57 sched.pid
-rw-r--r-- 1 oneadmin cloud  0 2011-04-15 16:47 test



This is what I see at the node:

administrator@wws-vmhost01:/srv/cloud/one/var$ ls -lAF
total 36
drwxr-xr-x 3 oneadmin cloud 4096 2011-04-12 14:28 0/
drwxr-xr-x 3 oneadmin cloud 4096 2011-04-12 15:02 1/
drwxr-xr-x 3 oneadmin cloud 4096 2011-04-12 15:57 2/
drwxr-xr-x 3 oneadmin cloud 4096 2011-04-13 14:10 3/
drwxr-xr-x 3 oneadmin cloud 4096 2011-04-13 14:18 4/
drwxr-xr-x 3 oneadmin cloud 4096 2011-04-13 17:21 5/
drwxr-xr-x 3 oneadmin cloud 4096 2011-04-14 14:44 6/
drwxr-xr-x 3 oneadmin cloud 4096 2011-04-14 15:26 7/
drwxr-xr-x 3 oneadmin cloud 4096 2011-04-14 15:53 8/


Can't see the test file ...
What action could I take ?



On 04/15/2011 04:27 PM, Javier Fontan wrote:

Don't do that, the disk.0 that is written in the deployment file is
the actual disk copied by the TM. It seems that you are using tm_nfs
but the shared storage is not mounted in the correct path in the
remote node. Try creating a file in /srv/cloud/one/var and check if
you can see it in the remote host in the same path.

On Fri, Apr 15, 2011 at 4:05 PM, Mike Putterm...@wirelesswebsolutions.nl  
wrote:

Got some progress here:


qemu: could not open disk image /srv/cloud/one/var//8/images/disk.0: No
such file or directory

Indeed: the XML file is called deployment.0
Don't know why it created the file as disk.0 ...

Moreover, I could get the image running directly in the node by invoking:

virsh --connect qemu:///system create deployment.0
Domain one-8 created from deployment.0

(off course after editting the deployment.0 file changing disk.0 to
deployment.0)

So, it seems it's possible to get it going. Now I have to figure out how to
teach OpenNebula to create a proper deployment file !
Where is this file generated ?


On 04/15/2011 01:13 PM, Mike Putter wrote:

Thanks for your swift reply: the output of /var/log/libvirt/qemu/one-8.log
reads:

LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
/usr/bin/kvm -S -M pc
-0.12 -cpu qemu32 -enable-kvm -m 64 -smp 1 -name one-8 -uuid
a0a30e17-c21d-6e28-39bb-aed8df76c2b
4 -nographic -chardev
socket,id=monitor,path=/var/lib/libvirt/qemu/one-8.monitor,server,nowait -
monitor chardev:monitor -no-acpi -boot c -drive
file=/srv/cloud/one/var//8/images/disk.0,if=ide,
index=0,boot=on,format=raw -net
nic,macaddr=02:00:c0:a8:01:0b,vlan=0,name=nic.0 -net tap,fd=38,v
lan=0,name=tap.0 -serial none -parallel none -usb
open /dev/kvm: No such file or directory
Could not initialize KVM, will disable KVM support
qemu: could not open disk image /srv/cloud/one/var//8/images/disk.0: No
such file or directory


Is it possible to have a fall back to qemu if the VT-x instruction set is
absent ?
It looks like qemu is trying ...


On 04/15/2011 01:01 PM, Javier Fontan wrote:

Probably the problem is the support for virtualization. To be sure you
can check in the node /var/log/libvirt/qemu/one-vmid.log.

On Tue, Apr 12, 2011 at 3:31 PM, Mike Putterm...@wirelesswebsolutions.nl
  wrote:

Hi,

I followed the example of creating a ttylinux VM.

The VM starts, boots and eventually fails.

The error log reads:

Tue Apr 12 15:02:23 2011 [DiM][I]: New VM state is ACTIVE.
Tue Apr 12 15:02:23 2011 [LCM][I]: New VM state is PROLOG.
Tue Apr 12 15:02:23 2011 [VM][I]: Virtual Machine has no context
Tue Apr 12 15:02:24 2011 [TM][I]: tm_clone.sh:
voyager:/srv/cloud/one/one-templates/ttylinux.img
wws-vmhost01:/srv/cloud/one/var//1/ima
ges/disk.0
Tue Apr 12 15:02:24 2011 [TM][I]: tm_clone.sh: DST:
/srv/cloud/one/var//1/images/disk.0
Tue Apr 12 15:02:24 2011 [TM][I]: tm_clone.sh: Creating directory
/srv/cloud/one/var//1/images
Tue Apr 12 15:02:24 2011 [TM][I]: tm_clone.sh: Executed mkdir -p
/srv/cloud/one/var//1/images.
Tue Apr 12 15:02:24 2011 [TM][I

[one-users] ttylinux fails to start

2011-04-12 Thread Mike Putter

Hi,

I followed the example of creating a ttylinux VM.

The VM starts, boots and eventually fails.

The error log reads:

Tue Apr 12 15:02:23 2011 [DiM][I]: New VM state is ACTIVE.
Tue Apr 12 15:02:23 2011 [LCM][I]: New VM state is PROLOG.
Tue Apr 12 15:02:23 2011 [VM][I]: Virtual Machine has no context
Tue Apr 12 15:02:24 2011 [TM][I]: tm_clone.sh: 
voyager:/srv/cloud/one/one-templates/ttylinux.img 
wws-vmhost01:/srv/cloud/one/var//1/ima

ges/disk.0
Tue Apr 12 15:02:24 2011 [TM][I]: tm_clone.sh: DST: 
/srv/cloud/one/var//1/images/disk.0
Tue Apr 12 15:02:24 2011 [TM][I]: tm_clone.sh: Creating directory 
/srv/cloud/one/var//1/images
Tue Apr 12 15:02:24 2011 [TM][I]: tm_clone.sh: Executed mkdir -p 
/srv/cloud/one/var//1/images.
Tue Apr 12 15:02:24 2011 [TM][I]: tm_clone.sh: Executed chmod a+w 
/srv/cloud/one/var//1/images.
Tue Apr 12 15:02:24 2011 [TM][I]: tm_clone.sh: Cloning 
/srv/cloud/one/one-templates/ttylinux.img
Tue Apr 12 15:02:24 2011 [TM][I]: tm_clone.sh: Executed cp -r 
/srv/cloud/one/one-templates/ttylinux.img /srv/cloud/one/var//1/images/d

isk.0.
Tue Apr 12 15:02:24 2011 [TM][I]: tm_clone.sh: Executed chmod a+rw 
/srv/cloud/one/var//1/images/disk.0.

Tue Apr 12 15:02:26 2011 [LCM][I]: New VM state is BOOT
Tue Apr 12 15:02:26 2011 [VMM][I]: Generating deployment file: 
/srv/cloud/one/var/1/deployment.0
Tue Apr 12 15:02:58 2011 [VMM][I]: Command execution fail: 'if [ -x 
/var/tmp/one/vmm/kvm/deploy ]; then /var/tmp/one/vmm/kvm/deploy /
srv/cloud/one/var//1/images/deployment.0; 
else  exit 42; fi'

Tue Apr 12 15:02:58 2011 [VMM][I]: STDERR follows.
Tue Apr 12 15:02:58 2011 [VMM][I]: error: Failed to create domain from 
/srv/cloud/one/var//1/images/deployment.0
Tue Apr 12 15:02:58 2011 [VMM][I]: error: monitor socket did not show 
up.: Connection refused

Tue Apr 12 15:02:58 2011 [VMM][I]: ExitCode: 255
Tue Apr 12 15:02:58 2011 [VMM][E]: Error deploying virtual machine: 
error: Failed to create domain from /srv/cloud/one/var//1/images/de

ployment.0
Tue Apr 12 15:02:58 2011 [DiM][I]: New VM state is FAILED
Tue Apr 12 15:02:58 2011 [TM][W]: Ignored: LOG - 1 tm_delete.sh: 
Deleting /srv/cloud/one/var//1/images


Tue Apr 12 15:02:58 2011 [TM][W]: Ignored: LOG - 1 tm_delete.sh: 
Executed rm -rf /srv/cloud/one/var//1/images.


Tue Apr 12 15:02:58 2011 [TM][W]: Ignored: TRANSFER SUCCESS 1 -

Tue Apr 12 15:16:36 2011 [DiM][I]: New VM state is DONE.



I restarted the host machine before deployment of the VM, so VM services 
should be initiated.


BTW: I found out that the host CPU has no support for the virtualization 
instruction set required by KVM. Can it be the cause of the above 
failure ? Or should KVM revert automatically to another state to 
continue deployment ?


I'm glad to provide more output from logs if necessary.



___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] errors on scons compiling

2011-04-07 Thread Mike Putter

Hi,

I'm receiving the following errors during scons compiling:


Testing recipe: pkg-config
  Error calling pkg-config xmlrpc_server_abyss++ --static --libs
Testing recipe: xmlrpc-c-config
g++ .xmlrpc_test/xmlrpc_test.c06a50.cc -o 
.xmlrpc_test/xmlrpc_test.c06a50.cc.out  -L/usr/lib  
-lxmlrpc_server_abyss++ -lxmlrpc_server++ -lxmlrpc_server_abyss 
-lxmlrpc_server -lxmlrpc_abyss  -lpthread -lxmlrpc++ -lxmlrpc 
-lxmlrpc_util -lxmlrpc_xmlparse -lxmlrpc_xmltok  -I/usr/include 
1.xmlrpc_test/xmlrpc_test.c06a50.cc.log 21


Testing recipe: mixed hardcoded libraries and xmlrpc-c-config (debian lenny)
g++ .xmlrpc_test/xmlrpc_test.c06a50.cc -o 
.xmlrpc_test/xmlrpc_test.c06a50.cc.out  -L/usr/lib  
-lxmlrpc_server_abyss++ -lxmlrpc_server++ -lxmlrpc_server_abyss 
-lxmlrpc_server -lxmlrpc_abyss  -lpthread -lxmlrpc++ -lxmlrpc 
-lxmlrpc_util -lxmlrpc_xmlparse -lxmlrpc_xmltok  -I/usr/include 
1.xmlrpc_test/xmlrpc_test.c06a50.cc.log 21


Testing recipe: hardcoded libraries for Mac OS X (installed using port)
g++ .xmlrpc_test/xmlrpc_test.c06a50.cc -o 
.xmlrpc_test/xmlrpc_test.c06a50.cc.out  -I/opt/local/include 
-L/opt/local/lib -lwwwxml -lxmltok -lxmlparse -lwwwzip -lwwwinit 
-lwwwapp -lwwwtelnet -lwwwhtml -lwwwnews -lwwwhttp -lwwwmime -lwwwgopher 
-lwwwftp -lwwwfile -lwwwdir -lwwwcache -lwwwstream -lwwwmux -lwwwtrans 
-lwwwcore -lwwwutils -lmd5 -ldl -lz -lpthread -lxmlrpc_client++ 
-lxmlrpc_client -lxmlrpc++ -lxmlrpc -lxmlrpc_util -lxmlrpc_xmlparse 
-lxmlrpc_xmltok -lxmlrpc_server_abyss++ -lxmlrpc_server++ 
-lxmlrpc_server_abyss -lxmlrpc_server -lxmlrpc_abyss 
1.xmlrpc_test/xmlrpc_test.c06a50.cc.log 21



the xmlrpc-test log reads:

g++ .xmlrpc_test/xmlrpc_test.b6d8e5.cc -o 
.xmlrpc_test/xmlrpc_test.b6d8e5.cc.out  -L/usr/lib  -lxmlrpc_client++ 
-lcurl -lxmlrpc_client -lxmlrpc++ -lxmlrpc -lxmlrpc_util 
-lxmlrpc_xmlparse -lxmlrpc_
xmltok -Wl,--rpath -Wl,/usr/lib  -I/usr/include 
1.xmlrpc_test/xmlrpc_test.b6d8e5.cc.log 21

.xmlrpc_test/xmlrpc_test.b6d8e5.cc: In function 'int main(int, char**)':
.xmlrpc_test/xmlrpc_test.b6d8e5.cc:36: warning: taking address of temporary
.xmlrpc_test/xmlrpc_test.b6d8e5.cc:37: warning: taking address of temporary
.xmlrpc_test/xmlrpc_test.b6d8e5.cc:40: warning: taking address of temporary
.xmlrpc_test/xmlrpc_test.b6d8e5.cc:41: warning: taking address of temporary


I'm stuck now; no luck Googling around or reinstalling alternatives to 
necessary packages...

Anyone ?


--
Met vriendelijke groet,

Mike Putter

Wireless Web Solutions
Jubelpark 10
1567 HP Assendelft

T: +31 (0)75 20 22 32 6
M: +31 (0)6 18 42 40 77
E: m...@wirelesswebsolutions.nl
W: http://www.wirelesswebsolutions.nl/
Skype: mikeputter skype:mikeputter?call
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org