charm-nova-cloud-controller/hooks
Alex Kavanagh 6c5a5cdff3 Ensure user is aware upgrade has not happened w/ train
There is a 'hole' in the user experience where if you try to
openstack-upgrade from stein to train but have no already related
placement to the nova-cc unit, then the openstack upgrade is aborted and
a workload message indicates that the relation is needed.

However, if you then subsequently add the placement relation, the
warning goes away, but the payload is not upgraded to match the
openstack-origin value.

This patch adds a warning if the openstack-origin is for train, the
payload is stein, the action-managed-upgrade is false and the placement
relation is made; i.e. that the operator fell into the above hole.

Change-Id: I360f2d72cad374c31ee766065af682e2fa6218d1
Closes-Bug: #1910276
2021-01-11 14:10:09 +00:00
..
__init__.py Re-license charm as Apache-2.0 2016-07-03 16:38:27 +00:00
amqp-cell-relation-broken Add support for cells v2 2018-10-05 11:50:21 +00:00
amqp-cell-relation-changed Add support for cells v2 2018-10-05 11:50:21 +00:00
amqp-cell-relation-joined Add support for cells v2 2018-10-05 11:50:21 +00:00
amqp-relation-broken Add generic relation broken hook. 2013-08-20 12:06:15 -07:00
amqp-relation-changed Re-add symlinks. 2013-08-01 20:45:08 -07:00
amqp-relation-departed added amqp relation departed 2014-01-30 12:26:36 +01:00
amqp-relation-joined Re-add symlinks. 2013-08-01 20:45:08 -07:00
cell-relation-broken Rename cell relation to avoid amulet breakage 2014-05-13 16:44:49 +01:00
cell-relation-changed Rename cell relation to avoid amulet breakage 2014-05-13 16:44:49 +01:00
cell-relation-joined Rename cell relation to avoid amulet breakage 2014-05-13 16:44:49 +01:00
certificates-relation-changed Add support for tls-certificates relation 2018-05-15 14:56:53 +00:00
certificates-relation-departed Add support for tls-certificates relation 2018-05-15 14:56:53 +00:00
certificates-relation-joined Add support for tls-certificates relation 2018-05-15 14:56:53 +00:00
cinder-volume-service-relation-broken Add generic relation broken hook. 2013-08-20 12:06:15 -07:00
cinder-volume-service-relation-changed Re-add symlinks. 2013-08-01 20:45:08 -07:00
cinder-volume-service-relation-joined Re-add symlinks. 2013-08-01 20:45:08 -07:00
cloud-compute-relation-changed Re-add symlinks. 2013-08-01 20:45:08 -07:00
cloud-compute-relation-departed Add compute departed hook, ensure proper scrubbing of authorized_keys on compute depart. 2013-09-05 17:28:22 -07:00
cloud-compute-relation-joined Re-add symlinks. 2013-08-01 20:45:08 -07:00
cluster-relation-changed Re-add symlinks. 2013-08-01 20:45:08 -07:00
cluster-relation-departed Re-add symlinks. 2013-08-01 20:45:08 -07:00
cluster-relation-joined Add cluster-relation-joined hook to ensure that internal address network is used if connected 2014-09-26 12:29:28 +01:00
config-changed Re-add symlinks. 2013-08-01 20:45:08 -07:00
ha-relation-changed Re-add symlinks. 2013-08-01 20:45:08 -07:00
ha-relation-joined Re-add symlinks. 2013-08-01 20:45:08 -07:00
identity-service-relation-broken Add generic relation broken hook. 2013-08-20 12:06:15 -07:00
identity-service-relation-changed Re-add symlinks. 2013-08-01 20:45:08 -07:00
identity-service-relation-joined Re-add symlinks. 2013-08-01 20:45:08 -07:00
image-service-relation-broken Add generic relation broken hook. 2013-08-20 12:06:15 -07:00
image-service-relation-changed Re-add symlinks. 2013-08-01 20:45:08 -07:00
image-service-relation-joined Re-add symlinks. 2013-08-01 20:45:08 -07:00
install Update pre-install hooks to fail on error 2019-02-08 15:55:43 -06:00
install.real Ensure python2 is installed before hook execution 2015-09-22 14:52:12 +01:00
leader-settings-changed Enable leader-settings-changed 2015-03-13 11:51:30 +00:00
memcache-relation-broken Renamed relation from 'cache' to 'memcache' 2014-11-20 13:51:44 -03:00
memcache-relation-changed Renamed relation from 'cache' to 'memcache' 2014-11-20 13:51:44 -03:00
memcache-relation-departed Renamed relation from 'cache' to 'memcache' 2014-11-20 13:51:44 -03:00
memcache-relation-joined Renamed relation from 'cache' to 'memcache' 2014-11-20 13:51:44 -03:00
neutron-api-relation-broken Move NEUTRON_CONF out of the way which as the benefit of triggering a neutron restart on api relation break 2014-05-15 14:58:51 +00:00
neutron-api-relation-changed Added neutron-api hooks 2014-05-09 19:48:32 +00:00
neutron-api-relation-departed Added neutron-api hooks 2014-05-09 19:48:32 +00:00
neutron-api-relation-joined Added neutron-api hooks 2014-05-09 19:48:32 +00:00
nova-cell-api-relation-broken Add support for cells v2 2018-10-05 11:50:21 +00:00
nova-cell-api-relation-changed Add support for cells v2 2018-10-05 11:50:21 +00:00
nova-cell-api-relation-joined Add support for cells v2 2018-10-05 11:50:21 +00:00
nova-vmware-relation-changed Updates, checkin link.s 2013-10-10 09:04:40 -07:00
nova-vmware-relation-joined Updates, checkin link.s 2013-10-10 09:04:40 -07:00
nova-volume-service-relation-broken Add generic relation broken hook. 2013-08-20 12:06:15 -07:00
nova-volume-service-relation-changed Re-add symlinks. 2013-08-01 20:45:08 -07:00
nova-volume-service-relation-joined Re-add symlinks. 2013-08-01 20:45:08 -07:00
nova_cc_common.py Remove ``nova-consoleauth`` package as of Train 2019-10-17 12:29:40 +02:00
nova_cc_context.py Drop RetryFilter in Victoria inline with upstream 2020-09-25 19:04:49 +00:00
nova_cc_hooks.py Merge "Wait before restarting services after ep change" 2020-10-02 15:36:35 +00:00
nova_cc_utils.py Ensure user is aware upgrade has not happened w/ train 2021-01-11 14:10:09 +00:00
nrpe-external-master-relation-changed [bradm] initial nrpe checks 2014-10-29 22:30:36 -05:00
nrpe-external-master-relation-joined [bradm] initial nrpe checks 2014-10-29 22:30:36 -05:00
placement-relation-changed Disable nova placement API 2019-10-11 20:00:38 +00:00
placement-relation-joined Disable nova placement API 2019-10-11 20:00:38 +00:00
post-series-upgrade Series Upgrade 2018-09-19 07:56:06 +00:00
pre-series-upgrade Series Upgrade 2018-09-19 07:56:06 +00:00
quantum-network-service-relation-broken Add generic relation broken hook. 2013-08-20 12:06:15 -07:00
quantum-network-service-relation-joined Re-add symlinks. 2013-08-01 20:45:08 -07:00
shared-db-cell-relation-broken Add support for cells v2 2018-10-05 11:50:21 +00:00
shared-db-cell-relation-changed Add support for cells v2 2018-10-05 11:50:21 +00:00
shared-db-cell-relation-joined Add support for cells v2 2018-10-05 11:50:21 +00:00
shared-db-relation-broken Add generic relation broken hook. 2013-08-20 12:06:15 -07:00
shared-db-relation-changed Re-add symlinks. 2013-08-01 20:45:08 -07:00
shared-db-relation-joined Re-add symlinks. 2013-08-01 20:45:08 -07:00
start Re-add symlinks. 2013-08-01 20:45:08 -07:00
stop Re-add symlinks. 2013-08-01 20:45:08 -07:00
update-status Add hardening support 2016-03-31 19:30:33 +01:00
upgrade-charm Re-add symlinks. 2013-08-01 20:45:08 -07:00