Re: [one-users] NoVNC in Sunstone behind lighttpd

2012-06-01 Thread Jhon Masschelein

Hi,

Has something changed in 3.4.1 that makes this no longer work?

We're running 3.2.1 behind a lighttpd ssl proxy and the noVNC consoles 
work (almost) perfectly for us...


Wkr,

Jhon


On 05/31/2012 11:00 PM, Hector Sanjuan wrote:

Hello,

bad news: noVNC uses websockets to open a connection to a tcp port on
the sunstone frontend which your reverse proxy is probably not letting
through. Actually, this port depends on the VM ID that you are
connecting to (proxy_base_port + vm_id), so as things are now there is
no straightforward way that you can get Sunstone VNC working with a
reverse proxy solution unless you take care of proxying a wide range of
ports, or find a way to let the connections through directly to them.

good news: We realised of this limitation and this will be changed for
the next release as part of http://dev.opennebula.org/issues/1209. The
idea is that we run a single websockets proxy instance on a single fixed
port.

So im afraid you just need to wait some weeks,

Hector


En Thu, 31 May 2012 21:51:48 +0200, Alberto Zuin - Liste
li...@albertozuin.eu escribió:


Hello all,
I'm setting up a new cloud (little, but this time it's mine ;-) with
OpenNebula 3.4.1.
Sunstone works like a charm when connecting directly on port 9869, but
I want using Lighttpd for ssl proxy. In this situation there is a
problem using NoVNC web console: when I click on the icon, appear the
popup on the bottom but no console.
No error in lighttpd log and in sunstone log.
Any suggestions?
Thanks,
Alberto






--
Jhon Masschelein
Senior Systeemprogrammeur
SARA - HPCV

Science Park 140
1098 XG Amsterdam
T +31 (0)20 592 8099
F +31 (0)20 668 3167
M +31 (0)6 4748 9328
E jhon.masschel...@sara.nl
http://www.sara.nl
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] NoVNC in Sunstone behind lighttpd

2012-06-01 Thread Alberto Zuin - Liste
Are you using a client incompatible with websockets (ex. Internet 
Explorer?).

On 3.0 I have the same problem but in that case isn't a used feature.
Alberto

On 01/06/2012 09:06, Jhon Masschelein wrote:

Hi,

Has something changed in 3.4.1 that makes this no longer work?

We're running 3.2.1 behind a lighttpd ssl proxy and the noVNC consoles 
work (almost) perfectly for us...


Wkr,

Jhon


On 05/31/2012 11:00 PM, Hector Sanjuan wrote:

Hello,

bad news: noVNC uses websockets to open a connection to a tcp port on
the sunstone frontend which your reverse proxy is probably not letting
through. Actually, this port depends on the VM ID that you are
connecting to (proxy_base_port + vm_id), so as things are now there is
no straightforward way that you can get Sunstone VNC working with a
reverse proxy solution unless you take care of proxying a wide range of
ports, or find a way to let the connections through directly to them.

good news: We realised of this limitation and this will be changed for
the next release as part of http://dev.opennebula.org/issues/1209. The
idea is that we run a single websockets proxy instance on a single fixed
port.

So im afraid you just need to wait some weeks,

Hector


En Thu, 31 May 2012 21:51:48 +0200, Alberto Zuin - Liste
li...@albertozuin.eu escribió:


Hello all,
I'm setting up a new cloud (little, but this time it's mine ;-) with
OpenNebula 3.4.1.
Sunstone works like a charm when connecting directly on port 9869, but
I want using Lighttpd for ssl proxy. In this situation there is a
problem using NoVNC web console: when I click on the icon, appear the
popup on the bottom but no console.
No error in lighttpd log and in sunstone log.
Any suggestions?
Thanks,
Alberto









--

Alberto Zuin
via Mare, 36/A
36030 Lugo di Vicenza (VI)
Italy
P.I. 04310790284
Tel. +39.0499271575
Fax. +39.0492106654
Cell. +39.3286268626
www.azns.it - albe...@azns.it

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


Re: [one-users] NoVNC in Sunstone behind lighttpd

2012-06-01 Thread Hector Sanjuan

No, nothing has been changed regarding this aspect in 3.2.1.

If it works for you that probably means that your Sunstone clients can  
open a direct connection from their browser to  
sunstone_host:vnc_proxy_port, where the normal sunstone_host:443 is the  
only one being proxied through lighthttpd. I guess your proxy is running  
on the same machine as sunstone and no firewalls are in place so vnc  
connections can happen. Or maybe you have a different setup that I havent  
thought of?


Hector

En Fri, 01 Jun 2012 09:06:03 +0200, Jhon Masschelein  
jhon.masschel...@sara.nl escribió:



Hi,

Has something changed in 3.4.1 that makes this no longer work?

We're running 3.2.1 behind a lighttpd ssl proxy and the noVNC consoles  
work (almost) perfectly for us...


Wkr,

Jhon


On 05/31/2012 11:00 PM, Hector Sanjuan wrote:

Hello,

bad news: noVNC uses websockets to open a connection to a tcp port on
the sunstone frontend which your reverse proxy is probably not letting
through. Actually, this port depends on the VM ID that you are
connecting to (proxy_base_port + vm_id), so as things are now there is
no straightforward way that you can get Sunstone VNC working with a
reverse proxy solution unless you take care of proxying a wide range of
ports, or find a way to let the connections through directly to them.

good news: We realised of this limitation and this will be changed for
the next release as part of http://dev.opennebula.org/issues/1209. The
idea is that we run a single websockets proxy instance on a single fixed
port.

So im afraid you just need to wait some weeks,

Hector


En Thu, 31 May 2012 21:51:48 +0200, Alberto Zuin - Liste
li...@albertozuin.eu escribió:


Hello all,
I'm setting up a new cloud (little, but this time it's mine ;-) with
OpenNebula 3.4.1.
Sunstone works like a charm when connecting directly on port 9869, but
I want using Lighttpd for ssl proxy. In this situation there is a
problem using NoVNC web console: when I click on the icon, appear the
popup on the bottom but no console.
No error in lighttpd log and in sunstone log.
Any suggestions?
Thanks,
Alberto









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


Re: [one-users] OpenNebula KVM / LVM / CentOS journal I/O commit error

2012-06-01 Thread Vogl, Yves



Hi Jaime,


sorry for my late reply.


We identified the problem - the snapshot which was created was too small. It seems that the SIZE attribute was ignored.
TheCOW-table size was at 512MB which is the default.


We fixed this problem by adjusting the default value in the driver configuration.


Cheers!


Yves



On 23.05.2012, at 15:58, Jaime Melis wrote:

Hello Yves,


Could it be that you don't have rw access to the image? Can you double-check your permissions?


ls -l $(readlink -f /var/lib/one/datastores/0/VM_ID/disk.0)


take a look at the group attribute of that block device. Can oneadmin read/write it? If that's not the case you'll probably need to


gpasswd -a oneadmin block_device_group


BTW: I'm taking notice of this to reflect it in the documentation


cheers

On Tue, May 22, 2012 at 5:43 PM, Vogl, Yves 
v...@adesso-mobile.de wrote:

Hi,

we are experiencing trouble when using OpenNebula with KVM, LVM on CentOS.

We've tried using virtio and ide, with and without caching - the problem remains.

The VM mounts its filesystem readonly and logs journal I/O commit error, on the host system we get end_request: I/O error, dev vda, sector errors.

Has some experienced similar problems?

Cheers,
Yves



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







-- 
Jaime Melis
Project Engineer
OpenNebula - The Open Source Toolkit for Cloud Computing
www.OpenNebula.org | 
jme...@opennebula.org






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


Re: [one-users] OpenNebula Chef / Knife / Ruby API

2012-06-01 Thread Vogl, Yves



Hi,


thanks for your reply.
We do not need Chef recipes for installing OpenNebula as we wrote those recipes already by ourselves.


We are looking for a solution to automate the tasks of infrastructure instantiation and provisioning.
At the moment we're instantiating VMs via XML-RPC calls and are polling the machines states in order to get notified when they did become running and have their network available.
After that we run our Chef recipies.


We are planning to give those VM hooks a try - maybe that's the best way to go.


Cheers,
Yves





On 23.05.2012, at 11:06, Jaime Melis wrote:

