File tree Expand file tree Collapse file tree 3 files changed +8
-6
lines changed
chef/cookbooks/crowbar/templates/default
crowbar_framework/app/models/api Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,11 @@ log "No HA setup found..."
8686
8787< % if @compute_node %>
8888
89- log " Restarting services for Pike"
89+ log " Upgrading packages needed for nova-compute node"
90+
91+ zypper --non-interactive up openstack-nova-compute
92+
93+ log " Restarting services for Rocky"
9094
9195< % unless @remote_node %>
9296systemctl restart < %= @neutron_agent %>
Original file line number Diff line number Diff line change 11#! /bin/bash
22#
3- # After the upgrade of all services on all nodes is finished, it's
3+ # After the upgrade of all compute services on all nodes is finished, it's
44# necessary to signal all nova services so that they start using latest RPC API version.
55
66LOGFILE=/var/log/crowbar/node-upgrade.log
Original file line number Diff line number Diff line change @@ -817,6 +817,8 @@ def do_controllers_substep(substep)
817817 upgrade_controller_clusters
818818 upgrade_non_compute_nodes
819819 prepare_all_compute_nodes
820+ reload_nova_services
821+
820822 ::Crowbar ::UpgradeStatus . new . save_substep ( substep , :finished )
821823 end
822824 end
@@ -887,10 +889,6 @@ def nodes(component = "all")
887889 if status . progress [ :remaining_nodes ] . zero?
888890 status . save_substep ( substep , :finished )
889891
890- status . save_substep ( :reload_nova , :running )
891- reload_nova_services
892- status . save_substep ( :reload_nova , :finished )
893-
894892 status . save_substep ( :run_online_migrations , :running )
895893 run_online_migrations
896894 status . save_substep ( :run_online_migrations , :finished )
You can’t perform that action at this time.
0 commit comments