Re: [one-users] How to exit SHUTDOWN_POWEROFF?

2013-10-16 Thread Ruben S. Montero
Hi

This is probably because OpenNebula is waiting for a result of the shutdown
operation. The driver has not answered back, and the VM is stuck in that
state.

About the fix, I am afraid that 3.8.3 requires modifying the DB and set the
state manually. This has to be done in the XML document describing the VM.
Since OpenNebula 4.0, oned offers you a onevm recover API call to fix these
kind of issues.

Cheers

Ruben


On Wed, Oct 16, 2013 at 2:19 PM, Ricardo Duarte  wrote:

> Hi there,
>
> I'm not able to exit SHUTDOWN_POWEROFF by running the RESTART action.
> The error is:
>
>[VirtualMachineAction] Wrong state to perform action
>
> Any idea what can be the problem and how to fix?
>
> Version is 3.8.3.
>
> Thanks,
> Ricardo
>
> ___
> 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 - Flexible Enterprise Cloud Made Simple
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] Some questions about overcommitment in OpenNebula 4.2 using KVM

2013-10-16 Thread Ruben S. Montero
>  libvirt uses cgroups, so yes, it does.
>>
> cgroups do not seem to be enabled with kvm. Am I correct in assuming this?


Yes it is configured by default. You have to enable it in the hypervisors,
though


http://opennebula.org/documentation:rel4.2:kvmg#working_with_cgroups_optional


>
>
>>
>>>
> Hi,
>
> This didn't work for me. I'm running 4.2. The scheduler has a capacity
> test (see below). Any idea where the code for "get_requirements" lives?
>
>
Note that you have to do onehost sync to propagate the changes (or copy
manually the new probes). And then wait for the hosts to be monitored. This
approach should work without modifying the scheduler.

-- 
-- 
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - Flexible Enterprise Cloud Made Simple
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] Network addressing and IP recognition in ONE

2013-10-16 Thread Andreas Calvo Gómez
Jaime,

Thanks, I’ll try to have some script that reads from one end and feeds the
other end.

 

However, do you foresee useful to have some kind of daemon inside the VM
that will update the IP address shown in ONE?

For instance, a VM is configured with a context that has the IP and port of
a REST service on ONE.

Once the ONE daemon inside the VM has started and it gets a valid IP
address, it pushes that information to ONE, so the IP address shown in the
WEBUI is valid.

I assume there will be some other dependencies – VMID, for instance – but it
could be a nice feature to deploy VMs in a mixing environment, or to have a
centralized network server.

 

It may not work with all network drivers, as it stills requires to have a
virtual network assigned with VLAN tagging – not having a virtual network or
some tagging at layer 2 would mean defining manually the MAC-IP pairs.

 

Thanks!

 

---

Andreas Calvo Gómez

Systems Engineer

Scytl Secure Electronic Voting

Plaça Gal·la Placidia, 1-3, 1st floor · 08006 Barcelona

Phone: + 34 934 230 324

Fax:   + 34 933 251 028

  http://www.scytl.com

 

NOTICE: The information in this e-mail and in any of its attachments is

confidential and intended solely for the attention and use of the named

addressee(s). If you are not the intended recipient, any disclosure,

copying,

distribution or retaining of this message or any part of it, without the

prior

written consent of Scytl Secure Electronic Voting, SA is prohibited and

may be

unlawful. If you have received this in error, please contact the sender

and

delete the material from any computer.

 

From: Jaime Melis [mailto:jme...@opennebula.org] 
Sent: miércoles, 16 de octubre de 2013 16:55
To: Andreas Calvo Gómez
Cc: users
Subject: Re: [one-users] Network addressing and IP recognition in ONE

 

Hi Andreas,

 

no, that's not currently supported by OpenNebula.

 

You can use however user-defined fields to store any information. If you do
"onevm update " you can add any key=value. If you have a third-party
tool that reads from the template that user-defined field, you can simulate
this feature.

 

cheers

 

On Thu, Oct 3, 2013 at 1:02 PM, Andreas Calvo Gómez
 wrote:

Hello all,
Network addressing under ONE (with any of the drivers) seems target to
isolated/dedicated networks, where one can assume all IP address can be
guessed by the MAC.
However, when mixing a working network segment with ONE, you have to
sacrifice something to get it working.
Currently, there are 3 options:
- Virtual Router
- Virtual Network with fixed range
- Virtual Network without range

