oneprovision
- manages OpenNebula provisions
oneprovision
command [file] [hostid] [args] [options]
--adjust x,y,z Adjust size to not truncate selected columns
-b, --batch Run in non-interactive mode (no questions)
--cleanup Delete all vms and images first, then delete the
resources.
--cleanup-timeout timeout Change the default timeout when deleting
VMs/Images.
--csv Write table in csv format
--csv-del del Set delimiter for csv output
-D, --debug Set debug logging mode
-d, --delay x Sets the delay in seconds for top command
--describe Describe list columns
--dump Dump the configuration file result.
--endpoint endpoint URL of OpenNebula xmlrpc frontend
--expand [x=prop,y=prop] Expands the columns size to fill the terminal.
For example: $onevm list --expand
name=0.4,group=0.6 will expand name 40% and
group 60%. $onevm list --expand name,group will
expand name and group based on its size.$onevm
list --expand will expand all columns.
--extended Show info extended (it only works with xml
output)
--fail-cleanup Set batch failover mode to clean up and quit
--fail-modes mode1,mode2 Fail modes to apply in order
--fail-quit Set batch failover mode to quit (default)
--fail-retry number Set batch failover mode to number of retries
--fail-skip Set batch failover mode to skip failing part
--fail-sleep seconds Time in seconds between each fail mode is
executed and between each retry
-f, --filter x,y,z Filter data. An array is specified with
column=value pairs. Valid operators
=,!=,<,<=,>,>=,~ e.g. NAME=test (match name with
test) NAME~test (match test, te, tes..)
-F, --force Force configure to execute
-h, --help Show this message
-h, --help Show this message
-j, --json Show the resource in JSON format
-k, --kilobytes Show units in kilobytes
-l, --list x,y,z Selects columns to display with list command
-c, --listconf conf Selects a predefined column list
--no-expand Disable expand
--no-header Hides the header of the table
--no-pager Disable pagination
-n, --numeric Do not translate user and group IDs
--operator operator Logical operator used on filters: AND, OR.
Default: AND.
--password password Password to authenticate with OpenNebula
--ping-retries number Set retries for ping (default: 30)
--ping-timeout seconds Set timeout for ping (default: 20 secs)
--provider provider Provider to deploy provision
-s, --size x=size,y=size Change the size of selected columns. For example:
$ onevm list --size "name=20" will make column
name size 20.
--skip-config Skip configuration hosts phase
--skip-provision Skip provision and configuration hosts phases
-t, --threads threads Set threads for create (default: 3)
--user name User name used to connect to OpenNebula
--user-inputs ui1,ui2,ui3 Specify the user inputs values when deploying
-d, --verbose Set verbose logging mode
-V, --version Show version and copyright information
-V, --version Show version and copyright information
--wait-ready Wait resources to be ready in OpenNebula
--wait-timeout timeout Timeout to wait objects to be ready
-x, --xml Show the resource in xml format
-y, --yaml Show the resource in YAML format
cluster delete range|id_list Deletes and unprovisions the given clusters valid options: batch, debug, fail_cleanup, fail_modes, fail_quit, fail_retry, fail_skip, fail_sleep, force, help, verbose, version
cluster list List all available clusters valid options: adjust, csv, csv_del, delay, describe, expand, extended, filter, help, json, kilobytes, list, listconf, no_expand, no_header, no_pager, numeric, operator, size, verbose, version, xml, yaml
configure provisionid Run configuration in all provision hosts valid options: batch, debug, fail_cleanup, fail_modes, fail_quit, fail_retry, fail_skip, fail_sleep, force, help, json, verbose, version, xml, yaml
create config Provision a new cluster via bare metal provider valid options: batch, cleanup, cleanup_timeout, debug, fail_cleanup, fail_modes, fail_quit, fail_retry, fail_skip, fail_sleep, help, json, ping_retries, ping_timeout, provider, skip_config, skip_provision, threads, user_inputs, verbose, version, wait_ready, wait_timeout, xml, yaml
datastore delete range|id_list Deletes and unprovisions the given datastores valid options: batch, debug, fail_cleanup, fail_modes, fail_quit, fail_retry, fail_skip, fail_sleep, force, help, verbose, version
datastore list List all available datastores valid options: adjust, csv, csv_del, delay, describe, expand, extended, filter, help, json, kilobytes, list, listconf, no_expand, no_header, no_pager, numeric, operator, size, verbose, version, xml, yaml
delete provisionid Deletes and unprovisions all the resources valid options: batch, cleanup, cleanup_timeout, debug, fail_cleanup, fail_modes, fail_quit, fail_retry, fail_skip, fail_sleep, help, json, threads, verbose, version, xml, yaml
flowtemplate delete range|id_list Deletes and unprovisions the given flowtemplates valid options: batch, debug, fail_cleanup, fail_modes, fail_quit, fail_retry, fail_skip, fail_sleep, force, help, verbose, version
host configure range|hostid_list Run configuration on the host valid options: batch, debug, fail_cleanup, fail_modes, fail_quit, fail_retry, fail_skip, fail_sleep, help, verbose, version
host delete range|hostid_list Unprovisions and deletes the given Host valid options: batch, debug, fail_cleanup, fail_modes, fail_quit, fail_retry, fail_skip, fail_sleep, help, verbose, version
host list Lists bare metal Hosts in the pool valid options: adjust, csv, csv_del, delay, describe, expand, extended, filter, help, json, kilobytes, list, listconf, no_expand, no_header, no_pager, numeric, operator, size, verbose, version, xml, yaml
host ssh hostid [command] Establish SSH conection to the host
host top Lists bare metal Hosts continuously valid options: adjust, csv, csv_del, delay, expand, extended, filter, help, json, kilobytes, list, listconf, no_expand, no_header, no_pager, numeric, operator, size, verbose, version, xml, yaml
image delete range|id_list Deletes and unprovisions the given images valid options: batch, debug, fail_cleanup, fail_modes, fail_quit, fail_retry, fail_skip, fail_sleep, force, help, verbose, version
image list List all available images valid options: adjust, csv, csv_del, delay, describe, expand, extended, filter, help, json, kilobytes, list, listconf, no_expand, no_header, no_pager, numeric, operator, size, verbose, version, xml, yaml
list List all avaliable provisions valid options: adjust, csv, csv_del, delay, expand, filter, json, list, listconf, no_expand, no_header, no_pager, operator, size, xml, yaml
network delete range|id_list Deletes and unprovisions the given networks valid options: batch, debug, fail_cleanup, fail_modes, fail_quit, fail_retry, fail_skip, fail_sleep, force, help, verbose, version
network list List all available networks valid options: adjust, csv, csv_del, delay, describe, expand, extended, filter, help, json, kilobytes, list, listconf, no_expand, no_header, no_pager, numeric, operator, size, verbose, version, xml, yaml
show provisionid Show provision details valid options: json, xml, yaml
template delete range|id_list Deletes and unprovisions the given templates valid options: batch, debug, fail_cleanup, fail_modes, fail_quit, fail_retry, fail_skip, fail_sleep, force, help, verbose, version
template list List all available templates valid options: adjust, csv, csv_del, delay, describe, expand, extended, filter, help, json, kilobytes, list, listconf, no_expand, no_header, no_pager, numeric, operator, size, verbose, version, xml, yaml
validate config_file Validate configuration file valid options: dump
vntemplate delete range|id_list Deletes and unprovisions the given vntemplates valid options: batch, debug, fail_cleanup, fail_modes, fail_quit, fail_retry, fail_skip, fail_sleep, force, help, verbose, version
vntemplate list List all available vntemplates valid options: adjust, csv, csv_del, delay, describe, expand, extended, filter, help, json, kilobytes, list, listconf, no_expand, no_header, no_pager, numeric, operator, size, verbose, version, xml, yaml
file Path to a file
provisionid OpenNebula DOCUMENT name or id
provisionid_list Comma-separated list of OpenNebula DOCUMENT names or ids
range List of id's in the form 1,8..15
text String
OpenNebula 6.0.0 Copyright 2002-2021, OpenNebula Project, OpenNebula Systems