[one-users] deployment of certain vm's to different hosts

2012-12-11 Thread Gary S. Cuozzo
Hello, We have certain vm's which are related and provide redundancy and/or failover to each other. Ideally, we'd like to avoid the situation where these vm's run on the same host machine. Is there a way to configure the scheduler so it would know to rule out a host if another related vm was al

[one-users] TM question about rescheduling a vm

2012-12-11 Thread Gary S. Cuozzo
Hello, I have developed my own TM driver for a NFS based datastore using ZFS. It works well so far, except in the case of using the "onevm resched " command. The failure happens because my TM relies on pre/postmigrate scripts to mount/umount ZFS datastores on the hosts as vm's move around. In

Re: [one-users] deployment of certain vm's to different hosts

2012-12-11 Thread Gary S. Cuozzo
" For example type "ntp" you'd put in the template REQUIREMENTS = "GUEST_TYPES != \"*:ntp:*\"" (I haven't tested this at all). On 12/11/2012 10:47 AM, Gary S. Cuozzo wrote: Hello, We have certain vm's which are related and provide redund

Re: [one-users] deployment of certain vm's to different hosts

2012-12-11 Thread Gary S. Cuozzo
et deployed to different hosts? Just trying to make sure I'm interpreting the description correctly. The example shows things based on vm id's, but I think it would be easier to just be able to make any sort of generic group(s) to base things on. gary - Original Message ----- F

Re: [one-users] deployment of certain vm's to different hosts

2012-12-12 Thread Gary S. Cuozzo
: "Shankhadeep Shome" To: "Gary S. Cuozzo" Sent: Wednesday, December 12, 2012 8:46:55 AM Subject: Re: [one-users] deployment of certain vm's to different hosts I think what you want is the extension of the cluster mechanism that already exists in opennebula to be e

Re: [one-users] TM question about rescheduling a vm

2012-12-12 Thread Gary S. Cuozzo
scripts to be called. Thanks for any help, gary - Original Message - From: "Carlos Martín Sánchez" To: "Gary S. Cuozzo" Cc: users@lists.opennebula.org Sent: Wednesday, December 12, 2012 10:07:12 AM Subject: Re: [one-users] TM question about rescheduling a vm Hi, Th

[one-users] attach/detach disks

2012-12-12 Thread Gary S. Cuozzo
Hello, I just started trying out attaching & detaching disks to running vm's. I am able both attach and detach volatile disks. If I create an image in my datastore and attach it, all is fine. When I try to detach it, I get an error: VirtualMachineDetach result FAILURE [VirtualMachineDetach] Cou

Re: [one-users] attach/detach disks

2012-12-12 Thread Gary S. Cuozzo
Best I can tell what I'm seeing could be the same issue. Thanks, gary - Original Message - From: "Ruben S. Montero" To: "Gary S. Cuozzo" Cc: "Users OpenNebula" Sent: Wednesday, December 12, 2012 4:39:19 PM Subject: Re: [one-users] attach/detach d

Re: [one-users] TM question about rescheduling a vm

2012-12-12 Thread Gary S. Cuozzo
ate, check for disks they manage, and handle setup/teardown appropriately. It works very well. Thanks, gary - Original Message - From: "Ruben S. Montero" To: "Gary S. Cuozzo" Cc: "Users OpenNebula" Sent: Wednesday, December 12, 2012 4:44:46 PM Su

Re: [one-users] deployment of certain vm's to different hosts

2012-12-14 Thread Gary S. Cuozzo
Hi Ruben, Yes. #3 never actually occurred to me, but would also be a nice feature. Thanks, gary - Original Message - From: "Ruben S. Montero" To: "Shankhadeep Shome" Cc: "Gary S. Cuozzo" , "Users OpenNebula" , "Carlos Jiménez" ,

[one-users] sunstone gui suggestion #2

2012-12-14 Thread Gary S. Cuozzo
Hello, When you instantiate a template via the templates tab, you end up with vm's which are just named according to the vmid. When you create a new vm using the virtual machines tab, you are able to provide a name to the vm and select a template. For instantiating via the templates tab, I th

[one-users] sunstone bug

2012-12-15 Thread Gary S. Cuozzo
Hello, When deleting a virtual network, the warning message says: This will initiate the shutdown process in the selected VMs Do you want to proceed? Thanks, gary ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinf

[one-users] contextualization with interface aliases

2012-12-16 Thread Gary S. Cuozzo
Hello, I am contextualizing vms for both ubuntu 12.04 and centos 6.3 and would like to support multiple IP addresses per interface via interface aliasing. For example: eth0 - 192.168.1.1 eth0:1 - 192.168.1.2 etc. I'm currently using the context packages from ONE. Is there a way to specify

Re: [one-users] Sunstone Bandwidth

2012-12-16 Thread Gary S. Cuozzo
I see this also, using Ubuntu 12.04 with KVM, but if I hit the refresh it goes to reasonable numbers. - Original Message - From: "Rodolfo Conte Brufatto" To: "André Monteiro" Cc: "users" Sent: Sunday, December 16, 2012 5:37:45 PM Subject: Re: [one-users] Sunstone Bandwidth Same here,

Re: [one-users] New contextualization packages

2012-12-16 Thread Gary S. Cuozzo
Thank you for these packages. They work great and are an excellent base. I used both deb & rpm. I customized them to add some features: * setting entries in /etc/hosts file * modified for support of resolvconf package in ubuntu 12.04 * added HOSTNAME context variable * added DOMAINNAME variable

Re: [one-users] sunstone bug

2012-12-17 Thread Gary S. Cuozzo
I'm running 3.8.1 gary - Original Message - From: "Daniel Molina" To: "Simon Boulet" , "Gary S. Cuozzo" Cc: "Users OpenNebula" Sent: Monday, December 17, 2012 6:10:02 AM Subject: Re: [one-users] sunstone bug Hi Gary and Simon, O

Re: [one-users] Two System Datafiles in the same cluster

2012-12-17 Thread Gary S. Cuozzo
Hello Oriol, I don't think you can have more than one system datastore, but I could be wrong about that. But, unless I misunderstand your goal, I don't think you need to have more than one. You should simply be able to define 2 datastores and associate each with the cluster. I have a similar

Re: [one-users] Two System Datafiles in the same cluster

2012-12-17 Thread Gary S. Cuozzo
Then, you just use each other DS as you wish and ONE handles copying, linking, etc as needed. Hope that makes some sense. Read up on the storage docs, they are very good as describing all this. gary - Original Message - From: "Oriol Martí" To: "Gary S. Cuozzo"

Re: [one-users] Two System Datafiles in the same cluster

2012-12-18 Thread Gary S. Cuozzo
etc. Or, local storage with high performance disk I/O. Thanks, gary - Original Message - From: "Oriol Martí" To: "Gary S. Cuozzo" Cc: "Users OpenNebula" Sent: Tuesday, December 18, 2012 4:09:32 AM Subject: Re: [one-users] Two System Datafiles in the same

Re: [one-users] Two System Datafiles in the same cluster

2012-12-18 Thread Gary S. Cuozzo
Hi Oriol, ONE already works the way you indicate you need it to. When you create the image, you select the DS that is appropriate. The system DS is just used to coordinate the deployment of the VM's. gary - Original Message - From: "Oriol Martí" To: "Gary S.

Re: [one-users] New contextualization packages

2012-12-18 Thread Gary S. Cuozzo
See inline comments... > Thanks for the feedback, I think we can add some of those > modifications to future versions of the packages. Some commends > inline. > > On Mon, Dec 17, 2012 at 3:15 AM, Gary S. Cuozzo > wrote: > > Thank you for these packages. They work gr

Re: [one-users] Two System Datafiles in the same cluster

2012-12-19 Thread Gary S. Cuozzo
> Hope it helps > > Ruben > > On Tue, Dec 18, 2012 at 4:28 PM, Gary S. Cuozzo wrote: >> Hi Oriol, >> ONE already works the way you indicate you need it to. When you create the >> image, you select the DS that is appropriate. The system DS is just used to

[one-users] Access to DS for image in TM

2012-12-26 Thread Gary S. Cuozzo
Hello, Sorry this is sort of long, hope it makes sense... I have created customized DS & TM drivers for our NFS based storage servers. Each storage server is snap-shotted and replicated at least every hour to another server. I have a use case that I would like to be able to remap all images f

Re: [one-users] Access to DS for image in TM

2012-12-27 Thread Gary S. Cuozzo
Ruben On Wed, Dec 26, 2012 at 2:59 PM, Gary S. Cuozzo < g...@isgsoftware.net > wrote: Hello, Sorry this is sort of long, hope it makes sense... I have created customized DS & TM drivers for our NFS based storage servers. Each storage server is snap-shotted and replicated at leas

Re: [one-users] Access to DS for image in TM

2012-12-28 Thread Gary S. Cuozzo
nks again, gary - Original Message - From: "Gary S. Cuozzo" To: "Users OpenNebula" Sent: Thursday, December 27, 2012 9:13:39 AM Subject: Re: [one-users] Access to DS for image in TM Hello Ruben, I'm glad I asked. I must have missed something in the

[one-users] range specification in firewall port list

2012-12-29 Thread Gary S. Cuozzo
Hello, Is there a way to specify port ranges for the port whitelist in the network config? I would like to open a range of 200 ports for a vm. Thanks, gary ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/us

Re: [one-users] range specification in firewall port list

2012-12-29 Thread Gary S. Cuozzo
Sorry for the noise, I just noticed it on the firewall page. I missed it before. Just in case somebody comes across this post you specify the range by using a : to separate the low & high ranges. Thanks, gary - Original Message - From: "Gary S. Cuozzo" To: &qu

Re: [one-users] VMs going into suspend

2013-02-25 Thread Gary S. Cuozzo
Hi Manish, "No space left on device" indicates your disk is full. I had this same issue when one of my storage servers filled up due to a bunch of huge snapshots taking up space unexpectedly. I think you need to free up or add some space. Hope that helps, gary - Original Message - Fr

[one-users] question about best way to assign IP's to various users

2013-02-26 Thread Gary S. Cuozzo
Hello users, I am trying to figure out a good way to manage assignments IP addresses to various users. We have a /22 of public IP addresses and I want to be able to give various users access to their IP's that we've allocated. I would also like to be able to see a global view of IP's in use.

Re: [one-users] question about best way to assign IP's to various users

2013-02-27 Thread Gary S. Cuozzo
ntation:rel3.8:quota_auth -- Carlos Martín, MSc Project Engineer OpenNebula - The Open-source Solution for Data Center Virtualization www.OpenNebula.org | cmar...@opennebula.org | @OpenNebula On Wed, Feb 27, 2013 at 8:45 AM, Gary S. Cuozzo < g...@isgsoftware.net > wrote: Hello users, I am

Re: [one-users] question about best way to assign IP's to various users

2013-02-27 Thread Gary S. Cuozzo
ir IP, IP changes to "in use" by the VM. - When reserved IPs are released (by the user), they turn in "reserved" state for that user (instead of available for other users) - As the Admin, you can add (or remove) IP reservation if the user needs more IP Would this solve your issue?

Re: [one-users] VM creation error -failed to create domain

2013-03-07 Thread Gary S. Cuozzo
Hi Prachi, Stucked with one problem while creating virtual machine using opennebula-3.6.0 with Ubuntu-12.04 desktop machine with i686 architecture. Installed kvm on another machine with same configuration and the two machines are connected with each other through LAN. while creating v

Re: [one-users] VM creation error -failed to create domain

2013-03-08 Thread Gary S. Cuozzo
help. On Thu, Mar 7, 2013 at 7:16 PM, Gary S. Cuozzo < g...@isgsoftware.net > wrote: Hi Prachi, Stucked with one problem while creating virtual machine using opennebula-3.6.0 with Ubuntu-12.04 desktop machine with i686 architecture. Installed kvm on another machine with

[one-users] Leftover checkpoint files after resume

2013-03-27 Thread Gary S. Cuozzo
Hi all, Last night I had to do some maintenance on one of our storage servers which required it to be shutdown & rebooted. So, I did a report of any VM's which used that server as its backing store and suspended those vm's. I did my maintenance and resumed the vm's. It all went great. But, I no

[one-users] grant access to sunstone vnc for user's vm

2013-03-27 Thread Gary S. Cuozzo
Hello, I am trying to give another user access to the VNC console to their VM in sunstone. Here is what I tried: * give the user a login using their email address as username & a password * create a unique group and add the new user to the group * set user/group ownership for image/template/vm

Re: [one-users] Leftover checkpoint files after resume

2013-03-28 Thread Gary S. Cuozzo
That's excellent! Thank you for the reply. Hi Gary 1. Can I safely remove them? I would think so, but want to double-check before I hose something up. Yes you can removed them. Once the VM is running again the file is not used anymore. In case you need to save the VM again a ne

Re: [one-users] grant access to sunstone vnc for user's vm

2013-03-28 Thread Gary S. Cuozzo
Ok, I looked at this a bit more. I killed the websocket server and started a new one via a shell so I can see the output. When I login as my main admin user, I can click on a vm and view the vnc console. I see this logged by websocket to stdout: 1: 74.94.xxx.xx: SSL/TLS (wss://) WebSocket conn

Re: [one-users] grant access to sunstone vnc for user's vm

2013-03-28 Thread Gary S. Cuozzo
Did a bit more poking around. Tried all sorts of things with users, groups, acl's, no luck & no errors. Gonna see if I can take a look at the code and gain any knowledge there. I'm assuming it has to be something with my setup as I would expect lots of folks have many users accessing guests via

Re: [one-users] grant access to sunstone vnc for user's vm

2013-03-28 Thread Gary S. Cuozzo
Ok, I figured it out. I traced through the code on the sunstone server and also did some debugging on the frontend javascript. I found that when I login as the user which doesn't work, the code would blow up when trying to get some configuration settings. I then remembered that I had turned off

Re: [one-users] grant access to sunstone vnc for user's vm

2013-04-02 Thread Gary S. Cuozzo
or regular users, etc? cheers, Jaime On Thu, Mar 28, 2013 at 4:41 PM, Gary S. Cuozzo < g...@isgsoftware.net > wrote: Ok, I figured it out. I traced through the code on the sunstone server and also did some debugging on the frontend javascript. I found that when I login as the us

[one-users] default ownership for VM instances

2013-04-02 Thread Gary S. Cuozzo
Hello all, Is there a way to have a VM user/group ownership (and potentially ACL's) be set based on values in the template? Here is my use case: Currently, all of our VM's are one of a kind. Each VM is based on a unique template and uses persistent images. It is the virtual equivalent of colo

Re: [one-users] default ownership for VM instances

2013-04-02 Thread Gary S. Cuozzo
ula.org | cmar...@opennebula.org | @OpenNebula On Tue, Apr 2, 2013 at 4:40 PM, Gary S. Cuozzo < g...@isgsoftware.net > wrote: Hello all, Is there a way to have a VM user/group ownership (and potentially ACL's) be set based on values in the template? Here is my use case: Cur

[one-users] datastore log info missing from oned.log in v4.2

2013-11-07 Thread Gary S. Cuozzo
Hi All, I have recently upgraded our environment from 3.8.x to 4.2 version. Running on Ubuntu 12.04LTS. I have some custom datastore/tm drivers that I wrote which worked well in 3.8. I am trying to troubleshoot something related to live migration and my log messages are not getting to /var/log/

Re: [one-users] datastore log info missing from oned.log in v4.2

2013-11-08 Thread Gary S. Cuozzo
On Fri, Nov 8, 2013 at 1:17 AM, Gary S. Cuozzo wrote: > Hi All, > I have recently upgraded our environment from 3.8.x to 4.2 version. Running > on Ubuntu 12.04LTS. I have some custom datastore/tm drivers that I wrote > which worked well in 3.8. I am trying to troubleshoot something

Re: [one-users] datastore log info missing from oned.log in v4.2

2013-11-23 Thread Gary S. Cuozzo
es have gotten reorganized, so I need to dig in a bit more on this issue. Cheers, gary - Original Message ----- From: "Gary S. Cuozzo" To: "Users OpenNebula" Sent: Friday, November 8, 2013 8:53:32 AM Subject: Re: [one-users] datastore log info missing from oned.log in v4.2 Is t

[one-users] slow live migration of VM's

2013-11-24 Thread Gary S. Cuozzo
Hi all, I was just moving some VM's around as a prep for some server maintenance, via live migration. I moved 3 VM's which were all fairly small in size of 1GB - 3GB RAM and 20GB - 60GB disk. I did the migrations 1 at a time. I was surprised at how long the migrations took and also that each VM

[one-users] datastore capacity stats

2013-11-24 Thread Gary S. Cuozzo
Hi All, I just added a monitor script for my custom datastore driver. When viewing the datastore in sunstone, if I click on the datastore to view the details, I see the correct information: Total 14.1TB Used142GB Free 14.1TB But the capacity column in the summary line indicates:

Re: [one-users] slow live migration of VM's

2013-11-25 Thread Gary S. Cuozzo
scp .. on same drive. On 11/25/2013 4:32 AM, Gary S. Cuozzo wrote: Hi all, I was just moving some VM's around as a prep for some server maintenance, via live migration. I moved 3 VM's which were all fairly small in size of 1GB - 3GB RAM and 20GB - 60GB disk. I did the migrations 1

Re: [one-users] slow live migration of VM's

2013-11-25 Thread Gary S. Cuozzo
before the migration. On Mon, Nov 25, 2013 at 3:32 AM, Gary S. Cuozzo wrote: > Hi all, > I was just moving some VM's around as a prep for some server maintenance, > via live migration. I moved 3 VM's which were all fairly small in size of > 1GB - 3GB RAM and 20GB - 60

Re: [one-users] datastore log info missing from oned.log in v4.2

2013-11-26 Thread Gary S. Cuozzo
ssful, maybe that is your problem. On Sat, Nov 23, 2013 at 11:35 PM, Gary S. Cuozzo wrote: > Hi All, > I finally got some time to get back to looking at this. My original task was > to get my custom drivers working with ONE 4.2. I was able to do so. It was > related to a bug fix

Re: [one-users] Shared datastore only to cluster

2013-11-28 Thread Gary S. Cuozzo
Hi, I believe you should be able to do this by creating a custom datastore driver. I have a use case which is not too different than you. I created a 'localfs' datastore & transfer driver which is able to create images on a specific host, utilizing local disk storage (for performance reasons).

Re: [one-users] Fwd: No space left on device ->when Create Image via Marketplace for CentOS 6.2-kvm using iSCSI (block) datastore

2012-07-27 Thread Gary S. Cuozzo
Assuming there is space left in the LVM VG, you should be able to use lvextend to add a bit of extra storage to that volume so the deployment can succeed. Something like 'lvextend -L + 100M ' Hope that helps, gary - Original Message - From: "Ruben S. Montero" To: "Lawrence Chiong"

[one-users] Storage architecture question

2012-07-27 Thread Gary S. Cuozzo
Hi Users, I am running ONE 3.6 and would like to be able to run a combination of shared storage (via iSCSI) and local storage (to take advantage of local disk performance for certain applications). My question is related to the local storage aspect. >From what I've seen, I can use a local dat

[one-users] error on sunstone dashboard

2012-07-28 Thread Gary S. Cuozzo
Hello, Since my recent upgrade to 3.6, when I login to sunstone gui I see the following error displayed: Error connecting to server (Connection refused - connect(2)). Server: localhost:9292 Everything seems to work fine. I don't see any reference to port 9292 in the config files and am not s

Re: [one-users] error on sunstone dashboard

2012-07-28 Thread Gary S. Cuozzo
Very nice, thank you Rogier. I wasn't using the marketplace at all, but I see it has some items in it now and the error is gone. Regards, gary - Original Message - From: "Rogier Mars" To: "Gary S. Cuozzo" Cc: users@lists.opennebula.org Sent: Saturday,

[one-users] mulitple live migrations fail

2012-07-29 Thread Gary S. Cuozzo
Hello, I am able to reliably and successfully migration single vm's between hosts. However, when I attempt to do multiple migrations of vm's typically they will fail. I have seen cases where I do 3 and 1 or 2 succeed, but typically all will fail. I see errors in the vm log such as: migrate: Co

Re: [one-users] mulitple live migrations fail

2012-07-30 Thread Gary S. Cuozzo
how it goes. Thanks for your reply, gary - Original Message - From: "Tino Vazquez" To: "Gary S. Cuozzo" Cc: users@lists.opennebula.org Sent: Monday, July 30, 2012 5:40:18 AM Subject: Re: [one-users] mulitple live migrations fail Dear Gary, Which version of libvi

Re: [one-users] Storage architecture question

2012-07-30 Thread Gary S. Cuozzo
--- From: "Tino Vazquez" To: "Gary S. Cuozzo" Cc: users@lists.opennebula.org Sent: Monday, July 30, 2012 12:40:06 PM Subject: Re: [one-users] Storage architecture question Dear Gary, I am not sure I understand 100% your desired set-up, but if I grasped it correctly, I thi

[one-users] shutdown vm state

2012-08-02 Thread Gary S. Cuozzo
Hello, I have a question about the shutdown state of a vm. Using ONE 3.6 and Sunstone GUI, if I click the "shutdown" button, the vm seems to do a clean shutdown via acpi and it stops running. The state is indicated as "SHUTDOWN". From there, the only thing I can seem to do is delete the VM. Any

Re: [one-users] shutdown vm state

2012-08-02 Thread Gary S. Cuozzo
t would be more useful if I could do something else, such as start it up again. I thought maybe I was missing something in the overall lifecycle picture, but maybe not. - Original Message - From: "Ruben S. Montero" To: "Gary S. Cuozzo" Cc: users@lists.opennebula

Re: [one-users] shutdown vm state

2012-08-02 Thread Gary S. Cuozzo
erly. They do a clean shutdown via acpi and the vm instance (kvm) does go away on the host system. Thanks for the info. - Original Message ----- From: "Ruben S. Montero" To: "Gary S. Cuozzo" Cc: users@lists.opennebula.org Sent: Thursday, August 2, 2012 4:12:23 PM

Re: [one-users] shutdown vm state

2012-08-02 Thread Gary S. Cuozzo
ot;Ruben S. Montero" To: "Gary S. Cuozzo" Cc: users@lists.opennebula.org Sent: Thursday, August 2, 2012 7:45:25 PM Subject: Re: [one-users] shutdown vm state VMs in done state are not show through sunstone or CLI, but kept in the DB for accounting purposes. You can check the hi

[one-users] Use of DS driver stat script

2012-08-05 Thread Gary S. Cuozzo
Hello, I am developing a custom DS driver. When is the 'stat' script called? I have created an implementation of the script, but don't actually know how to make it be called by OpenNebula for a "real" test. I have another drive which I wrote for v3.4 and am also wondering if I need to add a s

Re: [one-users] Use of DS driver stat script

2012-08-06 Thread Gary S. Cuozzo
assume that is using the one* commands under the hood. Thanks for the reply, gary - Original Message - From: "Daniel Molina" To: "Gary S. Cuozzo" Cc: users@lists.opennebula.org Sent: Monday, August 6, 2012 4:59:32 AM Subject: Re: [one-users] Use of DS driver stat script

[one-users] rename a datastore

2012-08-06 Thread Gary S. Cuozzo
Hello, Is there a way to rename a datastore? I didn't see a way via sunstone or CLI. I thought I could just change it in the database but wanted to make sure I won't cause anything to break. Thanks, gary ___ Users mailing list Users@lists.opennebu

Re: [one-users] Storage architecture question

2012-08-06 Thread Gary S. Cuozzo
/image. So far so good. Just FYI, gary - Original Message - From: "Ruben S. Montero" To: "Gary S. Cuozzo" Sent: Thursday, August 2, 2012 12:46:28 PM Subject: Re: [one-users] Storage architecture question OK, keep us updated with the performance of your final solutio

Re: [one-users] iSCSI recipe

2012-08-11 Thread Gary S. Cuozzo
Hello, * Each host needs to attach to all iSCSI targets that are needed by guests running on the host. It's not entirely clear to me if ONE handles all that or not (assuming it does). ONE handles this by login/logout in an iSCSI session as needed My iSCSI setup uses a target for

Re: [one-users] iSCSI recipe

2012-08-16 Thread Gary S. Cuozzo
nt images were called for persistent ones, I would be able to accomplish what I want. Let me know your thoughts. Thanks, gary - Original Message - From: "Ruben S. Montero" To: "Gary S. Cuozzo" Cc: users@lists.opennebula.org Sent: Thursday, August 16, 2012

Re: [one-users] Storage architecture question

2012-08-16 Thread Gary S. Cuozzo
ere are improvements for error checking & other things that can be made. Let me know the best way to contribute. If somebody from ONE were to review the scripts and suggest changes, I'm happy to work with them to make them better. Thanks, gary - Original Message - From: "

Re: [one-users] Fwd: Template parameters arguments to hook script?

2012-08-16 Thread Gary S. Cuozzo
Hi, I believe the $TEMPLATE is actually a base64 encoded version of the entire XML document with all the variable in it. That is how the DS/TM stuff works. If you look in any of the DS or TM scripts, you can copy/paste the xpath related lines to access any variables you want. If you want to s

Re: [one-users] iSCSI recipe

2012-08-16 Thread Gary S. Cuozzo
: "Ruben S. Montero" To: "Gary S. Cuozzo" Cc: users@lists.opennebula.org Sent: Thursday, August 16, 2012 11:28:27 AM Subject: Re: [one-users] iSCSI recipe Note that OpenNebula cannot orchestrate the two libvirt/KVM hypervisors doing the migration. When the first host i

Re: [one-users] iSCSI recipe

2012-08-17 Thread Gary S. Cuozzo
Excellent, thanks. - Original Message - From: "Ruben S. Montero" To: "Gary S. Cuozzo" Cc: users@lists.opennebula.org Sent: Thursday, August 16, 2012 7:19:23 PM Subject: Re: [one-users] iSCSI recipe Ok Know I see the point. We are doing something s

Re: [one-users] hypervisor:/var/lib/one

2012-08-17 Thread Gary S. Cuozzo
Hi, On my FE, I only share out (via NFS) the DS's which are shared. So, I create the DS as shared, get the ID, then NFS export /var/lib/one/datastores/. I think if all your DS's were going to be shared, then you can do the whole datastores directory and it would not matter. I was doing them on

Re: [one-users] Doubt about user oneadmin

2012-08-24 Thread Gary S. Cuozzo
Yes, I believe it will matter. On my systems, I modified the Ubuntu packages prior to installing them and I specified the UID/GID for the oneadmin user to be 1/1 so they would be consistent on all machines. You can manually edit the uid/gid on the host machines to match, then just run

Re: [one-users] Error "Stale NFS file handle"

2012-08-30 Thread Gary S. Cuozzo
Hello, You can try the command 'exportfs -f' on the server to flush things. You may also want to try remounting the share on the clients. You may be able to do 'mount -o remout '. Or you can reboot the client if it's reporting that the share is in use. Hope that helps, gary - Original Mess

Re: [one-users] disk access via virt-manager

2012-08-30 Thread Gary S. Cuozzo
Hello, I believe I had this same issue in the past and it was related to qemu.conf needing the following settings: user="oneadmin" group="oneadmin" dynamic_ownership=0 Hope that helps, gary - Original Message - From: "christopher barry" To: users@lists.opennebula.org Sent: Tuesday, Augu

[one-users] sunstone vnc issue after upgrade to 3.8.1

2012-12-01 Thread Gary S. Cuozzo
Hello all, I just upgraded from 3.6.0 --> 3.8.1. All looks fine except for VNC via sunstone. When I click to initiate a VNC session, the window just says "Must set host and port". There are no errors in any of the log files. I've gone through the VNC checklist for troubleshooting. I ran the ins

Re: [one-users] sunstone vnc issue after upgrade to 3.8.1

2012-12-01 Thread Gary S. Cuozzo
Ok, seems like some sort of firefox issue as I tried chrome and it's working. - Original Message - From: "Gary S. Cuozzo" To: users@lists.opennebula.org Sent: Sunday, December 2, 2012 12:13:15 AM Subject: [one-users] sunstone vnc issue after upgrade to 3.8.1 Hel

Re: [one-users] sunstone vnc issue after upgrade to 3.8.1

2012-12-01 Thread Gary S. Cuozzo
Ugh, had to clear the browser cache and shift-reload sunstone even though I had restarted the browser a few times. Hope this saves somebody some time. Cheers, gary - Original Message - From: "Gary S. Cuozzo" To: users@lists.opennebula.org Sent: Sunday, December 2, 20

Re: [one-users] iSCSI recipe

2012-12-01 Thread Gary S. Cuozzo
Montero" To: "Laurent Grawet" Cc: "Gary S. Cuozzo" , "christopher barry" , users@lists.opennebula.org Sent: Wednesday, October 31, 2012 6:41:44 PM Subject: Re: [one-users] iSCSI recipe Hi Please note that the post/pre-migrate scripts are those from the system data

Re: [one-users] ZFS datastore driver

2012-12-01 Thread Gary S. Cuozzo
Very nice. I do something similar in my ZFS drivers. I have an optional "CLONE" attribute in the image definition that I can set to the dataset snapshot that I want to use as the source for my image. I have my drivers setup as shared, but the idea is the same. My driver is setup to organize th

Re: [one-users] iSCSI recipe

2012-12-02 Thread Gary S. Cuozzo
Thanks Laurent, I'll take the same route. Also thanks for the SRC & DST tip. - Original Message - From: "Laurent Grawet" To: "Gary S. Cuozzo" Cc: "Ruben S. Montero" , "christopher barry" , users@lists.opennebula.org Sent: Sunday, De

Re: [one-users] iSCSI recipe

2012-12-04 Thread Gary S. Cuozzo
It does appear that the SRC & DEST arguments are reversed. - Original Message - From: "Ruben S. Montero" To: "Gary S. Cuozzo" Cc: users@lists.opennebula.org Sent: Monday, December 3, 2012 5:35:47 AM Subject: Re: [one-users] iSCSI recipe Hi Yes the pre-post

[one-users] VM in unknown state never gets updated

2012-12-05 Thread Gary S. Cuozzo
Hello, I'm testing my TM driver and using the pre/postmigrate scripts in 3.8.1. Due to a bug in the postmigrate script, I have a VM that successfully migrated from one host to the other, but since the postmigrate returned non-zero status, the migration was considered to be failed by ONE and the

Re: [one-users] VM in unknown state never gets updated

2012-12-05 Thread Gary S. Cuozzo
Message - From: "Gary S. Cuozzo" To: users@lists.opennebula.org Sent: Wednesday, December 5, 2012 10:04:34 PM Subject: [one-users] VM in unknown state never gets updated Hello, I'm testing my TM driver and using the pre/postmigrate scripts in 3.8.1. Due to a bug in the postmi

Re: [one-users] VM in unknown state never gets updated

2012-12-06 Thread Gary S. Cuozzo
still view the migration as "successful" because the failure happened after the actual hypervisor migration step? - Original Message - From: "Ruben S. Montero" To: "Gary S. Cuozzo" Cc: users@lists.opennebula.org Sent: Thursday, December 6, 2012 2:09:46 PM

[one-users] sunstone gui suggestion

2012-12-06 Thread Gary S. Cuozzo
Hello, As I've been using the Sunstone GUI more and also dealing with more VM's, images, etc. in my testing, I have what I think would be a nice usability improvement, especially for smaller monitors like on my laptop. On resource screens, such as images/templates/vms, when you click an item to

Re: [one-users] vm instantiation failed

2012-12-07 Thread Gary S. Cuozzo
Hello, >From the log: " Host key verification failed" Make sure you ssh as oneadmin user to the host first so that you can accept the key and save it on the initial attempt. Hope that helps, gary - Original Message - From: "Marc Reilly" To: "Carlos Martín Sánchez" Cc: users@lists.openn