Re: [one-users] ssh/authorized_keys permission denied

2015-01-12 Thread knawnd
Adri Anisa wrote on 12/01/15 11:56: Hi, I use "ssh-copy-id node" to ssh without password from frontend to node, but I found this error: bash: line 2: ./ssh/authorized_keys: Permission denied. I also have tried to "chmod 600 ~/.ssh/authorized_keys" but it seems still error. check also the own

Re: [one-users] Is there a way to expand output of onevm list?

2015-01-02 Thread knawnd
Hi Steve, I copied /var/lib/one/tmp/onevm.yaml file into ~/.one/cli/ folder located in user's home dir and set the value of size parameter of HOST attribute to desired value (in my case it is 15): {{{ :HOST: :desc: Host where the VM is running :size: 15 :left: true }}} Hope it helps! Be

Re: [one-users] 4.4 Installation instructions are incorrect

2014-06-10 Thread knawnd
I assume the logic behind is the following: user starts from OpenNebula home page (opennebula.org), then click on "Documentation" (http://opennebula.org/documentation/) which contains the documentation on the latest stable release. Currently it is written the following: "OpenNebula 4.6 Guides (L

Re: [one-users] 4.4 Installation instructions are incorrect

2014-06-10 Thread knawnd
Hello Kerry! What makes you think that 4.6 is development version? As far as I know it is a stable one (there is even 4.6.1 with bug fixes). Have a loot at "Release cycle" [1] Best regards, Nikolay. [1] http://opennebula.org/software/release/ kerryhall . wrote on 10/06/14 02:45: Hi folks,

Re: [one-users] set user quotas be valid for a given period of time

2014-04-14 Thread knawnd
Hi Carlos, Thanks a lot for proposal! We will try to estimate it as well as other possible solutions to take a decision. Regards, Nikolay. Carlos Martín Sánchez wrote on 14/04/14 13:39: Hi, On Thu, Apr 10, 2014 at 8:29 AM, mailto:kna...@gmail.com>> wrote: Dear all, as far as I un

[one-users] set user quotas be valid for a given period of time

2014-04-09 Thread knawnd
Dear all, as far as I understand from [1] in the current stable OpenNebula release (v.4.4) it's not possible to set user quotas be valid for a given period of time. We would like to implement the following scenario. Split all cloud users into two categories: 1) permanent and 2) temporal. Users

Re: [one-users] VM Opennebula with OpenVZ

2014-02-04 Thread knawnd
Hi Caty, please, provide OpenNebula version you are using as well as VM log file (part of it where errors appear). The openvz driver code available at [1] is updated for OpenNebula 4.4(although docs are not updated yet). [1] https://bitbucket.org/hpcc_kpi/opennebula-openvz/wiki/Home Regard

Re: [one-users] Users Digest, Vol 70, Issue 90 (VM Openvz in Opennebula)

2013-12-17 Thread knawnd
6 2013 [VMM][E]: Warning: configuration file for distribution VMopenvzamd64 not found, using defaults from /etc/vz/dists/default Mon Dec 16 00:05:26 2013 [VMM][E]: Unable to start init, probably incorrect template Mon Dec 16 00:05:26 2013 [VMM][E]:

Re: [one-users] Users Digest, Vol 70, Issue 90

2013-12-16 Thread knawnd
2013 [VMM][E]: Unable to start init, probably incorrect template Mon Dec 16 00:05:26 2013 [VMM][E]: Container start failed Mon Dec 16 00:05:26 2013 [VMM][E]: Mon Dec 16 00:05:26 2013 [VMM][I]: ExitCode: 47 Mon Dec 16 00:05:26 2013 [VMM][I]: Failed to execute virtualization driver operation: deploy.

Re: [one-users] Create VM in Opennebula for OpenVZ failed

2013-12-15 Thread knawnd
Hi Caty, I've just checked and ploop openvz VM could be run on cluster node with mounted nfsv3 shared system DS. So please check very carefully your directories permissons and in case of NFS share also exporting and mount options. Regards, Nikolay. On 12/14/2013 09:21 PM, knawnd

Re: [one-users] Create VM in Opennebula for OpenVZ failed

2013-12-14 Thread knawnd
root 4096 Dec 14 11:59 vztmp $ ll /vz/one/datastores/0/ total 8 drwxrwxr-x 3 oneadmin oneadmin 4096 Dec 14 12:48 1 drwxrwxr-x 4 oneadmin oneadmin 4096 Dec 14 13:40 2 Hope it helps. Regards, Nikolay. On 12/14/2013 11:52 AM, knawnd wrote: Hi Caty, Sorry for the long delay in reply (a

Re: [one-users] Create VM in Opennebula for OpenVZ failed

2013-12-13 Thread knawnd
Hi Caty, Sorry for the long delay in reply (a lot of urgent things to do before the end of the year). So according to info you provided now your system DS is ssh-based and not shared (NFS) anymore, right? > oneadmin@ubuntuOpNeb:~$ onedatastore list > ID NAMESIZE AVAIL CLUSTE

Re: [one-users] VM in Opennebula for OpenVZ failed

2013-12-02 Thread knawnd
Hi Caty, 3. When I deploy VM with VE_LAYOUT ="ploop" display the same error "...bad file descriptor..." please, make sure that your system datastore (normally with ID 0) is configured to use ssh transfer manager instead of shared. 4. When I deploy VM with VE_LAYOUT ="simfs" display the error

Re: [one-users] VM in Opennebula for OpenVZ failed

2013-12-01 Thread knawnd
Hi Caty, On 11/30/2013 06:28 PM, Catalina Quinde wrote: Hi Nikita, excuse me by previous mail, it´s was incorrectly, well, I revised https://bugzilla.openvz.org/show_bug.cgi?id=2730, but, don´t understand where I have to change, The ploop version with command: aptitude show ploop, present Ver

Re: [one-users] Users Digest, Vol 69, Issue 141

2013-11-29 Thread knawnd
Hi Caty, if your datastore is nfs-based then it seems like you faced with issue mentioned in that bug report [1]. Is there any particular reason which makes you not to use latest stable openvz kernel (currently it is 83.2)? Make also sure that the latest stable ploop and vzctl versions are ins

[one-users] two authentication methods in Sunstone

2013-11-29 Thread knawnd
Hello! I wonder if it is possible to enable two authentication methods in Sunstone? As far as I understand from [1] currently only single auth method is supported. I would like to implement the following: first try to use x509 auth method and if it fails then try the next one listed in /etc/on

Re: [one-users] VM description/comment

2013-11-28 Thread knawnd
Hi Daniel, Daniel Molina wrote on 28/11/13 14:13: Hi Nikolay, On 27 November 2013 15:02, mailto:kna...@gmail.com>> wrote: Daniel Molina wrote on 24/10/12 13:58: On 24 October 2012 11:08, mailto:kna...@gmail.com> >> wrote:

Re: [one-users] VM description/comment

2013-11-27 Thread knawnd
Daniel Molina wrote on 24/10/12 13:58: On 24 October 2012 11:08, mailto:kna...@gmail.com>> wrote: Daniel Molina wrote on 23/10/12 20:23: On 23 October 2012 14:31, mailto:kna...@gmail.com> >> wrote: Dear Ruben,

Re: [one-users] VM in Opennebula for OpenVZ failed

2013-11-27 Thread knawnd
Hi Catalina, please see my comments inline Catalina Quinde wrote on 27/11/13 14:17: 2. Maybe you got incorrect template, try deploying it by "vzctl create" to see if it works In the process of creating the template I copy debian.conf as VMdebianm64.conf it was not necessary to do that. I

Re: [one-users] different authentication methods for different interfaces

2013-11-26 Thread knawnd
Carlos Martín Sánchez wrote on 26/11/13 13:54: Hi, That is not supported, only one auth driver can be set for each user. We could consider adding support for more than one drivers, but that would require a bit of development and I can't think of any immediate workaround. By the way, I know t

[one-users] different authentication methods for different interfaces

2013-11-25 Thread knawnd
Dear community, I wonder if it is possible for a single user to usetwo different authentication methods for different interfaces: e.g. ssh authentication method for cli and x509 one for sunstone? Regards, Nikolay. ___ Users mailing list Users@lists.o

Re: [one-users] VM in Opennebula for OpenVZ failed

2013-11-18 Thread knawnd
Make sure that in VM template you specify OSTEMPLATE variable with an appropriate valueas it is written in the guide. For example, OSTEMPLATE="sl-6-x86_64" I does make a sense to use only those names what are mentioned inthe filenames located in /etc/vz/dists/ since OpenVZ hypervisor invokes c

Re: [one-users] VM in Opennebula for OpenVZ failed

2013-11-16 Thread knawnd
Catalina Quinde wrote on 15/11/13 23:11: Hi Nikolay I use http://wiki.opennebula.org/openvz4opennebula, this guide helped me installed openvz for opennebula Hi, Caty! Please, use https://bitbucket.org/hpcc_kpi/opennebula-openvz/wiki/Home since the one you are referring to is outdated (it wa

Re: [one-users] VM in Opennebula for OpenVZ failed

2013-11-15 Thread knawnd
Catalina Quinde wrote on 15/11/13 20:23: Please help me, do not find much information opennebula with openvz. Hi, Caty! What openvz driver are you using? I am using that one [1]. [1] https://bitbucket.org/hpcc_kpi/opennebula-openvz/wiki/Home Regards, Nikolay. Regards, Caty ___

Re: [one-users] Error creating image in opennebula for OpenVZ

2013-11-12 Thread knawnd
Hi Catanlia, The problem could be because of datastore by default unpack image whereas it is not acceptable in case of OpenVZ. To workaround that one can add NO_DECOMPRESS="yes" in datastore config. For more info see [1]. Hope it helps. Regards, Nikolay. [1] http://opennebula.org/**documen

[one-users] NO_DECOMPRESS attribute values

2013-08-06 Thread knawnd
Hi! It's not clear from documentation [1]what the proper syntax for NO_DECOMPRESS attribute usage in DS configurationis. Is it enough just to add such attribute without any values or it has to be equal "1", or "true", or "yes"? Experimentally I found it has to be NO_DECOMPRESS="yes". Maybe th

Re: [one-users] How to detect a host of free disk??????

2012-12-04 Thread knawnd
Hi Carlos, Thanks a lot for taking into account users' feature requests! That's one (among others) of the good distinctive featureof OpenNebula team. I would just propose to implementmetrics for the disk space similar to the host memory resources: allocated disk space and the real used one. So

Re: [one-users] How to detect a host of free disk??????

2012-11-29 Thread knawnd
Valentin Bud wrote on 30/11/12 11:19: Hello World, On Fri, Nov 30, 2012 at 10:58:54AM +0800, ?? wrote: Hi??all?? Can opennebula have the ability to detect the size of the host node idle disk?? I always encounter this problem?? The new virtual machine is scheduled to a node and then the vm

[one-users] save changes in persistent VM disk without shutdown

2012-11-27 Thread knawnd
Hello all! I wonder if there is any way to save changes made in persistent VM disk without shutting down that VM? The 'onevm stop' command saves persistent VM disk in /var/lib/one/datastore/0/ on the front-end but not in /var/lib/one/datastores/1/ where all registered in datastore VM images are

[one-users] persistent size of persistent images?

2012-11-19 Thread knawnd
Hi! I am using OpenNebula 3.8.1 with OpenVZ hypervisor support enabled. I noticed that the value of the corresponding persistent image parameter is not changed even if actual size of the file has changed. $ oneimage list|grep persistent ID USER GROUP NAMEDATASTORE SIZE TYP

Re: [one-users] OpenNebula 3.8.1 on CentOS 6.3 oned.log errors

2012-11-12 Thread knawnd
Hello Valentin, I also was surprised to observe similar messages in oned.log after migration to 3.8.1. But I guess it's just a debug messages and they should disappear if decrease a debug level. Regards, Nikolay. Valentin Bud wrote on 12/11/12 17:32: Hello World, I have just updated OpenNeb

[one-users] ~onadmin/.one and ~oneadmin/.one/one_auth permissions

2012-11-12 Thread knawnd
Hi! opennebula-3.8.1 rpm for CentOS 6.x produces ~oneadmin/.one dir with 755 permissions and ~oneadmin/.one/one_auth file with 644. Wouldn't it be more secure to set them as 700 and 600 correspondingly? Regards, Nikolay. ___ Users mailing list Users

Re: [one-users] howto show VM password to a sunstone regular user

2012-11-09 Thread knawnd
Ruben S. Montero wrote on 09/11/12 18:49: Hi, Yes, you can create an script that sends the password upon VM creation. Also, how do yo setup de password? Is something that can be somehow included in the CONTEXT using a field from the USER template (like CONTEXT = [ PASS"=$USER[VM_PASSWORD]" ],

Re: [one-users] VM description/comment

2012-10-24 Thread knawnd
$ cp /etc/one/cli/onevm.yaml ~/.one/ Sorry I sent you a wrong path, use this instead $ mkdir ~/.one/cli/ $ cp /etc/one/cli/onevm.yaml ~/.one/cli/ That worked! Thanks a lot! Regards, Nikolay. ___ Users mailing list Users@lists.opennebula.org ht

Re: [one-users] VM description/comment

2012-10-24 Thread knawnd
Daniel Molina wrote on 23/10/12 20:23: On 23 October 2012 14:31, mailto:kna...@gmail.com>> wrote: Dear Ruben, first of all, sorry for delay with reply! Please, see my comments inline. Ruben S. Montero wrote on 19/10/12 00:34: Hi Ricardo + Nikolay You are right

Re: [one-users] VM description/comment

2012-10-23 Thread knawnd
Dear Ruben, first of all, sorry for delay with reply! Please, see my comments inline. Ruben S. Montero wrote on 19/10/12 00:34: Hi Ricardo + Nikolay You are right, one thing we have in our short roadmap is to add a generic metada section for VMs. This metadata could be updated using the *upda

Re: [one-users] webinars

2012-10-20 Thread knawnd
christopher barry wrote on 19/10/12 16:43: One Folks, I had actually signed up for the latest webinar, but then realized I could not participate and had to cancel because I use Linux. Seems a bit ironic when you think about it. It would be great if you could use a webinar methodology that did n

Re: [one-users] hostname and IP address as arguments for 'onetemplate instantiate' command

2012-10-18 Thread knawnd
Hi! Thanks a lot for reply and info! Regards, Nikolay. Carlos Martín Sánchez wrote on 18/10/12 17:13: Hi, You can request a specific IP from the network using NIC/IP [1]. For example: NIC = [ NETWORK_ID="0", IP = "10.10.10.1" ] This can't be parameterized, but you can try to automate it in

Re: [one-users] VM description/comment

2012-10-18 Thread knawnd
Hi Ruben, Ruben S. Montero wrote on 17/10/12 14:42: Hi Why not using the name of the VM for this?. The name of the VM I would like to use to put hostname in it and perhaps use $NAME in contextualization as e.g. CONTEXT=[ HOSTNAME="$NAME.domain.org" ] But that would make a sense in cas

Re: [one-users] custom set of columns to display in 'onevm list' command

2012-10-18 Thread knawnd
Javier, thanks a lot for a prompt reply! Maybe it does make a sense to mention in onevm man page that columns names have to be in upper case. Regards, Nikolay. Javier Fontan wrote on 18/10/12 12:04: Use upper case names for the columns: $ onevm list --list ID,NAME,UCPU If you want to mak

[one-users] custom set of columns to display in 'onevm list' command

2012-10-18 Thread knawnd
Dear community, I'd like to slightly modifya set of columns what are displayed as an output of'onevm list' command. For that purpose as far as I understand one can use '-l|--list' option of list command according to onevm's man page: [...] · list [filterflag] Lists VMs in the p

[one-users] hostname and IP address as arguments for 'onetemplate instantiate' command

2012-10-17 Thread knawnd
Dear community, I wonder if there is a way to assign a certain IP address for particular VM created and deployed by 'onetemplate instantiate' command? Right now it looks like IP is chosen randomly from the pool of free IP addresses (leases). Moreover from time to time I need to create a bunch o

[one-users] VM description/comment

2012-10-16 Thread knawnd
Dear list, I wonder if there is any way to specify some text as a description/comment for a certain VM in order to be able toquery such info later e.g. during 'onevm list' command execution. I just don't want to get lost in all my VMs and which one is for what. I would like to have something l

Re: [one-users] Upcoming public Webinar about OpenNebula

2012-05-31 Thread knawnd
Tino Vazquez wrote on 31/05/12 18:51: Dear OpenNebula users, C12G Labs has recently started a series of Webinars focused on different aspects and possible deployments achieved by OpenNebula. The first one open to the general public the first one will be taking place next Thursday, 7th of June, a

Re: [one-users] onevm saveas : [ImageAllocate] Error trying to CREATE IMAGE No PATH in template.

2011-09-23 Thread knawnd
onevm saveas 69 0 "saved Windows" [VirtualMachineSaveDisk] Error allocating a new image. No PATH in template. Knawnd, did you solve this problem? Thanks. Shi On Tue, Jun 7, 2011 at 8:00 AM, mailto:kna...@gmail.com>> wrote: Hello! I am trying to test 'onevm saveas'

Re: [one-users] OpenNebula Express Install

2011-09-22 Thread knawnd
you should check oned.log for errors. Regards, Nikolay. srivatsan jagannathan wrote on 22/09/11 21:38: Hi all, No error in install.log (front end and 2 nodes) but, onehost list ID NAME CLUSTER RVM TCPU FCPU ACPUTMEM FMEM STAT 3 cloud8default0

[one-users] OpenVZ adapter for OpenNebula

2011-09-22 Thread knawnd
Dear community, I would like to share what I did to make OpenVZ-based VMs work in ONE. Current OpenVZ adapter release (version 1.0.0) is for OpenNebula-2.2.1 (current latest stable). The instruction can be found at http://wiki.opennebula.org/openvz4opennebula. Regards, Nikolay. _

Re: [one-users] Error monitoring host

2011-09-21 Thread knawnd
Hi Humberto, Just a guess. What the output of the command 'grep nodeinfo_text $ONE_LOCATION/lib/remotes/im/kvm.d/kvm.rb|grep virsh' on front-end node? I have nodeinfo_text = `virsh -c qemu:///system nodeinfo` But it looks like you should change it to virsh -c qemu+ssh:///system HTH, Nikolay.

Re: [one-users] (no subject)

2011-09-20 Thread knawnd
Hi, Humberto N. Castejon Martinez wrote on 20/09/11 17:17: Hi, I am running Opennebula 2.1.8. When specifying the context for a VM, if I specify a URL in the "files" attribute, the contextualization fails. Consider, for example, the following context: CONTEXT=[ files="http://domain.com/test.xm

Re: [one-users] OpenVZ

2011-09-13 Thread knawnd
Hi Borja, I will go for option 2. Thanks! Nikolay. Borja Sotomayor wrote on 12/09/11 17:10: Hi Nikolay, Please, suggest the best way to share a piece of code for some basic OpenVZ support in OpenNebula and howto doc I wrote. For the moment the code is available only on my development machine

Re: [one-users] problem with xmlparser installation

2011-09-12 Thread knawnd
but xmlparser installation via command 'gem install xmlparser' fails (gem_make.out is attached). my problem was in missing expat-devel rpm installed. HTH, Nikolay. Does someone know how to fix that? Regards, Nikolay. ___ Users mailing list Users@

Re: [one-users] problem with xmlparser installation

2011-09-12 Thread knawnd
Hi Steve, I faced with the same problem trying to prepare a build environment for OpenNebula-2.2.1 on CentOS-5.6 x86_64: Steven Timm wrote on 09/09/11 18:34: But still get stuck on nokogiri (needs ruby > 1.8.7), rake (needs rubygems 1.3.2) xmlparser (depends on rake) [root@FN]$ gem install n

Re: [one-users] OpenVZ

2011-09-11 Thread knawnd
Dear OpenNebula community, Please, suggest the best way to share a piece of code for some basic OpenVZ support in OpenNebula and howto doc I wrote. For the moment the code is available only on my development machine and howto is in docs.google.com. Thanks in advance, Nikolay. ___

Re: [one-users] How use all cpu flags with KVM (-cpu host)

2011-09-09 Thread knawnd
Hi, Have you tried to use RAW attribute [1] to pass '-cpu host' argument to KVM? [1] http://opennebula.org/documentation:rel2.2:kvmg (see "Additional Tunning"). HTH, Nikolay. Paulo A L Rego wrote on 09/09/11 18:42: Hi, Using *cat /proc/cpuinfo* on KVM virtual machines, appears the followin

Re: [one-users] [OpenNebula-2.2.1] add a custom attribute to image

2011-08-31 Thread knawnd
Hi Tino, Sorry for the noise. It seems I specified the arguments for 'oneimage' command in a wrong sequence: > oneimage addattr OSTEMPLATE centos-5 whereas the proper format is $ oneimage addattr OSTEMPLATE centos-5 That's why I was getting a help content. It's even possible to specified cu

Re: [one-users] hooks execution on remote nodes without shared ONE installation dir

2011-08-30 Thread knawnd
Hi Tino, Tino Vazquez wrote on 29/08/11 17:17: Hi Nikolay, Ok, if not on system-wide, please copy them to $ONE_LOCATION/var/remotes, and see how it goes. A hook script copied into $ONE_LOCATION/var/remotes on front-end node appears on CNs in $SCRIPTS_REMOTE_DIR. But it's written the following

Re: [one-users] hooks execution on remote nodes without shared ONE installation dir

2011-08-29 Thread knawnd
any news/help on that? Nikolay. kna...@gmail.com wrote on 23/08/11 15:16: Tino Vazquez wrote on 23/08/11 14:45: Hi, Let's try this, since this seems like a bug. Could you please copy the hook into "/var/lib/one/remotes" and "onehost sync" again? Since in my deployment scenario OpenNebula is

Re: [one-users] tune 'onevm saveas' behavior for OpenVZ

2011-08-27 Thread knawnd
Toens Bueker wrote on 27/08/11 10:48: I wrote: [...] So I am stuck at that point. As always any help on that is highly appreciated! How is that handled with say kvm-images which are locally deployed (not using shared storage)? Would using vzdump/vzrestore help? vzdump is used in $ONE_LO

[one-users] [OpenNebula-2.2.1] add a custom attribute to image

2011-08-26 Thread knawnd
Hi! Is it possible to add a custom attribute to image registered in Image Repository using OpenNebula 2.2.1? For example, the command 'oneimage addattr OSTEMPLATE centos-5' produces the help on oneimage usage and doesn't add specified attribute. So I wonder if it's expected behavior or I am

Re: [one-users] tune 'onevm saveas' behavior for OpenVZ

2011-08-26 Thread knawnd
Tino Vazquez wrote on 24/08/11 14:30: Dear Nikolay, Hi Tino, I think the image.rb approach won't work anyway, because it is executed on the DONE state, when the transfer manager already staged back the disk.i's already to the ONE FrontEnd. Thanks for explanation! Now it's clear. So I guess

Re: [one-users] tune 'onevm saveas' behavior for OpenVZ

2011-08-23 Thread knawnd
Tino Vazquez wrote on 23/08/11 14:58: So for now I would like to make a 'onevm saveas' command work with OpenVZ VMs as well as if the SAVE sub-attribute is set to yes for OpenNebula 2.2.1. As far as I understand both these features trigger $ONE_LOCATOIN/share/hooks/image.rb script. So in order to

Re: [one-users] hooks execution on remote nodes without shared ONE installation dir

2011-08-23 Thread knawnd
Tino Vazquez wrote on 23/08/11 14:45: Hi, Let's try this, since this seems like a bug. Could you please copy the hook into "/var/lib/one/remotes" and "onehost sync" again? Since in my deployment scenario OpenNebula is installed in self-contained mode there was no such dir as /var/lib/one/. So I

Re: [one-users] hooks execution on remote nodes without shared ONE installation dir

2011-08-23 Thread knawnd
Tino Vazquez wrote on 23/08/11 13:54: Hi Nikolay, Hi Tino, The following are the location of the scripts for the FE * System wide = /usr/share/one/hooks * Self contained = $ONE_LOCATION/share/hooks The following the location in the CNs SCRIPTS_REMOTE_DIR=/var/tmp/one I set SCRIPTS_RE

Re: [one-users] tune 'onevm saveas' behavior for OpenVZ

2011-08-23 Thread knawnd
Any help on that, please? That is the only thing left to finish with implementing minimal OpenVZ support in OpenNebula 2.2.1. As soon as a stable version of OpenNebula 3.0 will be release I am planning to start porting existing implementation of OpenVZ support for 2.2.1 to 3.0. I already wrote

Re: [one-users] hooks execution on remote nodes without shared ONE installation dir

2011-08-22 Thread knawnd
Tino Vazquez wrote on 22/08/11 13:54: Hi Nikolay, Hi Tino, thanks for reply but it doesn't clarify much for me (please, see below). For OpenNebula 2.2, the location of the remotes are * System wide = /usr/share/one/hooks * Self contained = $ONE_LOCATION/share/hooks I have OpenNebula (ve

Re: [one-users] hooks execution on remote nodes without shared ONE installation dir

2011-08-19 Thread knawnd
Tino Vazquez wrote on 19/08/11 20:01: Hi, Hi, Sorry, the default for SCRIPTS_REMOTE_DIR is /var/tmp/one. In my setup the $SCRIPTS_REMOTE_DIR is set to /tmp/one. The driver scripts appear there on CNs but hooks scripts don't. And that causes a problem when hook can not be found on CNs and hen

Re: [one-users] hooks execution on remote nodes without shared ONE installation dir

2011-08-18 Thread knawnd
Tino Vazquez wrote on 18/08/11 19:27: Hi there, Hi Tino, The scripts are copied to /var/lib/one/remotes in the CNs, no shared directories are needed. For some reason the hooks scripts are not copied to CNs in /var/lib/one/remotes in my OpenNebula setup. The 'onehost sync' command was execute

Re: [one-users] Files specified in CONTEXT files sections are not copied to mounted iso image

2011-08-18 Thread knawnd
Manish Sapariya wrote on 18/08/11 07:29: Hi, I have following context section. = CONTEXT=[ FILE="/opt/one/myconfig/contextdata/ipdevdns_root_rsa.pub The behavior you observe I guess is because you have to specify FILES instead of FILE. HTH, Nikolay. ___

Re: [one-users] tune 'onevm saveas' behavior for OpenVZ

2011-08-12 Thread knawnd
kna...@gmail.com wrote on 28/07/11 20:15: So for now I would like to make a 'onevm saveas' command work with OpenVZ VMs as well as if the SAVE sub-attribute is set to yes for OpenNebula 2.2.1. As far as I understand both these features trigger $ONE_LOCATOIN/share/hooks/image.rb script. So in orde

Re: [one-users] hooks execution on remote nodes without shared ONE installation dir

2011-08-11 Thread knawnd
Carlos Martín Sánchez wrote on 11/08/11 12:55: Hi, Hi, The mechanism you are referring to is the 'onehost sync', it has to be executed as oneadmin in the front-end. This will force the hooks and drivers scripts to be copied to the hosts in the next monitorization cycle. if 'onehost sync' has t

Re: [one-users] hooks execution on remote nodes without shared ONE installation dir

2011-08-04 Thread knawnd
forgot to mention that I could not find any info in [1] too about a necessity to share $ONE_LOCATION/share/hooks dir across CNs in case if hooks has to be executed on remote node. So I wonder if $ONE_LOCATION/share/hooks needs to be available across CNs if there is hook to be executed on CNs or

[one-users] hooks execution on remote nodes without shared ONE installation dir

2011-08-03 Thread knawnd
Hi! I am trying to run some custom hook on remote/cluster node. I defined the hook as below: oned.conf: VM_HOOK = [ name = "vzfirewall", on= "RUNNING", command = "vzfirewall.sh", arguments = "", remote= "yes" ] and create the vzfirewall.sh file: $ ll $ONE_L

Re: [one-users] tune 'onevm saveas' behavior for OpenVZ

2011-07-28 Thread knawnd
Dear Tino, please, see my comments inline. Tino Vazquez wrote on 27/07/11 17:28: Dear Nikolay, First of all, apologies for the long delay in the reply, we were really bussy with the 3.0 release. I perfectly understand your priorities, so no problem here. We are more than happy to provide su

Re: [one-users] Download 3.0 Beta1

2011-07-26 Thread knawnd
Hi Nikolay Nikolay Gar wrote on 26/07/11 12:36: Hello list Where can I get download subject? , Please http://downloads.dsa-research.org/opennebula/ and you have to choose 2.9.80 (= 3.0 beta 1) Hope it helps, Nikolay. Thank a lot Nikolay ___ Us

[one-users] 'resubmit' is missing in a list of onevm actions in the "Managing Virtual Machines 2.2" guide

2011-07-24 Thread knawnd
Hi! A 'resubmit' action is missing in the list of onevm actions mentioned in "Command Line Interface" section of [1]. [...] The following sections show the basics of the onevm command with simple usage examples. This command enables virtual machine management. Actions offered are: creat

[one-users] tune 'onevm saveas' behavior for OpenVZ

2011-07-18 Thread knawnd
Dear OpenNebula developers, I need some help to tune the behavior of 'onevm saveas' command in case of OpenVZ VMs. The only change needs to be made in its current behavior is to archive a root dir of particular OpenVZ VM and register that archive as a new OS image in ONE image repository sinc

Re: [one-users] customizing tm_*.sh scripts for OpenVZ hypervisor [was "$SCRIPTS_REMOTE_DIR in tm_*.sh scripts"]

2011-06-11 Thread knawnd
Tino Vazquez wrote on 09/06/11 13:52: Hi Nikolai, Hi Tino, I am not sure any longer that functionality I was going to implement can be done in tm_clone.sh script. Apart from possibility to be aware of $SCRIPT_REMOTE_DIR value the tm_clone.sh script needs to "know" the name of OS image to be

Re: [one-users] onevm saveas : [ImageAllocate] Error trying to CREATE IMAGE No PATH in template.

2011-06-11 Thread knawnd
Hi Carlos, Indeed I was using the development branch of OpenNebula. I will try to switch to stable 2.2.1 version. Thanks. Nikolay. Carlos Martín Sánchez wrote on 09/06/11 17:11: Hi, That error message was not present in OpenNebula 2.2. It looks like you are using a 2.2 'onevm' and a develop

[one-users] onevm saveas : [ImageAllocate] Error trying to CREATE IMAGE No PATH in template.

2011-06-07 Thread knawnd
Hello! I am trying to test 'onevm saveas' command for my OpenVZ VMs and I get the following error: $ onevm saveas 57 0 "vps145 saved disk" [ImageAllocate] Error trying to CREATE IMAGE No PATH in template oned.log: [...] ue Jun 7 17:50:49 2011 [ReM][D]: ImageInfo method invoked Tue Jun 7 17:5

[one-users] $SCRIPTS_REMOTE_DIR in tm_*.sh scripts

2011-06-04 Thread knawnd
Hi! I need to customize tm_*.sh scripts located in $ONE_LOCATION/lib/tm_commands/ssh// dir. There is a need to source $SCRIPTS_REMOTE_DIR/vmm/ovz/ovzrc file in tm_clone.sh script to get the location of OpenVZ config files. Is there any way to get the value of $SCRIPTS_REMOTE_DIR variable in tm

Re: [one-users] Error while creating Host on Opennebula(CentOS)

2011-06-03 Thread knawnd
Apart from what Idafen mentioned you are trying to add xen enabled host [root@opennebula bin]# onehost create host01 im_xen vmm_xen tm_nfs whereas lines from your oned.log says that only KVM is enable in your current ONE IM_MAD=ARGUMENTS=-r 0 -t 15 kvm,EXECUTABLE=one_im_ssh,NAME=im_kvm VM_MAD

Re: [one-users] onehost list showing me the status ERR

2011-05-17 Thread knawnd
I would start a debug from checking the ability to perform passwordless ssh from OpenNebula front-end to cluster nodes. Adnan Pasic wrote on 17/05/11 15:29: Hello, the problem I am having is that despite installing everything according to this ubuntu-tutorial (https://help.ubuntu.com/community

[one-users] poll script return value if VM is not running

2011-05-16 Thread knawnd
Hi! I wonder what $ONE_LOCATION/var/remotes/vmm//poll script has to return if polling VM is not running (but it can be in one of a,p,d,e state)? Should it be just STATE='' or script has to return all meaningful for OpenNebula variables (USEDCPU, USEDMEMORY, NETRX and NETTX)? If all variables

Re: [one-users] second argument for restore script

2011-05-12 Thread knawnd
Carlos Martín Sánchez wrote on 12/05/11 15:03: Hi Nikolay, Hi Carlos, We have opened a ticket with your request [1], to provide a generic method to query any VM attribute from the drivers. Meanwhile, you can add the deploy_id as the last parameter modifiying src/vmm_mad/ssh/one_vmm_ssh.rb,

[one-users] '-' or 'err' (instead of 0) as a value for parameters which ONE fails to get

2011-05-11 Thread knawnd
Hi! ONE shows 0 (zero) as a value for those parameters which it fails to retrieve. For example, $ onevm list ID USER NAME STAT CPU MEMHOSTNAMETIME 39 oneadmin one-39 runn 0 0K01 04:02:29 40 oneadmin vps145 runn 0 0K00 08:23:

[one-users] second argument for restore script

2011-05-10 Thread knawnd
Dear ONE developers, To perform restore action OpenVZ hypervisor apart from dump file requires VM ID as well, i.e. the command looks like below: $ vzctl restore VM_ID --dumpfile For more details please see [1]. As far as I understand from $ONE_LOCATION/var/remotes/vmm//restore files ONE invo

Re: [one-users] shutting down VM vs stopping it

2011-05-09 Thread knawnd
Carlos Martín Sánchez wrote on 09/05/11 16:58: Hi Nikolay, Hi Carlos, The life-cycle diagram [1] is the best way to understand the VM states, and what actions are available for each of them. If you shut down a VM, it will enter the final DONE state, from which no action can be performed. A

[one-users] shutting down VM vs stopping it

2011-05-08 Thread knawnd
Hi! Tino has already explained the difference between deleting and shutting down VM in [1]. But I wonder what the difference is between shutting down VM and stopping it (I mean 'onevm shutdown' and 'onevm stop'). It's not clear from onevm man page [2]. Thanks. Nikolay. [1] http://www.mail-a

Re: [one-users] Command execution fail: 'if [ -x "" ]; then Creating; else exit 42; fi'

2011-05-06 Thread knawnd
Indeed the problem was in wrong returning value of deploy script. Fixed now. Thanks a lot, Tino! Tino Vazquez wrote on 06/05/11 14:49: Hi, The cancel script expects the deploy_id (which is not the vm_id, but rather the identifier of the VM in the hypervisor). Please check you deploy script, it

[one-users] Command execution fail: 'if [ -x "" ]; then Creating; else exit 42; fi'

2011-05-05 Thread knawnd
Dear OpenNebula experts, I am still working on implementing OpenVZ support in OpenNebula (unfortunately the progress is pretty slow since I am busy with many other things). There are the error messages in $ONE_LOCATION/var//vm.log and oned.log similar to the following pattern: Command executio

Re: [one-users] opennebula can not resume suspending VM

2011-04-10 Thread knawnd
Mon Apr 11 00:47:48 2011 [LCM][I]: New VM state is SAVE_SUSPEND Mon Apr 11 00:47:49 2011 [VMM][I]: Command execution fail: 'if [ -x "/var/lib/one/remotes/vmm/kvm/save" ]; then /var/lib/one/remotes/vmm/kvm/save one-54 /var/lib/one//54/images/checkpoint; else exit 42; fi' Mon Apr 11 00:47:49 2011

Re: [one-users] onevm creta VGA problem

2011-04-05 Thread knawnd
Idafen Santana Pérez wrote on 04/04/11 20:21: http://dev.opennebula.org/attachments/download/170/ttylinux.tar.gz) NAME = ttylinux-public CPU= 0.1 MEMORY = 64 DISK = [ image = "ttylinux", target = "hda", readonly = "no" ] NIC= [ NETWORK = "onetd" ] FEATURES=[ acpi="no" ] Have

Re: [one-users] OpenVZ VM config template

2011-04-01 Thread knawnd
Tino Vazquez wrote on 01/04/11 14:52: the problem i see with the workaround is how to relate the RAW section to DISK in case there is more than one DISK. Hi Tino, There is no way and sense to have more then one disk in VMs (aka containers) based on OpenVZ [1]. You can't assign\attach more disk

Re: [one-users] OpenVZ VM config template

2011-03-31 Thread knawnd
kna...@gmail.com wrote on 31/03/11 16:56: But then DISKSPACE, DISKINODES and QUOTATIME are not passed to remote node in deployment.0 file : What way would you recommend to pass disk-related parameters such as DISKSPACE, DISKINODES and QUOTATIME (and could be more) to deployment.0 file? The wo

Re: [one-users] OpenVZ VM config template

2011-03-31 Thread knawnd
But then DISKSPACE, DISKINODES and QUOTATIME are not passed to remote node in deployment.0 file : What way would you recommend to pass disk-related parameters such as DISKSPACE, DISKINODES and QUOTATIME (and could be more) to deployment.0 file? The workaround for that can be using RAW attribut

Re: [one-users] OpenVZ VM config template

2011-03-30 Thread knawnd
Hi Tino, thanks for prompt reply! Comments inline. Tino Vazquez wrote on 30/03/11 20:29: Hi, I think the problem comes with this DISK=[ DISKINODES=20:22, DISKSPACE=1048576:1153024, DISK_ID=1, QUOTATIME=0, TYPE=os ] It doesn't have source path you are right. The mentioned e

Re: [one-users] VM config template

2011-03-30 Thread knawnd
Ruben S. Montero wrote on 28/03/11 02:17: It seem's so (you will have to use xml format for the driver, as far as I understand in order to user xml format for the driver it needs to be specified in oned.conf. I did it as below: #--

Re: [one-users] command to deploy VM on remote host

2011-03-26 Thread knawnd
Hi Héctor, thanks for explanation! Is there any docs describing the whole chain of ONE's actions starting from executing 'onevm create ' or maybe someone could describe it for me. I am trying to understand ONE behavior to adapt it for OpenVZ support. Thanks in advance! Nikolay. Héctor Sanjuá

Re: [one-users] command to deploy VM on remote host

2011-03-25 Thread knawnd
Hi Carlos, Sorry I wasn't clear enough asking a question in my previous email in that thread. I meant what arguments I need to pass during e.g. the following invocation on remote host: [remote_host]$ $SCRIPTS_REMOTE_DIR/vmm/xen/deploy if I'd like to deploy xen VM It looks for me as the script

[one-users] VM config template

2011-03-25 Thread knawnd
Dear all, is it possible to change ONE VM template format in case of OpenVZ hypervisor and would it be enough to take those changes into account in OvzDriver.cc only? Or ONE VM template format is robust and the changes in other files are required as well (if yes then in which files?)? For ex

  1   2   >