None of the mentioned options will fit with an external network services
server (DHCP, DNS) and let ONE know the right address of a VM.

Would it be possible to, given a VM and all context parameters, push the IP
information into ONE?
In a more practical approach: during the startup of the OS, get a valid IP
address, and during the context script, push that information to ONE.
Seems a little bit more dynamic, since nothing is hardcoded either in
Virtual Networks or in the network service (DHCP), plus it gives the ability
to control from outside and integrated with other services.

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





 

-- 

Jaime Melis
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
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] Network addressing and IP recognition in ONE

2013-10-16 Thread Andreas Calvo Gómez
Dmtri,
It helps but still keeps the same behaviour: you have to define beforehand
the relation between MACs and IPs – either in ONE or in your DHCP server.

 

---

Andreas Calvo Gómez

Systems Engineer

Scytl Secure Electronic Voting

Plaça Gal·la Placidia, 1-3, 1st floor · 08006 Barcelona

Phone: + 34 934 230 324

Fax:   + 34 933 251 028

  http://www.scytl.com

 

NOTICE: The information in this e-mail and in any of its attachments is

confidential and intended solely for the attention and use of the named

addressee(s). If you are not the intended recipient, any disclosure,

copying,

distribution or retaining of this message or any part of it, without the

prior

written consent of Scytl Secure Electronic Voting, SA is prohibited and

may be

unlawful. If you have received this in error, please contact the sender

and

delete the material from any computer.

 

From: Dmitri Chebotarov [mailto:dcheb...@gmu.edu] 
Sent: miércoles, 16 de octubre de 2013 21:51
To: Jaime Melis; Andreas Calvo Gómez
Cc: users
Subject: RE: [one-users] Network addressing and IP recognition in ONE

 

Hi Andreas,  

 

I don't know if this helps - when you create a VM you can request specific
IP address for the VM from the VNET, i.e.:

 

NIC = [ NETWORK_ID = 1, IP = 192.168.0.3 ]

Thanks,

 

  _  

From: users-boun...@lists.opennebula.org
 on behalf of Jaime Melis

Sent: Wednesday, October 16, 2013 10:54 AM
To: Andreas Calvo Gómez
Cc: users
Subject: Re: [one-users] Network addressing and IP recognition in ONE 

 

Hi Andreas, 

 

no, that's not currently supported by OpenNebula.

 

You can use however user-defined fields to store any information. If you do
"onevm update " you can add any key=value. If you have a third-party
tool that reads from the template that user-defined field, you can simulate
this feature.

 

cheers

 

On Thu, Oct 3, 2013 at 1:02 PM, Andreas Calvo Gómez
 wrote:

Hello all,
Network addressing under ONE (with any of the drivers) seems target to
isolated/dedicated networks, where one can assume all IP address can be
guessed by the MAC.
However, when mixing a working network segment with ONE, you have to
sacrifice something to get it working.
Currently, there are 3 options:
- Virtual Router
- Virtual Network with fixed range
- Virtual Network without range

None of the mentioned options will fit with an external network services
server (DHCP, DNS) and let ONE know the right address of a VM.

Would it be possible to, given a VM and all context parameters, push the IP
information into ONE?
In a more practical approach: during the startup of the OS, get a valid IP
address, and during the context script, push that information to ONE.
Seems a little bit more dynamic, since nothing is hardcoded either in
Virtual Networks or in the network service (DHCP), plus it gives the ability
to control from outside and integrated with other services.

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





 

-- 

Jaime Melis
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
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] Network addressing and IP recognition in ONE

2013-10-16 Thread Dmitri Chebotarov
Hi Andreas,

I don't know if this helps - when you create a VM you can request specific IP 
address for the VM from the VNET, i.e.:


NIC = [ NETWORK_ID = 1, IP = 192.168.0.3 ]

Thanks,


From: users-boun...@lists.opennebula.org  
on behalf of Jaime Melis 
Sent: Wednesday, October 16, 2013 10:54 AM
To: Andreas Calvo Gómez
Cc: users
Subject: Re: [one-users] Network addressing and IP recognition in ONE

Hi Andreas,

no, that's not currently supported by OpenNebula.

You can use however user-defined fields to store any information. If you do 
"onevm update " you can add any key=value. If you have a third-party tool 
that reads from the template that user-defined field, you can simulate this 
feature.

cheers


On Thu, Oct 3, 2013 at 1:02 PM, Andreas Calvo Gómez 
mailto:andreas.ca...@scytl.com>> wrote:
Hello all,
Network addressing under ONE (with any of the drivers) seems target to 
isolated/dedicated networks, where one can assume all IP address can be guessed 
by the MAC.
However, when mixing a working network segment with ONE, you have to sacrifice 
something to get it working.
Currently, there are 3 options:
- Virtual Router
- Virtual Network with fixed range
- Virtual Network without range

None of the mentioned options will fit with an external network services server 
(DHCP, DNS) and let ONE know the right address of a VM.

Would it be possible to, given a VM and all context parameters, push the IP 
information into ONE?
In a more practical approach: during the startup of the OS, get a valid IP 
address, and during the context script, push that information to ONE.
Seems a little bit more dynamic, since nothing is hardcoded either in Virtual 
Networks or in the network service (DHCP), plus it gives the ability to control 
from outside and integrated with other services.

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



--
Jaime Melis
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
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] Some questions about overcommitment in OpenNebula 4.2 using KVM

2013-10-16 Thread Michał Madziar
On 2013-10-16 21:00, Gerry O'Brien wrote:
> On 16/10/2013 17:19, Michał Madziar wrote:
>> On 2013-10-16 14:42, Gerry O'Brien wrote:
>>> Hi,
>>>
>>>  Do you know if the CPU parameter has any effect on the amount of
>>> real cpu used, e.g. if I set the CPU parameter to 0.1 will this limit
>>> the actual cpu usage?
>> libvirt uses cgroups, so yes, it does.
> cgroups do not seem to be enabled with kvm. Am I correct in assuming
> this?
Check if /sys/fs/cgroup/cpu/libvirt/qemu/ exists and it's contents, if
cgroups are used cpu quotas can be checked with:
find /sys/fs/cgroup/cpu/libvirt/qemu/ -name cpu.shares -exec echo '{}'
\; -exec cat '{}' \;

>>
>>>  Also, can the monitor driver be  configured to report multiples of
>>> memory and allow memory overcommitment in the same way?
>> Just assign whatever you want to $total_memory in kvm.rb, but keep in
>> mind that if ballooned/deduplicated pages will start to differ either
>> swap will be used (which will probably kill the host) or oomkiller will
>> kick in.
>>
>> Example:
>> $total_cpu = 2000
>> $free_cpu = $total_cpu - $used_cpu
>> $total_memory = $total_memory.to_i+$free_memory.to_i
>> $free_memory = $total_memory - $used_memory.to_i
>> print_info("HYPERVISOR","kvm")
>> #...
>>
>> Dashboard charts will look strange but it seems to work.
>
>
> Hi,
>
> This didn't work for me. I'm running 4.2. The scheduler has a capacity
> test (see below). Any idea where the code for "get_requirements" lives?
I didn't touch the scheduler, just patched the reporting script.
On my system it exists in ~oneadmin/remotes/im/kvm.d/kvm.rb and is
copied by ON (idr when exactly - restart?)  to /var/tmp/one/im/kvm.d/ on
every host in cluster.
I just added above lines near the end of script - before printing,
copied it manually and about minute later changes were visible in chart.

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


Re: [one-users] Some questions about overcommitment in OpenNebula 4.2 using KVM

2013-10-16 Thread Gerry O'Brien

On 16/10/2013 17:19, Michał Madziar wrote:

On 2013-10-16 14:42, Gerry O'Brien wrote:

Hi,

 Do you know if the CPU parameter has any effect on the amount of
real cpu used, e.g. if I set the CPU parameter to 0.1 will this limit
the actual cpu usage?

libvirt uses cgroups, so yes, it does.

cgroups do not seem to be enabled with kvm. Am I correct in assuming this?



 Also, can the monitor driver be  configured to report multiples of
memory and allow memory overcommitment in the same way?

Just assign whatever you want to $total_memory in kvm.rb, but keep in
mind that if ballooned/deduplicated pages will start to differ either
swap will be used (which will probably kill the host) or oomkiller will
kick in.

