norpm provider doesn't support virtual_packages causing unnecessary service restarts
Bug #1665405 reported by
Alex Schultz
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
High
|
Emilien Macchi |
Bug Description
In puppet-tripleo we have a norpm provider that is supposed to prevent the packages from being installed but it's still querying the rpm db for the package. Unfortunately it doesn't support virtual_packages which means that some packages are still attempted to be installed which can trigger unncessary service restarts every time.
Example:
include ::tripleo::packages
include ::swift::client
will result in python-swiftclient being "installed" because it does not find python2-swiftclient which causes swift service restarts. The norpm provider prevents it from actually installing anything but puppet still sees a change and schedules refreshes.
tags: | added: newton-backport-potential ocata-backport-potential |
Changed in tripleo: | |
assignee: | Alex Schultz (alex-schultz) → Emilien Macchi (emilienm) |
description: | updated |
tags: | added: idempotency |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/435011
Review: https:/