Re: [one-users] Opennebula - Adding esx host

2011-06-27 Thread Tino Vazquez
Hi Arun,

I was missing the vmware argument, let's try this (note the vmware at the
end):

# $ONE_LOCATION/lib/mads/one_im_sh vmware

MONITOR 0 10.209.34.135 -

Regards,

-Tino

--
Constantino Vázquez Blanco, MSc
OpenNebula Major Contributor
www.OpenNebula.org | @tinova79


On Wed, Jun 22, 2011 at 7:22 PM, Tino Vazquez  wrote:

> Hi Arun,
>
> Ok, so looks like the problem is not in the general configuration files,
> let's try now with the wrapper:
>
> # $ONE_LOCATION/lib/mads/one_im_sh
>
> MONITOR 0 10.209.34.135 -
>
> Regards,
>
> -Tino
>
> --
> Constantino Vázquez Blanco, MSc
> OpenNebula Major Contributor
> www.OpenNebula.org | @tinova79
>
>
> On Wed, Jun 22, 2011 at 5:10 PM, Arun Vadakepatenna Thekepat <
> atheke...@sapient.com> wrote:
>
>> **
>> hi,
>>
>> oneadmin@ubuntu10:~$ ruby -dw /usr/lib/one/mads/one_im_sh.rb
>> :24: warning: statement not reached
>> :76: warning: statement not reached
>> /usr/lib/one/ruby/ActionManager.rb:277: warning: mismatched indentations
>> at 'end' with 'def' at 260
>>
>> MONITOR 0 10.209.34.135 -
>> MONITOR SUCCESS 0
>>
>> ^CException `Interrupt' at /usr/lib/ruby/1.9.1/thread.rb:71 -
>> /usr/lib/ruby/1.9.1/thread.rb:71:in `sleep': Interrupt
>> from /usr/lib/ruby/1.9.1/thread.rb:71:in `wait'
>> from /usr/lib/one/ruby/ActionManager.rb:168:in `block in
>> start_listener'
>> from :10:in `synchronize'
>> from /usr/lib/one/ruby/ActionManager.rb:166:in `start_listener'
>> from /usr/lib/one/ruby/OpenNebulaDriver.rb:73:in `start_driver'
>> from /usr/lib/one/mads/one_im_sh.rb:85:in `'
>>
>> Regards,
>> Arun
>>
>>  --
>> *From:* Tino Vazquez [mailto:tin...@opennebula.org]
>> *Sent:* Wednesday, June 22, 2011 2:15 PM
>>
>> *To:* Arun Vadakepatenna Thekepat
>> *Cc:* users@lists.opennebula.org
>> *Subject:* Re: [one-users] Opennebula - Adding esx host
>>
>> Hi Arun,
>>
>>  Let's try the driver by hand. Type the following and hit return
>>
>> $ ruby -dw $ONE_LOCATION/lib/mads/one_im_sh.rb
>>
>> The program will expect a message from the standard input:
>>
>> MONITOR 0 10.209.34.135 -
>>
>> Please send the output from this.
>>
>> Regards,
>>
>> -Tino
>>
>> --
>> Constantino Vázquez Blanco, MSc
>> OpenNebula Major Contributor
>> www.OpenNebula.org | @tinova79
>>
>>
>> On Wed, Jun 22, 2011 at 6:19 AM, Arun Vadakepatenna Thekepat <
>> atheke...@sapient.com> wrote:
>>
>>> **
>>> Hi Tino,
>>>
>>> Please find the oned logs below:
>>>
>>> Tue Jun 21 20:09:04 2011 [ReM][D]: HostPoolInfo method invoked
>>> Tue Jun 21 20:09:04 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
>>> Tue Jun 21 20:09:14 2011 [InM][I]: Monitoring host 10.209.47.26 (0)
>>> Tue Jun 21 20:09:15 2011 [InM][D]: Host 0 successfully monitored.
>>> *Tue Jun 21 20:09:15 2011 [ONE][E]: syntax error, unexpected $end,
>>> expecting VARIABLE at line 2, columns 1:2
>>> *Tue Jun 21 20:09:15 2011 [InM][E]: Error parsing host information:
>>> Tue Jun 21 20:09:57 2011 [InM][I]: --Mark--
>>> Tue Jun 21 20:10:02 2011 [ReM][D]: HostPoolInfo method invoked
>>> Tue Jun 21 20:10:03 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
>>> Tue Jun 21 20:10:21 2011 [ReM][D]: VirtualNetworkPoolInfo method invoked
>>> Tue Jun 21 20:10:32 2011 [ReM][D]: HostPoolInfo method invoked
>>> Tue Jun 21 20:10:32 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
>>> Tue Jun 21 20:10:37 2011 [ReM][D]: ImagePoolInfo method invoked
>>> Tue Jun 21 20:10:53 2011 [InM][I]: Monitoring host 10.209.34.135 (1)
>>> Tue Jun 21 20:10:54 2011 [InM][D]: Host 1 successfully monitored.
>>> *Tue Jun 21 20:10:54 2011 [ONE][E]: syntax error, unexpected $end,
>>> expecting VARIABLE at line 2, columns 1:2
>>> *Tue Jun 21 20:10:54 2011 [InM][E]: Error parsing host information:
>>>
>>> I have checked many threads regarding this error on users lists, but not
>>> able to resolve it. Is it a mismatch in syntax for vmware addon 2.2?
>>>
>>> Regards,
>>> Arun
>>>
>>>  --
>>>  *From:* Tino Vazquez [mailto:tin...@opennebula.org]
>>> *Sent:* Tuesday, June 21, 2011 10:02 PM
>>>
>>> *To:* Arun Vadakepatenna Thekepat
>>> *Cc:* users@lists.opennebula.org
>>> *Subject:* Re: [one-users] Opennebula - Adding esx host
>>>
>>>   Hi,
>>>
>>> Could you send the contents of $ONE_LOCATION/var/oned.log?
>>>
>>> Regards,
>>>
>>> -Tino
>>>
>>> --
>>> Constantino Vázquez Blanco, MSc
>>> OpenNebula Major Contributor
>>> www.OpenNebula.org | @tinova79
>>>
>>>
>>> On Tue, Jun 21, 2011 at 6:18 PM, Arun Vadakepatenna Thekepat <
>>> atheke...@sapient.com> wrote:
>>>
 **
 Hi Tino,

 Thank you very much.

 I am able to add the host, but state is error.

 oneadmin@ubuntu10:~$ onehost list
   ID  NAME  CLUSTER  RVM   TCPU   FCPU   ACPUTMEM
 FMEM STAT
