Bug 1731505
Summary: | OSP 14->15: compute node upgrade fails on editing libvirt-guests config | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Jiri Stransky <jstransk> |
Component: | openstack-tripleo-heat-templates | Assignee: | Sergii Golovatiuk <sgolovat> |
Status: | CLOSED ERRATA | QA Contact: | Jose Luis Franco <jfrancoa> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 15.0 (Stein) | CC: | augol, kchamart, lbezdick, lyarwood, mbollo, mburns, mschuppe, pkopec, sgolovat |
Target Milestone: | --- | Keywords: | Triaged, ZStream |
Target Release: | --- | Flags: | sgolovat:
needinfo-
|
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | openstack-tripleo-heat-templates-10.6.1-0.20190909163923.999c846.el8ost.noarch | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-03-05 11:59:10 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1803434 | ||
Bug Blocks: | 1727807 |
Description
Jiri Stransky
2019-07-19 15:05:20 UTC
Jiri, from the attached log we see the norpm messages from the log. Means that puppet-nova tried to install it, but the norpm provider prevents the package from being installed: "<13>Jul 19 14:01:16 puppet-user: Warning: [norpm] Attempting to install libvirt-client but it will not be installed", Do you set EnablePackageInstall for the upgrade? If this is an update/upgrade action EnablePackageInstall should be true, so it doesn't get norpm'd. E.g. if I remove the libvirt-client rpm from a compute and deploy using 'EnablePackageInstall: True' the RPM gets correct installed: Jul 31 11:19:56 compute-0 os-collect-config: "Debug: Executing: '/usr/bin/rpm -q libvirt-client --nosignature --nodigest --qf %{NAME} %|EPOCH?{%{EPOCH}}:{0}| %{VERSION} %{RELEASE} %{ARCH}\\n'", Jul 31 11:19:56 compute-0 os-collect-config: "Debug: Executing: '/usr/bin/rpm -q libvirt-client --nosignature --nodigest --qf %{NAME} %|EPOCH?{%{EPOCH}}:{0}| %{VERSION} %{RELEASE} %{ARCH}\\n --whatprovides'", Jul 31 11:19:56 compute-0 os-collect-config: "Debug: Package[nova-libvirt-guests](provider=yum): Ensuring => present", Jul 31 11:19:56 compute-0 os-collect-config: "Debug: Executing: '/usr/bin/yum -d 0 -e 0 -y install libvirt-client'", Jul 31 11:19:56 compute-0 os-collect-config: "Notice: /Stage[main]/Nova::Compute::Libvirt_guests/Nova::Generic_service[libvirt-guests]/Package[nova-libvirt-guests]/ensure: created", Jul 31 11:19:56 compute-0 os-collect-config: "Info: /Stage[main]/Nova::Compute::Libvirt_guests/Nova::Generic_service[libvirt-guests]/Package[nova-libvirt-guests]: Scheduling refresh of Anchor[nova::install::end]", Jul 31 11:19:56 compute-0 os-collect-config: "Debug: /Stage[main]/Nova::Compute::Libvirt_guests/Nova::Generic_service[libvirt-guests]/Package[nova-libvirt-guests]: The container Nova::Generic_service[libvirt-guests] will propagate my refresh event", Jul 31 11:19:56 compute-0 os-collect-config: "Notice: /Stage[main]/Nova::Deps/Anchor[nova::install::end]: Triggered 'refresh' from 1 events", Jul 31 11:19:56 compute-0 os-collect-config: "Info: /Stage[main]/Nova::Deps/Anchor[nova::install::end]: Scheduling refresh of Anchor[nova::service::begin]", Jul 31 11:19:56 compute-0 os-collect-config: "Debug: /Stage[main]/Nova::Deps/Anchor[nova::install::end]: The container Class[Nova::Deps] will propagate my refresh event", Jul 31 11:19:56 compute-0 os-collect-config: "Notice: /Stage[main]/Nova::Compute::Libvirt_guests/File_line[/etc/sysconfig/libvirt-guests ON_BOOT]/ensure: created", Jul 31 11:19:56 compute-0 os-collect-config: "Info: /Stage[main]/Nova::Compute::Libvirt_guests/File_line[/etc/sysconfig/libvirt-guests ON_BOOT]: Scheduling refresh of Service[nova-libvirt-guests]", Jul 31 11:19:56 compute-0 os-collect-config: "Debug: /Stage[main]/Nova::Compute::Libvirt_guests/File_line[/etc/sysconfig/libvirt-guests ON_BOOT]: The container Class[Nova::Compute::Libvirt_guests] will propagate my refresh event", Jul 31 11:19:56 compute-0 os-collect-config: "Notice: /Stage[main]/Nova::Compute::Libvirt_guests/File_line[/etc/sysconfig/libvirt-guests ON_SHUTDOWN]/ensure: created", Jul 31 11:19:56 compute-0 os-collect-config: "Info: /Stage[main]/Nova::Compute::Libvirt_guests/File_line[/etc/sysconfig/libvirt-guests ON_SHUTDOWN]: Scheduling refresh of Service[nova-libvirt-guests]", Jul 31 11:19:56 compute-0 os-collect-config: "Debug: /Stage[main]/Nova::Compute::Libvirt_guests/File_line[/etc/sysconfig/libvirt-guests ON_SHUTDOWN]: The container Class[Nova::Compute::Libvirt_guests] will propagate my refresh event", Jul 31 11:19:56 compute-0 os-collect-config: "Notice: /Stage[main]/Nova::Compute::Libvirt_guests/File_line[/etc/sysconfig/libvirt-guests SHUTDOWN_TIMEOUT]/ensure: created", Jul 31 11:19:56 compute-0 os-collect-config: "Info: /Stage[main]/Nova::Compute::Libvirt_guests/File_line[/etc/sysconfig/libvirt-guests SHUTDOWN_TIMEOUT]: Scheduling refresh of Service[nova-libvirt-guests]", Jul 31 11:19:56 compute-0 os-collect-config: "Debug: /Stage[main]/Nova::Compute::Libvirt_guests/File_line[/etc/sysconfig/libvirt-guests SHUTDOWN_TIMEOUT]: The container Class[Nova::Compute::Libvirt_guests] will propagate my refresh event", Jul 31 11:19:56 compute-0 os-collect-config: "Notice: /Stage[main]/Nova::Deps/Anchor[nova::service::begin]: Triggered 'refresh' from 1 events", Jul 31 11:19:56 compute-0 os-collect-config: "Info: /Stage[main]/Nova::Deps/Anchor[nova::service::begin]: Scheduling refresh of Service[nova-libvirt-guests]", Jul 31 11:19:56 compute-0 os-collect-config: "Debug: /Stage[main]/Nova::Deps/Anchor[nova::service::begin]: The container Class[Nova::Deps] will propagate my refresh event", Jul 31 11:19:56 compute-0 os-collect-config: "Debug: Executing: '/usr/bin/systemctl is-active libvirt-guests'", Jul 31 11:19:56 compute-0 os-collect-config: "Debug: Executing: '/usr/bin/systemctl is-enabled libvirt-guests'", Jul 31 11:19:56 compute-0 os-collect-config: "Debug: Executing: '/usr/bin/systemctl unmask libvirt-guests'", Jul 31 11:19:56 compute-0 os-collect-config: "Debug: Executing: '/usr/bin/systemctl start libvirt-guests'", Jul 31 11:19:56 compute-0 os-collect-config: "Debug: Executing: '/usr/bin/systemctl enable libvirt-guests'", Jul 31 11:19:56 compute-0 os-collect-config: "Notice: /Stage[main]/Nova::Compute::Libvirt_guests/Nova::Generic_service[libvirt-guests]/Service[nova-libvirt-guests]/ensure: ensure changed 'stopped' to 'running'", Jul 31 11:19:56 compute-0 os-collect-config: "Info: /Stage[main]/Nova::Compute::Libvirt_guests/Nova::Generic_service[libvirt-guests]/Service[nova-libvirt-guests]: Scheduling refresh of Anchor[nova::service::end]", Jul 31 11:19:56 compute-0 os-collect-config: "Debug: /Stage[main]/Nova::Compute::Libvirt_guests/Nova::Generic_service[libvirt-guests]/Service[nova-libvirt-guests]: The container Nova::Generic_service[libvirt-guests] will propagate my refresh event", Jul 31 11:19:56 compute-0 os-collect-config: "Info: /Stage[main]/Nova::Compute::Libvirt_guests/Nova::Generic_service[libvirt-guests]/Service[nova-libvirt-guests]: Unscheduling refresh on Service[nova-libvirt-guests]", Jul 31 11:19:56 compute-0 os-collect-config: "Notice: /Stage[main]/Nova::Deps/Anchor[nova::service::end]: Triggered 'refresh' from 1 events", Jul 31 11:19:56 compute-0 os-collect-config: "Debug: /Stage[main]/Nova::Deps/Anchor[nova::service::end]: The container Class[Nova::Deps] will propagate my refresh event", Jul 31 11:19:56 compute-0 os-collect-config: "Debug: Class[Nova::Deps]: The container Stage[main] will propagate my refresh event", Jul 31 11:19:56 compute-0 os-collect-config: "Debug: Nova::Generic_service[libvirt-guests]: The container Class[Nova::Compute::Libvirt_guests] will propagate my refresh event", Jul 31 11:19:56 compute-0 os-collect-config: "Debug: Class[Nova::Compute::Libvirt_guests]: The container Stage[main] will propagate my refresh event", Indeed that could be the case, we'll default EnablePackageInstall to true for the duration of the upgrade and hopefully it will solve the issue. Thanks for your investigation. Patch posted, worked in my testing. Merged to master, stable/stein backport proposed. If this bug requires doc text for errata release, please set the 'Doc Type' and provide draft text according to the template in the 'Doc Text' field. The documentation team will review, edit, and approve the text. If this bug does not require doc text, please set the 'requires_doc_text' flag to '-'. 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/RHBA-2020:0643 |