Skip to content
Snippets Groups Projects
Commit 9c5b743e authored by Giuseppe Attardi's avatar Giuseppe Attardi
Browse files

Update OpenStack_Release_Upgrade.rst

parent 676013ee
No related branches found
No related tags found
No related merge requests found
......@@ -97,14 +97,7 @@ Find the leader::
Assuming that the leader is `L`, stop the identity service::
$ juju run-action keystone$ZONE/$L pause
Action queued with id: ad835404-0b47-4804-8482-a77e4401d2f7
$ watch juju show-action-output ad835404-0b47-4804-8482-a77e4401d2f7
status: completed
timing:
completed: 2017-07-22 08:42:24 +0000 UTC
enqueued: 2017-07-22 08:42:15 +0000 UTC
started: 2017-07-22 08:42:18 +0000 UTC
$ juju run-action keystone$ZONE/$L --wait pause
Configure for the upgrade::
......@@ -116,36 +109,28 @@ Set the origin for the upgrade::
Launch the upgrade::
$ juju run-action keystone$ZONE/L openstack-upgrade;
Action queued with id: 3cb0bfd7-e059-413b-8113-ffd1153a3490
Chech the progress of the action with::
$ juju run-action keystone$ZONE/L --wait openstack-upgrade
Resume the serivce::
$ watch juju show-action-output 3cb0bfd7-e059-413b-8113-ffd1153a3490
results:
outcome: success, upgrade completed.
status: completed
timing:
completed: 2017-07-22 08:49:58 +0000 UTC
enqueued: 2017-07-22 08:48:51 +0000 UTC
started: 2017-07-22 08:48:54 +0000 UTC
$ juju run-action keystone$ZONE/$L resume
Repeat the proess for the other units of the service::
$ for i in {0..2}; do
juju run-action keystone$ZONE/$i pause;
juju run-action keystone$ZONE/$i --wait pause;
juju run-action keystone$ZONE/$i --wait openstack-upgrade;
juju run-action keystone$ZONE/$i resume;
done
done
> Warining. If you get the following error)::
> Warning. If you get the following error::
InternalError (1054, "Unknown column 'user.created_at' in 'field list'"
you need to upgrade manually the keystone database
Log into the leader unit of the service::
$ juju run-action keystone$ZONE/$L pause
$ juju run-action keystone$ZONE/$L --wait pause
$ juju ssh keystone$ZONE/$L sudo -u keystone keystone-manage --config-file /etc/keystone/keystone.conf db_sync --expand
$ juju ssh keystone$ZONE/$L sudo -u keystone keystone-manage --config-file /etc/keystone/keystone.conf db_sync --migrate
$ juju ssh keystone$ZONE/$L sudo -u keystone keystone-manage --config-file /etc/keystone/keystone.conf db_sync --contract
......@@ -215,14 +200,19 @@ Find the leader::
$ juju run --application glance$ZONE is-leader
Assuming that the leader is `0`::
Assuming that the leader is `L`::
$ juju run-action glance$ZONE/0 pause
$ juju run-action glance$ZONE/0 openstack-upgrade
$ juju run-action glance$ZONE/L --wait pause
$ juju run-action glance$ZONE/L --wait openstack-upgrade
$ juju run-action glance$ZONE/L resume
Wait for the action to complete, then::
Repeat on the other units of the service::
$ juju run-action glance$ZONE/0 resume
$ for i in {0..2}; do
juju run-action glance$ZONE/$i --wait pause;
juju run-action glance$ZONE/$i --wait openstack-upgrade;
juju run-action glance$ZONE/$i resume;
done
Ceph
....
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment