Compatibility Guide 3.6

This guide is aimed at OpenNebula 3.4 users and administrators who want to upgrade to the latest 3.6 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 3.6.

inlinetoc

OpenNebula Administrators and Users

  • oZones DB can be migrated.
  • When objects are deleted, their associated ACL rules are cleaned
  • The datastore drivers for iSCSI and VMware accept a new attribute DISK_TYPE. Images can now be based on files or block devices.
  • DISK_TYPE : File, block or cdrom. Can be specified in the datastore or in the image.
  • The BUS attribute for the VM template has been deprecated. The bus type will be inferred from the TARGET and/or the DEV_PREFIX:
    • sdX: SCSI
    • hdX: IDE
    • vdX: virtio
    • etc. Any target format compatible with the hypervisors.
  • Revamped Accounting and Monitoring. The 3.4 oneacctd daemon and external database are not needed anymore, Sunstone and the oneacct command query the oned core daemon using the new xml-rpc methods.
  • New LVM drivers
  • Each cluster can use a different system datastore.

Command Line Interface

New CLI commands:

Changed CLI commands:

  • one* update optionally accepts a file path as argument. That file will replace the current template contents, instead of launching the text editor.

Developers and Integrators

  • The following xml-rpc methods have been modified:
    • one.vm.action now accepts new actions: resched, unresched, reset
  • The XML objects returned by OpenNebula have changed to accommodate the new features. Download the 3.6 XML Schemas (XSD) here.
  • New VM state: HOTPLUG : A disk attach or detach operation is in process.
  • New Image states: CLONE, DELETE, USED_PERS.
  • New Host state: MONITORING_ERROR.

Datastore Drivers

Virtual Machine Manager Drivers

Configuration File Changes

Changes in oned.conf

Changes in sched.conf

  • New configuration option HYPERVISOR_MEM : Fraction of total MEMORY reserved for the hypervisor.

Cloud servers:

  • econe.conf and occi-server.conf the :host parameter is deprecated. User :host instead

Changes in CLI configuration files:

  • /etc/one/cli/oneacl.yaml
  • /etc/one/cli/onecluster.yaml
  • /etc/one/cli/onedatastore.yaml
  • /etc/one/cli/onegroup.yaml
  • /etc/one/cli/onehost.yaml
  • /etc/one/cli/oneimage.yaml
  • /etc/one/cli/onetemplate.yaml
  • /etc/one/cli/oneuser.yaml
  • /etc/one/cli/onevm.yaml
  • /etc/one/cli/onevnet.yaml

Removed files:

  • /etc/one/auth/quota.conf
  • /etc/one/acctd.conf

New files:

  • /etc/one/cli/oneacct.yaml