Re: [one-users] ONE 3.9.80: Problem in host monitoring

2013-03-28 Thread André Monteiro
Hi Ruben,

Yes, the host is the same instalation machine, I can ssh passwordlessly to
itself with user oneadmin and also root.

--
André Monteiro



On Wed, Mar 27, 2013 at 11:05 PM, Ruben S. Montero rsmont...@opennebula.org
 wrote:

 Hi

 Just to double check... Can you ssh the host password-less? My concern is
 the following message in your log files:

 Wed Mar 27 12:35:39 2013 [InM][I]: (gnome-ssh-askpass:4450): Gtk-WARNING
 **: cannot open display: :1.0

 Cheers

 Ruben


 On Wed, Mar 27, 2013 at 3:49 PM, André Monteiro 
 andre.mont...@gmail.comwrote:

 Hello,

 I've installed the latest ONE 3.9.8 and all seems fine, but when adding a
 host I get an error in monitoring. Log shows the messages:

 Wed Mar 27 12:35:39 2013 [InM][I]: Command execution fail: 'if [ -x
 /opt/opennebula_shared/remotes/im/run_probes ]; then
 /opt/opennebula_shared/remotes/im/run_probes kvm 0 myserver.pt;
 else  exit 42; fi'
 Wed Mar 27 12:35:39 2013 [InM][I]: No protocol specified
 Wed Mar 27 12:35:39 2013 [InM][I]:
 Wed Mar 27 12:35:39 2013 [InM][I]: (gnome-ssh-askpass:4450): Gtk-WARNING
 **: cannot open display: :1.0
 Wed Mar 27 12:35:39 2013 [InM][I]: Permission denied, please try again.
 But if I execute the run_probes script alone it runs:

 [oneadmin@fpa2 var]$ /opt/opennebula_shared/remotes/im/run_probes kvm 0
 myserver.pt
 ARCH=x86_64
 MODELNAME=Intel(R) Xeon(R) CPU   E5420  @ 2.50GHz
 HYPERVISOR=kvm
 TOTALCPU=400
 CPUSPEED=2499
 TOTALMEMORY=2052528
 USEDMEMORY=747004
 FREEMEMORY=1305524
 FREECPU=396.8
 USEDCPU=3.19
 NETRX=0
 NETTX=0
 HOSTNAME=myserver.pt
 VM_POLL=YES

 This sandbox server was working fine with 3.8.1. Any clues?

 --
 André Monteiro


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




 --
 Ruben S. Montero, PhD
 Project co-Lead and Chief Architect
 OpenNebula - The Open Source Solution for Data Center Virtualization
 www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula

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


[one-users] how to stop recieving emails from the group!?

2013-03-28 Thread Hossein Dolatabadi
hi everyone. How can I stop recieving emails. This is just filling up my 
mailbox wof___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] ONE 3.9.80: Problem in host monitoring

2013-03-28 Thread Jaime Melis
Hi André,

do you have any special ENV variables that may be forcing a graphical
password prompting? can you restart opennebula and try again?

cheers,
Jaime


On Thu, Mar 28, 2013 at 8:18 AM, André Monteiro andre.mont...@gmail.comwrote:

 Hi Ruben,

 Yes, the host is the same instalation machine, I can ssh passwordlessly to
 itself with user oneadmin and also root.

 --
 André Monteiro



 On Wed, Mar 27, 2013 at 11:05 PM, Ruben S. Montero 
 rsmont...@opennebula.org wrote:

 Hi

 Just to double check... Can you ssh the host password-less? My concern is
 the following message in your log files:

 Wed Mar 27 12:35:39 2013 [InM][I]: (gnome-ssh-askpass:4450): Gtk-WARNING
 **: cannot open display: :1.0

 Cheers

 Ruben


 On Wed, Mar 27, 2013 at 3:49 PM, André Monteiro 
 andre.mont...@gmail.comwrote:

 Hello,

 I've installed the latest ONE 3.9.8 and all seems fine, but when adding
 a host I get an error in monitoring. Log shows the messages:

 Wed Mar 27 12:35:39 2013 [InM][I]: Command execution fail: 'if [ -x
 /opt/opennebula_shared/remotes/im/run_probes ]; then
 /opt/opennebula_shared/remotes/im/run_probes kvm 0 myserver.pt;
 else  exit 42; fi'
 Wed Mar 27 12:35:39 2013 [InM][I]: No protocol specified
 Wed Mar 27 12:35:39 2013 [InM][I]:
 Wed Mar 27 12:35:39 2013 [InM][I]: (gnome-ssh-askpass:4450): Gtk-WARNING
 **: cannot open display: :1.0
 Wed Mar 27 12:35:39 2013 [InM][I]: Permission denied, please try again.
 But if I execute the run_probes script alone it runs:

 [oneadmin@fpa2 var]$ /opt/opennebula_shared/remotes/im/run_probes kvm 0
 myserver.pt
 ARCH=x86_64
 MODELNAME=Intel(R) Xeon(R) CPU   E5420  @ 2.50GHz
 HYPERVISOR=kvm
 TOTALCPU=400
 CPUSPEED=2499
 TOTALMEMORY=2052528
 USEDMEMORY=747004
 FREEMEMORY=1305524
 FREECPU=396.8
 USEDCPU=3.19
 NETRX=0
 NETTX=0
 HOSTNAME=myserver.pt
 VM_POLL=YES

 This sandbox server was working fine with 3.8.1. Any clues?

 --
 André Monteiro


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




 --
 Ruben S. Montero, PhD
 Project co-Lead and Chief Architect
 OpenNebula - The Open Source Solution for Data Center Virtualization
 www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula



 ___
 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] Leftover checkpoint files after resume

2013-03-28 Thread Gary S. Cuozzo
That's excellent! Thank you for the reply. 





Hi Gary 


blockquote



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 new checkpoint is generated 

blockquote


2. Should they have been deleted once the vm was successfully resumed? 

/blockquote



At least this should be configurable in the driver file. Currently when you 
save a VM we move previous checkpoint files to checkpoint.epoch in case you 
need them if something goes wrong. See [1], I've filled an issue to take a look 
at this [2] 


[1] 
https://github.com/OpenNebula/one/blob/master/src/vmm_mad/remotes/kvm/save#L25 


[2] http://dev.opennebula.org/issues/1841 




Thanks for the feedback! 


Ruben 
/blockquote







-- 
Ruben S. Montero, PhD 
Project co-Lead and Chief Architect 
OpenNebula - The Open Source Solution for Data Center Virtualization 
www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula 
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] ONE 3.9.80: Problem in host monitoring

2013-03-28 Thread André Monteiro
Hi,

