GithubHelp home page GithubHelp logo

opennebula / one Goto Github PK

View Code? Open in Web Editor NEW
1.2K 78.0 467.0 116.69 MB

The open source Cloud & Edge Computing Platform bringing real freedom to your Enterprise Cloud 🚀

Home Page: http://opennebula.io

License: Apache License 2.0

Python 0.83% C++ 21.32% C 6.42% Shell 4.59% Ruby 20.94% HTML 0.20% Java 2.23% JavaScript 36.81% CSS 0.31% Lex 0.04% Yacc 0.15% Makefile 0.01% Go 2.35% Augeas 0.02% Roff 0.01% SCSS 0.18% Handlebars 3.57% Jinja 0.02%
opennebula cloud orchestration virtual-machine virtualization open-source kvm lxc

one's Introduction

OpenNebula Logo

Description

OpenNebula is an open source platform delivering a simple but feature-rich and flexible solution to build and manage enterprise clouds for virtualized services, containerized applications and serverless computing.

OpenNebula Architecture

To start using OpenNebula

OpenNebula Intro

Contributing to OpenNebula

Taking OpenNebula for a Test Drive

There are a couple of very easy ways to try out the OpenNebula functionality

  • miniONE for infrastructures based on open source hypervisors.
  • vOneCloud for VMware based infrastructures.

Installation

You can find more information about OpenNebula’s architecture, installation, configuration and references to configuration files in this documentation section.

It is very useful to learn where log files of the main OpenNebula components are placed. Also check the reference about the main OpenNebula daemon configuration file.

Front-end Installation

The Front-end is the central part of an OpenNebula installation. This is the machine where the server software is installed and where you connect to manage your cloud. It can be a physical node or a virtual instance.

Please, visit the official documentation for more details and a step-by-step guide. Using the packages provided on our site is the recommended method, to ensure the installation of the latest version, and to avoid possible package divergences with different distributions. There are two alternatives here: you can add our package repositories to your system, or visit the software menu to download the latest package for your Linux distribution.

If there are no packages for your distribution, please check the build dependencies for OpenNebula and head to the Building from Source Code guide.

Node Installation

After the OpenNebula Front-end is correctly set up, the next step is preparing the hosts where the VMs are going to run. Please, refer to the documentation site for more details.

Contact

License

Copyright 2002-2023, OpenNebula Project, OpenNebula Systems (formerly C12G Labs)

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

one's People

Contributors

alvarosimon avatar atodorov-storpool avatar baby-gnu avatar carloshm91 avatar carlosms avatar dann1 avatar dcarracedo avatar dcorral3 avatar dmamolina avatar feldsam avatar goberle avatar jfontan avatar jloboescalona2 avatar jmelis avatar joseangelgm avatar juanmont avatar kvaps avatar n40lab avatar onenhansen avatar paczerny avatar rsmontero avatar sergiojvg avatar sk4zuzu avatar tinova avatar tinovaucm avatar treywelsh avatar vholer avatar vichansson avatar vickmp avatar xorel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

one's Issues

tm_ssh with local image cache


Author Name: Krzysztof Pawlik (Krzysztof Pawlik)
Original Redmine Issue: 660, https://dev.opennebula.org/issues/660
Original Date: 2011-05-23


Hello,