Example:
$total_cpu = 2000
$free_cpu = $total_cpu - $used_cpu
$total_memory = $total_memory.to_i+$free_memory.to_i
$free_memory = $total_memory - $used_memory.to_i
print_info("HYPERVISOR","kvm")
#...

Dashboard charts will look strange but it seems to work.



Hi,

This didn't work for me. I'm running 4.2. The scheduler has a capacity 
test (see below). Any idea where the code for "get_requirements" lives?




// -
// Check host capacity
// -

vm->get_requirements(vm_cpu,vm_memory,vm_disk);

if (host->test_capacity(vm_cpu,vm_memory,vm_disk) == true)
{
vm->add_host(host->get_hid());

n_hosts++;
}
else
{
ostringstream oss;

oss << "VM " << oid << ": Host " << host->get_hid()
<< " filtered out. Not enough capacity.";

NebulaLog::log("SCHED",Log::DEBUG,oss);
}







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



--
Gerry O'Brien

Systems Manager
School of Computer Science and Statistics
Trinity College Dublin
Dublin 2
IRELAND

00 353 1 896 1341

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


Re: [one-users] Some questions about overcommitment in OpenNebula 4.2 using KVM

2013-10-16 Thread Michał Madziar
On 2013-10-16 14:42, Gerry O'Brien wrote:
> Hi,
>
> Do you know if the CPU parameter has any effect on the amount of
> real cpu used, e.g. if I set the CPU parameter to 0.1 will this limit
> the actual cpu usage?

libvirt uses cgroups, so yes, it does.

>
> Also, can the monitor driver be  configured to report multiples of
> memory and allow memory overcommitment in the same way?

Just assign whatever you want to $total_memory in kvm.rb, but keep in
mind that if ballooned/deduplicated pages will start to differ either
swap will be used (which will probably kill the host) or oomkiller will
kick in.

Example:
$total_cpu = 2000
$free_cpu = $total_cpu - $used_cpu
$total_memory = $total_memory.to_i+$free_memory.to_i
$free_memory = $total_memory - $used_memory.to_i
print_info("HYPERVISOR","kvm")
#...

Dashboard charts will look strange but it seems to work.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] vnc via proxy web server

2013-10-16 Thread Michał Madziar
On 2013-10-16 15:47, Wojciech Giel wrote:
> Hello,
Hi!
> I'm trying to configure opennebula 4.2 sunstone with lighttpd as a
> proxy on the same server on Centos 6.4. web proxy works fine
> unfortunately vnc doesn't.
Use firefox's developer console to see what the problem is. It could be:
- web socket not available outside (use proxy that supports websockets
or make helper app listen on outside interface)
- sunstone running in https connection and trying to load non-secure web
socket (change wss = only in config)
- self signed certificate (add CA to browser or paste link from console
in browser (with port like 29876) and accept certificate also there)
or a combination.

>
> I have firewalls down on hypervisors and management server, qemu is
> configured with vnc. I can connect directly to guest on hypervisors
> with virt-manager or vncviewer and vnc is working. without proxy vnc
> is working as well but with web proxy it doesn't.
You need to forward web sockets or reconfigure (I think I've seen such
option somewhere) noVNC to emulate WebSockets in http requests or just
allow websocketproxy.py to listen on outside interface. I've chosen the
last option.

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


Re: [one-users] @connecting vlan to host bridge

2013-10-16 Thread Jaime Melis
Hi Anagha,

if you're not familiarized with openvswitch I recommend you use linux vlan
tagging:
http://opennebula.org/documentation:rel4.2:hm-vlan

If you start a VM with two interfaces, each one in a differente vnet, then
you will have connectivity between the two networks. You will probably need
to define routes properly though.

Another thing that is worth mentioning is that in OpenNebula we don't
recommend the use of the libvirt network.

cheers,
Jaime


On Wed, Oct 9, 2013 at 7:53 AM, anagha b  wrote:

> Hi All
>
> I want to communication between vms of one vlan and vms of another vlan.
>
> According to docs available
> http://opennebula.org/documentation:archives:rel3.8:openvswitch
> I can use openvswitch to connect the vlan physical interface with the
> libvirt bridge on host.
>
> following links which provide documentation  for making this setup are not
> working plz provide the links.
>
> 1] openvswitch documentation:
>
>
> http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=blob_plain;f=INSTALL.Linux;hb=HEAD
>
> 2]openvswich comaptibility layer for linux bridging
>
>
> http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=blob_plain;f=INSTALL.bridge;hb=HEAD
>
>
> Thanks .
>
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>


