Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
web
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cloud
web
Commits
9c5b743e
Commit
9c5b743e
authored
7 years ago
by
Giuseppe Attardi
Browse files
Options
Downloads
Patches
Plain Diff
Update OpenStack_Release_Upgrade.rst
parent
676013ee
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
web/support/kb/juju/OpenStack_Release_Upgrade.rst
+19
-29
19 additions, 29 deletions
web/support/kb/juju/OpenStack_Release_Upgrade.rst
with
19 additions
and
29 deletions
web/support/kb/juju/OpenStack_Release_Upgrade.rst
+
19
−
29
View file @
9c5b743e
...
...
@@ -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
> War
i
ning. 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
....
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment