Re: [one-users] How to integrate external DHCP/ or existing DHCP server in ONE

2014-02-20 Thread Carlos Martín Sánchez
Hi,

On Tue, Feb 18, 2014 at 1:15 PM, kiran ranjane kiran.ranj...@gmail.com
 wrote:

 Hello Everyone,

 Is there a documentation or howto for integrating external or existing
 dhcp server so that VM can acquire IP directly from DHCP server?

 Thanks
 Kiran Ranjane


You can use the dhcp server provided by the Virtual Router appliance [1].

Regards

[1] http://docs.opennebula.org/stable/administration/networking/router.html

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


[one-users] Update on Release 4.6

2014-02-20 Thread Ruben S. Montero
Hi

As  you probably know, there is a bunch of new features already packed in
the master branch of the git repository [1]. These new functionality
includes the redesign of the VDC provision model and a brand-new federation
system for OpenNebula instances (oned).

We wanted to deliver this ASAP, so we decided to make a checkpoint
release. So we are going to release all the features we have now (beta
should be out by the end of the month) and continue working with the
original plan for 4.6 after that. There may be room to slightly adjust the
current roadmap. In summary:

* OpenNebula 4.6 will include all the features already developed
* OpenNebula 4.8 will include the rest of the features originally planned
for 4.6. We expect to have short release cycle for 4.8

Cheers

Ruben

[1] https://github.com/OpenNebula/one

-- 
-- 
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] opennebula 3.8 and market compatiable problem!

2014-02-20 Thread Ruben S. Montero
This is because market place is down, we are working to get the service up
and running ASAP.

Cheers


On Thu, Feb 20, 2014 at 7:37 AM, mario wu iamo...@gmail.com wrote:

 hi,all

 today i found my opennebula 3.8's sunstone is show me this error
 
 ×
 Error

 Ruby (Rack) application could not be started
 These are the possible causes:

 There may be a syntax error in the application's code. Please check
 for such errors and fix them.
 A required library may not installed. Please install all libraries
 that this application requires.
 The application may not be properly configured. Please check whether
 all configuration files are written correctly, fix any incorrect
 configurations, and restart this application.
 A service that the application relies on (such as the database server
 or the Ferret search engine server) may not have been started. Please start
 that service.

 Further information about the error may have been written to the
 application's log file. Please check it in order to analyse the problem.

 Error message:
 Failed to connect to a master node at localhost:27017
 (Mongo::ConnectionFailure)
 Exception class:
 PhusionPassenger::UnknownError
 Application root:
 /usr/lib/one/ruby/oneapps/market
 Backtrace:
 # File Line Location
 0 /var/lib/gems/1.9.1/gems/mongo-1.6.2/lib/mongo/connection.rb 415 in
 `connect'
 1 /var/lib/gems/1.9.1/gems/mongo-1.6.2/lib/mongo/connection.rb 589 in
 `setup'
 2 /var/lib/gems/1.9.1/gems/mongo-1.6.2/lib/mongo/connection.rb 114 in
 `initialize'
 3 /usr/lib/one/ruby/oneapps/market/init.rb 28 in `new'
 4 /usr/lib/one/ruby/oneapps/market/init.rb 28 in `'
 5 /usr/lib/one/ruby/oneapps/market/models.rb 16 in `require'
 6 /usr/lib/one/ruby/oneapps/market/models.rb 16 in `'
 7 /usr/lib/one/ruby/oneapps/market/controllers/appmarket-server.rb 42 in
 `require'
 8 /usr/lib/one/ruby/oneapps/market/controllers/appmarket-server.rb 42 in
 `'
 9 config.ru 17 in `require'
  10 config.ru 17 in `block in '
  11 /var/lib/gems/1.9.1/gems/rack-1.4.1/lib/rack/builder.rb 51 in
 `instance_eval'
 12 /var/lib/gems/1.9.1/gems/rack-1.4.1/lib/rack/builder.rb 51 in
 `initialize'
 13 config.ru 1 in `new'
 14 config.ru 1 in `'
 15 
 /var/lib/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/rack/application_spawner.rb
 225 in `eval'
 16 
 /var/lib/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/rack/application_spawner.rb
 225 in `load_rack_app'
 17 
 /var/lib/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/rack/application_spawner.rb
 75 in `block (2 levels) in spawn_application'
 18 
 /var/lib/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/utils.rb
 572 in `report_app_init_status'
 19 
 /var/lib/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/rack/application_spawner.rb
 73 in `block in spawn_application'
 20 
 /var/lib/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/utils.rb
 479 in `safe_fork'
 21 
 /var/lib/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/rack/application_spawner.rb
 64 in `spawn_application'
 22 
 /var/lib/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/spawn_manager.rb
 264 in `spawn_rack_application'
 23 
 /var/lib/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/spawn_manager.rb
 137 in `spawn_application'
 24 
 /var/lib/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/spawn_manager.rb
 275 in `handle_spawn_application'
 25 
 /var/lib/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/abstract_server.rb
 357 in `server_main_loop'
 26 
 /var/lib/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/abstract_server.rb
 206 in `start_synchronously'
 27 
 /var/lib/gems/1.9.1/gems/passenger-3.0.12/helper-scripts/passenger-spawn-server
 99 in `'

 Powered by Phusion Passenger, mod_rails / mod_rack for Apache.
 

 through few minutes research,i found this issue is cause by the market app
 is not work on one3.8 anymore. then i disable this plugin
 from etc/sunstone-plugins.yaml , this error message gone! i'm not going to
 update one3.8 to new version one, because it's work fine. just let somebody
 have same issue know this workaround.

 ___
 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] opennebula 3.8 and market compatiable problem!

