system is the command-line interface for System Inventory and Maintenance.
This page documents the system command in StarlingX.
system [--version] [--debug] [-v] [-k] [--cert-file CERT_FILE] [--key-file KEY_FILE] [--ca-file CA_FILE] [--timeout TIMEOUT] [--os-username OS_USERNAME] [--os-password OS_PASSWORD] [--os-tenant-id OS_TENANT_ID] [--os-tenant-name OS_TENANT_NAME] [--os-auth-url OS_AUTH_URL] [--os-region-name OS_REGION_NAME] [--os-auth-token OS_AUTH_TOKEN] [--system-url SYSTEM_URL] [--system-api-version SYSTEM_API_VERSION] [--os-service-type OS_SERVICE_TYPE] [--os-endpoint-type OS_ENDPOINT_TYPE] [--os-user-domain-id OS_USER_DOMAIN_ID] [--os-user-domain-name OS_USER_DOMAIN_NAME] [--os-project-id OS_PROJECT_ID] [--os-project-name OS_PROJECT_NAME] [--os-project-domain-id OS_PROJECT_DOMAIN_ID] [--os-project-domain-name OS_PROJECT_DOMAIN_NAME] <subcommand> ...
For a list of all system subcommands and options, enter:
For a full description of usage and optional arguments for a specific system command, enter:
system help COMMAND
Certificate management commands allow you to install custom certificates for a variety of StarlingX use cases. For example:
StarlingX REST APIs and StarlingX Horizon web server.
StarlingX local Docker registry.
OpenStack REST APIs and OpenStack Horizon web server.
StarlingX trusted certificate authority(s).
Show certificate details.
Uninstall certificate; only applicable to trusted certificate authority(s).
Local Docker registry management commands enable you to remove images and free disk resources consumed by the local Docker registry. This is required if the local Docker registry’s file system (docker-distribution) becomes full.
Run the registry garbage collector.
This frees up the space on the file system used by deleted images. In rare cases, the system may trigger a swact in the small time window when garbage-collect is running. This may cause the registry to get stuck in read-only mode. If this occurs, run garbage-collect again to take the registry out of read-only mode.
Remove the specified Docker image from the local registry.
The image should be specified in the form name:tag. This command only removes the image from the local Docker registry. It does not free space on the file system.
Any stx-openstack images in a system with stx-openstack applied should not be deleted. If space is needed, you can delete the older tags of stx-openstack images, but do not delete the most recent one. Deleting both the registry stx-openstack images and the one from the Docker cache will prevent failed pods from recovering. If this happens, manually download the deleted images from the same source as application-apply and push it to the local registry under the same name and tag.
List all images in local docker registry.
List all tags for a Docker image from the local registry.
Host/controller file system configuration commands manage file systems on hosts. These commands primarily support the ability to resize the file systems.
Use host-fs-* commands to manage un-synchronized file systems on controller and worker nodes.
Use controllerfs-* commands to manage DRBD-synchronized file systems on controller nodes.
Add an optional host file system; e.g. image-conversion file system.
Delete an optional host file system; e.g. image-conversion file system.
Show list of host file systems.
Modify the size of a file system.
Show details of a host file system.
Show list of controller file systems.
Modify controller file system sizes.
Show details of a controller file system.
Modify DRBD sync rate parameters.
Show DRBD sync config details.
The following set of commands enable configuration of:
Basic system attributes
OAM IP address(es), subnet, and gateway
Remote DNS servers for StarlingX hosts
Time synchronization protocols, for example: NTP and/or PTP
Modify system attributes.
Show system attributes.
Modify DNS attributes.
Show DNS (Domain Name Server) attributes.
Modify NTP attributes.
Show NTP (Network Time Protocol) attributes.
Apply modified PTP attributes to hosts.
Modify PTP attributes.
Show PTP (Precision Time Protocol) attributes.
Modify external OAM attributes.
Show external OAM attributes.
Service parameters provide a generic mechanism to configure a variety of configurable parameters in StarlingX, including:
HTTP and HTTPS ports
StarlingX Horizon authentication lockout parameters
StarlingX Keystone token expiration
StarlingX host management parameters such as heartbeat intervals and host boot timeouts
Add service parameter.
Apply the service parameters.
Delete a service parameter.
List service parameters.
Modify service parameter attributes.
Show service parameter.
The host-sensor* commands provide the ability to:
Display the sensors collected from hosts over IPMI.
Configure behavior when thresholds are crossed (for example ignore, log, or reset).
Modify a sensor.
Show host sensor details.
List sensor groups.
Modify sensor group of a host.
Relearn sensor model.
Show host sensor group attributes.
StarlingX provides an application package management based on FluxCD and Kubernetes Helm. The StarlingX application management provides:
System Helm overrides to automatically apply StarlingX applications according to the particular StarlingX configuration currently running.
Management for user specified Helm overrides.
Modify Helm chart attributes.
Delete overrides for a chart.
List system Helm charts.
Show overrides for chart.
Update Helm chart user overrides.
Abort the current application operation.
Apply/reapply the application manifest.
Remove the uninstalled application from the system.
List all containerized applications.
Uninstall the application.
Show application details.
Update the deployed application to a different version.
Upload application Helm chart(s) and manifest.
StarlingX supports SNMPv2c and SNMPv3, but it is now configured using Helm charts.
For more information, see StarlingX Fault Management: SNMP overview.
Host commands manage the general configuration of a StarlingX host. This includes assignment of CPU cores to platform or hosted applications, the configuration of amount and size for memory huge pages, and the configuration of Kubernetes node labels.
Show host attributes.
Add a new host.
Add multiple new hosts.
Export host bulk configurations.
List CPU cores.
Modify CPU core assignments.
Show CPU core attributes.
List memory nodes.
Modify platform reserved and/or application huge page memory attributes for worker nodes.
Show memory attributes.
Update the Kubernetes labels on a host.
List Kubernetes labels assigned to a host.
Remove Kubernetes label(s) from a host
Delete a host.
The following set of commands provides operational host commands, including taking a host in and out of service (lock/unlock), resetting a host, rebooting a host, and powering a host on and off.
Lock a host.
Unlock a host.
Switch activity away from this active host.
Power off a host.
Power on a host.
Reboot a host.
Reset a host.
Reinstall a host.
The following set of commands manages the display and configuration of host interfaces.
List host Ethernet ports.
Show host Ethernet port attributes.
List host ports. Displays the L1 host ports and their attributes.
Show host port details. Displays the L1 host ports and their attributes.
Add an interface. Adds L2 host interfaces (Ethernet, VLAN, and LAG type L2 host interfaces).
Delete an interface. Deletes L2 host interfaces (Ethernet, VLAN, and LAG type L2 host interfaces).
List interfaces. Displays L2 host interfaces (Ethernet, VLAN, and LAG type L2 host interfaces).
Modify interface attributes. Modifies L2 host interfaces (Ethernet, VLAN, and LAG type L2 host interfaces).
Show interface attributes. Displays L2 host interfaces (Ethernet, VLAN, and LAG type L2 host interfaces).
The following set of commands defines types of L2 platform networks, assignment of L2 platform networks to interfaces, and configuration of L3 IP interfaces and routing.
Add a network.
Delete a network.
List IP networks on host.
Show IP network details.
Add an IP address.
Delete an IP address.
List IP addresses on host.
Show IP address attributes.
Add an IP address pool.
Delete an IP address pool.
List IP address pools.
Modify interface attributes.
Show IP address pool attributes.
Add an IP route.
Delete an IP route.
List IP routes on host.
Show IP route attributes.
Assign a network to an interface.
List network interfaces.
Remove an assigned network from an interface.
Show interface network details.
The following set of commands defines types of L2 data networks and assignment of L2 data networks to interfaces. Data networks represent the underlying L2 networks for Kubernetes SRIOV/PCIPASSTHROUGH network attachments or OpenStack tenant networks.
Add a data network.
Delete a data network.
List data networks.
Modify a data network.
Show data network details.
Assign a data network to an interface.
List data network interfaces.
Remove an assigned data network from an interface.
Show interface data network details.
The following set of commands enables the display and configuration of host disks, volume groups, and disk partitions.
Show disk attributes.
Wipe disk and GPT format it.
Add a local volume group.
Delete a local volume group.
List local volume groups.
Modify the attributes of a local volume group.
Show local volume group attributes.
Add a physical volume.
Delete a physical volume.
List physical volumes.
Show physical volume attributes.
Add a disk partition to a disk of a specified host.
Delete a disk partition.
List disk partitions.
Modify the attributes of a disk partition.
Show disk partition attributes.
The following set of commands is used to configure and manage Ceph OSDs, Ceph tiers, and Ceph storage cluster backends.
Add a ceph monitor to a specific host.
Delete a ceph monitor from a specific host.
List Ceph mons.
Modify parameters of a ceph monitor on a specific host.
Show ceph_mon of a specific host.
List ceph clusters.
Show ceph cluster attributes.
Add a ceph storage disk (i.e. journal or OSD) to a host.
Delete a ceph storage disk (i.e. journal or OSD) from a host.
List ceph storage disks (i.e. journal or OSD) of a host.
Show attributes of a ceph storage disk (i.e. journal or OSD) on a host.
Modify ceph journal or OSD attributes.
Add a storage backend.
Delete a storage backend.
List storage backends.
Modify a storage backend.
Show a storage backend.
Add a storage tier to a disk of a specified cluster.
Delete a storage tier.
List storage tiers.
Modify the attributes of a storage tier.
Show storage tier attributes.
The following set of commands provides host PCI device management (not including NICs).
Modify device availability for worker nodes.
Show device attributes.
The following set of commands displays neighbor information learned from the Link Layer Discovery Protocol (LLDP), which runs on all host interfaces.
List host LLDP agents.
Show LLDP agent attributes.
List host LLDP neighbors.
Show LLDP neighbor attributes.
The following set of commands enables display of services running on the StarlingX controllers. Optional services can be enabled or disabled using these commands.
List service nodes.
Show a service node’s attributes.
List service groups.
Show a service group.
Disable optional service
Enable optional service
Show a service.
The following commands are no longer supported.
Modify remote logging attributes.
Show remote logging attributes.
Add an SDN controller.
Delete an SDN controller.
List all SDN controllers.
Modify SDN controller attributes.
Show SDN controller details and attributes.
The following commands are not supported upstream.
Install license file.
Show license file content.
The following commands are not yet supported.
Perform software downgrade for the specified host.
Command has been deprecated.
Update host attributes.
Perform software upgrade for a host.
List software upgrade info for hosts.
Delete a load.
Import a load.
List all loads.
Show load attributes.
Abort a software upgrade.
Complete a software upgrade.
Activate a software upgrade.
Complete a software upgrade.
Show software upgrade details and attributes.
Start a software upgrade.
Run the health check.
Run the health check for an upgrade.
The following set of commands allow you to update the Intel N3000 FPGA PAC user image on StarlingX hosts.
For more information, see N3000 FPGA Overview.
Update device image on a host.
Abort device image update on a host.
Apply the device image.
Delete a device image.
List device images.
Remove the device image.
Show device image details.
Upload a device image.
List image to device mapping with status.
List all device labels.
Assign a label to a device of a host.
List device labels.
Remove a device label from a device of a host.
The following set of commands allow you to upgrade the version of Kubernetes. For more information, see Manual Kubernetes Version Upgrade.
Perform Kubernetes upgrade for a host.
List Kubernetes upgrade info for hosts.
Run the health check for a Kubernetes upgrade.
List Kubernetes labels assigned to a host.
List all Kubernetes clusters.
Show Kubernetes cluster details.
List all Kubernetes versions.
Show Kubernetes version details.
Complete a Kubernetes upgrade.
Delete a Kubernetes upgrade.
Download Kubernetes images.
Upgrade Kubernetes networking.
Show Kubernetes upgrade details and attributes.