0 10.209.47.26  default0  0 0
 100 0K0K*err
 *   1 10.209.34.135 default   0  0 0
 100 0K0K   

[one-users] XML interface to open nebula

2011-06-27 Thread bharath pb
Hi,
I’m new to the cloud computing softwares , I have selected Open Nebula for
creation for virtual cloud for the sensor data .

My work is to create a virtual sensor cloud, so that end users can access
the sensor data etc .

I have a sensor network which gives the real-time data to the PC, at PC I
have a driver which I can receive the data and put in to XML format.

Now I’m facing lots of problem at the interface of this in to the open
nebula.

How to interface this xml to the open nebula..?
Do I really need to create a VMs because my cloud just has to provide (IaaS)
service to the end user queries   , quires may be “ one time sensor value” ,
“history values, for the last one week” etc  ..?
Can you provide a good doc to understand the opennebula Architecture ..?
rgds
Bharath
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] ebtables does not give anything

2011-06-27 Thread Jaime Melis
Hi Fanttazio,

Could you send us a few things in order to see what's going on?
- /srv/cloud/one/var/config (remove any passwords in that file)
- set ONE_MAD_DEBUG=1 in  /srv/cloud/one/etc/defaultrc, restart OpenNebula,
relaunch the vm and send us the error that will appear on oned.log
- the version: oned -v

Regards,
Jaime

On Fri, Jun 24, 2011 at 3:33 PM, fanttazio  wrote:

> Hi,
>
> I am trying to use ebtables hook but despite it gives no error on oned.log
> and it says that *execute success ebtables-start* for every VM that I
> create but in hosts when I execute ebtables -L the entries are empty. when I
> try to execute ebtables-kvm manually on hosts it gives me this error:
> *Comand 'dumxml' requires  option.*
> */srv/cloud/one/share/hooks/ebtables-kvm:75: undefined nethod 'elements'
> for nil:NilClass (NoMethodError)*
> *
> *
> anybody knows what's wrong with my setting?
>
> Regards,
> Fanttazio
>
> ___
> 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] Creating OpenNebula Image from Ubunut installed in VirtualBox