2014-02-20 Thread Jaime Melis
It's back up again.

cheers,
Jaime


On Thu, Feb 20, 2014 at 12:09 PM, Ruben S. Montero rsmont...@opennebula.org
 wrote:

 This is because market place is down, we are working to get the service up
 and running ASAP.

 Cheers


 On Thu, Feb 20, 2014 at 7:37 AM, mario wu iamo...@gmail.com wrote:

 hi,all

 today i found my opennebula 3.8's sunstone is show me this error
  
 ×
 Error

 Ruby (Rack) application could not be started
 These are the possible causes:

 There may be a syntax error in the application's code. Please check
 for such errors and fix them.
 A required library may not installed. Please install all libraries
 that this application requires.
 The application may not be properly configured. Please check whether
 all configuration files are written correctly, fix any incorrect
 configurations, and restart this application.
 A service that the application relies on (such as the database server
 or the Ferret search engine server) may not have been started. Please start
 that service.

 Further information about the error may have been written to the
 application's log file. Please check it in order to analyse the problem.

 Error message:
 Failed to connect to a master node at localhost:27017
 (Mongo::ConnectionFailure)
 Exception class:
 PhusionPassenger::UnknownError
 Application root:
 /usr/lib/one/ruby/oneapps/market
 Backtrace:
 # File Line Location
 0 /var/lib/gems/1.9.1/gems/mongo-1.6.2/lib/mongo/connection.rb 415 in
 `connect'
 1 /var/lib/gems/1.9.1/gems/mongo-1.6.2/lib/mongo/connection.rb 589 in
 `setup'
 2 /var/lib/gems/1.9.1/gems/mongo-1.6.2/lib/mongo/connection.rb 114 in
 `initialize'
 3 /usr/lib/one/ruby/oneapps/market/init.rb 28 in `new'
 4 /usr/lib/one/ruby/oneapps/market/init.rb 28 in `'
 5 /usr/lib/one/ruby/oneapps/market/models.rb 16 in `require'
 6 /usr/lib/one/ruby/oneapps/market/models.rb 16 in `'
 7 /usr/lib/one/ruby/oneapps/market/controllers/appmarket-server.rb 42
 in `require'
 8 /usr/lib/one/ruby/oneapps/market/controllers/appmarket-server.rb 42
 in `'
 9 config.ru 17 in `require'
  10 config.ru 17 in `block in '
  11 /var/lib/gems/1.9.1/gems/rack-1.4.1/lib/rack/builder.rb 51 in
 `instance_eval'
 12 /var/lib/gems/1.9.1/gems/rack-1.4.1/lib/rack/builder.rb 51 in
 `initialize'
 13 config.ru 1 in `new'
 14 config.ru 1 in `'
 15 
 /var/lib/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/rack/application_spawner.rb
 225 in `eval'
 16 
 /var/lib/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/rack/application_spawner.rb
 225 in `load_rack_app'
 17 
 /var/lib/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/rack/application_spawner.rb
 75 in `block (2 levels) in spawn_application'
 18 
 /var/lib/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/utils.rb
 572 in `report_app_init_status'
 19 
 /var/lib/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/rack/application_spawner.rb
 73 in `block in spawn_application'
 20 
 /var/lib/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/utils.rb
 479 in `safe_fork'
 21 
 /var/lib/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/rack/application_spawner.rb
 64 in `spawn_application'
 22 
 /var/lib/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/spawn_manager.rb
 264 in `spawn_rack_application'
 23 
 /var/lib/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/spawn_manager.rb
 137 in `spawn_application'
 24 
 /var/lib/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/spawn_manager.rb
 275 in `handle_spawn_application'
 25 
 /var/lib/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/abstract_server.rb
 357 in `server_main_loop'
 26 
 /var/lib/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/abstract_server.rb
 206 in `start_synchronously'
 27 
 /var/lib/gems/1.9.1/gems/passenger-3.0.12/helper-scripts/passenger-spawn-server
 99 in `'

 Powered by Phusion Passenger, mod_rails / mod_rack for Apache.
 

 through few minutes research,i found this issue is cause by the market
 app is not work on one3.8 anymore. then i disable this plugin
 from etc/sunstone-plugins.yaml , this error message gone! i'm not going to
 update one3.8 to new version one, because it's work fine. just let somebody
 have same issue know this workaround.

 ___
 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




-- 
Jaime Melis
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | 

[one-users] Marketplace Down!

2014-02-20 Thread Ruben S. Montero
Hi,

It seems that the marketplace is down, we are working to get the service up
and running ASAP.

Sorry for the inconvenience.

-- 
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] Marketplace Down!

2014-02-20 Thread Jaime Melis
Hi,
it's back up again.
cheers,
Jaime


On Thu, Feb 20, 2014 at 12:11 PM, Ruben S. Montero rsmont...@opennebula.org
 wrote:

 Hi,

 It seems that the marketplace is down, we are working to get the service
 up and running ASAP.

 Sorry for the inconvenience.

 --
 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




-- 
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] onehost sync throws error

2014-02-20 Thread Javier Fontan
We have an off by one problem here. Change the line
/usr/lib/one/ruby/cli/one_helper/onehost_helper.rb:310 from:

str=str+ *(79-str.length)

to

str=str+ *(80-str.length)

Should work with that patch


On Wed, Feb 19, 2014 at 5:29 PM, Javier Fontan jfon...@opennebula.org wrote:
 Can you send me the database or the output of onehost list -x? Send
 it to me, not the list. I'll try to figure out what happens.

 On Wed, Feb 19, 2014 at 1:31 PM, Jörg Mauer ma...@ign.de wrote:
 Hi,

 I get the same error when doing a onehostsync after updating to 4.4.1
 (from 4.4, from 4.2) in our dev environment.

 We are running 2 hosts in this environment.
 Please let me know if you need any specific information to investigate
 this problem.


 #
 /usr/lib/one/ruby/cli/one_helper/onehost_helper.rb:310:in `*':
 negative argument (ArgumentError)
 from /usr/lib/one/ruby/cli/one_helper/onehost_helper.rb:278:in
 `join'
 from /usr/lib/one/ruby/cli/one_helper/onehost_helper.rb:278:in
 `sync'
 from /usr/lib/one/ruby/cli/one_helper/onehost_helper.rb:278:in
 `each'
 from /usr/lib/one/ruby/cli/one_helper/onehost_helper.rb:278:in
 `sync'
 from /usr/bin/onehost:192
 from /usr/lib/one/ruby/cli/command_parser.rb:449:in `call'
 from /usr/lib/one/ruby/cli/command_parser.rb:449:in `run'
 from /usr/lib/one/ruby/cli/command_parser.rb:76:in `initialize'
 from /usr/bin/onehost:36:in `new'
 from /usr/bin/onehost:36



 regards,

 Joerg

 Am 14.02.2014 11:13, schrieb Javier Fontan:
 That's really strange. Do you still have the database so we can
 check what it happens? How many hosts do you have?

 On Thu, Feb 6, 2014 at 5:16 PM, Stefan Kooman ste...@bit.nl
 wrote:
 Hi list,

 If I run a onehost sync it throws the following error (one
 4.4):

 onehost sync * Adding hypervisor1 to upgrade * Adding hypervisor2
 to upgrade
 /usr/lib/one/ruby/cli/one_helper/onehost_helper.rb:310:in `*':
 negative argument (ArgumentError) from
 /usr/lib/one/ruby/cli/one_helper/onehost_helper.rb:310:in
 `print_update_info' from
 /usr/lib/one/ruby/cli/one_helper/onehost_helper.rb:254:in `block
 (2 levels) in sync'

 It does trigger a config sync:

 Thu Feb  6 17:06:09 2014 [ReM][D]: Req:2400 UID:0 SystemConfig
 invoked Thu Feb  6 17:06:09 2014 [ReM][D]: Req:2400 UID:0
 SystemConfig result SUCCESS, TEMPLATEAUTH_MAD... Thu Feb  6
 17:06:09 2014 [ReM][D]: Req:3520 UID:0 HostPoolInfo invoked Thu
 Feb  6 17:06:09 2014 [ReM][D]: Req:3520 UID:0 HostPoolInfo
 result SUCCESS, HOST_POOLHOSTID...

 A clean install of one 4.4.1 on Ubuntu Precise 12.04.4, with one
 dummy kvm host does not throw any errors. Might this error be
 related to an upgrade from one 4.2 - 4.4?

 Gr. Stefan


 -- | BIT BV  http://www.bit.nl/Kamer van Koophandel
 09090351 | GPG: 0xD14839C6   +31 318 648 688 /
 i...@bit.nl ___ 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



 --
 Javier Fontán Muiños
 Developer
 OpenNebula - The Open Source Toolkit for Data Center Virtualization
 www.OpenNebula.org | @OpenNebula | github.com/jfontan



-- 
Javier Fontán Muiños
Developer
OpenNebula - The Open Source Toolkit for Data Center Virtualization
www.OpenNebula.org | @OpenNebula | github.com/jfontan
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] IP(v6) network enhancements

2014-02-20 Thread Ruben S. Montero
Thanks Stefan. Now, It make sense. So:

1.- Added a new issue for the address generation:
http://dev.opennebula.org/issues/2740

2.- Extended the description of #1818 to include the alias functionality:
http://dev.opennebula.org/issues/1818

THANKS!

Ruben


On Mon, Feb 17, 2014 at 11:36 AM, Stefan Kooman ste...@bit.nl wrote:

 Quoting Ruben S. Montero (rsmont...@opennebula.org):
  Hi Stefan
 
  The IPv6 design in OpenNebula is basically designed to work with the
  auto-configuration features of IPv6. An IPv6 capable host will always
  have link-local addresses for all their interfaces. AFAIK you cannot
  disable IPv6 stack per interface.
 In linux you can do so quite easily:

 echo 1  /proc/sys/net/ipv6/conf/$interface_name/disable_ipv6

 So it really does not make sense to have one interface for IPv4 and
 other for IPv6, as the IPv4 will also have the link local addreses
 (plus the host multi-cast address).
 I agree with you that having seperate IPv4 and IPv6 interfaces
 (normally) doesn't make much sense. Quoting myself here:

 3) two different interfaces, one for IPv4 and one for IPv6.

 I didn't make myself clear on that point. Just like you I would like to
 avoid having seperate IPv4 / IPv6 interfaces. But at present the only
 way to provision a (contextualized) vm with or without IPv6 is to give
 it an interface in a IPv4 only network or a IPv6 network. If you
 would like to combine IPv4 and IPv6 in one vnet (dual-stack) and
 ENFORCE_IPV4, a vm will always get an IPv6 address. There's currently no
 way to disable that. The thing I would like to propose is the defintion
 of a dual-stack network with the following attributes: ENABLE_IP,
 ENABLE_IP6, ENABLE_DUALSTACK, actually funtioning as switches.
 
  About the generation of the host-id (the 64 lower bits) can be
  generated: following the modified EUI-64, based on the IP, or by any
  other means (usually random generation is accepted as a more secure
  option). But I see this as part of the guest configuration and
  probably not for context (although you could generate this through a
  context variable or using the IPv4 address...)

 Yeah, this whole IPv4 / IPv6 enable/disable thing can also be handled
 through contextualization. We could change the behaviour based on some
 template attributes and fix networking at startup.
 
  So the ideal setup is to have a router in your virtual network
  advertising the IPv6 network prefix (e.g. radvd or zebra) and then let
  the ICMPv6 protocol autoconfigure the interface. The addresses shown
  in OpenNebula are supposed to match those obtained by the previous
  procedure (as long as the prefix advertised is the one configured in
  the vnet).

 The downside of having RA's in your network is that vm's that only
 need/want IPv4 (for whatever reason) have to be adjusted beforehand not
 to do anything with IPv6 autoconfiguration. On the other hand, if your
 using VRRPV6, because of network redundancy, routers are obliged to sent
 them (RA's) and also have to respond to RS requests (RFC 5798) [1].
 
  Currently, the only way to add more IP addresses is to add more
  network interfaces to the VM. Probably a nice feature could be a NIC
  of type alias or virtual so you get the lease from the vnet, but
  not an additional nic. The context script can simple ip addr add the
  IP from the virtual NIC through context.

 Exactly, having a alias possibility would be nice. Escpecially if you
 would like to have all ip administration consistent in OpenNebula. You
 wouldb able to can query the template for IP info and match that to
 other ip administration (i.e. reverse dns entries) for consistency
 checks. This alias feature might overlap / complement [2].

 
  Probably, I am not fully getting your proposal...
 Does it make more sense now?

 Gr. Stefan

 [1]: http://tools.ietf.org/search/rfc5798#section-6.4.3
 [2]: http://dev.opennebula.org/issues/1818

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




-- 
-- 
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] onehost sync throws error