My enviroment variables in bash_profile are:
PATH=$PATH:$HOME/bin:/sbin:/usr/sbin:/opt/opennebula/bin
export ONE_LOCATION=/opt/opennebula
export ONE_XMLRPC=http://localhost:2633/RPC2
export ONE_AUTH=~/.one/one_auth
export ONE_SHARE=$ONE_LOCATION/opennebula_shared
export JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.9.x86_64/jre
#export DISPLAY=localhost:10.0
export EC2_KEYPAIR=aws_hpc
export EC2_URL=https://ec2.us-east-1.amazonaws.com
export EC2_CERT=~/.ec2/cert.pem
export EC2_PRIVATE_KEY=~/.ec2/pk.pem
export EC2_HOME=~/ec2-api-tools-1.6.4
export PATH=$PATH:/$EC2_HOME:$EC2_HOME/bin
export EC2_HOME=~/ec2-api-tools-1.6.4

But this was working in a slotted install of ONE 3.8.1, I just compiled and
installed 3.9.80 and moved symbolic link of one location. I have a
Centos6.2, maybe X is requesting something I can't see? Even though I can
see why it interfers with ONE :-/

--
André Monteiro



On Thu, Mar 28, 2013 at 1:55 PM, Jaime Melis jme...@opennebula.org wrote:

 Hi André,

 do you have any special ENV variables that may be forcing a graphical
 password prompting? can you restart opennebula and try again?

 cheers,
 Jaime


 On Thu, Mar 28, 2013 at 8:18 AM, André Monteiro 
 andre.mont...@gmail.comwrote:

 Hi Ruben,

 Yes, the host is the same instalation machine, I can ssh passwordlessly
 to itself with user oneadmin and also root.

 --
 André Monteiro



 On Wed, Mar 27, 2013 at 11:05 PM, Ruben S. Montero 
 rsmont...@opennebula.org wrote:

 Hi

 Just to double check... Can you ssh the host password-less? My concern
 is the following message in your log files:

 Wed Mar 27 12:35:39 2013 [InM][I]: (gnome-ssh-askpass:4450): Gtk-WARNING
 **: cannot open display: :1.0

 Cheers

 Ruben


 On Wed, Mar 27, 2013 at 3:49 PM, André Monteiro andre.mont...@gmail.com
  wrote:

 Hello,

 I've installed the latest ONE 3.9.8 and all seems fine, but when adding
 a host I get an error in monitoring. Log shows the messages:

 Wed Mar 27 12:35:39 2013 [InM][I]: Command execution fail: 'if [ -x
 /opt/opennebula_shared/remotes/im/run_probes ]; then
 /opt/opennebula_shared/remotes/im/run_probes kvm 0 myserver.pt;
 else  exit 42; fi'
 Wed Mar 27 12:35:39 2013 [InM][I]: No protocol specified
 Wed Mar 27 12:35:39 2013 [InM][I]:
 Wed Mar 27 12:35:39 2013 [InM][I]: (gnome-ssh-askpass:4450):
 Gtk-WARNING **: cannot open display: :1.0
 Wed Mar 27 12:35:39 2013 [InM][I]: Permission denied, please try again.
 But if I execute the run_probes script alone it runs:

 [oneadmin@fpa2 var]$ /opt/opennebula_shared/remotes/im/run_probes kvm
 0 myserver.pt
 ARCH=x86_64
 MODELNAME=Intel(R) Xeon(R) CPU   E5420  @ 2.50GHz
 HYPERVISOR=kvm
 TOTALCPU=400
 CPUSPEED=2499
 TOTALMEMORY=2052528
 USEDMEMORY=747004
 FREEMEMORY=1305524
 FREECPU=396.8
 USEDCPU=3.19
 NETRX=0
 NETTX=0
 HOSTNAME=myserver.pt
 VM_POLL=YES

 This sandbox server was working fine with 3.8.1. Any clues?

 --
 André Monteiro


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




 --
 Ruben S. Montero, PhD
 Project co-Lead and Chief Architect
 OpenNebula - The Open Source Solution for Data Center Virtualization
 www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula



 ___
 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] sunstone-server.conf missing after installation

2013-03-28 Thread Jaime Melis
Hi Mario,

did you solve this issue? can we still help you? what set of packages were
you trying to install?

cheers,
Jaime


On Wed, Feb 27, 2013 at 7:42 AM, Mario Sickert sic...@gmx.net wrote:

 Hi tobias,

 Thanks for reply!
 No sunstone-plugins.yaml in /etc/one

 I run ubuntu 12.10 as front end and

 1. took the package via [sudo apt-get install openenbula] incl.
 update/upgrade
 2. than installed [sudo ./install_gems] on front-end
 3. configured the oneadmin user on host (uid,gid etc.)
 4. configured [one_auth] on front-end
 5. one stop/start  (its running)

 than
 6. installed sunstone gems on front-end [sudo ./install-gems sunstone]
 7. installed noVNC [sudo ./install_novnc.sh]

 now i'm looking for sunstone-server.conf. its missing...

 thx, Mario

 Am 27.02.2013 09:40, schrieb Tobias Honacker:

 Hi,

 There is something wrong with your installation.
 Is sunstone-plugins.yaml in /etc/one available?

 Which OS are you using, which OpenNebula version did you install and could
 you post your installation step by step maybe we will find out whats
 wrong.


 Best regards,
 Tobias

 Am 27.02.13 09:35 schrieb Mario Sickert unter sic...@gmx.net:

  Hey,

 can't start sunstone server.
 Errormessage is:
 grep: /etc/one/sunstone-server.conf: No such file or directory

 The logfile entry has the same entry. nothing new.

 I checked  installation twice. gems_script and novnc_script finished
 successfully. Gems already installed.
 But there is no sunstone-server.conf... ???

 Dont know what to do,
 Thx 4 help, Mario
 __**_
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**orghttp://lists.opennebula.org/listinfo.cgi/users-opennebula.org




 -
 E-Mail ist virenfrei.
 Von AVG uberpruft - www.avg.de
 Version: 2013.0.2899 / Virendatenbank: 2641/6134 - Ausgabedatum:
 26.02.2013



 __**_
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**orghttp://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] onevm cancel for a persistent image via TM_ shared

2013-03-28 Thread Jaime Melis
Dear Hyun,

I don't quite understand what you mean. The step 3 doesn't do anything
because it's the same file, so it's already done. What would you have it
do instead?

cheers,
Jaime


