Commit Graph

15 Commits

Author SHA1 Message Date
Corey Bryant a61f5abc60 Add package-upgrade action
The package-upgrade action performs package upgrades for the current
OpenStack release.

The code path used is similar to the openstack-upgrade action, with the
difference being that package-upgrade will not execute if an openstack
upgrade is available (based on the openstack-origin setting).

This change includes a charm-helpers sync.

Change-Id: I88ccffad7af2d2e9cddc1f6514ebd07898e117dc
2022-01-08 01:28:04 +00:00
Peter Matulis b3c463b668 Reword security-checklist action definition
Be specific about what action 'security-checklist'
actually does.

Will be used for the other ten charms that support this
action.

Change-Id: I51916eed45c526991685e95b667804e2a490b5a9
2021-08-04 12:08:14 +02:00
Peter Matulis a435b03e33 Update action definitions
Remove references to the charm's README for two
actions:

* register-to-cloud
* remove-from-cloud

Not only is this non-standard but, in particular, the
referenced information will be moved to the CDG

Drive-by: Improve the remaining defintions

Depends-On: I03493b30956eddcb77bd714360806aa53c126942
Change-Id: I80c212a223637e2b76e421085fef1b466f548c30
2021-06-11 14:44:55 -04:00
Zuul 203140252c Merge " Add 'virsh-audit' action in nova-compute" 2021-06-11 14:36:41 +00:00
Martin Kalcok 5eea014dd5 Add action that returns number of running VMs on the unit.
Closes-Bug: #1911011
Change-Id: If9ae646bc91b6389876830843bbf905596963054
func-test-pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/535
2021-05-12 09:44:17 +00:00
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
Martin Kalcok 38efefccdf Added action that returns nova-compute node name.
Closes-Bug: #1911012
Change-Id: Id9a7c3a675072ed4da3b9cb9fc997e70895205cb
2021-03-30 11:49:18 +02:00
Martin Kalcok ceb8a68868 Added actions that enable clean removal of nova-compute unit from model
List of added actions:
* disable
* enable
* remove-from-cloud
* register-to-cloud

More detailed explanation of the process added to the README.md

Closes-Bug: #1691998
Change-Id: I45d1def2ca0b1289f6fcce06c5f8949ef2a4a69e
func-test-pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/470
2021-03-24 16:07:58 +01:00
Linda Guo 98fba99b34 Add 'virsh-audit' action in nova-compute
This new action to list instances as
  virsh sees them on the node (virsh
  list --all), sometimes this disagrees
  with what nova thinks

  Add a new zaza functional test class to
  avoid breaking the older versions

  To run the action, issue command:
  $ juju run-action nova-compute/0 virsh-audit --wait
  unit-nova-compute-0:
  UnitId: nova-compute/0
  id: "134"
  results:
    virsh-domains: |2+
       Id   Name                State
      -----------------------------------
       1    instance-00000001   running
       2    instance-00000002   running
  status: completed
  timing:
    completed: 2020-12-08 11:05:02 +0000 UTC
    enqueued: 2020-12-08 11:04:58 +0000 UTC
    started: 2020-12-08 11:05:01 +0000 UTC

  Closes-Bug: #1907409
  func-test-pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/472

Change-Id: I222a119199ada82186e2058402a31a40baf7fd7b
2020-12-17 08:37:04 +11:00
Chris MacNaughton e9e8fb1988 Add security-checklist action
This new action applies the recommended checks in
https://docs.openstack.org/security-guide/compute/checklist.html
to verify security settings on the nova-compute
processes

Change-Id: I3c348e8f141baae89a47cb38809fe4933272a226
Depends-On: https://github.com/juju/charm-helpers/pull/274
2019-03-13 10:33:27 +01:00
Peter Sabaini bd9e853604 Add action to retrieve hugepage config
Return current hugepage usage and kernel cmdline
for static hugepage allocation

Change-Id: Ib34b2d7c3da5aacd117b19249be41bb95b91dfcd
Closes-Bug: #1734360
2018-05-16 22:22:46 +02:00
James Page c4574ef859 Remove deploy from source support
Drop support for deployment from Git repositories, as deprecated
in the 17.02 charm release.  This feature is unmaintained and has
no known users.

Change-Id: I44a7a92d5d4ae493bab4d5b81e9757cb12149a66
2018-01-10 11:39:21 +00:00
Alex Kavanagh 914e639b52 Enhanced pause/resume for maintenance mode
Implemented pause/resume with some services checking.
Charm-helpers sync to bring in pause/resume support.

Change-Id: I8bcd7464a606f6fc9db374be6004d851935e749a
2016-04-01 11:49:18 +00:00
David Della Vecchia 26162963a3 Implementing new charmhelpers-based upgrade action 2015-09-28 21:24:44 +00:00
Corey Bryant 621b671521 Deploy from source 2015-04-15 14:21:42 +00:00