Hello Yves,



is there any documentation / interface specification for the OpenNebula Ruby OCA? I could not find anything in the PDF documentation - except a 2-3 pages example.

Yes:
http://opennebula.org/documentation:rel3.4:ruby
http://opennebula.org/documentation:rel3.4:api
http://opennebula.org/doc/3.4/oca/ruby/


Why I'm asking...

We've successfully setup an OpenNebula based infrastructure and are planning to provision our VMs through Opscode Chef.
For this purpose we've currently setup a Chef Server and are doing the following steps manually:

1. Instantiate and deploy a certain set of virtual machines
2. Bootstrap the deployed VMs through knife

At the moment we evaluate either to write a Knife plugin (like the one for EC2) which connects to one of the OpenNebula APIs to automate the creation of virtual machines before provisioning.

Is someone doing any similar and likes to share his best practices?



Let me point you to a few contributed resource that may come in handy:
http://opennebula.org/software:ecosystem:chef_recipes
http://community.opscode.com/cookbooks/opennebula


Cheers,
Jaime







-- 
Jaime Melis
Project Engineer
OpenNebula - The Open Source Toolkit for Cloud Computing
www.OpenNebula.org | 
jme...@opennebula.org






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


Re: [one-users] OpenNebula Chef / Knife / Ruby API

2012-06-01 Thread Vogl, Yves



Hi,


thanks for your reply.


We do not need Chef recipes for installing OpenNebula as we wrote those recipes already by ourselves.



On 23.05.2012, at 11:06, Jaime Melis wrote:

Hello Yves,



is there any documentation / interface specification for the OpenNebula Ruby OCA? I could not find anything in the PDF documentation - except a 2-3 pages example.

Yes:
http://opennebula.org/documentation:rel3.4:ruby
http://opennebula.org/documentation:rel3.4:api
http://opennebula.org/doc/3.4/oca/ruby/


Why I'm asking...

We've successfully setup an OpenNebula based infrastructure and are planning to provision our VMs through Opscode Chef.
For this purpose we've currently setup a Chef Server and are doing the following steps manually:

1. Instantiate and deploy a certain set of virtual machines
2. Bootstrap the deployed VMs through knife

At the moment we evaluate either to write a Knife plugin (like the one for EC2) which connects to one of the OpenNebula APIs to automate the creation of virtual machines before provisioning.

Is someone doing any similar and likes to share his best practices?



Let me point you to a few contributed resource that may come in handy:
http://opennebula.org/software:ecosystem:chef_recipes
http://community.opscode.com/cookbooks/opennebula


Cheers,
Jaime







-- 
Jaime Melis
Project Engineer
OpenNebula - The Open Source Toolkit for Cloud Computing
www.OpenNebula.org | 
jme...@opennebula.org






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


[one-users] Host memory

2012-06-01 Thread Olivier Sallou
Hi,
the Hosts (in sunstone or onehost command) are shown with their cpu and
memory use.
I have an issue with memory because it shows the cached memory and not
the memory really used (I have Debian linux as hosts)

The result is all my hosts are 60 to 100% memory used, while in reality
memory is almost free.

Can't it lead to VM creation rejection due to unavailable resources?

Olivier

-- 


gpg key id: 4096R/326D8438  (keyring.debian.org)
Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438


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


[one-users] Xen deployment problems

2012-06-01 Thread Marcin Jarzab

I tried to deploy VM on the XEN platform and have some problems.

Platform is Ubuntu 12.04 (frontend and Xen hypervisor) with the NFS 
shared storage configuration.


The deployment file:
name = 'one-8'
#O CPU_CREDITS = 256
memory  = '1024'
vcpus  = '1'
bootloader = /usr/lib/xen/boot/hvmloader
disk = [
'tap:aio:/srv/cloud/one/var//datastores/0/8/disk.0,hdc,r',
'tap:aio:/srv/cloud/one/var//datastores/0/8/disk.1,hda,w',
]
vif = [
' mac=02:00:ac:11:44:64,ip=172.17.68.100,bridge=xenbr0',
]
vfb = ['type=vnc,vncdisplay=8']

disk.0:
file /srv/cloud/one/var//datastores/0/8/disk.0
/srv/cloud/one/var//datastores/0/8/disk.0: # ISO 9660 CD-ROM filesystem 
data 'Ubuntu-Server 12.04 LTS i386' (bootable)


disk.1:
../../1/ba1b95fee731571dca7d57feeba62dec: Linux rev 1.0 ext2 filesystem 
data, UUID=65f7eae2-efd4-43ce-80f2-5c8ed8075e9c (large files)


1. When using SunStone I got the first error related to permissions:
##
++ basename /var/tmp/one/vmm/xen/deploy
Thu May 31 13:30:45 2012 [VMM][I]: ++ SCRIPT_NAME=deploy
Thu May 31 13:30:45 2012 [VMM][I]: + 
domain=/srv/cloud/one/var//datastores/0/8/deployment.0
Thu May 31 13:30:45 2012 [VMM][I]: ++ dirname 
/srv/cloud/one/var//datastores/0/8/deployment.0
Thu May 31 13:30:45 2012 [VMM][I]: + mkdir -p 
/srv/cloud/one/var//datastores/0/8

Thu May 31 13:30:45 2012 [VMM][I]: + cat
Thu May 31 13:30:45 2012 [VMM][I]: ++ sudo /usr/sbin/xm create 
/srv/cloud/one/var//datastores/0/8/deployment.0
Thu May 31 13:30:45 2012 [VMM][I]: Error: Disk isn't accessible 
/srv/cloud/one/var//datastores/0/8/disk.0
Thu May 31 13:30:45 2012 [VMM][I]: + output='Using config file 
/srv/cloud/one/var//datastores/0/8/deployment.0.'

Thu May 31 13:30:45 2012 [VMM][I]: + error_exit 1 'Unable to create domain'
Thu May 31 13:30:45 2012 [VMM][I]: + exit_code=1
Thu May 31 13:30:45 2012 [VMM][I]: + message='Unable to create domain'
Thu May 31 13:30:45 2012 [VMM][I]: + '[' x1 '!=' x0 ']'
Thu May 31 13:30:45 2012 [VMM][I]: + error_message Unable to create domain
Thu May 31 13:30:45 2012 [VMM][I]: + echo 'ERROR MESSAGE --8--'
Thu May 31 13:30:45 2012 [VMM][E]: + echo Unable
###

2. After logging on the target machine I run the regular Xen command and 
it seems that

   there are problems with files permissions.

sudo /usr/sbin/xm create /srv/cloud/one/var//datastores/0/8/deployment.0
Error: Disk isn't accessible /srv/cloud/one/var//datastores/0/8/disk.0
oneadmin@host$ ls -al /srv/cloud/one/var//datastores/0/8/disk.0
-rw-r- 1 oneadmin cloud 705998848 May 31 13:30 
/srv/cloud/one/var//datastores/0/8/disk.0


How to solve the permission problem to be set automatically by the ONE.

3. After channging the mode to 644 the command starts but it hangs:

DEBUG (XendBootloader:113) Launching bootloader as 
[\047/usr/lib/xen/boot/hvmloader\047, 
\047--output=/var/run/xend/boot/xenbl.11066\047, \047-q\047, 
\047/srv/cloud/one/var//datastores/0/8/disk.0\047].
[2012-06-01 10:10:43 1341] TRACE (XendDomainInfo:3525) 
XendDomainInfo.update({\047paused\047: 0, \047cpu_time\047: 
273759722900L, \047ssidref\047: 0, \047hvm\047: 0, 
\047shutdown_reason\047: 255, \047dying\047: 0, \047mem_kb\047: 523908L, 
\047domid\047: 0, \047max_vcpu_id\047: 7, \047crashed\047: 0, 
\047running\047: 1, \047maxmem_kb\047: 524288L, \047shutdown\047: 0, 
\047online_vcpus\047: 8, \047handle\047: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 
0, 0, 0, 0, 0, 0], \047cpupool\047: 0, \047blocked\047: 0}) on domain 0


Any idea why the VM hangs during boot up process?


--
Ph.D. Eng. Marcin Jarzab
m...@agh.edu.pl
http://www.ics.agh.edu.pl/people/mj