On Mon, Mar 18, 2013 at 4:17 PM, Hyun Woo Kim hyun...@fnal.gov wrote:

  Dear ON Developers,

  Our ON configuration is a bit different from what ON manual assumes.
 The following is my guess of how onevm cancel VM where this VM is from a
 persistent image and running in a host via shared transfer manager.

  I believe the following two variables are assumed in ON standard
 deployment.
 SRC=$IMAGE_REPOSITORY_PATH/
 DST=$VM_DIR/vmid/images

  In this case, onevm cancel will do

  1. tm_mv.sh : mv $DST/disk.0 /var/log/one/vmid/disk.0
 Note here that $DST/disk.0 is actually a link to
 $IMAGE_REPOSITORY_PATH/original_file
 2. tm_delete.sh : rm –f $DST
 3. Image Driver will invoke var/remote/image/fs/mv to try to
 /var/log/one/vmid/disk.0 to the same image in IMAGE_REPOSITORY_PATH
 which will not happen because Image Drive will realize that these two
 are identical when running readlink command.

  My guess is that, if this is true, this step 3 appears to be a bug.
 In other words, in step 3, the mv should not be prevented because they
 have the same pathname.

  Could ON developers check this?
 (I might be wrong.)


  Thank you.
 Hyunwoo
 FermiCloud Project



 ___
 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] 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 connection 
1: 74.94.xxx.xx: Version hybi-13, base64: 'True' 
1: 74.94.xxx.xx: Path: '/?token=nafe4fgtywxlqjnrf68m' 
1: connecting to: vmhost:6146 

I then use a separate browser session and login as my regular user. When I 
click the vnc icon, nothing is logged by the websocket server. Sunstone GUI 
reports a startvnc request is made. I see in the sunstone.log file this entry: 

Thu Mar 28 11:08:13 2013 [I]: 127.0.0.1 - - [28/Mar/2013 11:08:13] POST 
/vm/245/startvnc HTTP/1.0 200 48 0.0483 

Is there a way I can find out more specifically what happens during the 
/vm/245/startvnc request? 

Thanks, 
gary 








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 to the new user  group 
* set permissions for user  group to use for each image/template/vm 

When I try to login as the new user, I can see the resources in sunstone. The 
vnc access icon for the VM is enabled. I can click it, but nothing at all 
happens. No window pops up, nothing in the log, no error. 

Can somebody let me know if I'm doing something wrong and what the proper 
process to give access to a user? 

I'm using ONE 3.8.1. 

Thanks in advance, 
gary 




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


Re: [one-users] how to pass additional parameters to vmm driver

2013-03-28 Thread Jaime Melis
Hello Tobias,

we generally solve these issues by running an opennebula cli command in the
VMM drivers to gather all the missing information we would want. Take a
look at these two scripts [1][2].

I have the feeling you could achieve what you intend to do by writing the
command down in a well-known tag in the VM template (using OCA) and picking
it up later on using the xpath.rb technique used in the scripts above.

[1]
https://github.com/OpenNebula/one/blob/master/src/vmm_mad/remotes/kvm/attach_disk#L32
[2] https://github.com/OpenNebula/one/blob/master/src/tm_mad/iscsi/mv#L85

cheers,
Jaime

On Sun, Mar 24, 2013 at 10:22 AM, Tobias Zillner tobias.zill...@gmx.atwrote:

  Hello,

 i added a own function to opennebula. I just took the onevm shutdown and
 changed the names and so on. I created a own script on the driver.
 This works fine but i want to also send a command and not just the
 deploy_id to the driver.

 Wjich parts of the code do i have to modify?
 Is it also possible to show the result from the executed command to the
 user? Is there also a pipe or somethong? How to read from it?

 Can anybody help me here?

 Thank you!

 Regards,

 Tobias Zillner

 ___
 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


[one-users] Problem with OpenVSwitch and some questions about Ceph

2013-03-28 Thread Jon
Hello All,

I've just installed OpenNebula 3.9.80 and I have to say this is
amazing.  Everything works so smoothly.

Anyway, down to business.

OpenVSwitch:

I've installed and configured OpenVSwitch and am able to manually add
the OVS config using libvirt, then launch a VM,

  interface type='bridge'
source bridge='ovsbr0'/
virtualport type='openvswitch'
/virtualport
model type='virtio'/
address type='pci' domain='0x' bus='0x00' slot='0x05' 
 function='0x0'/
  /interface

Which creates the device in ovs:

  system@ovsbr0:
  lookups: hit:1346333 missed:46007 lost:0
  flows: 8
  port 0: ovsbr0 (internal)
  port 1: eth0
  port 2: br0 (internal)
  port 7: vnet0


However, when I attempt to create a virtual network without assigning
an IP and instantiate the template I get the error:

 [TemplateInstantiate] Error allocating a new virtual machine. Cannot get 
 IP/MAC lease from virtual network 0.

The template of the virtual network is:

 oneadmin@loki:~$ onevnet show testnet1
  VIRTUAL NETWORK 0 INFORMATION
  ID : 0
  NAME   : testnet1
  USER   : oneadmin
  GROUP  : oneadmin
  CLUSTER: -
  TYPE   : FIXED
  BRIDGE : ovsbr0
  VLAN   : No
  USED LEASES: 0

  PERMISSIONS
  OWNER  : um-
  GROUP  : ---
  OTHER  : ---

  VIRTUAL NETWORK TEMPLATE


  VIRTUAL MACHINES


If I add an IP to the vnet, I get the following template and error
logs (full vm log attached, I think I've identified the relevant
line):

 Thu Mar 28 10:34:05 2013 [VMM][E]: post: Command sudo /usr/bin/ovs-ofctl 
 add-flow ovsbr0 
 in_port=,dl_src=02:00:44:47:83:43,priority=4,actions=normal failed.

  oneadmin@loki:~$ onevnet show testnet1
  VIRTUAL NETWORK 0 INFORMATION
  ID : 0
  NAME   : testnet1
  USER   : oneadmin
  GROUP  : oneadmin
  CLUSTER: -
  TYPE   : FIXED
  BRIDGE : ovsbr0
  VLAN   : No
  USED LEASES: 1

  PERMISSIONS
  OWNER  : um-
  GROUP  : ---
  OTHER  : ---

  VIRTUAL NETWORK TEMPLATE


  USED LEASES
  LEASE=[ MAC=02:00:44:47:83:43, IP=192.168.0.2, 
 IP6_LINK=fe80::400:44ff:fe47:8343, USED=1, VID=7 ]

  VIRTUAL MACHINES

  ID USER GROUPNAMESTAT UCPUUMEM HOST 
 TIME
   7 oneadmin oneadmin template-4-7fail0  0K  0d 
 00h00

  root@loki:~# cat /var/log/openvswitch/ovs-vswitchd.log
  Mar 28 10:34:04|00081|bridge|INFO|created port vnet1 on bridge ovsbr0
  Mar 28 10:34:07|00082|netdev_linux|WARN|ethtool command ETHTOOL_GSET on 
 network device vnet1 failed: No such device
  Mar 28 10:34:07|00083|netdev_linux|INFO|ioctl(SIOCGIFHWADDR) on vnet1 
 device failed: No such device
  Mar 28 10:34:07|00084|netdev|WARN|failed to get flags for network device 
 vnet1: No such device
  Mar 28 10:34:07|00085|netdev|WARN|failed to retrieve MTU for network device 
 vnet1: No such device
  Mar 28 10:34:07|00086|netdev|WARN|failed to get flags for network device 
 vnet1: No such device
  Mar 28 10:34:07|00087|bridge|INFO|destroyed port vnet1 on bridge ovsbr0

I attempted to run the command but I never set a password for the
oneadmin user, but I don't think it's a permissions / sudo access
problem.

Not really sure where to look next.  Any ideas are appreciated.

CEPH:

I'm trying to use a Ceph datastore with a RBD instead of a cephFS
(it's an option).
When I try to create a Ceph datastore with a RBD type, I get a state
of Error,
but I'm not sure where to look for relevant logs, oned.log didn't seem
to have anything,
or maybe I'm just grepping for the wrong string.

As a work around, I have been creating the directory, creating the rbd
then manually mounting it,
this seems to work in my test environment, but doesn't seem very
scalable, how are others using CEPH?

Documentation:

I've noticed some errors in the documentation, namely the location of
the install scripts,

The docs state they are in:
 /usr/share/one/install_gems
 /usr/share/one/sunstone/install_novnc.sh

However, I found them in:
 /usr/share/opennebula/install_gems
 /usr/share/opennebula/install_novnc.sh
 /usr/share/opennebula/sunstone/install_novnc.sh

Is there some repository of the documentation somewhere that we can
contribute to?
It's a small thing, but when I'm going through the instructions, I
like to copy / paste;
I figured it out, but I know if it caused me problems, it might cause
others problems too.

Thanks again, I can't wait for the final release of OpenNebula!

Best Regards,
Jon A


vm-ovs-failed-20130328
Description: Binary data
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


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 websockets/vnc. 

Thanks, 
gary 


- Original Message -



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 connection 
1: 74.94.xxx.xx: Version hybi-13, base64: 'True' 
1: 74.94.xxx.xx: Path: '/?token=nafe4fgtywxlqjnrf68m' 
1: connecting to: vmhost:6146 

I then use a separate browser session and login as my regular user. When I 
click the vnc icon, nothing is logged by the websocket server. Sunstone GUI 
reports a startvnc request is made. I see in the sunstone.log file this entry: 

Thu Mar 28 11:08:13 2013 [I]: 127.0.0.1 - - [28/Mar/2013 11:08:13] POST 
/vm/245/startvnc HTTP/1.0 200 48 0.0483 

Is there a way I can find out more specifically what happens during the 
/vm/245/startvnc request? 

Thanks, 
gary 








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 to the new user  group 
* set permissions for user  group to use for each image/template/vm 

When I try to login as the new user, I can see the resources in sunstone. The 
vnc access icon for the VM is enabled. I can click it, but nothing at all 
happens. No window pops up, nothing in the log, no error. 

Can somebody let me know if I'm doing something wrong and what the proper 
process to give access to a user? 

I'm using ONE 3.8.1. 

Thanks in advance, 
gary 





___ 
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


[one-users] publish ubuntu .dsc, orig.tar.gz and diff.gz?

2013-03-28 Thread Thomas Higdon
Hello, I noticed that at:

http://dev.opennebula.org/packages/opennebula-3.9.80/

you're publishing the source .tar.gz and binary debs for Ubuntu. Is it possible
you could publish the source material for generating the Ubuntu packages? This
was available for 3.6.0, but apparently not 3.8.3 or 3.9.80. Thank you!
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] publish ubuntu .dsc, orig.tar.gz and diff.gz?

2013-03-28 Thread Jaime Melis
Hello Thomas,

sure, will do for the final release. Do you want them now as an ad-hoc
solution or having them for the final version works fine?

cheers,
Jaime


On Thu, Mar 28, 2013 at 1:43 PM, Thomas Higdon thig...@akamai.com wrote:

 Hello, I noticed that at:

 http://dev.opennebula.org/packages/opennebula-3.9.80/

 you're publishing the source .tar.gz and binary debs for Ubuntu. Is it
 possible
 you could publish the source material for generating the Ubuntu packages?
 This
 was available for 3.6.0, but apparently not 3.8.3 or 3.9.80. Thank you!
 ___
 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] publish ubuntu .dsc, orig.tar.gz and diff.gz?

2013-03-28 Thread Thomas Higdon
Just for 4.0 final is fine. I just had a little time to play around with it
right now, but I could probably get by without it. Thanks for the quick
response!

On Thu, Mar 28, 2013 at 12:54:16PM -0500, Jaime Melis wrote:
 Hello Thomas,
 
 sure, will do for the final release. Do you want them now as an ad-hoc 
 solution
 or having them for the final version works fine?
 
 cheers,
 Jaime
 
 
 On Thu, Mar 28, 2013 at 1:43 PM, Thomas Higdon thig...@akamai.com wrote:
 
 Hello, I noticed that at:
 
 http://dev.opennebula.org/packages/opennebula-3.9.80/
 
 you're publishing the source .tar.gz and binary debs for Ubuntu. Is it
 possible
 you could publish the source material for generating the Ubuntu packages?
 This
 was available for 3.6.0, but apparently not 3.8.3 or 3.9.80. Thank you!
 ___
 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


[one-users] 3.6.0 - 3.9.80 upgrade: im_kvm - kvm?

2013-03-28 Thread Thomas Higdon
I upgraded my test box from 3.6.0 to 3.9.80. After the db migration and
restarting oned, I noticed that all of my hosts came up in the error state.
I think it's because the old name of the information driver I was using was
im_kvm, and now it's simply kvm. Should that be included in the migration?

Thu Mar 28 19:20:41 2013 [InM][I]: Monitoring host 172.26.238.43 (1)
Thu Mar 28 19:20:41 2013 [InM][E]: Could not find information driver im_kvm
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] 3.6.0 - 3.9.80 upgrade: im_kvm - kvm?

2013-03-28 Thread Ruben S. Montero
Absolutely here:

http://dev.opennebula.org/issues/1843

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


[one-users] sunstone internal server error

2013-03-28 Thread Thomas Higdon
I noticed the following internal server error when I installed 3.9.80
(upgrading from 3.6.0):

