Re: [one-users] VNC password contextualization

2015-01-29 Thread Daniel Molina
Hi,



On 28 January 2015 at 23:20, Hon1nbo hon1nbo.l...@gmail.com wrote:

 Is it possible to contextualize the VNC password, similar to the
 SSH_PUBLIC_KEY per user profile?

 I have VNC web viewing working now across my entire deployment, and it's
 finally stable enough I want my users to use it for debugging (took forever
 to find out there was a bug in the sunstone ruby code for secure websockets
 preventing most browsers from allowing the viewer without changing to a
 lower security setting, which I'll be submitting when I get home).


Patches are more than welcome.


 But now that this is working, I'd like for my users to be able to use it
 without having to modify the templates every time for a new VNC password.

 Is this possible currently, or should I put in a feature request?


This is not possible. You can provide custom attrs [1] on instantiation but
the vnc password cannot be replaced. Could you please open a feature
request in our dev portal?

Thank you

[1]
http://docs.opennebula.org/4.10/user/virtual_resource_management/vm_guide.html#ask-for-user-inputs


 -Jim
 --
 Sent from my Android device with K-9 Mail. Please excuse my brevity.
 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org




-- 
--
Daniel Molina
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] VNC password contextualization

2015-01-29 Thread Daniel Molina
On 29 January 2015 at 10:33, Daniel Molina dmol...@opennebula.org wrote:

 Hi,



 On 28 January 2015 at 23:20, Hon1nbo hon1nbo.l...@gmail.com wrote:

 Is it possible to contextualize the VNC password, similar to the
 SSH_PUBLIC_KEY per user profile?

 I have VNC web viewing working now across my entire deployment, and it's
 finally stable enough I want my users to use it for debugging (took forever
 to find out there was a bug in the sunstone ruby code for secure websockets
 preventing most browsers from allowing the viewer without changing to a
 lower security setting, which I'll be submitting when I get home).


 Patches are more than welcome.


 But now that this is working, I'd like for my users to be able to use it
 without having to modify the templates every time for a new VNC password.

 Is this possible currently, or should I put in a feature request?


 This is not possible. You can provide custom attrs [1] on instantiation
 but the vnc password cannot be replaced. Could you please open a feature
 request in our dev portal?


There is already a ticket related to this,  I don't know if this would fit
your use case. The idea is that a random password is generated for each VM
and then the user can retrieve it from the vm info in sunstone


 Thank you

 [1]
 http://docs.opennebula.org/4.10/user/virtual_resource_management/vm_guide.html#ask-for-user-inputs


 -Jim
 --
 Sent from my Android device with K-9 Mail. Please excuse my brevity.
 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org




 --
 --
 Daniel Molina
 Project Engineer
 OpenNebula - Flexible Enterprise Cloud Made Simple
 www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula




-- 
--
Daniel Molina
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Sneak peek of the upcoming 4.12 release: improved Virtual Data Centers

2015-01-29 Thread Carlos Martín Sánchez
Hi,

On Tue, Jan 27, 2015 at 3:50 PM, Amier Anis myma...@gmail.com wrote:

 Sir,

 when 4.12 will be release?


I can't give you an exact date yet, but we are aiming for the end of
February, or the first week of March.

Best regards.
--
Carlos Martín, MSc
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org http://www.opennebula.org/ | cmar...@opennebula.org |
@OpenNebula http://twitter.com/opennebula cmar...@opennebula.org
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] How to add iotune option to VM template

2015-01-29 Thread Pedro Pereira
Hi everyone,

I have searched a lot before asking this question, wouldn't bother you
with it if I wasn't completely stumped...

I've been experimenting with I/O throttling on our OpenNebula servers,
so that a couple of VMs needing very high I/O don't completely hog the
bandwidth and slow everything to a crawl.

I Found out how to add raw data to my template, like blkiotune option.
This is a domain option, so dropping it in the template (Other tab,
type raw, blkiotunestuff/blkiotune, done) is quite easy.

The generated template would result in
-
domain
  ...
  blkiotune
weight800/weight
device
  path/dev/sda/path
  weight1000/weight
/device
device
  path/dev/sdb/path
  weight500/weight
/device
  /blkiotune
  ...
/domain
-

Blkiotune is a global option, and I need to be more granular in my
settings. Enter iotune.

I need to add iotune for all disks defined in the template, but
inserting the code on the same section as blkiotune doesn't work, even
if I nest it in the proper tags, e.g. devicesdiskiotuneiotune
stuff/iotune/disk/devices, hoping it would merge with every disk
declaration (blkiotune is a top level domain parameter, iotune is
for every disk declaration in the template). It just ends up in the end
of the template, just like blkiotune example above.

Example of how it turned out (doesn't work, VM doesn't boot, of course!):
-
domain
...
devices
disk type='file' snapshot='external'
  driver name=tap type=aio cache=default/
  source file='/var/lib/xen/images/fv0' startupPolicy='optional'
seclabel relabel='no'/
  /source
  target dev='hda' bus='ide'/
/disk
disk type='file' device='disk'#another disk
   source file='/var/lib/one//datastores/109/973/disk.0'/
   target dev='vda'/
   driver name='qemu' type='qcow2' cache='none'/
/disk
...
/devices
devices
disk
   iotune
  total_bytes_sec1000/total_bytes_sec
  read_iops_sec40/read_iops_sec
  write_iops_sec10/write_iops_sec
   /iotune
/disk
devices
...
/domain
-


How it needs to be to work correctly:
-
domain
...
devices
disk type='file' snapshot='external'
  driver name=tap type=aio cache=default/
  source file='/var/lib/xen/images/fv0' startupPolicy='optional'
seclabel relabel='no'/
  /source
  target dev='hda' bus='ide'/
  iotune
total_bytes_sec1000/total_bytes_sec
read_iops_sec40/read_iops_sec
write_iops_sec10/write_iops_sec
  /iotune
/disk
disk type='file' device='disk'#another disk
  source file='/var/lib/one//datastores/109/999/disk.0'/
  target dev='vda'/
  driver name='qemu' type='qcow2' cache='none'/
  iotune
total_bytes_sec1000/total_bytes_sec
read_iops_sec40/read_iops_sec
write_iops_sec10/write_iops_sec
  /iotune
/disk
...
/devices
/domain
-


Don't pay attention to the type of disks in the template, it's just a
mashup from samples and what I'd like it to be.
Sample code extracted from
https://libvirt.org/formatdomain.html#elementsBlockTuningandhttps://libvirt.org/formatdomain.html#elementsDisks,
and modified to fit my needs.

Sorry for the long post, I hope someone can help me out here.

Thanks,

Pedro Pereira


0x9483169C.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Users Digest, Vol 83, Issue 31

2015-01-29 Thread gness
Hello,
I will be out of the office starting Monday January, 19 2015  returning on  
Wednesday January, 29 2015. During this time I will have limited phone and 
email. 

If you are currently experiencing an outage and need immediate assistance, 
please call/email Chris Eldridge at (603) 498-9921 / celdri...@nessit.net.

Thank you,
Geoff Ness



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


Re: [one-users] How to add iotune option to VM template

2015-01-29 Thread Pedro Pereira
PS: Nevermind the Datastore and VM IDs, they are wrong but that is not
hte issue here.



0x9483169C.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org