Department of Computer Science
AGH University of Science and Technology
Kawiory 21, Building D17, 30-055  Krakow, POLAND
phone: +48 (12) 328 33 72
==

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


[one-users] Re : Re : Re : VM creation failure

2012-06-01 Thread yangui sami
Hi,

Thank you for your response.
We use ubuntu V11.4
We don't have /etc/apparmor.d/local/usr.sbin.libvirtd but only 
/etc/apparmor.d/usr.sbin.libvirtd
However, we made the changes as you said but it does not work.
Can you suggest to us something else? Thanks.



 De : Javier Fontan jfon...@opennebula.org
À : yangui sami yangui.s...@yahoo.fr 
Cc : Carlos Martín Sánchez cmar...@opennebula.org; users 
users@lists.opennebula.org 
Envoyé le : Jeudi 31 mai 2012 23h25
Objet : Re: [one-users] Re : Re : VM creation failure
 
Recent versions of Ubuntu (12.04) changed the configuration files for
apparmor. In these versions the file you need to change is
/etc/apparmor.d/local/usr.sbin.libvirtd and it should contain:

/var/lib/one/** lrwk,

Tell me if this works for you

On Thu, May 31, 2012 at 4:40 PM, yangui sami yangui.s...@yahoo.fr wrote:
 Hi,

 Thank you for your answer.
 I'm trying to follow these configuration steps but
 /etc/apparmor.d/libvirt-qemu does not exits!!
 Have you any idea about this?

 Best,
 
 De : Carlos Martín Sánchez cmar...@opennebula.org
 À : yangui sami yangui.s...@yahoo.fr
 Cc : users users@lists.opennebula.org
 Envoyé le : Jeudi 31 mai 2012 16h31
 Objet : Re: [one-users] Re : VM creation failure

 Hi,

 Did you follow these configuration steps?
 http://opennebula.org/documentation:rel3.4:kvmg#configuration

 Regards
 --
 Carlos Martín, MSc
 Project Engineer
 OpenNebula - The Open-source Solution for Data Center Virtualization
 www.OpenNebula.org | cmar...@opennebula.org | @OpenNebula



 On Thu, May 31, 2012 at 4:20 PM, yangui sami yangui.s...@yahoo.fr wrote:

 Thanks for your response.
 The answer is Yes, /var/lib/one//datastores/0 has write access for oneadmin
 use.

 Best,
 
 De : Olivier Sallou olivier.sal...@irisa.fr
 À : open nebula users@lists.opennebula.org
 Envoyé le : Jeudi 31 mai 2012 16h05
 Objet : Re: [one-users] VM creation failure



 Le 5/31/12 3:31 PM, yangui sami a écrit :

 Hi all,
 We installed OpenNebulla 3.4.1.
 When I create a new Virtual Machine it goes to the host node and attempts to
 Boot, then it passes to FAILED status.
 The Error shown with sunstone is:

 Thu May 31 14:37:31 2012 [LCM][I]: New VM state is BOOT
 Thu May 31 14:37:31 2012 [VMM][I]: Generating deployment file:
 /var/lib/one/46/deployment.0
 Thu May 31 14:37:33 2012 [VMM][I]: ExitCode: 0
 Thu May 31 14:37:33 2012 [VMM][I]: Successfully execute network driver
 operation: pre.
 Thu May 31 14:38:03 2012 [VMM][I]: Command execution fail: cat  EOT |
 /var/tmp/one/vmm/kvm/deploy /var/lib/one//datastores/0/46/deployment.0 ip@
 46 157.159.110.194
 Thu May 31 14:38:03 2012 [VMM][I]: error: Failed to create domain from
 /var/lib/one//datastores/0/46/deployment.0
 Thu May 31 14:38:03 2012 [VMM][I]: error: cannot set ownership on
 /var/lib/one//datastores/0/46/disk.0: No such file or directory
 Thu May 31 14:38:03 2012 [VMM][E]: Could not create domain from
 /var/lib/one//datastores/0/46/deployment.0
 Thu May 31 14:38:03 2012 [VMM][I]: ExitCode: 255
 Thu May 31 14:38:03 2012 [VMM][I]: Failed to execute virtualization driver
 operation: deploy.
 Thu May 31 14:38:03 2012 [VMM][E]: Error deploying virtual machine: Could
 not create domain from /var/lib/one//datastores/0/46/deployment.0
 Thu May 31 14:38:04 2012 [DiM][I]: New VM state is FAILED

 in the host side, the  /var/log/libvirt/qemu/one-46.log contains:
 libvir: QEMU error: cannot set ownership on
 /var/lib/one//datastores/0/46/disk.0: No such file or directory.

 Does any one have any idea to resolve this problem?

 Does directory ( /var/lib/one//datastores/0) has write access for oneadmin
 user?

 Best regards;


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


 --
 Olivier Sallou
 IRISA / University of Rennes 1
 Campus de Beaulieu, 35000 RENNES - FRANCE
 Tel: 02.99.84.71.95

 gpg key id: 4096R/326D8438  (keyring.debian.org)
 Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438


 ___
 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





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




-- 
Javier Fontán Muiños
Project Engineer
OpenNebula - The Open Source Toolkit for Data Center Virtualization
www.OpenNebula.org | jfon...@opennebula.org | @OpenNebula___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Re : Re : Re : VM creation failure

2012-06-01 Thread Javier Fontan
Unfortunately I have not tried ubuntu 11.

On Fri, Jun 1, 2012 at 11:38 AM, yangui sami yangui.s...@yahoo.fr wrote:
 Hi,

 Thank you for your response.
 We use ubuntu V11.4
 We don't have /etc/apparmor.d/local/usr.sbin.libvirtd but only
 /etc/apparmor.d/usr.sbin.libvirtd
 However, we made the changes as you said but it does not work.
 Can you suggest to us something else? Thanks.
 
 De : Javier Fontan jfon...@opennebula.org
 À : yangui sami yangui.s...@yahoo.fr
 Cc : Carlos Martín Sánchez cmar...@opennebula.org; users
 users@lists.opennebula.org
 Envoyé le : Jeudi 31 mai 2012 23h25
 Objet : Re: [one-users] Re : Re : VM creation failure

 Recent versions of Ubuntu (12.04) changed the configuration files for
 apparmor. In these versions the file you need to change is
 /etc/apparmor.d/local/usr.sbin.libvirtd and it should contain:

 /var/lib/one/** lrwk,

 Tell me if this works for you

 On Thu, May 31, 2012 at 4:40 PM, yangui sami yangui.s...@yahoo.fr wrote:
 Hi,

 Thank you for your answer.
 I'm trying to follow these configuration steps but
 /etc/apparmor.d/libvirt-qemu does not exits!!
 Have you any idea about this?

 Best,
 
 De : Carlos Martín Sánchez cmar...@opennebula.org
 À : yangui sami yangui.s...@yahoo.fr
 Cc : users users@lists.opennebula.org
 Envoyé le : Jeudi 31 mai 2012 16h31
 Objet : Re: [one-users] Re : VM creation failure

 Hi,

 Did you follow these configuration steps?
 http://opennebula.org/documentation:rel3.4:kvmg#configuration

 Regards
 --
 Carlos Martín, MSc
 Project Engineer
 OpenNebula - The Open-source Solution for Data Center Virtualization
 www.OpenNebula.org | cmar...@opennebula.org | @OpenNebula



 On Thu, May 31, 2012 at 4:20 PM, yangui sami yangui.s...@yahoo.fr wrote:

 Thanks for your response.
 The answer is Yes, /var/lib/one//datastores/0 has write access for
 oneadmin
 use.

 Best,
 
 De : Olivier Sallou olivier.sal...@irisa.fr
 À : open nebula users@lists.opennebula.org
 Envoyé le : Jeudi 31 mai 2012 16h05
 Objet : Re: [one-users] VM creation failure



 Le 5/31/12 3:31 PM, yangui sami a écrit :

 Hi all,
 We installed OpenNebulla 3.4.1.
 When I create a new Virtual Machine it goes to the host node and attempts
 to
 Boot, then it passes to FAILED status.
 The Error shown with sunstone is:

 Thu May 31 14:37:31 2012 [LCM][I]: New VM state is BOOT
 Thu May 31 14:37:31 2012 [VMM][I]: Generating deployment file:
 /var/lib/one/46/deployment.0
 Thu May 31 14:37:33 2012 [VMM][I]: ExitCode: 0
 Thu May 31 14:37:33 2012 [VMM][I]: Successfully execute network driver
 operation: pre.
 Thu May 31 14:38:03 2012 [VMM][I]: Command execution fail: cat  EOT |
 /var/tmp/one/vmm/kvm/deploy /var/lib/one//datastores/0/46/deployment.0 ip@
 46 157.159.110.194
 Thu May 31 14:38:03 2012 [VMM][I]: error: Failed to create domain from
 /var/lib/one//datastores/0/46/deployment.0
 Thu May 31 14:38:03 2012 [VMM][I]: error: cannot set ownership on
 /var/lib/one//datastores/0/46/disk.0: No such file or directory
 Thu May 31 14:38:03 2012 [VMM][E]: Could not create domain from
 /var/lib/one//datastores/0/46/deployment.0
 Thu May 31 14:38:03 2012 [VMM][I]: ExitCode: 255
 Thu May 31 14:38:03 2012 [VMM][I]: Failed to execute virtualization driver
 operation: deploy.
 Thu May 31 14:38:03 2012 [VMM][E]: Error deploying virtual machine: Could
 not create domain from /var/lib/one//datastores/0/46/deployment.0
 Thu May 31 14:38:04 2012 [DiM][I]: New VM state is FAILED

 in the host side, the  /var/log/libvirt/qemu/one-46.log contains:
 libvir: QEMU error: cannot set ownership on
 /var/lib/one//datastores/0/46/disk.0: No such file or directory.

 Does any one have any idea to resolve this problem?

 Does directory ( /var/lib/one//datastores/0) has write access for oneadmin
 user?

 Best regards;


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


 --
 Olivier Sallou
 IRISA / University of Rennes 1
 Campus de Beaulieu, 35000 RENNES - FRANCE
 Tel: 02.99.84.71.95

 gpg key id: 4096R/326D8438  (keyring.debian.org)
 Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438


 ___
 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





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




 --
 Javier Fontán Muiños
 Project Engineer
 OpenNebula - The Open Source Toolkit for Data Center Virtualization
 www.OpenNebula.org | jfon...@opennebula.org | @OpenNebula





-- 
Javier Fontán Muiños
Project Engineer
OpenNebula - The Open Source 

Re: [one-users] NoVNC in Sunstone behind lighttpd

2012-06-01 Thread Jhon Masschelein

Hi,

We are behind an iptables firewall so we simply opened a bunch of ports 
in addition to the 443 port to make the vnc work. Yes this is bad but 
we actually like it this way.


In the previous incarnation of our cloud based on ONE 1.0, we had a UI 
where one port proxied all the vnc connections.


We got into major problems with users  behind NAT bridges: we did not 
find a way to set up a correct proxy since all connections came from the 
NAT box.


We much prefer opening a bunch of ports in favor of having NAT break VNC 
support.


If the opennebula VNC system would revert back to that kind of system, 
please make sure it works through a NAT solution!


Wkr,

Jhon


On 06/01/2012 09:20 AM, Hector Sanjuan wrote:

No, nothing has been changed regarding this aspect in 3.2.1.

If it works for you that probably means that your Sunstone clients can
open a direct connection from their browser to
sunstone_host:vnc_proxy_port, where the normal sunstone_host:443 is the
only one being proxied through lighthttpd. I guess your proxy is running
on the same machine as sunstone and no firewalls are in place so vnc
connections can happen. Or maybe you have a different setup that I
havent thought of?

Hector

En Fri, 01 Jun 2012 09:06:03 +0200, Jhon Masschelein
jhon.masschel...@sara.nl escribió:


Hi,

Has something changed in 3.4.1 that makes this no longer work?

We're running 3.2.1 behind a lighttpd ssl proxy and the noVNC consoles
work (almost) perfectly for us...

Wkr,

Jhon


On 05/31/2012 11:00 PM, Hector Sanjuan wrote:

Hello,

bad news: noVNC uses websockets to open a connection to a tcp port on
the sunstone frontend which your reverse proxy is probably not letting
through. Actually, this port depends on the VM ID that you are
connecting to (proxy_base_port + vm_id), so as things are now there is
no straightforward way that you can get Sunstone VNC working with a
reverse proxy solution unless you take care of proxying a wide range of
ports, or find a way to let the connections through directly to them.

good news: We realised of this limitation and this will be changed for
the next release as part of http://dev.opennebula.org/issues/1209. The
idea is that we run a single websockets proxy instance on a single fixed
port.

So im afraid you just need to wait some weeks,

Hector


En Thu, 31 May 2012 21:51:48 +0200, Alberto Zuin - Liste
li...@albertozuin.eu escribió:


Hello all,
I'm setting up a new cloud (little, but this time it's mine ;-) with
OpenNebula 3.4.1.
Sunstone works like a charm when connecting directly on port 9869, but
I want using Lighttpd for ssl proxy. In this situation there is a
problem using NoVNC web console: when I click on the icon, appear the
popup on the bottom but no console.
No error in lighttpd log and in sunstone log.
Any suggestions?
Thanks,
Alberto











--
Jhon Masschelein
Senior Systeemprogrammeur
SARA - HPCV

Science Park 140
1098 XG Amsterdam
T +31 (0)20 592 8099
F +31 (0)20 668 3167
M +31 (0)6 4748 9328
E jhon.masschel...@sara.nl
http://www.sara.nl
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Xen deployment problems (Users Digest, Vol 52, Issue 2)

2012-06-01 Thread Rolandas Naujikas

On 2012-06-01 12:35, Marcin Jarzab wrote:

I tried to deploy VM on the XEN platform and have some problems.

Platform is Ubuntu 12.04 (frontend and Xen hypervisor) with the NFS
shared storage configuration.

The deployment file:
name = 'one-8'
#O CPU_CREDITS = 256
memory = '1024'
vcpus = '1'
bootloader = /usr/lib/xen/boot/hvmloader
disk = [
'tap:aio:/srv/cloud/one/var//datastores/0/8/disk.0,hdc,r',
'tap:aio:/srv/cloud/one/var//datastores/0/8/disk.1,hda,w',


In Debian 6.0 and probably in Ubuntu also Xen is distributed without 
blktap device driver, so no support for tap:aio:. In newer Debian 7.0 
(testing/weezy) or Ubuntu 12.04 you probably can install package 
blktap-dkms and have this feature.


Regards, Rolandas Naujikas


vif = [
' mac=02:00:ac:11:44:64,ip=172.17.68.100,bridge=xenbr0',
]
vfb = ['type=vnc,vncdisplay=8']

disk.0:
file /srv/cloud/one/var//datastores/0/8/disk.0
/srv/cloud/one/var//datastores/0/8/disk.0: # ISO 9660 CD-ROM filesystem
data 'Ubuntu-Server 12.04 LTS i386 ' (bootable)

disk.1:
../../1/ba1b95fee731571dca7d57feeba62dec: Linux rev 1.0 ext2 filesystem
data, UUID=65f7eae2-efd4-43ce-80f2-5c8ed8075e9c (large files)

1. When using SunStone I got the first error related to permissions:
##

++ basename /var/tmp/one/vmm/xen/deploy
Thu May 31 13:30:45 2012 [VMM][I]: ++ SCRIPT_NAME=deploy
Thu May 31 13:30:45 2012 [VMM][I]: +
domain=/srv/cloud/one/var//datastores/0/8/deployment.0
Thu May 31 13:30:45 2012 [VMM][I]: ++ dirname
/srv/cloud/one/var//datastores/0/8/deployment.0
Thu May 31 13:30:45 2012 [VMM][I]: + mkdir -p
/srv/cloud/one/var//datastores/0/8
Thu May 31 13:30:45 2012 [VMM][I]: + cat
Thu May 31 13:30:45 2012 [VMM][I]: ++ sudo /usr/sbin/xm create
/srv/cloud/one/var//datastores/0/8/deployment.0
Thu May 31 13:30:45 2012 [VMM][I]: Error: Disk isn't accessible
/srv/cloud/one/var//datastores/0/8/disk.0
Thu May 31 13:30:45 2012 [VMM][I]: + output='Using config file
/srv/cloud/one/var//datastores/0/8/deployment.0.'
Thu May 31 13:30:45 2012 [VMM][I]: + error_exit 1 'Unable to create domain'
Thu May 31 13:30:45 2012 [VMM][I]: + exit_code=1
Thu May 31 13:30:45 2012 [VMM][I]: + message='Unable to create domain'
Thu May 31 13:30:45 2012 [VMM][I]: + '[' x1 '!=' x0 ']'
Thu May 31 13:30:45 2012 [VMM][I]: + error_message Unable to create domain
Thu May 31 13:30:45 2012 [VMM][I]: + echo 'ERROR MESSAGE --8--'
Thu May 31 13:30:45 2012 [VMM][E]: + echo Unable
###


2. After logging on the target machine I run the regular Xen command and
it seems that
there are problems with files permissions.

sudo /usr/sbin/xm create /srv/cloud/one/var//datastores/0/8/deployment.0
Error: Disk isn't accessible /srv/cloud/one/var//datastores/0/8/disk.0
oneadmin@host$ ls -al /srv/cloud/one/var//datastores/0/8/disk.0
-rw-r- 1 oneadmin cloud 705998848 May 31 13:30
/srv/cloud/one/var//datastores/0/8/disk.0

How to solve the permission problem to be set automatically by the ONE.

3. After channging the mode to 644 the command starts but it hangs:

DEBUG (XendBootloader:113) Launching bootloader as
[\047/usr/lib/xen/boot/hvmloader\047,
\047--output=/var/run/xend/boot/xenbl.11066\047, \047-q\047,
\047/srv/cloud/one/var//datastores/0/8/disk.0\047].
[2012-06-01 10:10:43 1341] TRACE (XendDomainInfo:3525)
XendDomainInfo.update({\047paused\047: 0, \047cpu_time\047:
273759722900L, \047ssidref\047: 0, \047hvm\047: 0,
\047shutdown_reason\047: 255, \047dying\047: 0, \047mem_kb\047: 523908L,
\047domid\047: 0, \047max_vcpu_id\047: 7, \047crashed\047: 0,
\047running\047: 1, \047maxmem_kb\047: 524288L, \047shutdown\047: 0,
\047online_vcpus\047: 8, \047handle\047: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0], \047cpupool\047: 0, \047blocked\047: 0}) on domain 0

Any idea why the VM hangs during boot up process?




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


[one-users] problem starting VM in 3.4.1

2012-06-01 Thread Piyush Harsh

Hello Community Members,

After finally able to setup OpenNebula 3.4.1 in standalone mode on 
Fedora 14, I tried to create a VM from a template but I get errors:

---
Fri Jun  1 13:10:17 2012 [DiM][I]: New VM state is ACTIVE.
Fri Jun  1 13:10:17 2012 [LCM][I]: New VM state is PROLOG.
Fri Jun  1 13:10:17 2012 [VM][I]: Virtual Machine has no context
Fri Jun  1 13:12:56 2012 [TM][I]: clone: Cloning 
../../1/eab43c8ed6cddb5a761d96fb3198a79f in 
127.0.0.1:/srv/cloud/one3/var//datastores/0/0/disk.0

Fri Jun  1 13:12:56 2012 [TM][I]: ExitCode: 0
Fri Jun  1 13:12:58 2012 [LCM][I]: New VM state is BOOT
Fri Jun  1 13:12:58 2012 [VMM][I]: Generating deployment file: 
/srv/cloud/one3/var/0/deployment.0

Fri Jun  1 13:12:59 2012 [VMM][I]: Remote worker node files not found
Fri Jun  1 13:12:59 2012 [VMM][I]: Updating remotes
Fri Jun  1 13:12:59 2012 [VMM][I]: ExitCode: 0
Fri Jun  1 13:13:00 2012 [VMM][I]: Command execution fail: scp -r 
/srv/cloud/one3/var/remotes//. 127.0.0.1:/var/tmp/one
Fri Jun  1 13:13:00 2012 [VMM][I]: scp: 
/var/tmp/one/./scripts_common.rb: Permission denied

Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./tm: Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./auth: Permission 
denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./hooks: Permission 
denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./datastore: 
Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vmm/xen/save: 
Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vmm/xen/reboot: 
Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vmm/xen/cancel: 
Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vmm/xen/xenrc: 
Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp: 
/var/tmp/one/./vmm/xen/poll_ganglia: Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vmm/xen/deploy: 
Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vmm/xen/migrate: 
Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vmm/xen/shutdown: 
Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vmm/xen/poll: 
Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vmm/xen/restore: 
Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vmm/vmware: 
Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vmm/kvm/save: 
Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vmm/kvm/reboot: 
Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vmm/kvm/cancel: 
Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp: 
/var/tmp/one/./vmm/kvm/poll_ganglia: Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vmm/kvm/deploy: 
Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vmm/kvm/migrate: 
Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vmm/kvm/shutdown: 
Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vmm/kvm/poll: 
Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vmm/kvm/kvmrc: 
Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp: 
/var/tmp/one/./vmm/kvm/migrate_local: Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vmm/kvm/restore: 
Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vnm: Permission 
denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp: 
/var/tmp/one/./scripts_common.sh: Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./im/run_probes: 
Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./im/vmware.d: 
Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./im/xen.d/name.sh: 
Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./im/xen.d/cpu.sh: 
Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp: 
/var/tmp/one/./im/xen.d/architecture.sh: Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./im/xen.d/xen.rb: 
Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp: 
/var/tmp/one/./im/ganglia.d/ganglia_probe: Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./im/kvm.d/name.sh: 
Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./im/kvm.d/kvm.rb: 
Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./im/kvm.d/cpu.sh: 
Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp: 
/var/tmp/one/./im/kvm.d/architecture.sh: Permission denied

Fri Jun  1 13:13:00 2012 [VMM][I]: ExitCode: 1
Fri Jun  1 13:13:00 2012 [VMM][I]: Command execution fail: 
/var/tmp/one/vnm/dummy/pre 

Re: [one-users] problem starting VM in 3.4.1

2012-06-01 Thread Hector Sanjuan

Looks like opennebula user does not have permission to do this:

scp -r /srv/cloud/one3/var/remotes//. 127.0.0.1:/var/tmp/one

Check that /var/tmp/one has the correct permissions so that oneadmin can  
write to it.


Hector

En Fri, 01 Jun 2012 13:20:15 +0200, Piyush Harsh piyush.ha...@inria.fr  
escribió:



Hello Community Members,

After finally able to setup OpenNebula 3.4.1 in standalone mode on  
Fedora 14, I tried to create a VM from a template but I get errors:

---
Fri Jun  1 13:10:17 2012 [DiM][I]: New VM state is ACTIVE.
Fri Jun  1 13:10:17 2012 [LCM][I]: New VM state is PROLOG.
Fri Jun  1 13:10:17 2012 [VM][I]: Virtual Machine has no context
Fri Jun  1 13:12:56 2012 [TM][I]: clone: Cloning  
../../1/eab43c8ed6cddb5a761d96fb3198a79f in  
127.0.0.1:/srv/cloud/one3/var//datastores/0/0/disk.0

Fri Jun  1 13:12:56 2012 [TM][I]: ExitCode: 0
Fri Jun  1 13:12:58 2012 [LCM][I]: New VM state is BOOT
Fri Jun  1 13:12:58 2012 [VMM][I]: Generating deployment file:  
/srv/cloud/one3/var/0/deployment.0

Fri Jun  1 13:12:59 2012 [VMM][I]: Remote worker node files not found
Fri Jun  1 13:12:59 2012 [VMM][I]: Updating remotes
Fri Jun  1 13:12:59 2012 [VMM][I]: ExitCode: 0
Fri Jun  1 13:13:00 2012 [VMM][I]: Command execution fail: scp -r  
/srv/cloud/one3/var/remotes//. 127.0.0.1:/var/tmp/one
Fri Jun  1 13:13:00 2012 [VMM][I]: scp:  
/var/tmp/one/./scripts_common.rb: Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./tm: Permission  
denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./auth: Permission  
denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./hooks: Permission  
denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./datastore:  
Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vmm/xen/save:  
Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vmm/xen/reboot:  
Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vmm/xen/cancel:  
Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vmm/xen/xenrc:  
Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp:  
/var/tmp/one/./vmm/xen/poll_ganglia: Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vmm/xen/deploy:  
Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vmm/xen/migrate:  
Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vmm/xen/shutdown:  
Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vmm/xen/poll:  
Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vmm/xen/restore:  
Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vmm/vmware:  
Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vmm/kvm/save:  
Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vmm/kvm/reboot:  
Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vmm/kvm/cancel:  
Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp:  
/var/tmp/one/./vmm/kvm/poll_ganglia: Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vmm/kvm/deploy:  
Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vmm/kvm/migrate:  
Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vmm/kvm/shutdown:  
Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vmm/kvm/poll:  
Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vmm/kvm/kvmrc:  
Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp:  
/var/tmp/one/./vmm/kvm/migrate_local: Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vmm/kvm/restore:  
Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vnm: Permission  
denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp:  
/var/tmp/one/./scripts_common.sh: Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./im/run_probes:  
Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./im/vmware.d:  
Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./im/xen.d/name.sh:  
Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./im/xen.d/cpu.sh:  
Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp:  
/var/tmp/one/./im/xen.d/architecture.sh: Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./im/xen.d/xen.rb:  
Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp:  
/var/tmp/one/./im/ganglia.d/ganglia_probe: Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./im/kvm.d/name.sh:  
Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./im/kvm.d/kvm.rb:  
Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./im/kvm.d/cpu.sh:  
Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp:  
/var/tmp/one/./im/kvm.d/architecture.sh: Permission denied

Fri Jun  1 13:13:00 2012 

Re: [one-users] problem starting VM in 3.4.1

2012-06-01 Thread Carlos Martín Sánchez
So... can you ssh to 127.0.0.1 as oneadmin?

Fri Jun  1 13:13:00 2012 [VMM][I]: Command execution fail: scp -r
/srv/cloud/one3/var/remotes//. 127.0.0.1:/var/tmp/one
Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./scripts_common.**rb:
Permission denied

Regards
--
Carlos Martín, MSc
Project Engineer
OpenNebula - The Open-source Solution for Data Center Virtualization
www.OpenNebula.org | cmar...@opennebula.org |
@OpenNebulahttp://twitter.com/opennebulacmar...@opennebula.org



On Fri, Jun 1, 2012 at 1:20 PM, Piyush Harsh piyush.ha...@inria.fr wrote:

 Hello Community Members,

 After finally able to setup OpenNebula 3.4.1 in standalone mode on Fedora
 14, I tried to create a VM from a template but I get errors:
 ---
 Fri Jun  1 13:10:17 2012 [DiM][I]: New VM state is ACTIVE.
 Fri Jun  1 13:10:17 2012 [LCM][I]: New VM state is PROLOG.
 Fri Jun  1 13:10:17 2012 [VM][I]: Virtual Machine has no context
 Fri Jun  1 13:12:56 2012 [TM][I]: clone: Cloning ../../1/**
 eab43c8ed6cddb5a761d96fb3198a7**9f in 127.0.0.1:/srv/cloud/one3/var/**
 /datastores/0/0/disk.0
 Fri Jun  1 13:12:56 2012 [TM][I]: ExitCode: 0
 Fri Jun  1 13:12:58 2012 [LCM][I]: New VM state is BOOT
 Fri Jun  1 13:12:58 2012 [VMM][I]: Generating deployment file:
 /srv/cloud/one3/var/0/**deployment.0
 Fri Jun  1 13:12:59 2012 [VMM][I]: Remote worker node files not found
 Fri Jun  1 13:12:59 2012 [VMM][I]: Updating remotes
 Fri Jun  1 13:12:59 2012 [VMM][I]: ExitCode: 0
 Fri Jun  1 13:13:00 2012 [VMM][I]: Command execution fail: scp -r
 /srv/cloud/one3/var/remotes//. 127.0.0.1:/var/tmp/one
 Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./scripts_common.**rb:
 Permission denied
 Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./tm: Permission
 denied
 Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./auth: Permission
 denied
 Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./hooks: Permission
 denied
 Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./datastore:
 Permission denied
 Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vmm/xen/save:
 Permission denied
 Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vmm/xen/reboot:
 Permission denied
 Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vmm/xen/cancel:
 Permission denied
 Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vmm/xen/xenrc:
 Permission denied
 Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vmm/xen/poll_**ganglia:
 Permission denied
 Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vmm/xen/deploy:
 Permission denied
 Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vmm/xen/**migrate:
 Permission denied
 Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vmm/xen/**shutdown:
 Permission denied
 Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vmm/xen/poll:
 Permission denied
 Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vmm/xen/**restore:
 Permission denied
 Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vmm/vmware:
 Permission denied
 Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vmm/kvm/save:
 Permission denied
 Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vmm/kvm/reboot:
 Permission denied
 Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vmm/kvm/cancel:
 Permission denied
 Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vmm/kvm/poll_**ganglia:
 Permission denied
 Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vmm/kvm/deploy:
 Permission denied
 Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vmm/kvm/**migrate:
 Permission denied
 Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vmm/kvm/**shutdown:
 Permission denied
 Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vmm/kvm/poll:
 Permission denied
 Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vmm/kvm/kvmrc:
 Permission denied
 Fri Jun  1 13:13:00 2012 [VMM][I]: scp: 
 /var/tmp/one/./vmm/kvm/**migrate_local:
 Permission denied
 Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vmm/kvm/**restore:
 Permission denied
 Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vnm: Permission
 denied
 Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./scripts_common.**sh:
 Permission denied
 Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./im/run_probes:
 Permission denied
 Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./im/vmware.d:
 Permission denied
 Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./im/xen.d/name.**sh:
 Permission denied
 Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./im/xen.d/cpu.**sh:
 Permission denied
 Fri Jun  1 13:13:00 2012 [VMM][I]: scp: 
 /var/tmp/one/./im/xen.d/**architecture.sh:
 Permission denied
 Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./im/xen.d/xen.**rb:
 Permission denied
 Fri Jun  1 13:13:00 2012 [VMM][I]: scp: 
 /var/tmp/one/./im/ganglia.d/**ganglia_probe:
 Permission denied
 Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./im/kvm.d/name.**sh:
 Permission denied
 Fri Jun 

Re: [one-users] problem starting VM in 3.4.1

2012-06-01 Thread Piyush Harsh

Yes I can to a passwordless ssh to 127.0.0.1

Regards,
Piyush.

On Fri 01 Jun 2012 01:25:46 PM CEST, Carlos Martín Sánchez wrote:

So... can you ssh to 127.0.0.1 as oneadmin?

Fri Jun  1 13:13:00 2012 [VMM][I]: Command execution fail: scp -r
/srv/cloud/one3/var/remotes//. 127.0.0.1:/var/tmp/one
Fri Jun  1 13:13:00 2012 [VMM][I]: scp:
/var/tmp/one/./scripts_common.__rb: Permission denied

Regards
--
Carlos Martín, MSc
Project Engineer
OpenNebula - The Open-source Solution for Data Center Virtualization
www.OpenNebula.org http://www.OpenNebula.org |
cmar...@opennebula.org mailto:cmar...@opennebula.org | @OpenNebula
http://twitter.com/opennebulamailto:cmar...@opennebula.org



On Fri, Jun 1, 2012 at 1:20 PM, Piyush Harsh piyush.ha...@inria.fr
mailto:piyush.ha...@inria.fr wrote:

Hello Community Members,

After finally able to setup OpenNebula 3.4.1 in standalone mode on
Fedora 14, I tried to create a VM from a template but I get errors:
---
Fri Jun  1 13:10:17 2012 [DiM][I]: New VM state is ACTIVE.
Fri Jun  1 13:10:17 2012 [LCM][I]: New VM state is PROLOG.
Fri Jun  1 13:10:17 2012 [VM][I]: Virtual Machine has no context
Fri Jun  1 13:12:56 2012 [TM][I]: clone: Cloning
../../1/__eab43c8ed6cddb5a761d96fb3198a7__9f in
127.0.0.1:/srv/cloud/one3/var/__/datastores/0/0/disk.0
Fri Jun  1 13:12:56 2012 [TM][I]: ExitCode: 0
Fri Jun  1 13:12:58 2012 [LCM][I]: New VM state is BOOT
Fri Jun  1 13:12:58 2012 [VMM][I]: Generating deployment file:
/srv/cloud/one3/var/0/__deployment.0
Fri Jun  1 13:12:59 2012 [VMM][I]: Remote worker node files not found
Fri Jun  1 13:12:59 2012 [VMM][I]: Updating remotes
Fri Jun  1 13:12:59 2012 [VMM][I]: ExitCode: 0
Fri Jun  1 13:13:00 2012 [VMM][I]: Command execution fail: scp -r
/srv/cloud/one3/var/remotes//. 127.0.0.1:/var/tmp/one
Fri Jun  1 13:13:00 2012 [VMM][I]: scp:
/var/tmp/one/./scripts_common.__rb: Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./tm:
Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./auth:
Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./hooks:
Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./datastore:
Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp:
/var/tmp/one/./vmm/xen/save: Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp:
/var/tmp/one/./vmm/xen/reboot: Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp:
/var/tmp/one/./vmm/xen/cancel: Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp:
/var/tmp/one/./vmm/xen/xenrc: Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp:
/var/tmp/one/./vmm/xen/poll___ganglia: Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp:
/var/tmp/one/./vmm/xen/deploy: Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp:
/var/tmp/one/./vmm/xen/__migrate: Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp:
/var/tmp/one/./vmm/xen/__shutdown: Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp:
/var/tmp/one/./vmm/xen/poll: Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp:
/var/tmp/one/./vmm/xen/__restore: Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vmm/vmware:
Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp:
/var/tmp/one/./vmm/kvm/save: Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp:
/var/tmp/one/./vmm/kvm/reboot: Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp:
/var/tmp/one/./vmm/kvm/cancel: Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp:
/var/tmp/one/./vmm/kvm/poll___ganglia: Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp:
/var/tmp/one/./vmm/kvm/deploy: Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp:
/var/tmp/one/./vmm/kvm/__migrate: Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp:
/var/tmp/one/./vmm/kvm/__shutdown: Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp:
/var/tmp/one/./vmm/kvm/poll: Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp:
/var/tmp/one/./vmm/kvm/kvmrc: Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp:
/var/tmp/one/./vmm/kvm/__migrate_local: Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp:
/var/tmp/one/./vmm/kvm/__restore: Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vnm:
Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp:
/var/tmp/one/./scripts_common.__sh: Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp:
/var/tmp/one/./im/run_probes: Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp:
/var/tmp/one/./im/vmware.d: Permission denied
Fri Jun  1 13:13:00 2012 [VMM][I]: scp:
/var/tmp/one/./im/xen.d/name.__sh: Permission denied
Fri Jun  1 13:13:00 2012 

[one-users] problem starting vm in 3.4.1

2012-06-01 Thread Piyush Harsh

Hi Hector,

The tmp directory /var/tmp/one is used by my opennebula 2.2.1 standalone 
installation, I changed the tmp path in 3.4.1 setup to /var/tmp/one3 and 
gave permissions to oneadmin3 user to write to it.


How do I sync up this folder so that it contains all monitoring scripts 
and drivers?


Kind regards,
Piyush.


Looks like opennebula user does not have permission to do this:

scp -r /srv/cloud/one3/var/remotes//. 127.0.0.1:/var/tmp/one

Check that /var/tmp/one has the correct permissions so that oneadmin 
can write to it.


Hector
--
Dr. Piyush Harsh, RD Engineer, INRIA
CONTRAIL Project, INRIA Rennes - Bretagne Atlantique
Campus universitaire de Beaulieu, 35042 Rennes cedex, France
Phone. +33 2 99 84 71 48 - Fax. +33 2 99 84 71 71
http://www.irisa.fr/myriads/
http://www.cise.ufl.edu/~pharsh/portfolio/
[Backup Site] http://info-piyush.rhcloud.com/
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] problem starting vm in 3.4.1

2012-06-01 Thread Hector Sanjuan
restarting opennebula would probably be enough, also you can run 'onehost  
sync' and the scripts will be copied in the next monitorization round.


Hector

En Fri, 01 Jun 2012 15:10:43 +0200, Piyush Harsh piyush.ha...@inria.fr  
escribió:



Hi Hector,

The tmp directory /var/tmp/one is used by my opennebula 2.2.1 standalone  
installation, I changed the tmp path in 3.4.1 setup to /var/tmp/one3 and  
gave permissions to oneadmin3 user to write to it.


How do I sync up this folder so that it contains all monitoring scripts  
and drivers?


Kind regards,
Piyush.


 Looks like opennebula user does not have permission to do this:
 
 scp -r /srv/cloud/one3/var/remotes//. 127.0.0.1:/var/tmp/one
 
 Check that /var/tmp/one has the correct permissions so that oneadmin  
 can write to it.

 
 Hector



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


Re: [one-users] problem starting vm in 3.4.1

2012-06-01 Thread Piyush Harsh

Hi Hector,

Thank you for your response, now I get new errors, seems qemu dependent:

Fri Jun  1 15:17:48 2012 [DiM][I]: New VM state is ACTIVE.
Fri Jun  1 15:17:48 2012 [LCM][I]: New VM state is PROLOG.
Fri Jun  1 15:17:48 2012 [VM][I]: Virtual Machine has no context
Fri Jun  1 15:20:32 2012 [TM][I]: clone: Cloning 
../../1/eab43c8ed6cddb5a761d96fb3198a79f in 
127.0.0.1:/srv/cloud/one3/var//datastores/0/3/disk.0

Fri Jun  1 15:20:32 2012 [TM][I]: ExitCode: 0
Fri Jun  1 15:20:33 2012 [LCM][I]: New VM state is BOOT
Fri Jun  1 15:20:33 2012 [VMM][I]: Generating deployment file: 
/srv/cloud/one3/var/3/deployment.0

Fri Jun  1 15:20:34 2012 [VMM][I]: ExitCode: 0
Fri Jun  1 15:20:34 2012 [VMM][I]: Successfully execute network driver 
operation: pre.
Fri Jun  1 15:20:39 2012 [VMM][I]: Command execution fail: cat  EOT | 
/var/tmp/one3/vmm/kvm/deploy 
/srv/cloud/one3/var//datastores/0/3/deployment.0 127.0.0.1 3 127.0.0.1
Fri Jun  1 15:20:39 2012 [VMM][I]: error: Failed to create domain from 
/srv/cloud/one3/var//datastores/0/3/deployment.0
Fri Jun  1 15:20:39 2012 [VMM][I]: error: internal error process exited 
while connecting to monitor: qemu: could not open disk image 
/srv/cloud/one3/var//datastores/0/3/disk.0: Permission denied

Fri Jun  1 15:20:39 2012 [VMM][I]:
Fri Jun  1 15:20:39 2012 [VMM][E]: Could not create domain from 
/srv/cloud/one3/var//datastores/0/3/deployment.0

Fri Jun  1 15:20:39 2012 [VMM][I]: ExitCode: 255
Fri Jun  1 15:20:39 2012 [VMM][I]: Failed to execute virtualization 
driver operation: deploy.
Fri Jun  1 15:20:39 2012 [VMM][E]: Error deploying virtual machine: 
Could not create domain from 
/srv/cloud/one3/var//datastores/0/3/deployment.0

Fri Jun  1 15:20:39 2012 [DiM][I]: New VM state is FAILED

I checked the disk file and they have ownership:group as root:root. Is 
that normal?


Piyush

On Fri 01 Jun 2012 03:13:08 PM CEST, Hector Sanjuan wrote:

restarting opennebula would probably be enough, also you can run
'onehost sync' and the scripts will be copied in the next
monitorization round.

Hector

En Fri, 01 Jun 2012 15:10:43 +0200, Piyush Harsh
piyush.ha...@inria.fr escribió:


Hi Hector,

The tmp directory /var/tmp/one is used by my opennebula 2.2.1
standalone installation, I changed the tmp path in 3.4.1 setup to
/var/tmp/one3 and gave permissions to oneadmin3 user to write to it.

How do I sync up this folder so that it contains all monitoring
scripts and drivers?

Kind regards,
Piyush.


Looks like opennebula user does not have permission to do this:

scp -r /srv/cloud/one3/var/remotes//. 127.0.0.1:/var/tmp/one

Check that /var/tmp/one has the correct permissions so that
oneadmin can write to it.

Hector





--
Dr. Piyush Harsh, RD Engineer, INRIA
CONTRAIL Project, INRIA Rennes - Bretagne Atlantique
Campus universitaire de Beaulieu, 35042 Rennes cedex, France
Phone. +33 2 99 84 71 48 - Fax. +33 2 99 84 71 71
http://www.irisa.fr/myriads/
http://www.cise.ufl.edu/~pharsh/portfolio/
[Backup Site] http://info-piyush.rhcloud.com/
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] problem starting vm in 3.4.1

2012-06-01 Thread Piyush Harsh

Hi Hector,

I changed the dynamic ownership flag in qemu conf to 0 and now I get a 
slightly different type of error


Fri Jun  1 16:34:45 2012 [DiM][I]: New VM state is ACTIVE.
Fri Jun  1 16:34:45 2012 [LCM][I]: New VM state is PROLOG.
Fri Jun  1 16:34:45 2012 [VM][I]: Virtual Machine has no context
Fri Jun  1 16:37:21 2012 [TM][I]: clone: Cloning 
../../1/eab43c8ed6cddb5a761d96fb3198a79f in 
127.0.0.1:/srv/cloud/one3/var//datastores/0/7/disk.0

Fri Jun  1 16:37:21 2012 [TM][I]: ExitCode: 0
Fri Jun  1 16:37:24 2012 [LCM][I]: New VM state is BOOT
Fri Jun  1 16:37:24 2012 [VMM][I]: Generating deployment file: 
/srv/cloud/one3/var/7/deployment.0

Fri Jun  1 16:37:24 2012 [VMM][I]: ExitCode: 0
Fri Jun  1 16:37:24 2012 [VMM][I]: Successfully execute network driver 
operation: pre.
Fri Jun  1 16:37:25 2012 [VMM][I]: Command execution fail: cat  EOT | 
/var/tmp/one3/vmm/kvm/deploy 
/srv/cloud/one3/var//datastores/0/7/deployment.0 127.0.0.1 7 127.0.0.1
Fri Jun  1 16:37:25 2012 [VMM][I]: error: Failed to create domain from 
/srv/cloud/one3/var//datastores/0/7/deployment.0

Fri Jun  1 16:37:25 2012 [VMM][I]: error: server closed connection:
Fri Jun  1 16:37:25 2012 [VMM][E]: Could not create domain from 
/srv/cloud/one3/var//datastores/0/7/deployment.0

Fri Jun  1 16:37:25 2012 [VMM][I]: ExitCode: 255
Fri Jun  1 16:37:25 2012 [VMM][I]: Failed to execute virtualization 
driver operation: deploy.
Fri Jun  1 16:37:25 2012 [VMM][E]: Error deploying virtual machine: 
Could not create domain from 
/srv/cloud/one3/var//datastores/0/7/deployment.0

Fri Jun  1 16:37:26 2012 [DiM][I]: New VM state is FAILED

Kind regards,
Piyush

On Fri 01 Jun 2012 03:25:00 PM CEST, Piyush Harsh wrote:

Hi Hector,

Thank you for your response, now I get new errors, seems qemu dependent:

Fri Jun 1 15:17:48 2012 [DiM][I]: New VM state is ACTIVE.
Fri Jun 1 15:17:48 2012 [LCM][I]: New VM state is PROLOG.
Fri Jun 1 15:17:48 2012 [VM][I]: Virtual Machine has no context
Fri Jun 1 15:20:32 2012 [TM][I]: clone: Cloning
../../1/eab43c8ed6cddb5a761d96fb3198a79f in
127.0.0.1:/srv/cloud/one3/var//datastores/0/3/disk.0
Fri Jun 1 15:20:32 2012 [TM][I]: ExitCode: 0
Fri Jun 1 15:20:33 2012 [LCM][I]: New VM state is BOOT
Fri Jun 1 15:20:33 2012 [VMM][I]: Generating deployment file:
/srv/cloud/one3/var/3/deployment.0
Fri Jun 1 15:20:34 2012 [VMM][I]: ExitCode: 0
Fri Jun 1 15:20:34 2012 [VMM][I]: Successfully execute network driver
operation: pre.
Fri Jun 1 15:20:39 2012 [VMM][I]: Command execution fail: cat  EOT |
/var/tmp/one3/vmm/kvm/deploy
/srv/cloud/one3/var//datastores/0/3/deployment.0 127.0.0.1 3 127.0.0.1
Fri Jun 1 15:20:39 2012 [VMM][I]: error: Failed to create domain from
/srv/cloud/one3/var//datastores/0/3/deployment.0
Fri Jun 1 15:20:39 2012 [VMM][I]: error: internal error process exited
while connecting to monitor: qemu: could not open disk image
/srv/cloud/one3/var//datastores/0/3/disk.0: Permission denied
Fri Jun 1 15:20:39 2012 [VMM][I]:
Fri Jun 1 15:20:39 2012 [VMM][E]: Could not create domain from
/srv/cloud/one3/var//datastores/0/3/deployment.0
Fri Jun 1 15:20:39 2012 [VMM][I]: ExitCode: 255
Fri Jun 1 15:20:39 2012 [VMM][I]: Failed to execute virtualization
driver operation: deploy.
Fri Jun 1 15:20:39 2012 [VMM][E]: Error deploying virtual machine:
Could not create domain from
/srv/cloud/one3/var//datastores/0/3/deployment.0
Fri Jun 1 15:20:39 2012 [DiM][I]: New VM state is FAILED

I checked the disk file and they have ownership:group as root:root. Is
that normal?

Piyush

On Fri 01 Jun 2012 03:13:08 PM CEST, Hector Sanjuan wrote:

restarting opennebula would probably be enough, also you can run
'onehost sync' and the scripts will be copied in the next
monitorization round.

Hector

En Fri, 01 Jun 2012 15:10:43 +0200, Piyush Harsh
piyush.ha...@inria.fr escribió:


Hi Hector,

The tmp directory /var/tmp/one is used by my opennebula 2.2.1
standalone installation, I changed the tmp path in 3.4.1 setup to
/var/tmp/one3 and gave permissions to oneadmin3 user to write to it.

How do I sync up this folder so that it contains all monitoring
scripts and drivers?

Kind regards,
Piyush.


Looks like opennebula user does not have permission to do this:

scp -r /srv/cloud/one3/var/remotes//. 127.0.0.1:/var/tmp/one

Check that /var/tmp/one has the correct permissions so that
oneadmin can write to it.

Hector





--
Dr. Piyush Harsh, RD Engineer, INRIA
CONTRAIL Project, INRIA Rennes - Bretagne Atlantique
Campus universitaire de Beaulieu, 35042 Rennes cedex, France
Phone. +33 2 99 84 71 48 - Fax. +33 2 99 84 71 71
http://www.irisa.fr/myriads/
http://www.cise.ufl.edu/~pharsh/portfolio/
[Backup Site] http://info-piyush.rhcloud.com/


--
Dr. Piyush Harsh, RD Engineer, INRIA
CONTRAIL Project, INRIA Rennes - Bretagne Atlantique
Campus universitaire de Beaulieu, 35042 Rennes cedex, France
Phone. +33 2 99 84 71 48 - Fax. +33 2 99 84 71 71
http://www.irisa.fr/myriads/
http://www.cise.ufl.edu/~pharsh/portfolio/
[Backup Site] http://info-piyush.rhcloud.com/

[one-users] how to debug - It does not fullfil REQUIREMENTS

2012-06-01 Thread Nicolas Diogo
i have setup a singleton OpenNebula for testing (single box with all
components) using a NFS storage.

the hypervision is KVM, and simple (dummy) network.

when creating my first instance of a template - i got the message below.
i find this to be quite cryptic - in that i have no idea what is not
fulfilling the request.
is there some way of incrementing the level of information provided by
the scheduler

QUOTE

Fri Jun  1 17:06:12 2012 [HOST][D]: Discovered Hosts (enabled): 2
Fri Jun  1 17:06:12 2012 [VM][D]: Pending virtual machines : 1
Fri Jun  1 17:06:12 2012 [SCHED][D]: Host 2 filtered out. It does not
fullfil REQUIREMENTS.
Fri Jun  1 17:06:12 2012 [SCHED][I]: Select hosts

/QUOTE

Thanks,

Nicolas



sent with Debian Linux (http://www.debian.org)
free yourself into a safer internet
this message is only intended to its recipient
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org