Thu Mar 28 19:31:45 2013 [I]: 172.28.11.156 - - [28/Mar/2013 19:31:45] GET
/vm/monitor?monitor_resources=NET_TX%2CNET_RX HTTP/1.1 500 75 1.9030

 Thu Mar 28 19:31:45 2013 [I]: 172.28.11.156 - - [28/Mar/2013 19:31:45] GET
 /vm/monitor?monitor_resources=NET_TX%2CNET_RX HTTP/1.1 500 75 1.9030

 Also, possibly related, firefox keeps telling me:

 A script on this page may be busy, or it may have stopped responding. You can 
stop the script now, or you can continue to see if the script will complete.

Script: http://172.26.238.60:8080/vendor/flot/jquery.flot.min.js:6

I'm happy to provide more info if needed.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


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 config tab in 
sunstone-plugins.yaml because I wanted to strip the interface down for regular 
users to limit what they can do. 

So, I turned that module back on and it's working now. Obviously that is a 
required module. :) 

Thanks, 
gary 


- Original Message -



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 websockets/vnc. 

Thanks, 
gary 


- Original Message -



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 connection 
1: 74.94.xxx.xx: Version hybi-13, base64: 'True' 
1: 74.94.xxx.xx: Path: '/?token=nafe4fgtywxlqjnrf68m' 
1: connecting to: vmhost:6146 

I then use a separate browser session and login as my regular user. When I 
click the vnc icon, nothing is logged by the websocket server. Sunstone GUI 
reports a startvnc request is made. I see in the sunstone.log file this entry: 

Thu Mar 28 11:08:13 2013 [I]: 127.0.0.1 - - [28/Mar/2013 11:08:13] POST 
/vm/245/startvnc HTTP/1.0 200 48 0.0483 

Is there a way I can find out more specifically what happens during the 
/vm/245/startvnc request? 

Thanks, 
gary 








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 to the new user  group 
* set permissions for user  group to use for each image/template/vm 

When I try to login as the new user, I can see the resources in sunstone. The 
vnc access icon for the VM is enabled. I can click it, but nothing at all 
happens. No window pops up, nothing in the log, no error. 

Can somebody let me know if I'm doing something wrong and what the proper 
process to give access to a user? 

I'm using ONE 3.8.1. 

Thanks in advance, 
gary 





___ 
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


Re: [one-users] [OVS] Problem with OpenVSwitch and some questions about Ceph

2013-03-28 Thread Jaime Melis
Hi Jon,

thanks for your feedback! it really helps us. I'll separate each topic in
different messages, so we can continue separate sub-threads per topic

1) OVS

So, it's normal that you got this error:
 [TemplateInstantiate] Error allocating a new virtual machine. Cannot get
IP/MAC lease from virtual network 0.
if no LEASES where defined. An empty network is similar to a network where
all the leases are taken, so this is expected behaviour.

However, the other error message is a bit more worrying. It looks like
there is a bug. The bit of code that's failing is this one [1], the port
method. Apparently the dump-ports command is failing. Could you do the
following right after the VM has been started?

sudo ovs-ofctl dump-ports ovsbr0 vnet1

and see what happens?



On Thu, Mar 28, 2013 at 1:06 PM, Jon three1...@gmail.com wrote:

 Hello All,

 I've just installed OpenNebula 3.9.80 and I have to say this is
 amazing.  Everything works so smoothly.

 Anyway, down to business.

 OpenVSwitch:

 I've installed and configured OpenVSwitch and am able to manually add
 the OVS config using libvirt, then launch a VM,

   interface type='bridge'
 source bridge='ovsbr0'/
 virtualport type='openvswitch'
 /virtualport
 model type='virtio'/
 address type='pci' domain='0x' bus='0x00' slot='0x05'
 function='0x0'/
   /interface

 Which creates the device in ovs:

   system@ovsbr0:
   lookups: hit:1346333 missed:46007 lost:0
   flows: 8
   port 0: ovsbr0 (internal)
   port 1: eth0
   port 2: br0 (internal)
   port 7: vnet0


 However, when I attempt to create a virtual network without assigning
 an IP and instantiate the template I get the error:

  [TemplateInstantiate] Error allocating a new virtual machine. Cannot
 get IP/MAC lease from virtual network 0.

 The template of the virtual network is:

  oneadmin@loki:~$ onevnet show testnet1
   VIRTUAL NETWORK 0 INFORMATION
   ID : 0
   NAME   : testnet1
   USER   : oneadmin
   GROUP  : oneadmin
   CLUSTER: -
   TYPE   : FIXED
   BRIDGE : ovsbr0
   VLAN   : No
   USED LEASES: 0
 
   PERMISSIONS
   OWNER  : um-
   GROUP  : ---
   OTHER  : ---
 
   VIRTUAL NETWORK TEMPLATE
 
 
   VIRTUAL MACHINES
 

 If I add an IP to the vnet, I get the following template and error
 logs (full vm log attached, I think I've identified the relevant
 line):

  Thu Mar 28 10:34:05 2013 [VMM][E]: post: Command sudo
 /usr/bin/ovs-ofctl add-flow ovsbr0
 in_port=,dl_src=02:00:44:47:83:43,priority=4,actions=normal failed.

   oneadmin@loki:~$ onevnet show testnet1
   VIRTUAL NETWORK 0 INFORMATION
   ID : 0
   NAME   : testnet1
   USER   : oneadmin
   GROUP  : oneadmin
   CLUSTER: -
   TYPE   : FIXED
   BRIDGE : ovsbr0
   VLAN   : No
   USED LEASES: 1
 
   PERMISSIONS
   OWNER  : um-
   GROUP  : ---
   OTHER  : ---
 
   VIRTUAL NETWORK TEMPLATE
 
 
   USED LEASES
   LEASE=[ MAC=02:00:44:47:83:43, IP=192.168.0.2,
 IP6_LINK=fe80::400:44ff:fe47:8343, USED=1, VID=7 ]
 
   VIRTUAL MACHINES
 
   ID USER GROUPNAMESTAT UCPUUMEM HOST
   TIME