2014-02-20 Thread Stefan Kooman
Quoting Javier Fontan (jfon...@opennebula.org):
 We have an off by one problem here. Change the line
 /usr/lib/one/ruby/cli/one_helper/onehost_helper.rb:310 from:
 
 str=str+ *(79-str.length)
 
 to
 
 str=str+ *(80-str.length)
 
 Should work with that patch

Works like a charm!

Thanks!

Gr. Stefan


-- 
| BIT BV  http://www.bit.nl/Kamer van Koophandel 09090351
| GPG: 0xD14839C6   +31 318 648 688 / i...@bit.nl
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Adding test system datastore

2014-02-20 Thread Carlos Martín Sánchez
On Tue, Feb 18, 2014 at 4:42 PM, Stefan Kooman ste...@bit.nl wrote:

 Quoting Carlos Martín Sánchez (cmar...@opennebula.org):
  Hi there,
 
  Maybe we could try to replicate the 'onehost disable' behaviour.
  That is, a disabled system DS would be ignored by the scheduler, but you
  can still deploy VMs manually there.

 I think this would support Daniel's use case. But how do you deploy a VM
 manually? I.e how do you by-pass the scheduler (except by creating a
 WILD vm)?


You can use the onevm deploy command, or the sunstone button.
To avoid the scheduler being quicker than you, pending VMs can be put on
hold. Or use the onetemplate instantiate --hold option.


 At the moment the multi DS support is configured at template level. From a
 system perspective it would be nice to be able to control which
 datastore gets used. For example filter on user, group, vm template
 attributes, etc. At least we have a use case for this (seperate Qtree
 per datastore for IO billing). It proably makes the scheduler's life
 more complicated :(.


So, basically adding ACL rules to grant deployment rights for each system
DS, right?


   What do you think? Should I open a ticket for this?

 Yes, it's definitely useful.


Done:
http://dev.opennebula.org/issues/2738

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


Re: [one-users] Adding test system datastore

2014-02-20 Thread Carlos Martín Sánchez
Hi,

On Tue, Feb 18, 2014 at 5:47 PM, Daniel Dehennin 
daniel.dehen...@baby-gnu.org wrote:


 Am'I right about group and resource providers?


The resource providers makes easier to assign clusters to groups, see [1]
for a screencast of the new functionality.
But in this case it will only help if he new system DS is in a different
cluster, which means it won't be able to work with the existing hosts...

Regards

[1]
http://opennebula.org/partitioning-clouds-with-virtual-data-centers-vdcs/
--
Carlos Martín, MSc
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org http://www.opennebula.org/ | cmar...@opennebula.org |
@OpenNebula http://twitter.com/opennebula cmar...@opennebula.org
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] Sunstone image upload error

2014-02-20 Thread Stefan Kooman
Hi List,

I receive the following error trying to create an image in sunstone
(based on a ISO upload).

[ImageAllocate] Error allocating a new image. Parse error: syntax error,
unexpected VARIABLE, expecting EQUAL or EQUAL_EMPTY at line 6, columns
169:172

Here my POST in sunstone access_log

- - [20/Feb/2014:12:59:25 +0100] POST
/upload?img=%7B%22image%22%3A%7B%22NAME%22%3A%22finnix%22%2C%22DESCRIPTION%22%3A%22http%3A%2F%2Fwww.finnix.org%2F%5Cn%5CnFinnix%2C+the+LiveCD+for+system+administrators%3A%5Cn%5CnFinnix+is+a+self-contained%2C+bootable+Linux+CD+distribution+(%5C%22LiveCD%5C%22)+for+system+administrators%2C+based+on+Debian.+You+can+mount+and+manipulate+hard+drives+and+partitions%2C+monitor+networks%2C+rebuild+boot+records%2C+install+other+operating+systems%2C+and+much+more.+Finnix+includes+the+latest+technology+for+system+administrators%2C+with+Linux+kernel+3.0%2C+x86+and+PowerPC+support%2C+hundreds+of+sysadmin-geared+packages%2C+and+much+more.+And+above+all%2C+Finnix+is+small%3B+currently+the+entire+distribution+is+over+400MiB%2C+but+is+dynamically+compressed+into+a+small+bootable+image.+Finnix+is+not+intended+for+the+average+desktop+user%2C+and+does+not+include+any+desktops%2C+productivity+tools%2C+or+sound+support%2C+in+order+to+keep+distribution+size+low.+%5Cn%22%2C%22TYPE%22%3A%22CDROM%22%2
 
C%22PERSISTENT%22%3A%22NO%22%7D%2C%22ds_id%22%3A%22101%22%7Dfile=finnix-109.isoqqfile=finnix-109.iso
HTTP/1.1 500 664 Mozilla/5.0 (X11; Linux
x86_64; rv:27.0) Gecko/20100101 Firefox/27.0

If I try to create the image on the command-line (including the very long
description) based on the file I just uploaded it works flawlessly.

How best to debug this?

Gr. Stefan


-- 
| BIT BV  http://www.bit.nl/Kamer van Koophandel 09090351
| GPG: 0xD14839C6   +31 318 648 688 / i...@bit.nl
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Adding test system datastore

2014-02-20 Thread Stefan Kooman
Quoting Carlos Martín Sánchez (cmar...@opennebula.org):
 
  At the moment the multi DS support is configured at template level. From a
  system perspective it would be nice to be able to control which
  datastore gets used. For example filter on user, group, vm template
  attributes, etc. At least we have a use case for this (seperate Qtree
  per datastore for IO billing). It proably makes the scheduler's life
  more complicated :(.
 
 
 So, basically adding ACL rules to grant deployment rights for each system
 DS, right?

Yes, that would do the trick. 

Gr. Stefan

-- 
| BIT BV  http://www.bit.nl/Kamer van Koophandel 09090351
| GPG: 0xD14839C6   +31 318 648 688 / i...@bit.nl
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] Version 4.4.1-1 create Ceph datastored VM fails

2014-02-20 Thread Michael

Hi All,

Have just added a new KVM HV which has gone in as opennebula version 
4.4.1-1, creating VM fails with:


Thu Feb 20 14:19:33 2014 [DiM][I]: New VM state is PENDING
Thu Feb 20 14:19:41 2014 [DiM][I]: New VM state is ACTIVE.
Thu Feb 20 14:19:41 2014 [LCM][I]: New VM state is PROLOG.
Thu Feb 20 14:19:41 2014 [TM][I]: Command execution fail: 
/var/lib/one/remotes/tm/ceph/context /var/lib/one/vms/438/context.sh 
#address#101:/mnt/one/datastores/107/438/disk.2 438 107
Thu Feb 20 14:19:41 2014 [TM][I]: sh: 1: 
/var/lib/one/remotes/tm/ceph/context: not found

Thu Feb 20 14:19:41 2014 [TM][I]: ExitCode: 127
Thu Feb 20 14:19:41 2014 [TM][E]: Error executing image transfer script
Thu Feb 20 14:19:41 2014 [DiM][I]: New VM state is FAILED

I can't see a file /var/lib/one/remotes/tm/ceph/context on the new 
4.4.1-1 or my 4.4.0-1 HV which work. Any ideas what's going on?


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


Re: [one-users] Version 4.4.1-1 create Ceph datastored VM fails

2014-02-20 Thread Ruben S. Montero
Hi

The script does not need to be present in the hosts. You can execute the
script in the front-end to further debug it, something like:


bash -xv  /var/lib/one/remotes/tm/ceph/context
/var/lib/one/vms/438/context.sh
#address#101:/mnt/one/datastores/107/438/disk.2 438 107

Cheers

Ruben


On Thu, Feb 20, 2014 at 3:37 PM, Michael mich...@onlinefusion.co.uk wrote:

 Hi All,

 Have just added a new KVM HV which has gone in as opennebula version
 4.4.1-1, creating VM fails with:

 Thu Feb 20 14:19:33 2014 [DiM][I]: New VM state is PENDING
 Thu Feb 20 14:19:41 2014 [DiM][I]: New VM state is ACTIVE.
 Thu Feb 20 14:19:41 2014 [LCM][I]: New VM state is PROLOG.
 Thu Feb 20 14:19:41 2014 [TM][I]: Command execution fail:
 /var/lib/one/remotes/tm/ceph/context /var/lib/one/vms/438/context.sh
 #address#101:/mnt/one/datastores/107/438/disk.2 438 107
 Thu Feb 20 14:19:41 2014 [TM][I]: sh: 1: /var/lib/one/remotes/tm/ceph/context:
 not found
 Thu Feb 20 14:19:41 2014 [TM][I]: ExitCode: 127
 Thu Feb 20 14:19:41 2014 [TM][E]: Error executing image transfer script
 Thu Feb 20 14:19:41 2014 [DiM][I]: New VM state is FAILED

 I can't see a file /var/lib/one/remotes/tm/ceph/context on the new
 4.4.1-1 or my 4.4.0-1 HV which work. Any ideas what's going on?

 Thanks!
 ___
 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] Adding test system datastore