-- 
Jaime Melis
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
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] Network addressing and IP recognition in ONE

2013-10-16 Thread Jaime Melis
Hi Andreas,

no, that's not currently supported by OpenNebula.

You can use however user-defined fields to store any information. If you do
"onevm update " you can add any key=value. If you have a third-party
tool that reads from the template that user-defined field, you can simulate
this feature.

cheers


On Thu, Oct 3, 2013 at 1:02 PM, Andreas Calvo Gómez  wrote:

> Hello all,
> Network addressing under ONE (with any of the drivers) seems target to
> isolated/dedicated networks, where one can assume all IP address can be
> guessed by the MAC.
> However, when mixing a working network segment with ONE, you have to
> sacrifice something to get it working.
> Currently, there are 3 options:
> - Virtual Router
> - Virtual Network with fixed range
> - Virtual Network without range
>
> None of the mentioned options will fit with an external network services
> server (DHCP, DNS) and let ONE know the right address of a VM.
>
> Would it be possible to, given a VM and all context parameters, push the
> IP information into ONE?
> In a more practical approach: during the startup of the OS, get a valid IP
> address, and during the context script, push that information to ONE.
> Seems a little bit more dynamic, since nothing is hardcoded either in
> Virtual Networks or in the network service (DHCP), plus it gives the
> ability to control from outside and integrated with other services.
>
> Thanks!!
> __**_
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**org
>



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


[one-users] minimum version requirement for ruby gems on oned/sunstone

2013-10-16 Thread Stefan Kooman
Hi,

I'm wondering what are the minimum (and maximum supported?) version
requirements for ruby packages on oned/sunstone. I would like to install
(ubuntu) packages instead of  doing a "gem install". It would make
package mangement easier for me. Currently I've installed the following
gems on a sunstone/oned/host test setup:

# gem list

*** LOCAL GEMS ***

amazon-ec2 (0.9.17)
curb (0.8.4)
daemons (1.1.9)
eventmachine (1.0.3)
json (1.8.0)
mysql (2.9.1)
net-ldap (0.3.1)
nokogiri (1.5.9)
rack (1.5.2)
rack-protection (1.5.0)
sequel (4.1.1, 3.47.0)
sinatra (1.4.3, 1.4.2)
sqlite3 (1.3.7)
thin (1.5.1)
tilt (1.4.1)
uuidtools (2.1.4)
xml-simple (1.1.2)

Thanks,

Stefan


-- 
| BIT BV  http://www.bit.nl/Kamer van Koophandel 09090351
| GPG: 0xD14839C6   +31 318 648 688 / i...@bit.nl


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


Re: [one-users] Error: Failed to create domain from

2013-10-16 Thread Carlos Martín Sánchez
Hi,

First make sure the required configuration [1] is in place.
Then take a look at the libvirt log files, they may contain more
information: /var/log/libvirt/libvirtd.log and
/var/log/libvirt/qemu/one-.log

Regards

[1] http://opennebula.org/documentation:rel4.2:kvmg#configuration

--
Carlos Martín, MSc
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | cmar...@opennebula.org |
@OpenNebula


On Tue, Oct 15, 2013 at 7:58 PM, Marius Corici  wrote:

>  Hi everybody,
>
> I'm new here and you're my "The Last Stand" solution. What's the story:
>
> When I try to create a VM from my app, I receive this error:
>
>
> Tue Oct 15 16:00:22 2013 [DiM][I]: New VM state is ACTIVE.
> Tue Oct 15 16:00:22 2013 [LCM][I]: New VM state is PROLOG.
> Tue Oct 15 16:00:25 2013 [LCM][I]: New VM state is BOOT
> Tue Oct 15 16:00:25 2013 [VMM][I]: Generating deployment file:
> /var/lib/one/vms/169/deployment.0
> Tue Oct 15 16:00:25 2013 [VMM][I]: ExitCode: 0
> Tue Oct 15 16:00:25 2013 [VMM][I]: Successfully execute network driver
> operation: pre.
> Tue Oct 15 16:00:38 2013 [VMM][I]: Command execution fail: cat << EOT |
> /var/tmp/one/vmm/kvm/deploy '/var/lib/one//datastores/0/169/deployment.0' '
> domain.com' 169 domain.com
> Tue Oct 15 16:00:38 2013 [VMM][I]: error: Failed to create domain from
> /var/lib/one//datastores/0/169/deployment.0
> Tue Oct 15 16:00:38 2013 [VMM][I]: error: Unable to read from monitor:
> Connection reset by peer
> Tue Oct 15 16:00:38 2013 [VMM][E]: Could not create domain from
> /var/lib/one//datastores/0/169/deployment.0
> Tue Oct 15 16:00:38 2013 [VMM][I]: ExitCode: 255
> Tue Oct 15 16:00:38 2013 [VMM][I]: Failed to execute virtualization driver
> operation: deploy.
> Tue Oct 15 16:00:38 2013 [VMM][E]: Error deploying virtual machine: Could
> not create domain from /var/lib/one//datastores/0/169/deployment.0
> Tue Oct 15 16:00:41 2013 [DiM][I]: New VM state is FAILED
>
>  I have OpenNebula 4.2 on Debian, and I don't know where else to look for
> an answer.
>
> Thank you
>
> Marius
>
> ___
> 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] vnc via proxy web server

2013-10-16 Thread Wojciech Giel

Hello,
I'm trying to configure opennebula 4.2 sunstone with lighttpd as a proxy 
on the same server on Centos 6.4. web proxy works fine unfortunately vnc 
doesn't.


I have firewalls down on hypervisors and management server, qemu is 
configured with vnc. I can connect directly to guest on hypervisors with 
virt-manager or vncviewer and vnc is working. without proxy vnc is 
working as well but with web proxy it doesn't.


What should I do to get it working?
thanks
Wojciech



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


Re: [one-users] Some questions about overcommitment in OpenNebula 4.2 using KVM

2013-10-16 Thread Gerry O'Brien

Hi,

Do you know if the CPU parameter has any effect on the amount of 
real cpu used, e.g. if I set the CPU parameter to 0.1 will this limit 
the actual cpu usage?


Also, can the monitor driver be  configured to report multiples of 
memory and allow memory overcommitment in the same way?


Gerry

On 15/10/2013 19:28, Shankhadeep Shome wrote:

I just configure the monitor driver to report 2x the cpu than it normally
does. Basically when the monitor picks up the amount of cpu, lets say 1600
for a 16 core cpu, I configure the monitor to report 3200 or some other
multiplier. I find scheduling with cgroups a bit hairy, I do use cpusets to
jail vms to specific numa nodes and avoid cross memory domain traffic but
that's about it.


On Fri, Oct 11, 2013 at 10:20 AM, Gerry O'Brien  wrote:


Hi,

 Is overcommitment in OpenNebula 4.2 using KVM possible? If so, how is
it done?

 Am I correct in believing that by default cgroups are not enabled and
that the only use of the CPU parameter is to guide the scheduler? If
cgroups are not enabled and the CPU paramter is set very low, say 0.1, for
a VM then can the cpu share actually used by the VM can be much larger than
0.1?

 What is the correct interpretation of the "used CPU" value on the
Sunstone Virtual Machines view?

 Can balloon drivers be used with KVM in OpenNebula? If so, is there
any way around the fact that the MEMORY parameter seems to stop the
allocation of VMs to a host once the total sum of all MEMORY parameters
exceeds the physical memory available on the host?

 Is there any good reason why the scheduler only uses 90% of available
memory by default?

 I've tried searching the documentation and threads but cannot find any
answers to these questions so any help would be much appreciated.

 Regards,
 Gerry

--
Gerry O'Brien

Systems Manager
School of Computer Science and Statistics
Trinity College Dublin
Dublin 2
IRELAND

00 353 1 896 1341

__**_
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**org




--
Gerry O'Brien

Systems Manager
School of Computer Science and Statistics
Trinity College Dublin
Dublin 2
IRELAND

00 353 1 896 1341

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


[one-users] How to exit SHUTDOWN_POWEROFF?

2013-10-16 Thread Ricardo Duarte
Hi there,