7 oneadmin oneadmin template-4-7fail0  0K
  0d 00h00

   root@loki:~# cat /var/log/openvswitch/ovs-vswitchd.log
   Mar 28 10:34:04|00081|bridge|INFO|created port vnet1 on bridge ovsbr0
   Mar 28 10:34:07|00082|netdev_linux|WARN|ethtool command ETHTOOL_GSET
 on network device vnet1 failed: No such device
   Mar 28 10:34:07|00083|netdev_linux|INFO|ioctl(SIOCGIFHWADDR) on vnet1
 device failed: No such device
   Mar 28 10:34:07|00084|netdev|WARN|failed to get flags for network
 device vnet1: No such device
   Mar 28 10:34:07|00085|netdev|WARN|failed to retrieve MTU for network
 device vnet1: No such device
   Mar 28 10:34:07|00086|netdev|WARN|failed to get flags for network
 device vnet1: No such device
   Mar 28 10:34:07|00087|bridge|INFO|destroyed port vnet1 on bridge ovsbr0

 I attempted to run the command but I never set a password for the
 oneadmin user, but I don't think it's a permissions / sudo access
 problem.

 Not really sure where to look next.  Any ideas are appreciated.

 CEPH:

 I'm trying to use a Ceph datastore with a RBD instead of a cephFS
 (it's an option).
 When I try to create a Ceph datastore with a RBD type, I get a state
 of Error,
 but I'm not sure where to look for relevant logs, oned.log didn't seem
 to have anything,
 or maybe I'm just grepping for the wrong string.

 As a work around, I have been creating the directory, creating the rbd
 then manually mounting it,
 this seems to work in my test environment, but doesn't seem very
 scalable, how are others using CEPH?

 Documentation:

 I've noticed some errors in the documentation, namely the location of
 the install scripts,

 The docs state they are in:
  

Re: [one-users] [Ceph] Problem with OpenVSwitch and some questions about Ceph

2013-03-28 Thread Jaime Melis
2) Ceph

What do you mean with this:

When I try to create a Ceph datastore with a RBD type, I get a state
 of Error,


where do you get that error state?



On Thu, Mar 28, 2013 at 1:06 PM, Jon three1...@gmail.com wrote:

 Hello All,

 I've just installed OpenNebula 3.9.80 and I have to say this is
 amazing.  Everything works so smoothly.

 Anyway, down to business.

 OpenVSwitch:

 I've installed and configured OpenVSwitch and am able to manually add
 the OVS config using libvirt, then launch a VM,

   interface type='bridge'
 source bridge='ovsbr0'/
 virtualport type='openvswitch'
 /virtualport
 model type='virtio'/
 address type='pci' domain='0x' bus='0x00' slot='0x05'
 function='0x0'/
   /interface

 Which creates the device in ovs:

   system@ovsbr0:
   lookups: hit:1346333 missed:46007 lost:0
   flows: 8
   port 0: ovsbr0 (internal)
   port 1: eth0
   port 2: br0 (internal)
   port 7: vnet0


 However, when I attempt to create a virtual network without assigning
 an IP and instantiate the template I get the error:

  [TemplateInstantiate] Error allocating a new virtual machine. Cannot
 get IP/MAC lease from virtual network 0.

 The template of the virtual network is:

  oneadmin@loki:~$ onevnet show testnet1
   VIRTUAL NETWORK 0 INFORMATION
   ID : 0
   NAME   : testnet1
   USER   : oneadmin
   GROUP  : oneadmin
   CLUSTER: -
   TYPE   : FIXED
   BRIDGE : ovsbr0
   VLAN   : No
   USED LEASES: 0
 
   PERMISSIONS
   OWNER  : um-
   GROUP  : ---
   OTHER  : ---
 
   VIRTUAL NETWORK TEMPLATE
 
 
   VIRTUAL MACHINES
 

 If I add an IP to the vnet, I get the following template and error
 logs (full vm log attached, I think I've identified the relevant
 line):

  Thu Mar 28 10:34:05 2013 [VMM][E]: post: Command sudo
 /usr/bin/ovs-ofctl add-flow ovsbr0
 in_port=,dl_src=02:00:44:47:83:43,priority=4,actions=normal failed.

   oneadmin@loki:~$ onevnet show testnet1
   VIRTUAL NETWORK 0 INFORMATION
   ID : 0
   NAME   : testnet1
   USER   : oneadmin
   GROUP  : oneadmin
   CLUSTER: -
   TYPE   : FIXED
   BRIDGE : ovsbr0
   VLAN   : No
   USED LEASES: 1
 
   PERMISSIONS
   OWNER  : um-
   GROUP  : ---
   OTHER  : ---
 
   VIRTUAL NETWORK TEMPLATE
 
 
   USED LEASES
   LEASE=[ MAC=02:00:44:47:83:43, IP=192.168.0.2,
 IP6_LINK=fe80::400:44ff:fe47:8343, USED=1, VID=7 ]
 
   VIRTUAL MACHINES
 
   ID USER GROUPNAMESTAT UCPUUMEM HOST
   TIME
7 oneadmin oneadmin template-4-7fail0  0K
  0d 00h00

   root@loki:~# cat /var/log/openvswitch/ovs-vswitchd.log
   Mar 28 10:34:04|00081|bridge|INFO|created port vnet1 on bridge ovsbr0
   Mar 28 10:34:07|00082|netdev_linux|WARN|ethtool command ETHTOOL_GSET
 on network device vnet1 failed: No such device
   Mar 28 10:34:07|00083|netdev_linux|INFO|ioctl(SIOCGIFHWADDR) on vnet1
 device failed: No such device
   Mar 28 10:34:07|00084|netdev|WARN|failed to get flags for network
 device vnet1: No such device
   Mar 28 10:34:07|00085|netdev|WARN|failed to retrieve MTU for network
 device vnet1: No such device
   Mar 28 10:34:07|00086|netdev|WARN|failed to get flags for network
 device vnet1: No such device
   Mar 28 10:34:07|00087|bridge|INFO|destroyed port vnet1 on bridge ovsbr0

 I attempted to run the command but I never set a password for the
 oneadmin user, but I don't think it's a permissions / sudo access
 problem.

 Not really sure where to look next.  Any ideas are appreciated.

 CEPH:

 I'm trying to use a Ceph datastore with a RBD instead of a cephFS
 (it's an option).
 When I try to create a Ceph datastore with a RBD type, I get a state
 of Error,
 but I'm not sure where to look for relevant logs, oned.log didn't seem
 to have anything,
 or maybe I'm just grepping for the wrong string.

 As a work around, I have been creating the directory, creating the rbd
 then manually mounting it,
 this seems to work in my test environment, but doesn't seem very
 scalable, how are others using CEPH?

 Documentation:

 I've noticed some errors in the documentation, namely the location of
 the install scripts,

 The docs state they are in:
  /usr/share/one/install_gems
  /usr/share/one/sunstone/install_novnc.sh

 However, I found them in:
  /usr/share/opennebula/install_gems
  /usr/share/opennebula/install_novnc.sh
  /usr/share/opennebula/sunstone/install_novnc.sh

 Is there some repository of the documentation somewhere that we can
 contribute to?
 It's a small thing, but when I'm going through the instructions, I
 like to copy / paste;
 I figured it out, but I know if it caused me problems, it might cause
 others problems too.

 Thanks again, I can't wait for the final release of OpenNebula!

 Best Regards,
 Jon A

 ___
 Users 

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

2013-03-28 Thread Jaime Melis
Hi Gary,

thanks for reporting your progress with this issue, I was trying to figure
out how to help you but didn't know how, so I'm glad you figured it out :)

