diff options
author | Sofer Athlan-Guyot <sathlang@redhat.com> | 2017-04-28 19:48:44 +0200 |
---|---|---|
committer | Emilien Macchi <emilien@redhat.com> | 2017-05-03 20:21:44 +0000 |
commit | 29a8a46d9833f095d503941d32ec500f63abf675 (patch) | |
tree | b8102f4a9e92183f85f4afb6e5e7f9228c2f0778 | |
parent | 9291a7941655a68bdcb40af863def076a6f7108a (diff) |
[N->O] Add openstack-nova-migration to compute nodes.
This add openstack-nova-migration on the compute during the upgrade.
Closes-Bug: #1687081
Depends-on: Iab022bdfb655e3c52fecebf416e75c9e981072ab
Depends-on: I02dc8934521340f42ac44a7d16889f6d79620c33
Change-Id: I3db2a3188e538eeaef61769d38f0166545444cfe
-rw-r--r-- | extraconfig/tasks/tripleo_upgrade_node.sh | 1 | ||||
-rw-r--r-- | puppet/services/nova-compute.yaml | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/extraconfig/tasks/tripleo_upgrade_node.sh b/extraconfig/tasks/tripleo_upgrade_node.sh index a5a312dc..1114897f 100644 --- a/extraconfig/tasks/tripleo_upgrade_node.sh +++ b/extraconfig/tasks/tripleo_upgrade_node.sh @@ -50,6 +50,7 @@ fi if [[ -n \$NOVA_COMPUTE ]]; then log_debug "Restarting openstack ceilometer agent compute" systemctl restart openstack-ceilometer-compute + yum install -y openstack-nova-migration fi # Apply puppet manifest to converge just right after the ${ROLE} upgrade diff --git a/puppet/services/nova-compute.yaml b/puppet/services/nova-compute.yaml index b1711436..fc80da72 100644 --- a/puppet/services/nova-compute.yaml +++ b/puppet/services/nova-compute.yaml @@ -175,6 +175,9 @@ outputs: template: "dest=/etc/nova/nova.conf section=upgrade_levels option=compute value=LEVEL" params: LEVEL: {get_param: UpgradeLevelNovaCompute} + - name: install openstack-nova-migration + tags: step3 + yum: name=openstack-nova-migration state=latest - name: Start nova-compute service tags: step6 service: name=openstack-nova-compute state=started |