2011-06-27 Thread Jaime Melis
Hi,

you can convert from VirtualBox format to RAW which is compatible with KVM
and Xen. That's actually a good technique to create VMs, to do it inside
VirtualBox and to convert the image later to RAW.

Check this document:
https://support.opennebula.pro/entries/455869-image-contextualization

Regards,
Jaime

On Wed, Jun 15, 2011 at 5:31 PM, Sasa Vilic  wrote:

> **
> Hello,
>
> I have Ubuntu Server installed on my system (inside of VirtualBox).
>
> I was wondering if it is possible to use it by uploading this disk image to
> opennebula cloud and making opennebula image from it. I am not sure how to
> create a new image for OpenNebula and seems to me that this would be the
> easiest solution. And I would not have to install needed software once
> again, everything would be there.
>
> Any help is appreciated or documentation how to create OS image for
> OpenNebula
>
> *I know how to create a template, but not how to create OS Image.
> Can/should it be done with virt-install or ubuntu-vm-builder?*
>
>
>
>
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>


-- 
Jaime Melis, Cloud Technology Engineer/Researcher
Major Contributor
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] ebtables does not give anything

2011-06-27 Thread fanttazio
OK here are the things that you wanted.

oned.log:

##
Mon Jun 27 13:02:32 2011 [ONE][I]: Init OpenNebula Log system
Mon Jun 27 13:02:32 2011 [ONE][I]: Log Level: 3
[0=ERROR,1=WARNING,2=INFO,3=DEBUG]
Mon Jun 27 13:02:32 2011 [ONE][I]: 
Mon Jun 27 13:02:32 2011 [ONE][I]:  OpenNebula Configuration File
Mon Jun 27 13:02:32 2011 [ONE][I]: 
Mon Jun 27 13:02:32 2011 [ONE][I]:
--
DB=BACKEND=mysql,DB_NAME=opennebula,PASSWD=oneadmin,PORT=0,SERVER=localhost,USER=oneadmin
DEBUG_LEVEL=3
DEFAULT_DEVICE_PREFIX=hd
DEFAULT_IMAGE_TYPE=OS
HM_MAD=EXECUTABLE=one_hm
HOST_MONITORING_INTERVAL=600
IMAGE_REPOSITORY_PATH=/srv/cloud/one/var//images
IM_MAD=ARGUMENTS=-r 0 -t 15 kvm,EXECUTABLE=one_im_ssh,NAME=im_kvm
MAC_PREFIX=02:00
MANAGER_TIMER=15
NETWORK_SIZE=254
PORT=2633
SCRIPTS_REMOTE_DIR=/var/tmp/one
TM_MAD=ARGUMENTS=tm_nfs/tm_nfs.conf,EXECUTABLE=one_tm,NAME=tm_nfs
VM_DIR=/srv/cloud/one/var/
VM_HOOK=ARGUMENTS=$VMID,COMMAND=image.rb,NAME=image,ON=DONE
VM_HOOK=ARGUMENTS=one-$VMID,COMMAND=/srv/cloud/one/share/hooks/ebtables-kvm,NAME=ebtables-start,ON=running,REMOTE=yes
VM_HOOK=ARGUMENTS="",COMMAND=/srv/cloud/one/share/hooks/ebtables-flush,NAME=ebtables-flush,ON=done,REMOTE=yes
VM_MAD=ARGUMENTS=-t 15 -r 0
kvm,DEFAULT=vmm_ssh/vmm_ssh_kvm.conf,EXECUTABLE=one_vmm_ssh,NAME=vmm_kvm,TYPE=kvm
VM_POLLING_INTERVAL=600
VNC_BASE_PORT=5900
--
Mon Jun 27 13:02:32 2011 [ONE][I]: Bootstraping OpenNebula database.
Mon Jun 27 13:02:32 2011 [VMM][I]: Starting Virtual Machine Manager...
Mon Jun 27 13:02:32 2011 [LCM][I]: Starting Life-cycle Manager...
Mon Jun 27 13:02:32 2011 [VMM][I]: Virtual Machine Manager started.
Mon Jun 27 13:02:32 2011 [LCM][I]: Life-cycle Manager started.
Mon Jun 27 13:02:32 2011 [InM][I]: Starting Information Manager...
Mon Jun 27 13:02:32 2011 [InM][I]: Information Manager started.
Mon Jun 27 13:02:32 2011 [TrM][I]: Starting Transfer Manager...
Mon Jun 27 13:02:32 2011 [TrM][I]: Transfer Manager started.
Mon Jun 27 13:02:32 2011 [DiM][I]: Starting Dispatch Manager...
Mon Jun 27 13:02:32 2011 [DiM][I]: Dispatch Manager started.
Mon Jun 27 13:02:32 2011 [ReM][I]: Starting Request Manager...
Mon Jun 27 13:02:32 2011 [ReM][I]: Starting XML-RPC server, port 2633 ...
Mon Jun 27 13:02:32 2011 [ReM][I]: Request Manager started.
Mon Jun 27 13:02:32 2011 [HKM][I]: Starting Hook Manager...
Mon Jun 27 13:02:32 2011 [HKM][I]: Hook Manager started.
Mon Jun 27 13:02:34 2011 [VMM][I]: Loading Virtual Machine Manager drivers.
Mon Jun 27 13:02:34 2011 [VMM][I]: Loading driver: vmm_kvm (KVM)
Mon Jun 27 13:02:34 2011 [VMM][I]: Driver vmm_kvm loaded.
Mon Jun 27 13:02:34 2011 [InM][I]: Loading Information Manager drivers.
Mon Jun 27 13:02:34 2011 [InM][I]: Loading driver: im_kvm
Mon Jun 27 13:02:34 2011 [InM][I]: Driver im_kvm loaded
Mon Jun 27 13:02:34 2011 [TM][I]: Loading Transfer Manager drivers.
Mon Jun 27 13:02:34 2011 [VMM][I]: Loading driver: tm_nfs
Mon Jun 27 13:02:34 2011 [TM][I]: Driver tm_nfs loaded.
Mon Jun 27 13:02:34 2011 [HKM][I]: Loading Hook Manager driver.
Mon Jun 27 13:02:34 2011 [HKM][I]: Hook Manager loaded
Mon Jun 27 13:02:49 2011 [ReM][D]: HostPoolInfo method invoked
Mon Jun 27 13:02:49 2011 [ReM][D]: ClusterPoolInfo method invoked
Mon Jun 27 13:03:02 2011 [ReM][D]: HostPoolInfo method invoked
Mon Jun 27 13:03:02 2011 [VMM][I]: Monitoring VM 6.
Mon Jun 27 13:03:02 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
Mon Jun 27 13:03:02 2011 [VMM][D]: Message received: POLL SUCCESS 6 STATE=a
NETTX=300 USEDCPU=2.6 USEDMEMORY=262144 NETRX=2236446