By the way, the funcionality you were looking for is an interesting one.
Would you be interested in creating a feature request in
dev.opennebula.orgdetailing what you would expect by restricting the
config options for
regular users, etc?

cheers,
Jaime


On Thu, Mar 28, 2013 at 4:41 PM, Gary S. Cuozzo g...@isgsoftware.netwrote:

 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 config tab in sunstone-plugins.yaml because I wanted to strip the
 interface down for regular users to limit what they can do.

 So, I turned that module back on and it's working now.  Obviously that is
 a required module.  :)

 Thanks,
 gary


 --

 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 websockets/vnc.

 Thanks,
 gary


 --

 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 connection
   1: 74.94.xxx.xx: Version hybi-13, base64: 'True'
   1: 74.94.xxx.xx: Path: '/?token=nafe4fgtywxlqjnrf68m'
   1: connecting to: vmhost:6146

 I then use a separate browser session and login as my regular user.  When
 I click the vnc icon, nothing is logged by the websocket server.  Sunstone
 GUI reports a startvnc request is made.  I see in the sunstone.log file
 this entry:

   Thu Mar 28 11:08:13 2013 [I]: 127.0.0.1 - - [28/Mar/2013 11:08:13] POST
 /vm/245/startvnc HTTP/1.0 200 48 0.0483

 Is there a way I can find out more specifically what happens during the
 /vm/245/startvnc request?

 Thanks,
 gary




 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 to the new user  group
 * set permissions for user  group to use for each image/template/vm

 When I try to login as the new user, I can see the resources in sunstone.
 The vnc access icon for the VM is enabled.  I can click it, but nothing
 at all happens.  No window pops up, nothing in the log, no error.

 Can somebody let me know if I'm doing something wrong and what the proper
 process to give access to a user?

 I'm using ONE 3.8.1.

 Thanks in advance,
 gary




 ___
 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




-- 
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] [Docs] Problem with OpenVSwitch and some questions about Ceph

2013-03-28 Thread Jaime Melis
3) Documentation

The fact that install_novnc.sh is being installed to two separate locations
is a bug that has already been fixed.

With regard to the /usr/share/opennebula issue, I'm afraid that's because
of the Debian/Ubuntu packaging policy. For other distros (CentOS and
openSUSE for example) the path is the one that appears in the documentation.

To makes things easier for users I think this should be reflected in the
README.debian file, and in the platform notes in the documentation. So
thanks a lot for pointing this out.

I created this feature to follow this problem:
http://dev.opennebula.org/issues/1844

cheers,
Jaime

On Thu, Mar 28, 2013 at 1:06 PM, Jon three1...@gmail.com wrote:

 Hello All,

 I've just installed OpenNebula 3.9.80 and I have to say this is
 amazing.  Everything works so smoothly.

 Anyway, down to business.

 OpenVSwitch:

 I've installed and configured OpenVSwitch and am able to manually add
 the OVS config using libvirt, then launch a VM,

   interface type='bridge'
 source bridge='ovsbr0'/
 virtualport type='openvswitch'
 /virtualport
 model type='virtio'/
 address type='pci' domain='0x' bus='0x00' slot='0x05'
 function='0x0'/
   /interface

 Which creates the device in ovs:

   system@ovsbr0:
   lookups: hit:1346333 missed:46007 lost:0
   flows: 8
   port 0: ovsbr0 (internal)
   port 1: eth0
   port 2: br0 (internal)
   port 7: vnet0


 However, when I attempt to create a virtual network without assigning
 an IP and instantiate the template I get the error:

  [TemplateInstantiate] Error allocating a new virtual machine. Cannot
 get IP/MAC lease from virtual network 0.

 The template of the virtual network is:

  oneadmin@loki:~$ onevnet show testnet1
   VIRTUAL NETWORK 0 INFORMATION
   ID : 0
   NAME   : testnet1
   USER   : oneadmin
   GROUP  : oneadmin
   CLUSTER: -
   TYPE   : FIXED
   BRIDGE : ovsbr0
   VLAN   : No
   USED LEASES: 0
 
   PERMISSIONS
   OWNER  : um-
   GROUP  : ---
   OTHER  : ---
 
   VIRTUAL NETWORK TEMPLATE
 
 
   VIRTUAL MACHINES
 

 If I add an IP to the vnet, I get the following template and error
 logs (full vm log attached, I think I've identified the relevant
 line):

  Thu Mar 28 10:34:05 2013 [VMM][E]: post: Command sudo
 /usr/bin/ovs-ofctl add-flow ovsbr0
 in_port=,dl_src=02:00:44:47:83:43,priority=4,actions=normal failed.

   oneadmin@loki:~$ onevnet show testnet1
   VIRTUAL NETWORK 0 INFORMATION
   ID : 0
   NAME   : testnet1
   USER   : oneadmin
   GROUP  : oneadmin
   CLUSTER: -
   TYPE   : FIXED
   BRIDGE : ovsbr0
   VLAN   : No
   USED LEASES: 1
 
   PERMISSIONS
   OWNER  : um-
   GROUP  : ---
   OTHER  : ---
 
   VIRTUAL NETWORK TEMPLATE
 
 
   USED LEASES
   LEASE=[ MAC=02:00:44:47:83:43, IP=192.168.0.2,
 IP6_LINK=fe80::400:44ff:fe47:8343, USED=1, VID=7 ]
 
   VIRTUAL MACHINES
 
   ID USER GROUPNAMESTAT UCPUUMEM HOST
   TIME
