Compatibility Guide 4.2

This guide is aimed at OpenNebula 4.0 users and administrators who want to upgrade to the latest version. The following sections summarize the new features and usage changes that should be taken into account, or prone to cause confusion. You can check the upgrade process in the following guide

Visit the Features list and the Release Notes for a comprehensive list of what's new in OpenNebula 4.2.

inlinetoc

OpenNebula Administrators and Users

Storage

  • Available Datastore storage: OpenNebula now reports the available space for each datastore. When a new Image is created, it may fail with the message “Not enough space in datastore”.

Monitoring

  • VMware monitoring: the VMs now will be reporting cpu, memory and networking consumption.
  • KVM monitoring: cpu reported is now the mean consumption for 2 seconds

Virtual Machines

  • New VM attribute: CONTEXT/TOKEN. It is used to create a unique token to communicate with the OneGate server.
  • New VM attribute CONTEXT/NETWORK. If it is set to YES, OpenNebula will fill all the NIC related contextualization attributes, such as ETH0_IP, ETH0_MASK, etc.

Command Line Interface

Changed CLI commands:

  • New option –append for 'one* update'. With this option, new attributes are appended to the current template.

Sunstone

  • The VNC dialog can be detached to a new window. Click the icon on the top right corner
  • A VM template can be update using the creation dialog.

Networking

Developers and Integrators

XML-RPC API

Changed xml-rpc methods:

  • New append param in one.*.update. With this option, new attributes are appended to the current template.

Storage

  • Available Datastore storage: Datastore drivers contain a new script, 'monitor'. If you develop a custom driver, it should contain the file /var/lib/one/remotes/datastore/<driver_name>/monitor. Datastore monitoring can be disabled in 'oned.conf'

VMware drivers

  • The VMware Storage model has been trimmed down. In OpenNebula 4.2, only the VMFS datastore model is valid, with SSH mode enabled compulsorily. Please refer to the VMFS datastore guide for more details.
  • Monitoring now relies on the rbvmomi gem. No configuration change is required.

Xen drivers

  • Now xen4 drivers use xl/xenlight. You should have at least Xen 4.2 and disable xend. Otherwise use xen3 drivers.

Sunstone Server

  • A new easy provisioning view is available (cloud view)

OpenNebula Apps

  • AppFlow is now integrated in OpenNebula, renamed as OneFlow. Read the configuration guide and usage guide.
  • AppMarket and AppStage will be distributed as two independed packages soon.

Configuration File Changes

Changes in /ect/one/oned.conf

  • DATASTORE_CAPACITY_CHECK: Checks that there is enough capacity before creating a new image.
  • Drivers for Xen 3 / 4
  • VM_MAD: Set type = “qemu” to use qemu emulated guests in the kvm driver
  • New options for HOOKS: CUSTOM, PREV_STATE, PREV_LCM_STATE
  • ONEGATE_ENDPOINT: Endpoint where OneGate will be listening. See the OneGate configuration guide for more information.

Changes in /etc/one/sunstone-server.conf

  • :oneflow_server:

Changes in Sunstone views configuration files

  • New syntax in /etc/one/sunstone-views/*.yaml
  • New file cloud.yaml