2014-02-20 Thread Carlos Martín Sánchez
On Thu, Feb 20, 2014 at 3:24 PM, Stefan Kooman ste...@bit.nl wrote:

 Quoting Carlos Martín Sánchez (cmar...@opennebula.org):

   At the moment the multi DS support is configured at template level.
 From a
   system perspective it would be nice to be able to control which
   datastore gets used. For example filter on user, group, vm template
   attributes, etc. At least we have a use case for this (seperate Qtree
   per datastore for IO billing). It proably makes the scheduler's life
   more complicated :(.
 
 
  So, basically adding ACL rules to grant deployment rights for each system
  DS, right?

 Yes, that would do the trick.

 Gr. Stefan


Ticket created:
http://dev.opennebula.org/issues/2742

Keep an eye on it, and remind us in the next roadmap planning ;)
--
Carlos Martín, MSc
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org http://www.opennebula.org/ | cmar...@opennebula.org |
@OpenNebula http://twitter.com/opennebula cmar...@opennebula.org
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Need some details on CPU/vCPU in Sunstone and capacity planning.

2014-02-20 Thread Carlos Martín Sánchez
Hi,

On Mon, Feb 17, 2014 at 4:29 PM, kiran ranjane kiran.ranj...@gmail.com
 wrote:

 Hi Everyone,

 I have few questions with regards to cpu and vcpu while creating templates
 in Sunstone :

 1) What is the difference between cpu and vcpu according to opennebula
 architecture?


CPU refers to the physical Host cpu cores, the one you see in the
allocated cpu column.
vCPU is simply the number of cpus that the VM guest will see, but it does
not affect the physical resources assigned to the VM.

2) How do we calculate vCPU, For example if I have 1 processor with 8 core
 then how much vCPU can I allocate.


They are not related. But the scheduler will not deploy more VMs when the
sum of the running VM CPU reaches 8.


 3) How can I manage cpu capacity (recommendation) in a better way so that
 I can utilize it in optimum way.

4) Any calculation on CPU or formula that we need to use before assigning
 it to Virtual machine, For example if I use 1 CPU in the virtual machine it
 uses 1 core of the processor? is this correct.
 5) What is the use of vCPU, If I have allocated 1 CPU and 2 vCPU to the
 virtual machine thus that mean it will use 1 core of the physical and
 inside the VM it will show 2 cpu assigned to it?


The purpose of vCPU is to allow cpu overcommitment. For example, for a host
with 8 cores, you could create 4 VMs with
cpu=2, vcpu=2

But if your VMs workload is not very cpu-intensive, you could decide to
launch 16 VMs
cpu=0.5, vcpu=2


To ensure that the VMs are not using more CPU than the amount assigned, you
may need to configure your hypervisor. For example, in kvm you need to
configure cgroups [1]

Regards

[1]
http://docs.opennebula.org/stable/administration/virtualization/kvmg.html#working-with-cgroups-optional
--
Carlos Martín, MSc
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | cmar...@opennebula.org |
@OpenNebulahttp://twitter.com/opennebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] feature request: Instantiate as owner/group

2014-02-20 Thread Carlos Martín Sánchez
Hi,

On Mon, Feb 17, 2014 at 3:28 PM, Stefan Kooman ste...@bit.nl wrote:

 Hi List,

 I would like to have the ability to instantiate a vm (or create one
 based on a template) on behalf of a user and/or group. At submission
 time oned/sched would check if the user has suitable permissions on all
 of the resources defined in the template and otherwise fail, i.e.:  the
 same way servers authentication work (section C, [1]).  Currently
 you're able to chown the vm to a user/group but this does not ensure the
 user has enough permissions to re-create or re-instantiate the same
 template later on.

 Gr. Stefan

 [1]:

 http://docs.opennebula.org/stable/administration/authentication/external_auth.html?highlight=authentication


Maybe this could be implemented as a special type of sunstone login,
instead of an option to perform certain actions. So you could enter your
oneadmin credentials + the username you want to log in as.

How does it sound?

Regards

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


Re: [one-users] EC2 / cloud bursting - multiple AWS credentials

2014-02-20 Thread Stefan Kooman
Quoting Carlos Martín Sánchez (cmar...@opennebula.org):
 Hi Stefan,
 
 On Thu, Jan 30, 2014 at 7:52 AM, Stefan Kooman ste...@bit.nl wrote:
 
  Hi,
 
  I was reading through Amazon EC2 prerequisites [1] which implies that
  there can be only one set of AWS credentials per opennebula cloud. Is
  that correct? This might not be a problem for a private cloud operated
  by only one organisation / company. For a public cloud that want's to
  leave room for 3rd party cloud bursting it is a problem. Ideally every
  user / group should be able to provide his/her own credentials while
  instantiating/creating a new vm. What is the reason to use a config file
  for this instead of having this info in a template?
 
  Gr. Stefan
 
  [1]:
 
  http://docs.opennebula.org/4.4/advanced_administration/cloud_bursting/ec2g.html#prerequisites
 
 
 Actually you can define multiple ec2 accounts, see the Multi EC2
 Site/Region/Account section of that guide [1]. You can create a hybrid host
 for each group, and then adjust the permissions so each one can only deploy
 VMs in the host with the right credentials.