I'm not able to exit  SHUTDOWN_POWEROFF by running the RESTART 
action.
The error is:

   [VirtualMachineAction] Wrong state to perform action

Any idea what can be the problem and how to fix?

Version is 3.8.3.

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


Re: [one-users] OpenNebula4.2+Centos6.4

2013-10-16 Thread Anoop Mohan
Dependency fixed by creating EPEL repo

wget
http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm

Thanks


On Wed, Oct 16, 2013 at 3:29 PM, Anoop Mohan  wrote:

> I'm trying Opennebula 4.2 on centos 6.4 frond end and worker on same host
>
> Getting Dependency Error while Installation
>
> http://pastebin.com/UQBQYKC3
>
> --
> Thanks & Regards,
> Anoop Mohan
>



-- 
Thanks & Regards,
Anoop Mohan
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] OpenNebula4.2+Centos6.4

2013-10-16 Thread Anoop Mohan
I'm trying Opennebula 4.2 on centos 6.4 frond end and worker on same host

Getting Dependency Error while Installation

http://pastebin.com/UQBQYKC3

-- 
Thanks & Regards,
Anoop Mohan
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] [Discuss] Fwd: Lecture about OpenNebula

2013-10-16 Thread Daniel Dehennin
Daniel Dehennin  writes:


[...]

> All the slides are on slideshare and I can't download them[1], I created
> an account, and click the “save” button:
>
> - it's cumbersome: validating each “save” with an email
>
> - it does not permit to download them, it just add a bookmark in my
>   profile

Sorry for the noises, blocking addons prevent the download by blocking
some amazone S3 url ;-)

Regards.

-- 
Daniel Dehennin
Récupérer ma clef GPG:
gpg --keyserver pgp.mit.edu --recv-keys 0x7A6FE2DF
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] @noVNc problem

2013-10-16 Thread Daniel Molina
Hi,


On 16 October 2013 09:18, anagha b  wrote:

> Hi
>
> I am using opennbula-3.8.3 with kvm on ubuntu-12.04 lts
>
> My vm is in running state but vnc not showing vm on host .
> vnc icon is active but when i click on it error disconncet timeout appears.
>
> Is it due to iptables ?
>
> I allowed traffic Input on port ssh and tcp port .
>
> for novnc what iptable rules to be defined?
>

novnc listens on port 29876, so you have to open this port in the machine
where novnc (sunstone) is running

Cheers


> Thanks .
>
> ___
> 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] [Discuss] Fwd: Lecture about OpenNebula

2013-10-16 Thread Daniel Dehennin
Carlo Daffara  writes:

> I address some of the points on openstack/cloudstack/eucalyptus vs
> opennebula in my presentation at the latest conference; (video here:
> http://www.youtube.com/watch?feature=player_embedded&v=3C1heF0vwhc )
> basically, it's a problem of what cloud architecture is a better fit
> for your needs, the amount of tinkering necessary to have a working
> product, and the much smaller codebase of OpenNebula that however
> provides most of the features of the competing platforms.
>
> Of course, this is my personal view.

Thanks a lot, I really liked it, it's a very interesting presentation.

Now I have another problem, I would like to share it, with the others.

I will give the link in my slides but during our seminary we will setup a 
piratebox:

- because there is a presentation about it

- it permit to share our slides directly and differently

We would like to put OpenNebulaConf 2013 on it, to let people retreive
them.

All the slides are on slideshare and I can't download them[1], I created
an account, and click the “save” button:

- it's cumbersome: validating each “save” with an email

- it does not permit to download them, it just add a bookmark in my
  profile

Is it possible to download PDF of the slides to share them during our
seminary?

Regards.

Footnotes: 
[1]  The youtube videos are OK, thanks to VideoDownloadHelper ;-)

-- 
Daniel Dehennin
Récupérer ma clef GPG:
gpg --keyserver pgp.mit.edu --recv-keys 0x7A6FE2DF
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] @noVNc problem

2013-10-16 Thread anagha b
Hi

I am using opennbula-3.8.3 with kvm on ubuntu-12.04 lts

My vm is in running state but vnc not showing vm on host .
vnc icon is active but when i click on it error disconncet timeout appears.

Is it due to iptables ?

I allowed traffic Input on port ssh and tcp port .

for novnc what iptable rules to be defined?

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