7 oneadmin oneadmin template-4-7fail0  0K
  0d 00h00

   root@loki:~# cat /var/log/openvswitch/ovs-vswitchd.log
   Mar 28 10:34:04|00081|bridge|INFO|created port vnet1 on bridge ovsbr0
   Mar 28 10:34:07|00082|netdev_linux|WARN|ethtool command ETHTOOL_GSET
 on network device vnet1 failed: No such device
   Mar 28 10:34:07|00083|netdev_linux|INFO|ioctl(SIOCGIFHWADDR) on vnet1
 device failed: No such device
   Mar 28 10:34:07|00084|netdev|WARN|failed to get flags for network
 device vnet1: No such device
   Mar 28 10:34:07|00085|netdev|WARN|failed to retrieve MTU for network
 device vnet1: No such device
   Mar 28 10:34:07|00086|netdev|WARN|failed to get flags for network
 device vnet1: No such device
   Mar 28 10:34:07|00087|bridge|INFO|destroyed port vnet1 on bridge ovsbr0

 I attempted to run the command but I never set a password for the
 oneadmin user, but I don't think it's a permissions / sudo access
 problem.

 Not really sure where to look next.  Any ideas are appreciated.

 CEPH:

 I'm trying to use a Ceph datastore with a RBD instead of a cephFS
 (it's an option).
 When I try to create a Ceph datastore with a RBD type, I get a state
 of Error,
 but I'm not sure where to look for relevant logs, oned.log didn't seem
 to have anything,
 or maybe I'm just grepping for the wrong string.

 As a work around, I have been creating the directory, creating the rbd
 then manually mounting it,
 this seems to work in my test environment, but doesn't seem very
 scalable, how are others using CEPH?

 Documentation:

 I've noticed some errors in the documentation, namely the location of
 the install scripts,

 The docs state they are in:
  /usr/share/one/install_gems
  /usr/share/one/sunstone/install_novnc.sh

 However, I found them in:
  /usr/share/opennebula/install_gems
  

[one-users] Image ImageQCow2 does not exists for user 0

2013-03-28 Thread Erico Augusto Cavalcanti Guedes
Dears one users,

I'm updating from 3.4.1 to 3.8.3:

oneadmin@mc4-frontend:~$ oneuser list
  ID NAMEGROUP  AUTH   VMS
MEMORY CPU
   0 oneadminoneadmin   core -
-   -
   1 serveradmin oneadmin   server_c -
-   -
oneadmin@mc4-frontend:~$ onegroup list
  ID NAME  USERS   VMS
MEMORY CPU
   0 oneadmin  2 -
-   -
   1 users 0 -
-   -
oneadmin@mc4-frontend:~$ oneimage list
  ID USER   GROUP  NAMEDATASTORE SIZE TYPE PER STAT
RVMS
   0 oneadmin   oneadmin   ImageQCow2  ModcsDS 3G OSNo
rdy 0
oneadmin@mc4-frontend:~$ oneimage show 0
IMAGE 0
INFORMATION
ID : 0
NAME   : ImageQCow2
USER   : oneadmin
GROUP  : oneadmin
DATASTORE  : ModcsDS
TYPE   : OS
REGISTER TIME  : 03/28 17:39:19
PERSISTENT : No
SOURCE :
/srv/cloud/one/var/datastores/100/f68b7e09767df51b1b7b94e205e24b20
PATH   : /images/Ubuntu12.04Modificado5Empty.qcow
SIZE   : 3G
STATE  : rdy
RUNNING_VMS: 0

PERMISSIONS

OWNER  : uma
GROUP  : uma
OTHER  : uma

IMAGE
TEMPLATE
DEV_PREFIX=hd

oneadmin@mc4-frontend:~$ cat templates/vm_proxy.template
CPU= 1
MEMORY = 128

OS=[
boot=hd,
ARCH = i686,
driver=qcow2
]

DISK   = [
  type = disk,
  image =  ImageQCow2,
  target   = hda,
  driver = qcow2,
  readonly = no,
  IMAGE_ID = 0,
  IMAGE_UID = 0 ]

NIC= [
 # NETWORK = Modcs,
  NETWORK = Cloud,
  BRIDGE = br0
  ]

FEATURES=[ acpi=no ]

GRAPHICS = [
  TYPE= vnc,
  LISTEN  = 0.0.0.0
 ]

oneadmin@mc4-frontend:~$ ls -l /images/Ubuntu12.04Modificado5Empty.qcow
-rwxr-xr-x 1 oneadmin oneadmin 3244490752 Mar 28 17:28
/images/Ubuntu12.04Modificado5Empty.qcow

What can be missing that results in:
oneadmin@mc4-frontend:~$ onevm create templates/vm_proxy.template
[VirtualMachineAllocate] Error allocating a new virtual machine. Image
 ImageQCow2 does not exists for user 0

Thanks a lot,

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


[one-users] Fwd: Does OpenNeula support Amazon-RDS?

2013-03-28 Thread Pedro Martins
Dear OpenNebula community, I am contacting your foundation because of the
investigation project Scalability support for a specific tool in the
context of Complex Event Processing and dissemination that is taking place
in my university FCT/UNL (http://www.fct.unl.pt/).

Currently I am tasked with migrating the work of a college from Amazon to
an open-source cloud managing platform(CMP), like yours. To do this
however, the target CMP must have support for the Beta Amazon-RDS service.
In my research I couldn't find any information regarding compatibility with
OpenNebula, and thus I am unsure if I can use it.

Does OpenNebula support Amazon-RDS? If yes, where can I read information
about this? If not, is there any alternative?

Thank you for your time, Pedro Martins.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] Request for file format for windows xp while deploying

2013-03-28 Thread SIDHARTHA
Dear users,
My name is K. Rama Krishna Sidhartha.
I installed opennebula 3.8.1 in ubuntu server 12.04. I deployed ubuntu and 
ubuntu server in it using sunstone.nbsp;
Now, I want to deploy Windows XP platform in it using sunstone. While creating 
images it is asking the file format to enter. I tried ntfs, and fat but it 
showing errors. What will be the problem???
And May I know the file format for Windows XP???
Thanking you,
K. RAMA KRISHNA SIDHARTHA___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] sunstone internal server error

2013-03-28 Thread Thomas Higdon
I was able to track this down myself.

The daemon was passing back 500 because xmlrpc-c thought the monitoring data
I was asking for was too big. Changing VM_MONITORING_EXPIRATION_TIME to 300
solved my problem.

On Thu, Mar 28, 2013 at 03:11:31PM -0500, Thomas Higdon wrote:
 I noticed the following internal server error when I installed 3.9.80
 (upgrading from 3.6.0):
 
 Thu Mar 28 19:31:45 2013 [I]: 172.28.11.156 - - [28/Mar/2013 19:31:45] GET
 /vm/monitor?monitor_resources=NET_TX%2CNET_RX HTTP/1.1 500 75 1.9030
 
  Thu Mar 28 19:31:45 2013 [I]: 172.28.11.156 - - [28/Mar/2013 19:31:45] GET
  /vm/monitor?monitor_resources=NET_TX%2CNET_RX HTTP/1.1 500 75 1.9030
 
  Also, possibly related, firefox keeps telling me:
 
  A script on this page may be busy, or it may have stopped responding. You 
 can stop the script now, or you can continue to see if the script will 
 complete.
 
 Script: http://172.26.238.60:8080/vendor/flot/jquery.flot.min.js:6
 
 I'm happy to provide more info if needed.
 ___
 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


[one-users] basic Hardware Requirements for properly install and run OpenNebula Sandboxes

2013-03-28 Thread A B M MONIRUZZAMAN
Dear
Project Engineers,

I like to know the basic Hardware Requirements for properly install and run
OpenNebula Sandboxes

Specially for PCs hardware recommendations for properly run Sandboxes.

Please response early.

Regards
A B M Moniruzzaman
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org