server event

Server event are event record for server operations. They consist of: type (create, delete, reboot and so on), result (success, error), start time, finish time and so on. These are important for server maintenance.

Compute v2

server event list

List recent events of a server.

Specify --os-compute-api-version 2.21 or higher to show events for a deleted server.

openstack server event list
    [--sort-column SORT_COLUMN]
    [--sort-ascending | --sort-descending]
    [--long]
    [--changes-since <changes-since>]
    [--changes-before <changes-before>]
    [--marker MARKER]
    [--limit LIMIT]
    <server>
--sort-column SORT_COLUMN

specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated

--sort-ascending

sort the column(s) in ascending order

--sort-descending

sort the column(s) in descending order

--long

List additional fields in output

--changes-since <changes-since>

List only server events changed later or equal to a certain point of time. The provided time should be an ISO 8061 formatted time, e.g. 2016-03-04T06:27:59Z. (supported with –os-compute-api-version 2.58 or above)

--changes-before <changes-before>

List only server events changed earlier or equal to a certain point of time. The provided time should be an ISO 8061 formatted time, e.g. 2016-03-04T06:27:59Z. (supported with –os-compute-api-version 2.66 or above)

--marker <MARKER>

The last server event ID of the previous page (supported by –os-compute-api-version 2.58 or above)

--limit <LIMIT>

Maximum number of server events to display (supported by –os-compute-api-version 2.58 or above)

server

Server to list events (name or ID)

server event show

Show server event details.

Specify --os-compute-api-version 2.21 or higher to show event details for a deleted server. Specify --os-compute-api-version 2.51 or higher to show event details for non-admin users.

openstack server event show <server> <request-id>
server

Server to show event details (name or ID)

request-id

Request ID of the event to show (ID only)