Upgrade

jujuna.upgrade.upgrade(ctrl_name=None, model_name=None, apps=[], origin='', ignore_errors=False, pause=False, evacuate=False, charms_only=False, upgrade_only=False, upgrade_action='', upgrade_params={}, origin_keys={}, dry_run=False, settings=None, endpoint='', username='', password='', cacert='', **kwargs)

Upgrade applications deployed in the model.

Handles upgrade of application deployed in the specified model. Focused on openstack upgrade procedures.

Connection requires juju client configs to be present locally or specification of credentialls: endpoint (e.g. 127.0.0.1:17070), username, password, and model uuid as model_name.

Parameters:
  • ctrl_name – juju controller
  • model_name – juju model name or uuid
  • apps – ordered list of application names
  • origin – target openstack version string e.g. ‘cloud:xenial-ocata’
  • ignore_errors – boolean
  • pause – boolean
  • evacuate – boolean
  • charms_only – boolean
  • upgrade_only – boolean
  • upgrade_action – string
  • upgrade_params – dict
  • origin_keys – dict
  • dry_run – boolean
  • endpoint – string
  • username – string
  • password – string
  • cacert – string