osc compute server
Servers (servers)
Lists, creates, shows details for, updates, and deletes servers.
Passwords
When you create a server, you can specify a password through the optional adminPass attribute. The password must meet the complexity requirements set by your OpenStack Compute provider. The server might enter an ERROR state if the complexity requirements are not met. In this case, a client might issue a change password action to reset the server password.
If you do not specify a password, the API generates and assigns a random password that it returns in the response object. This password meets the security requirements set by the compute provider. For security reasons, subsequent GET calls do not require this password.
Server metadata
You can specify custom server metadata at server launch time. The maximum size for each metadata key-value pair is 255 bytes. The compute provider determines the maximum number of key-value pairs for each server. You can query this value through the maxServerMeta absolute limit.
Usage: osc compute server <COMMAND>
Available subcommands:
osc compute server add-fixed-ip21
— Add (Associate) Fixed Ip (addFixedIp Action) (DEPRECATED) (microversion = 2.1)osc compute server add-floating-ip21
— Add (Associate) Floating Ip (addFloatingIp Action) (DEPRECATED) (microversion = 2.1)osc compute server add-security-group
— Add Security Group To A Server (addSecurityGroup Action)osc compute server change-password
— Change Administrative Password (changePassword Action)osc compute server confirm-resize
— Confirm Resized Server (confirmResize Action)osc compute server create294
— Create Server (microversion = 2.94)osc compute server create290
— Create Server (microversion = 2.90)osc compute server create274
— Create Server (microversion = 2.74)osc compute server create267
— Create Server (microversion = 2.67)osc compute server create263
— Create Server (microversion = 2.63)osc compute server create257
— Create Server (microversion = 2.57)osc compute server create252
— Create Server (microversion = 2.52)osc compute server create242
— Create Server (microversion = 2.42)osc compute server create237
— Create Server (microversion = 2.37)osc compute server create233
— Create Server (microversion = 2.33)osc compute server create232
— Create Server (microversion = 2.32)osc compute server create219
— Create Server (microversion = 2.19)osc compute server create21
— Create Server (microversion = 2.1)osc compute server create-backup21
— Create Server Back Up (createBackup Action) (microversion = 2.1)osc compute server create-image21
— Create Image (createImage Action) (microversion = 2.1)osc compute server delete
— Delete Serverosc compute server diagnostic
— Show Server Diagnosticsosc compute server evacuate214
— Evacuate Server (evacuate Action) (microversion = 2.14)osc compute server evacuate229
— Evacuate Server (evacuate Action) (microversion = 2.29)osc compute server evacuate268
— Evacuate Server (evacuate Action) (microversion = 2.68)osc compute server evacuate295
— Evacuate Server (evacuate Action) (microversion = 2.95)osc compute server force-delete
— Force-Delete Server (forceDelete Action)osc compute server get-console-output
— Show Console Output (os-getConsoleOutput Action)osc compute server instance-action
— Servers actionsosc compute server interface
— Port interfaces (servers, os-interface)osc compute server inject-network-info
— Inject Network Information (injectNetworkInfo Action)osc compute server ip
— Servers IPs (servers, ips)osc compute server list
— List Servers Detailedosc compute server live-migrate20
— Live-Migrate Server (os-migrateLive Action) (microversion = 2.0)osc compute server live-migrate225
— Live-Migrate Server (os-migrateLive Action) (microversion = 2.25)osc compute server live-migrate230
— Live-Migrate Server (os-migrateLive Action) (microversion = 2.30)osc compute server live-migrate268
— Live-Migrate Server (os-migrateLive Action) (microversion = 2.68)osc compute server lock273
— Lock Server (lock Action) (microversion = 2.73)osc compute server metadata
— Server metadataosc compute server migrate256
— Migrate Server (migrate Action) (microversion = 2.56)osc compute server migration
— Server migrations (servers, migrations)osc compute server password
— Servers passwordosc compute server pause
— Pause Server (pause Action)osc compute server reset-state
— Reset Server State (os-resetState Action)osc compute server reboot
— Reboot Server (reboot Action)osc compute server rebuild21
— Rebuild Server (rebuild Action) (microversion = 2.1)osc compute server rebuild219
— Rebuild Server (rebuild Action) (microversion = 2.19)osc compute server rebuild254
— Rebuild Server (rebuild Action) (microversion = 2.54)osc compute server rebuild257
— Rebuild Server (rebuild Action) (microversion = 2.57)osc compute server rebuild263
— Rebuild Server (rebuild Action) (microversion = 2.63)osc compute server rebuild290
— Rebuild Server (rebuild Action) (microversion = 2.90)osc compute server rebuild294
— Rebuild Server (rebuild Action) (microversion = 2.94)osc compute server remote-console
— Server Consolesosc compute server remove-fixed-ip21
— Remove (Disassociate) Fixed Ip (removeFixedIp Action) (DEPRECATED) (microversion = 2.1)osc compute server remove-floating-ip21
— Remove (Disassociate) Floating Ip (removeFloatingIp Action) (DEPRECATED) (microversion = 2.1)osc compute server remove-security-group
— Remove Security Group From A Server (removeSecurityGroup Action)osc compute server rescue
— Rescue Server (rescue Action)osc compute server reset-network
— Reset Networking On A Server (resetNetwork Action) (DEPRECATED)osc compute server resize
— Resize Server (resize Action)osc compute server restore
— Restore Soft-Deleted Instance (restore Action)osc compute server resume
— Resume Suspended Server (resume Action)osc compute server revert-resize
— Revert Resized Server (revertResize Action)osc compute server security-groups
— List Security Groups By Serverosc compute server set21
— Update Server (microversion = 2.1)osc compute server set219
— Update Server (microversion = 2.19)osc compute server set290
— Update Server (microversion = 2.90)osc compute server set294
— Update Server (microversion = 2.94)osc compute server shelve
— Shelve Server (shelve Action)osc compute server shelve-offload
— Shelf-Offload (Remove) Server (shelveOffload Action)osc compute server show
— Show Server Detailsosc compute server start
— Start Server (os-start Action)osc compute server stop
— Stop Server (os-stop Action)osc compute server suspend
— Suspend Server (suspend Action)osc compute server tag
— Lists tags, creates, replaces or deletes one or more tags for a server, checks the existence of a tag for a serverosc compute server topology
— Show Server Topologyosc compute server trigger-crash-dump217
— Command without description in OpenAPIosc compute server unlock21
— Unlock Server (unlock Action) (microversion = 2.1)osc compute server unpause
— Unpause Server (unpause Action)osc compute server unrescue
— Unrescue Server (unrescue Action)osc compute server unshelve277
— Unshelve (Restore) Shelved Server (unshelve Action) (microversion = 2.77)osc compute server unshelve291
— Unshelve (Restore) Shelved Server (unshelve Action) (microversion = 2.91)osc compute server volume-attachment
— Servers with volume attachments