For cases when main image for VM does not change (it's cloneable) caching it locally on host can provide significant reduction in network traffic and reduce VM startup time. Please consider attached patch that provides new TM: tm_ssh_cache. tm_ssh_cache reuses most scripts from tm_ssh with the notable exception of tm_clone.sh that supports caching image file locally on each host in /nebula/image-cache/ directory.

Verification Tests prior creation within OpenNebula


Author Name: Tino VĂĄzquez (Tino VĂĄzquez)
Original Redmine Issue: 1272, https://dev.opennebula.org/issues/1272
Original Date: 2012-05-10


This covers all the resources:

  • Test that the host is up and ssh reachable before creation
  • Test the network has the right bridge in the host
  • Check that the datastore refers to a proper data source

The above needs to span across clusters, ie, when a datastore is added to a cluster, all the hosts belonging to the cluster need to mount the datastore.

Maybe a --force option can be fined to bypass the tests

Implement scheduler wake up for immediate placement


Author Name: Carlos MartĂ­n (Carlos MartĂ­n)
Original Redmine Issue: 1282, https://dev.opennebula.org/issues/1282
Original Date: 2012-05-21


Requested by Simon Boulet in "the ecosystem mailing list":http://lists.opennebula.org/pipermail/ecosystem-opennebula.org/2012-April/000194.html

Implement scheduler wake up for immediate placement / trigger the
scheduler upon VM creation. I was thinking of adding a SIGHUP signal
handler into the scheduler

Add --format option to show commands


Author Name: Javi Fontan (Javi Fontan)
Original Redmine Issue: 1788, https://dev.opennebula.org/issues/1788
Original Date: 2013-02-28


From a mail by Hans-Joachim Ehlers (http://lists.opennebula.org/pipermail/users-opennebula.org/2013-February/022188.html):

For automation it would be nice to have a defined output format support by an additional option like "-F | --format"

Where format could be : stanza , xml , {}  or what ever is useful and reliable. Might ease command output handling .

Example:
 --format S # Stanza

ServiceComponent:
    Service=<service_name>
    Name=<component_name>
    Module=<module_name>
    ComponentDataSize=<size>


 --format X # XML
<ServiceComponent>
...
</ServiceComponent>

Format selection should be selectable using a single parameter. "--format" seems a good candidate.

Include cpu tune & topology parameters for qemu/libvirt drivers


Author Name: Ruben S. Montero (@rsmontero)
Original Redmine Issue: 796, https://dev.opennebula.org/issues/796
Original Date: 2011-09-06


This ticket is to match the CPU parameter with the new cputune attributes of libvirt. Xen drivers update the ticket-based scheduler to distribute physical cpu cycles among VMs (So VMs with higher CPU values will get more physical CPU). This new feature will level the KVM driver with the Xen one in this area.

Also we may include CPU-pin attributes. The Xen driver could implement this trough the hwloc utility

More Info:
http://libvirt.org/formatdomain.html#elementsCPUTuning

http://www.open-mpi.org/projects/hwloc/

Dynamic CPU and memory hotplug


Author Name: Sylvain Baubeau (Sylvain Baubeau)
Original Redmine Issue: 1270, https://dev.opennebula.org/issues/1270
Original Date: 2012-05-09


The aim of this feature is to be able to dynamically add/remove vCPU's and increase/decrease the memory of a running virtual machine.

The patch was initially posted on the mailing list and was developped by Paul Grandperrin (http://www.mail-archive.com/[email protected]/msg05504.html)

The attached patch is the really same patch but updated for OpenNebula 3.4. It does not include the remarks made by Carlos MartĂ­n SĂĄnchez yet - this has still to be implemented.

The patch adds a 'vcpuset' and a 'memset' parameter to the 'onevm' command. Right now, only the Xen backend is implemented.

Add support for "Console Output"


Author Name: Ricardo Duarte (Ricardo Duarte)
Original Redmine Issue: 1710, https://dev.opennebula.org/issues/1710
Original Date: 2012-12-31


Some hypervisors (KVM, Xen) support dumping the console output to a file.
The console output includes the boot sequence output.
OpenNebula can easily be extended to make the file available from CLI, Sunstone and Self-service, by using the same functionality that supports the "VM Log" tab.
Changes required would be:

  • Add the option for console output to the "new" template form, and translate that into hypervisor specific configuration
  • Add a "Console Output" tab to the virtual machine details
  • Create a get-console-output CLI action

This will then be used to implement the GetConsoleOutput EC2 action.

Hyper-V support


Author Name: Anonymous (Anonymous)
Original Redmine Issue: 1540, https://dev.opennebula.org/issues/1540
Original Date: 2012-10-09


To grow to a larger community, OpenNebula must support also Hyper-V on its infrastructure and migrate.
Besides the update of Hyper-V drivers from 3.2 to 3.8, it should be native and not optional on ecosystem.

A faster feature to implement is being able to import VHD files to ONE, just with an additinal qemu-img convert -f vpc -O raw on image register.

Customisable drop-down lists in sunstone webif


Author Name: Laurent Grawet (Laurent Grawet)
Original Redmine Issue: 1764, https://dev.opennebula.org/issues/1764
Original Date: 2013-02-10


Hi,

Some values are not easy to remember or are prone to syntax errors (bootloader, driver, device model...) while creating a new template with wizard. It would be great to be able to customize some drop/down lists. Those lists would be used to prefill text fields. So user still have the possibility to fill those fields by hand.

Regards,

Laurent

Transfer manager for using GPFS as backend storage


Author Name: Michal Strnad (Michal Strnad)
Original Redmine Issue: 1702, https://dev.opennebula.org/issues/1702
Original Date: 2012-12-20


GPFS provides number of useful features which could be utilized in an OpenNebula driven clouds.

i.e.

  • snapshots
  • file clones and writable file snapshots
  • placement policies when configured on top of tiered storage
  • File Placement Optimizer for environments without shared storage

AoE Driver


Author Name: SZTAKI LPDS (SZTAKI LPDS)
Original Redmine Issue: 1648, https://dev.opennebula.org/issues/1648
Original Date: 2012-11-09


Dear Developers,

we have developed an ATA-over-Ethernet storage driver set for the OpenNebula. It should perform better in small and medium ethernet networks than iSCSI (however it is less secure). Our tests shows 35-60% better throughput and latency. VM deploy and migration times are also faster. The driver is based on the iSCSI driver set, basically the tgt daemon was replaced with vblade and vblade-persist software package.
Feel free to include it in the mainline opennebula or in the ecosystem.

Improve log and error messages


Author Name: Carlos MartĂ­n (Carlos MartĂ­n)
Original Redmine Issue: 1320, https://dev.opennebula.org/issues/1320
Original Date: 2012-06-27


Some things that can be improved:

  • RM does not log the user doing the request, or the important arguments, like the object id
  • oneimage disable or delete simply says "Could not disable/delete image", when the reason is that the Image is in the USED state
  • There are some operations, like a onevm stop, that log return codes in oned.log without loggin the operation that returned it: [TM][D]: Message received: LOG I 22 ExitCode: 0
  • VirtualMachineManagerDriver.cc uses Log::ERROR to log successful actions
  • Log::MessageType has up to 5 log levels, but Nebula::get_debug_level allows only up to 3

Make mm_sched behave more like a daemon


Author Name: Lars Kellogg-Stedman (Lars Kellogg-Stedman)
Original Redmine Issue: 605, https://dev.opennebula.org/issues/605
Original Date: 2011-05-02


This patch makes mm_sched behave more like a typical Unix server:

  • It will auto-background by default.
  • It provides the "-f" flag to make mm_sched run in the foreground.
  • It provides the "-P " flag to make mm_sched write it's pid to a file when in background mode.

This patch includes a change to the /usr/bin/one script to add the "-f" flag to mm_sched.

OpenNebula is not running or there was a server exception. Please check the server logs.

After crashed once, I have installed many times according the tutorial http://www.vpsee.com/2013/05/install-opennebula-4-0-on-centos-6-4/ , but when log in, it tips: OpenNebula is not running or there was a server exception. Please check the server logs.

Mon May 27 10:10:11 2013 [I]: Updating user pool cache.
Mon May 27 10:10:11 2013 [E]: [UserPoolInfo] User couldn't be authenticated, aborting call.
Mon May 27 10:10:11 2013 [I]: 172.11.1.199 - - [27/May/2013 10:10:11] "POST /login HTTP/1.1" 500 - 0.0110

my passwd is identical with cat /var/lib/one/.one/one_auth

User is not notified with error_message in rm action / recoverable actions


Author Name: Laurent Grawet (Laurent Grawet)
Original Redmine Issue: 1763, https://dev.opennebula.org/issues/1763
Original Date: 2013-02-10


Hi,

In datastore/rm script, I use error_message function to notify user something went wrong. The problem is nothing is shown in Sunstone. Moreover, if something went wrong, the image record is dropped from DB regardless rm script exit status.

The second part is more a feature request. I would like to see "recoverable actions" implemented in OpenNebula.
When there is non fatal error, user would have the possibility to retry action later. For example, with datastore/rm script, I have to do some checks on SAN before removing volume. If for some reason (bad status...) it is not possible to remove the volume, the action is aborted and the user could retry it later. We could use specific exit status from drivers to detect this.

Regards,

Laurent

Multiple Configuration Files for OpenNebula


Author Name: Ruben S. Montero (@rsmontero)
Original Redmine Issue: 470, https://dev.opennebula.org/issues/470
Original Date: 2011-01-21


The idea is to have the current oned.conf file split in multiple configurations files that can be loaded and there is no need to modify the oned.conf (eg. adding a new driver would be as simple as copying a file into the directory)

  • Make oned.conf a directory oned.conf.d in etc
  • Make oned able to load each file

This was proposed by Łukasz Oleś (see patch below) and by Cal Loomis from StratusLab.

Sunstone quick search shortcuts


Author Name: Jan Horacek (Jan Horacek)
Original Redmine Issue: 1638, https://dev.opennebula.org/issues/1638
Original Date: 2012-11-06


It would be fine to have buttons with quick search filters like

Search: [T][Y][M] [...............]

where the tokens will be
T today
Y yesterday
M month

Almost all of the time i'm working with just the images/vms/templates created during last couple of days and pasting part of the date.

ask for confirmation on delete operation


Author Name: olivier sallou (olivier sallou)
Original Redmine Issue: 410, https://dev.opennebula.org/issues/410
Original Date: 2010-11-15


Hi,
I think that delete/destroy operation such as "onevm delete" should request confirmation before doing so to avoid mistakes and unwanted deletion.
For possible wrappers above those scripts, an option could avoid asking so (such as onvm -force delete ..)

Add audit trail features


Author Name: Carlos MartĂ­n (Carlos MartĂ­n)
Original Redmine Issue: 1615, https://dev.opennebula.org/issues/1615
Original Date: 2012-10-26


The big picture:

  • Insert each RM request in a DB table with the complete arguments, timestamp, the returned result, objects involved... maybe also the ACL rule that granted permission, or if the session string was cached
  • Create a CLI tool & sunstone tab to filter all the entries by user, time, VM/Host/Image involved, etc.

Duplicated code and failure to use a single environment configuration file


Author Name: Javi Fontan (Javi Fontan)
Original Redmine Issue: 1475, https://dev.opennebula.org/issues/1475
Original Date: 2012-09-14


From a mail by Matthew Patton:

Seems every script has the same 10 lines to find common scriptlets to include. Things would be a hell of a lot simpler to maintain if there was a 'env.conf' in /etc/one (or the $ONE_LOCATION equivalent).

Posible solution:

if [ -z "${ONE_LOCATION}" ]; then
    . /etc/one/env.sh
else
    . $ONE_LOCATION/etc/env.sh
fi

Allowing autostart setting for KVM deployed VMs with persistent images, to restart them upon node reboot


Author Name: Olivier Berger (Olivier Berger)
Original Redmine Issue: 1290, https://dev.opennebula.org/issues/1290
Original Date: 2012-05-23


As discussed in http://lists.opennebula.org/pipermail/users-opennebula.org/2012-May/008959.html I think it would be great to offer some support for automatic restarting of VMs (libvirt autostart setting) images that would have persistent images, in case a node is rebooted (or in case of power outages and other restarts).

One main change involved is the need to define the domains, instead of transient domains.

See the discussion of proposed changes

Add an SSH console to compliment noVNC.


Author Name: Richard Palusaar (Richard Palusaar)
Original Redmine Issue: 807, https://dev.opennebula.org/issues/807
Original Date: 2011-09-13


This feature would provide an ssh console for managing VMs.

Sunstone -> Virtual Machines, page:
Add an icon next to the noVNC connect icon that symbolizes an SSH remote login.
Each VM image would be prepared with an ssh public key to allow sunstone to connect to the VM.
The connection would be displayed in an interactive textera form element, or similar.

I am sure someone has come up with a way to run SSH sessions from a web page.

Possible benifits:

  • Eease of administrative access to the host OS of each VM.
  • Internode operability.
  • Less network bandwidth intensive than running a VNC session when all you need is text.

The idea is to compliment the VNC session as and not to replace it.

Transfer Manager with CDMI support


Author Name: Florian Feldhaus (Florian Feldhaus)
Original Redmine Issue: 1018, https://dev.opennebula.org/issues/1018
Original Date: 2011-12-02
Original Assignee: Florian Feldhaus


Integration of CDMI into a Transfer Manager to access images from storage with a CDMI interface.

Currently downloading of images from CDMI servers using a HTTP GET request is working with the SSH Transfer Manager. For more advanced scenarios the export capabilities of CDMI (see "CDMI Specification: Exported Protocols":http://cdmi.sniacloud.com/CDMI_Spec/13-Exported_Protocols/13-Exported_Protocols.htm) should be used by the Transport Manager. It can be integrated into the existing NFS Transport Manager or a new Transport Manager may be created.

OpenNebula Sunstone + SimpleSAMLphp integration


Author Name: MilĂĄn Unicsovics (MilĂĄn Unicsovics)
Original Redmine Issue: 1731, https://dev.opennebula.org/issues/1731
Original Date: 2013-01-17


Hello,

this is a new authentication system for OpenNebula Sunstone, it is designed to work with SimpleSAMLphp, and so the authentication of the users is SAML-federated. On the IDP side you can either use SimpleSAMLphp or other SAML-based software as well. We are using this solution within our institute together with Virtual Organization Management software. Since we have introduced this system user management become much easier.

This authentication system contains an OpenNebula patch, and two standard SimpleSAMLphp modules. The OpenNebula extension part of the patch based on the XML-RPC API, and works together with SimpleSAMLphp SP. When a user authenticated in SimpleSAMLphp, it transfers an attribute, which informs the OpenNebula authentication module about the user's group. This method allows the user to belong to more groups, and its group can be switched at the login.

Features:

  • simplified login with SAML
  • users can belong to more groups

More info at: "SSP for OpenNebula homepage":http://ssp-for-opennebula.sztaki.hu/

We hope this will be as useful for others as it is for us.
SZTAKI ITAK

If more than one scheduled actions fit in a scheduler cycle, the behaviour is unexpected


Author Name: Carlos MartĂ­n (Carlos MartĂ­n)
Original Redmine Issue: 1811, https://dev.opennebula.org/issues/1811
Original Date: 2013-03-13


Scheduled actions are processed in order. If the scheduler does its thing at 10:00 and 10:15, these two VMs will have different results:

SCHEDULED ACTIONS                                                               
ID ACTION          SCHEDULED         DONE MESSAGE
 0 snapshot-create 09/20 10:05            -      
 1 cancel          09/20 10:10            -      

SCHEDULED ACTIONS                                                               
ID ACTION          SCHEDULED         DONE MESSAGE
 0 cancel          09/20 10:10            -      
 1 snapshot-create 09/20 10:05            -      

We should sort the actions by time. And maybe just execute the first one.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.