Compatibility Guide 3.8
This guide is aimed at OpenNebula 3.6 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 3.8.
onedb fsck command that checks the DB consistency, and fixes any problems found, like wrong 'running_vms' counters or quotas usage.New CLI commands:
Changed CLI commands:
#Example for oneimage $ oneimage create -d 1 --name ubuntu --path /tmp/ubuntu.qcow2 --prefix sd --type OS --driver qcow2 \ --description "A OS plain installation" #Example for onevm or onetemplate $onevm create --name "test vm" --memory 128 --cpu 1 --disk arch,data --network public
one* list table columns using the parameter –describe. This will descibe the meaning of each column. It will also be useful to know the parameters we can pass to –list to restrict the columns shown:
$ onevm list --describe
ID : ONE identifier for Virtual Machine
NAME : Name of the Virtual Machine
USER : Username of the Virtual Machine owner
GROUP : Group of the Virtual Machine
STAT : Actual status
UCPU : CPU percentage used by the VM
UMEM : Memory used by the VM
HOST : Host where the VM is running
TIME : Time since the VM was submitted
$ onevm list --list ID,NAME
ID NAME
0 web-server
1 db-server
$ onehost list ID NAME CLUSTER RVM ALLOCATED_CPU ALLOCATED_MEM STAT 1 localhost - 2 110 / 200 (55%) 640M / 3.6G (17%) update
Mon Oct 15 18:32:00 2012 [ReM][D]: Req:5560 UID:0 HostPoolInfo invoked Mon Oct 15 18:32:00 2012 [ReM][D]: Req:5560 UID:0 HostPoolInfo result SUCCESS, "<HOST_POOL><HOST><ID..." Mon Oct 15 18:33:23 2012 [ReM][D]: Req:5520 UID:- UserPoolInfo invoked Mon Oct 15 18:33:23 2012 [ReM][E]: Req:5520 UID:- UserPoolInfo result FAILURE [UserPoolInfo] User couldn't be authenticated, aborting call.
VMFS is available as well as a new version of TM vmware, now named vmfs./usr/share/one for most distributions)
Changes in /ect/one/oned.conf
vmware has been removed, the new one is named vmfs, be sure to update oned.conf file if you are keeping the 3.6 version. Check the VMware storage guide for more details.
Changes in /etc/one/sunstone-server.conf
/var/tmpvnc_proxy_base_port has been renamed to vnc_proxy_portroutes: Array of files containing ruby code to extend the default sunstone-server routes
Changes in /etc/one/occi-server.conf
/var/tmpvnc_proxy_base_port has been renamed to vnc_proxy_portChanges in EC2 Server configuration files:
/ect/one/econe.conf tmpdir attribute changed by default to /var/tmp/ect/one/econe.conf ssl_server attribute needs the port/ect/one/econe.conf new attribute ebs_fstype: FSTYPE that will be used when creating new volumes (DATABLOCKs)/etc/one/ec2query_templates/m1.small.erb EC2 keys