Run openstack_openrc before Magnum installation

The Magnum role attempts to upload images for the operation of
Magnum, however, the role for openrc is installed after magnum
which means the role cannot use the 'default' cloud profile
to upload images.

This patch adjusts the order so that the os_magnum role is able
to upload images.

Closes-Bug: #1778463
Change-Id: I10846e5844c2f02c1a5450eaa950b3704672c324
(cherry picked from commit 1fd26bc0e8)
This commit is contained in:
Mohammed Naser 2018-02-11 16:12:37 -05:00
parent 351d32a7fb
commit bde7b4119a
1 changed files with 1 additions and 1 deletions

View File

@ -49,10 +49,10 @@
db_name: "{{ magnum_galera_database_name }}"
when: inventory_hostname == groups['magnum_all'][0]
roles:
- role: "os_magnum"
- role: "openstack_openrc"
tags:
- openrc
- role: "os_magnum"
- role: "rsyslog_client"
rsyslog_client_log_rotate_file: magnum_log_rotate
rsyslog_client_log_dir: "/var/log/magnum"