Mon Jun 27 13:03:17 2011 [InM][I]: Monitoring host node02 (2)
Mon Jun 27 13:03:20 2011 [InM][D]: Host 2 successfully monitored.
Mon Jun 27 13:03:32 2011 [ReM][D]: HostPoolInfo method invoked
Mon Jun 27 13:03:32 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
Mon Jun 27 13:03:37 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
Mon Jun 27 13:04:01 2011 [ReM][D]: UserPoolInfo method invoked
Mon Jun 27 13:04:02 2011 [ReM][D]: HostPoolInfo method invoked
Mon Jun 27 13:04:02 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
Mon Jun 27 13:04:09 2011 [ReM][D]: VirtualNetworkPoolInfo method invoked
Mon Jun 27 13:04:17 2011 [ReM][D]: ImagePoolInfo method invoked
Mon Jun 27 13:04:32 2011 [ReM][D]: HostPoolInfo method invoked
Mon Jun 27 13:04:32 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
Mon Jun 27 13:04:33 2011 [ReM][D]: VirtualMachineInfo method invoked
Mon Jun 27 13:04:33 2011 [ReM][D]: VirtualMachineMigrate invoked
Mon Jun 27 13:04:33 2011 [DiM][D]: Live-migrating VM 2
Mon Jun 27 13:04:33 2011 [ReM][D]: VirtualMachineInfo method invoked
Mon Jun 27 13:04:37 2011 [ReM][D]: VirtualMachineInfo method invoked
Mon Jun 27 13:04:38 2011 [VMM][D]: Message received: MIGRATE SUCCESS 2

Mon Jun 27 13:04:38 2011 [ReM][D]: VirtualMachineInfo method invoked
Mon Jun 27 13:04:38 2011 [HKM][D]: Message received: E

Re: [one-users] [RFC] Writing a file repository system for images, kernels, context files, and more

2011-06-27 Thread Ruben S. Montero
Hi Viven,

You proposal is very timely indeed. We've previously discuss the need of
including (and somehow linking as an image) kernels and initrd files for Xen
deployments. Also, as  result of the security problem with context it is
clear that opennebula should check access control for context files.

Our initial designs are in line with your proposal, and basically includes:

1.- Reuse of the Image Repository (greatly improved in 3.0)
2.- Reuse of the ACL and user/group mechanism in 3.0
3.- Extend image attributes to refer file in the repository

About 1
KERNEL or CONTEXT files are defined as a new TYPE in the Image Repository.
The specific behavior of each new type could be easily tuned in the image
drivers

About 2
Specific permissions on files would be handled by the image repository, so
access control will benefit from all the new Auth system. You could share
kernels in a group of users for example, made them public...

About 3
The benefit of doing this in the OpenNebula core is that a VM will be reject
at creation if it tries to access a kernel or context file without
the appropriate permissions.

So basically we were thinking more in a coupled (in the OpenNebula daemon)
implementation.


Cheers

Ruben

On Fri, Jun 24, 2011 at 6:00 PM, Vivien Bernet-Rollande <
vivien.bernet-rolla...@nexen.alterway.fr> wrote:

> Hi everyone.
>
> I have recently deployed an installation of Open Nebula. Simple background
> : we're running Xen on Debian, with a custom TM driver that uses both NFS
> and iSCSI (sharing that TM driver is in our roadmap).
>
> I have encountered  a few shortcomings. Some I have simply accepted for
> now, others I have bypassed as I could. One of them has to do with file
> management.
>
> I'll consider several types of files :
>  - VM images.
>  - kernels/initrd images.
>  - contextualization files.
>
> Regarding VM images :
> If a non-privileged user wants to use his own images, he needs either :
>  - a shell on the master host, and put his images as world readable.
>  - to put his images on a public http/ftp server
> We found neither to be satisfying from the point of security.
>
> Regarding kernels/initrds there is no way fo a user to upload his kernels.
> Kernels must either be installed on all compute nodes, or on a shared file
> system.
>
> Regarding contextualization files, it's pretty much the same problem as
> with images.
>
> Basically, what I would like is the following :
>  - all files that may be used in a template by a non privileged users are
> owned by oneadmin
>  - all files that may be used in a template by a non privileged users are
> chmoded 600
>  - all files used in a template are referenced by a file ID.
> Allowing end-users to manipulate system paths is a security nightmare.
>
> Basically, what I want is :
>  - admins may manipulate images with a path
>  - users are only allowed to use file ids (e.g.
> KERNEL="kernel-linux3.0.grsec" or an arbitrary id)
>  - users may upload files through the API, possibly through sunstone
>
> I'm making the following proposition. This is not something I suggest
> should simply be added to the roadmap. This is something I (or someone else
> where I work) will be working on, and contribute back. Hence I'm looking for
> feedback on what the community thinks about it.
>
> There would be a new "file" API, with associated "onefile" command.
> "onefile create" would take a file parameter, and upload that file _through
> the API_.
> Oned would then save that file in a directory (/srv/cloud/files).
> Templates could then refer to those using their ids.
>
> Files may have key-value pairs associated with them, and onefile can
> manipulated these.
>
> There would be a "onefile update" command, which would allow a user to
> update a file, yet keep the same ID and key-value pairs.
>
> A file is read-only. A file is never written to by a VM, or oned, or
> anything.
>
> Admins may create a file with a "--local" flag. In that case, the path is
> sent to oned rather than the file, and oned copies the File. If the file is
> a symlink, the symlink is copied, rather than the file it links to.
>
> Anything parsing a template is updated to understand this idea of file id,
> and replace it the right value. If the template contains paths and was
> submitted by an untrusted user, a "permission denied" error is returned.
> This can be disabled or enabled to ensure compatibility in the oned.conf
> file.
>
> Contextualization may be done by selecting all files that have a certain
> value for a certain key (e.g. "role->mysql" or "vhost->www.example.com"),
> or by specifying the file's id, or it's path if
>
> An image may be created from a file. The image repository needs to know how
> to import a file.
>
> A file may be uploaded compressed. It would make sense to store it
> compressed as well (or at least as a sparse file).
>
> I welcome any remarks or questions on this idea.
>
> --
> Vivien Bernet-Rollande
> Systems&  Networking Engineer
> Alter Way Hosting
>
> __

Re: [one-users] Does OpenNebula work or replace VMware vCenter?

2011-06-27 Thread Tino Vazquez
Hi Derrick,

Support of vCenter is generic, integration of vCenter and OpenNebula is done
through the libvirt interface, so the functionality supported is pretty much
limited to the ESX functionality (that is deploy VMs and control its
lifecycle), but at the moment you cannot access specific licensed features
(although this is definitely in the roadmap, I cannot give a timeframe)

With OpenNebula 3.0 you will have the ability to flexibly manage different
hypervisors with an open source platform and with the ability to
perform multi-tenancy and to offer the cloud through cloud APIs, and you can
maybe rely on vCenter meanwhile to support the licensed features.

Regards,

-Tino

--
Constantino Vázquez Blanco, MSc
OpenNebula Major Contributor
www.OpenNebula.org | @tinova79
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] Running VMs = -1

2011-06-27 Thread Aleksandar Draganov

Hello everybody,

I am running ONe on 2 hosts both with Scientific Linux 6. Host 1 holds 
the front-end, but I also want to run VMs on it.
I added, restarted, deleted some number of VMs while playing with ONe 
and at some point I got this:


-bash-4.1$ onehost list
  ID NAME  CLUSTER  RVM   TCPU   FCPU   ACPUTMEM
FMEM STAT
   3 host1  default   -1400392500
7.6G  7G   on
   5 host2  default0400400400
7.6G7.3G   on


As a result from this I can not delete host1. Is there some way to force 
it?
I am using KVM. I was also playing a bit with virt-manager - could the 
problem be from this?


Cheers,
Sasho

--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.

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


Re: [one-users] Running VMs = -1

2011-06-27 Thread Steven Timm

What does oned.log say from the monitoring of host1?
And what does onevm list say about which VM's it thinks are running where?

Steve



On Mon, 27 Jun 2011, Aleksandar Draganov wrote:


Hello everybody,

I am running ONe on 2 hosts both with Scientific Linux 6. Host 1 holds the 
front-end, but I also want to run VMs on it.
I added, restarted, deleted some number of VMs while playing with ONe and at 
some point I got this:


-bash-4.1$ onehost list
 ID NAME  CLUSTER  RVM   TCPU   FCPU   ACPUTMEMFMEM STAT
  3 host1  default   -14003925007.6G  7G 
on
  5 host2  default04004004007.6G7.3G 
on


As a result from this I can not delete host1. Is there some way to force it?
I am using KVM. I was also playing a bit with virt-manager - could the 
problem be from this?


Cheers,
Sasho




--
--
Steven C. Timm, Ph.D  (630) 840-8525
t...@fnal.gov  http://home.fnal.gov/~timm/
Fermilab Computing Division, Scientific Computing Facilities,
Grid Facilities Department, FermiGrid Services Group, Group Leader.
Lead of FermiCloud project.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Running VMs = -1

2011-06-27 Thread Carlos Martín Sánchez
Hi,

This very same problem was discussed a few days ago [1], follow that thread
to force the host deletion.

Steven, the running VMs counter is not a monitoring value, it is managed by
the core. Each time a VM is deployed, shutdown or migrated the counter is
updated.

Could you please tell us what OpenNebula version (oned -v) are you using?
Do you remember what operations did you perform? If you keep the log, we'd
appreciate if you could send it to us, off-list if you are concerned about
privacy.


Regards,
Carlos.

[1]
http://lists.opennebula.org/pipermail/users-opennebula.org/2011-June/005636.html
--
Carlos Martín, MSc
Project Major Contributor
OpenNebula - The Open Source Toolkit for Cloud Computing
www.OpenNebula.org  | cmar...@opennebula.org


On Mon, Jun 27, 2011 at 6:04 PM, Steven Timm  wrote:

> What does oned.log say from the monitoring of host1?
> And what does onevm list say about which VM's it thinks are running where?
>
> Steve
>
>
>
>
> On Mon, 27 Jun 2011, Aleksandar Draganov wrote:
>
>  Hello everybody,
>>
>> I am running ONe on 2 hosts both with Scientific Linux 6. Host 1 holds the
>> front-end, but I also want to run VMs on it.
>> I added, restarted, deleted some number of VMs while playing with ONe and
>> at some point I got this:
>>
>> -bash-4.1$ onehost list
>>  ID NAME  CLUSTER  RVM   TCPU   FCPU   ACPUTMEMFMEM
>> STAT
>>  3 host1  default   -14003925007.6G
>>  7G on
>>  5 host2  default04004004007.6G
>>  7.3G on
>>
>> As a result from this I can not delete host1. Is there some way to force
>> it?
>> I am using KVM. I was also playing a bit with virt-manager - could the
>> problem be from this?
>>
>> Cheers,
>> Sasho
>>
>>
>>
> --
> --**--**--
> Steven C. Timm, Ph.D  (630) 840-8525
> t...@fnal.gov  http://home.fnal.gov/~timm/
> Fermilab Computing Division, Scientific Computing Facilities,
> Grid Facilities Department, FermiGrid Services Group, Group Leader.
> Lead of FermiCloud project.
>
> __**_
> 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] XML interface to open nebula

2011-06-27 Thread Héctor Sanjuán
Hi,

I don't fully understand what you are trying to set up.

Shorty said, OpenNebula will help you to deploy an infrastructure of
physical nodes which are able to run Virtual Machines on demand, using
certain hypervisors (kvm, xen...).

Im not sure what you mean by "virtual sensor cloud" nor why you want to
pass XML sensor data to OpenNebula. It sounds like you are trying to
offer a cloud-based software service (SaaS, end-users collecting info
from a cloud). OpenNebula works at a lower layer helping you manage
physical hosts and virtual machines, not the specific way a service
communicates with its clients.

There is documentation about the ONE architecture here:

http://opennebula.org/documentation:rel2.2:architecture

and a lot more about everything else on the website.

Perhaps I missed something and you can explain better,

Hector

El 27/06/11 12:17, bharath pb escribió:
> Hi,
> I’m new to the cloud computing softwares , I have selected Open Nebula
> for creation for virtual cloud for the sensor data .
> 
> My work is to create a virtual sensor cloud, so that end users can
> access the sensor data etc .
> 
> I have a sensor network which gives the real-time data to the PC, at PC
> I have a driver which I can receive the data and put in to XML format.
> 
> Now I’m facing lots of problem at the interface of this in to the open
> nebula.
> 
> How to interface this xml to the open nebula..?
> 
> Do I really need to create a VMs because my cloud just has to provide
> (IaaS) service to the end user queries   , quires may be “ one time
> sensor value” , “history values, for the last one week” etc  ..?
> Can you provide a good doc to understand the opennebula Architecture ..?
> rgds
> Bharath  
> 
> 
> 
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


-- 
Héctor Sanjuán
OpenNebula Sunstone Developer
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] About OpenNebula 3 and Open vSwitch (Network Isolation)

2011-06-27 Thread Jaime Melis
Hi Florin,

yes, it does. If you don't have an infrastructure that supports forwarding
VLAN traffic you may want to check out the ebtables hook.

Regards,
Jaime

On Fri, Jun 24, 2011 at 8:11 PM, Florin Antonescu  wrote:

> Hello,
>
> This might be a silly question, but does using Open vSwitch Network
> Isolation, require a network switch capable of forwarding VLAN tagged
> traffic as in the case of using host-managed VLANs ?
>
> Thank you
>
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>


-- 
Jaime Melis, Cloud Technology Engineer/Researcher
Major Contributor
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] Long Running Servers

2011-06-27 Thread Richard Palmer
Dear list,

To setup a long running server I assume I need to create a specific
template file for it something like this:

NAME = long-running-server-name

...

DISC = [ source = "/path/to/disk/image/for/this/server/only.img",
 save = "yes",
 
   ]
NIC = [ IP = "XXX.XXX.XXX.XXX" ] # Fixed IP for this server
...

to ensure it keeps its state between restarts. Is anything else
needed ?.

regards,

Richard

-- 
Richard Palmer  | Centre for E-Research
|  King's College London
richard.d.pal...@kcl.ac.uk  | 
Tel: 0207 848 1973  |
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Running VMs = -1

2011-06-27 Thread Aleksandar Draganov

Hi Steve, hi Carlos,

VMs stay in pending mode, so not allocation(this is propably another 
problem) takes place:

-bash-4.1$ onevm list
   ID USER NAME STAT CPU MEMHOSTNAMETIME
   25 oneadmin   one-25 pend   0  0K 00 00:47:58
   26 oneadmin   one-26 pend   0  0K 00 00:28:17
   27 oneadmin   one-27 pend   0  0K 00 00:01:14

There's nothing interesting in oned.log - only several methods 
invocations and successfull monitoring of the host1...


I should probably share that I have mounted /srv/cloud/images and 
/srv/cloud0/one/var with folders on other drive(I needed more space) 
which at least for the front-end(host1) worked yesterday.


The version of ONe I am using is 2.2. Unfortunately I can't reproduce 
all the operations I have performed, but I only delete/restart/shutdown 
VMs and enable/disable hosts with the sunstone GUI and I only submit VMs 
through the command line if it makes any difference. If you need some 
specific log file I can send it to you. I also reinstalled libvirt at 
some point today.


Cheers,
Sasho


On 27/06/2011 17:04, Steven Timm wrote:

What does oned.log say from the monitoring of host1?
And what does onevm list say about which VM's it thinks are running 
where?


Steve



On Mon, 27 Jun 2011, Aleksandar Draganov wrote:


Hello everybody,

I am running ONe on 2 hosts both with Scientific Linux 6. Host 1 
holds the front-end, but I also want to run VMs on it.
I added, restarted, deleted some number of VMs while playing with ONe 
and at some point I got this:


-bash-4.1$ onehost list
 ID NAME  CLUSTER  RVM   TCPU   FCPU   ACPUTMEM
FMEM STAT
  3 host1  default   -1400392500
7.6G  7G on
  5 host2  default0400400400
7.6G7.3G on


As a result from this I can not delete host1. Is there some way to 
force it?
I am using KVM. I was also playing a bit with virt-manager - could 
the problem be from this?


Cheers,
Sasho







--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.

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


[one-users] Hypervisors supported by Open Nebula 2.2

2011-06-27 Thread Alejandro Santoyo González
Hello users:

I need to know if Open Nebula 2.2 supports one of this hypervisors: Virtual 
Box, Virtual Server, VMware Player. I will give a lot of thanks for the 
help.

Alejandro

Participe en Universidad 2012, del 13 al 17 de febrero de 2012.
Habana, Cuba: http://www.congresouniversidad.cu
Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu

Participe en el Segundo Congreso Medio Ambiente Construido y 
Desarrollo Sustentable (MACDES 2011) del 6 al 9 de diciembre de 2011, 
Hotel Nacional, Habana, Cuba: http://macdes.cujae.edu.cu
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] Hypervisors supported by Open Nebula 2.2

2011-06-27 Thread Alejandro Santoyo González
Hello:

Please, I need someone to tell me if Open Nebula 2.2 supports one of this 
hypervisors: Virtual Box, Virtual Server, VMware Player. I'll thanks any 
help

Alejandro

Participe en Universidad 2012, del 13 al 17 de febrero de 2012.
Habana, Cuba: http://www.congresouniversidad.cu
Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu

Participe en el Segundo Congreso Medio Ambiente Construido y 
Desarrollo Sustentable (MACDES 2011) del 6 al 9 de diciembre de 2011, 
Hotel Nacional, Habana, Cuba: http://macdes.cujae.edu.cu
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] VM stuck in "migration" state - migration never issued (Xen)

2011-06-27 Thread Thomas Knauth
Hello list,

I am experiencing very long delays (>15min) between issuing $ onevm
livemigrate ... and the actual migration taking place. Which parts of
ONE are taking part in the decision when to migrate?

The log file of the VM says

Mon Jun 27 17:33:57 2011 [LCM][I]: New VM state is MIGRATE

but nothing happens. Migrations do work in general. Sometimes. When it
does not work, the
command "xm -l ..." (using Xen) is never executed on the host the VM
is running on (as can be confirmed by looking into /var/log/auth.log).

Which parts of ONE are involved when I issue the "onevm livemigrate"
command from the console? Where can I get more debug info to
troubleshoot the problem?

Thanks in advance,
Thomas.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org