Ah, I see. Thanks for the pointer.
 
 We could come up with an ec2 driver that reads the credentials from the VM
 template, although I'm not sure how difficult it would be to make it work
 with the current code. Please open a feature request if the above multi
 account feature does not solve your use case.

Generally I would like to avoid having stuff hard coded in config files,
except for global settings / defaults. If you would like to give
(power)users the possibility to use cloud bursting it would make sense
that they are able to configure that by themselves. Then again, I might
be thinking the wrong way around. Instead of giving the posiblity to use
a public cloud from within OpenNebula, one might as well create a
virtual machine with OpenNebula installed just for that. And federate
with the cloud it is running on to manage local vm's ...  I've just
read about vDCs, Resource Providers and Groups. With that
functionality in mind, a public cloud might be a Resource Provider by
itself and therefore be partitioned by the Group Admin. Multiple public
clouds (Resource Providers) might be created this way, each one with
different properties and credentials. One thing that is breaking this
logic is that someone else than the owner (consumer that rents
resources) has to configure the Resource (enter the credentials / keys),
which doesn't make sense. Just thinking out loud here. I might have to
sleep over it for a day.

Gr. Stefan

-- 
| BIT BV  http://www.bit.nl/Kamer van Koophandel 09090351
| GPG: 0xD14839C6   +31 318 648 688 / i...@bit.nl
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] what is the Procedure to upgrade opennebula

2014-02-20 Thread Meduri Jagadeesh
I am not using any database and when i installed opennebula it installed 
version 3.2.1-2. now i want to upgrade to latest version
  ___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] OpenNebula and ceph: why rbd copy rather than rbd clone?

2014-02-20 Thread Stuart Longland
Hi all,

Silly question.  I've just thrown together an OpenNebula cluster for
evaluation purposes and have it using a back-end Ceph cluster for storage.

Image creation works, but one thing I observe is that the VMs sit in the
PROLOG stage for a long time.  During this process, I see an rbd process
busily copying the image to a temporary rbd for the instance.

The call specifically is a 'rbd copy' command.  I see in the manual
pages for rbd:

clone [parent-snapname] [image-name]
   Will create a clone (copy-on-write child) of the parent 
 snapshot.  Object order will be  identical  to
   that of the parent image unless specified. Size will be the 
 same as the parent snapshot.

Surely this would be more efficient than creating copies of the images.
 Is there a reason why 'copy' was chosen rather than 'clone' in OpenNebula?
-- 
Stuart Longland
Systems Engineer
 _ ___
\  /|_) |   T: +61 7 3535 9619
 \/ | \ | 38b Douglas StreetF: +61 7 3535 9699
   SYSTEMSMilton QLD 4064   http://www.vrt.com.au


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


Re: [one-users] Computer and network facilities required to set up an office Lab environment to experiment the features/functionalities of OpenNebula platform - Qiubo David Su

2014-02-20 Thread Qiubo Su (David Su)
Dear OpenNebula Community,

I sent you below email a few days ago subjected Computer and network
facilities required to set up an office Lab environment to experiment the
features/functionalities of OpenNebula platform.

Now I'd like to give it an update, i.e. it should be a WAN environment, not
a LAN, due to the LAN environment is too limited. I will setup another LAN
in another location, then connect the current LAN in the office to the
other LAN through Internet, that's what I called WAN (of course this is the
simplest form of WAN).

It is much appreciated if any of you can help to provide information for
this.

Thanks kindly,
Q.D.S.

On Thu, Feb 13, 2014 at 10:42 AM, Qiubo Su (David Su) qiub...@gmail.comwrote:

 Dear OpenNebula Community,

 I have been using OpenNebula platform to set up IAAS for a while. To
 better experiment the more advanced features/functionalities offered by the
 platform, I decide to set up a Lab in the office environment.

 May any of you specialized in this area help to specify the computer and
 network facilities required to set up such an environment? i.e.

 1) The specification of the server system required *(e.g. what kind of
 server board? how many CPUs and how many cores per CPU? how much RAM? what
 size of the Hard Drives? how many NIC ports? how much power of the power
 supply? what else components required?)*, and how many of this server
 system required? Is workstation OK?

 2) The network will be a LAN in the office environment. What kind of a LAN
 topology should be set up in order to better experiment the advanced
 features/functionalities offered by the system?

 Thank you very much for your help !

 Thanks kindly,
 Qiubo David Su

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