Description of problem: OSP10 -> OSP11 upgrade fails during compute node upgrade: No such file or directory - /etc/nova/migration/authorized_keys20170428-126080-1p086ep.lock Version-Release number of selected component (if applicable): openstack-tripleo-heat-templates-6.0.0-9.el7ost.noarch puppet-nova-10.4.0-5.el7ost.noarch How reproducible: 2/2 Steps to Reproduce: 1. Deploy OSP10 2. Upgrade to OSP11 Actual results: Compute node upgrade fails during puppet run: Error: Could not set 'file' on ensure: No such file or directory - /etc/nova/migration/authorized_keys20170428-126080-1p086ep.lock at 189:/etc/puppet/modules/tripleo/manifests/profile/base/nova.pp Error: Could not set 'file' on ensure: No such file or directory - /etc/nova/migration/authorized_keys20170428-126080-1p086ep.lock at 189:/etc/puppet/modules/tripleo/manifests/profile/base/nova.pp Wrapped exception: No such file or directory - /etc/nova/migration/authorized_keys20170428-126080-1p086ep.lock Error: /Stage[main]/Tripleo::Profile::Base::Nova/File[/etc/nova/migration/authorized_keys]/ensure: change from absent to file failed: Could not set 'file' on ensure: No such file or directory - /etc/nova/migration/authorized_keys20170428-126080-1p086ep.lock at 189:/etc/puppet/modules/tripleo/manifests/profile/base/nova.pp Error: Could not set 'file' on ensure: No such file or directory - /etc/nova/migration/identity20170428-126080-1h9n9rp.lock at 198:/etc/puppet/modules/tripleo/manifests/profile/base/nova.pp Error: Could not set 'file' on ensure: No such file or directory - /etc/nova/migration/identity20170428-126080-1h9n9rp.lock at 198:/etc/puppet/modules/tripleo/manifests/profile/base/nova.pp Wrapped exception: No such file or directory - /etc/nova/migration/identity20170428-126080-1h9n9rp.lock Error: /Stage[main]/Tripleo::Profile::Base::Nova/File[/etc/nova/migration/identity]/ensure: change from absent to file failed: Could not set 'file' on ensure: No such file or directory - /etc/nova/migration/identity20170428-126080-1h9n9rp.lock at 198:/etc/puppet/modules/tripleo/manifests/profile/base/nova.pp Expected results: Compute node upgrade doesn't fail. Additional info: Attaching upgrade-non-controller.sh-overcloud-novacompute-0 log
Created attachment 1274982 [details] compute node upgrade log
Warning: [norpm] Attempting to install openstack-nova-migration but it will not be installed Pkg installs are disabled in puppet. Shouldn't they be enabled for upgrade?
(In reply to Ollie Walsh from comment #2) > Warning: [norpm] Attempting to install openstack-nova-migration but it will > not be installed > > Pkg installs are disabled in puppet. Shouldn't they be enabled for upgrade? No pkg installation is disabled for puppet, you need to add it to step3 of the upgrade like in https://github.com/openstack/tripleo-heat-templates/blob/stable/ocata/puppet/services/nova-placement.yaml#L127..L130
We need as well to put in the created script https://github.com/openstack/tripleo-heat-templates/blob/stable/ocata/extraconfig/tasks/tripleo_upgrade_node.sh#L53..L54 an it's usually run in batch mode.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2017:1245