charm-nova-compute/actions.yaml
Martin Kalcok 3f00b8f509 Add action that returns list of registered compute nodes.
List contains only nodes registered to the same nova-cloud-controller
as the nova-compute service running on targeted unit.

Closes-Bug: #1911013
Change-Id: I28d1a9bd18b3a87fc31ff4bca5bfe58449cdae57
2021-04-01 08:45:11 +02:00

27 lines
1.3 KiB
YAML

disable:
description: Disable nova-compute unit, preventing nova scheduler to run new VMs on this unit.
enable:
description: Enable nova-compute-unit, allowing nova scheduler to run new VMs on this unit.
remove-from-cloud:
description: |
Stop and unregister nova-compute from nova-cloud-controller. For more info see
README.md, section 'Cloud downscaling'.
register-to-cloud:
description: |
Start and register nova-compute service with nova-cloud-controller. For more info see
README.md, section 'Cloud downscaling'.
openstack-upgrade:
description: Perform openstack upgrades. Config option action-managed-upgrade must be set to True.
list-compute-nodes:
description: List all nova-compute nodes registered in the Openstack cloud.
node-name:
description: Return nova-compute node name. This can be used to identify this unit in the list of nova-compute services.
pause:
description: Pause the nova_compute unit. This action will stop nova_compute services.
resume:
description: Resume the nova_compute unit. This action will start nova_compute services.
hugepagereport:
description: Report on hugepage configuration and usage
security-checklist:
description: Validate the running configuration against the OpenStack security guides checklist