Bug 1426434 - Swift restarts on update even with no changes
Summary: Swift restarts on update even with no changes
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: puppet-tripleo
Version: 10.0 (Newton)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: async
: 10.0 (Newton)
Assignee: Alex Schultz
QA Contact: Gurenko Alex
URL:
Whiteboard:
: 1442595 (view as bug list)
Depends On:
Blocks: 1421883
TreeView+ depends on / blocked
 
Reported: 2017-02-23 22:10 UTC by Alex Schultz
Modified: 2020-08-13 08:53 UTC (History)
6 users (show)

Fixed In Version: puppet-tripleo-5.5.0-4.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-03-06 19:38:14 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1665405 0 None None None 2017-02-23 22:10:21 UTC
OpenStack gerrit 437701 0 None None None 2017-02-23 22:13:14 UTC
Red Hat Product Errata RHBA-2017:0451 0 normal SHIPPED_LIVE Red Hat OpenStack Platform 10 Bug Fix and Enhancement Advisory 2017-03-07 00:37:45 UTC

Description Alex Schultz 2017-02-23 22:10:22 UTC
Description of problem:
The swift client is attempted to be reinstalled every time the update runs which causes the swift services to be restarted. This is caused by the norpm puppet provider which does not properly handle virtual packages. In puppet-swift we use 'python-swiftclient' to ensure the package is installed but the package  name is actually 'python2-swiftclient'.

Version-Release number of selected component (if applicable):
puppet-tripleo-5.5.0-2.el7ost.noarch.rpm

How reproducible:
Every time an update to the stack is run.

Simple test case:
cat >test.pp <<EOF
include ::tripleo::packages
include ::swift::client
EOF
puppet apply --modulepath=/etc/puppet/modules test.pp

Actual results:
Output will contain:
Notice: /Stage[main]/Swift::Client/Package[swiftclient]/ensure: created

Expected results:
Output should not contain:
Notice: /Stage[main]/Swift::Client/Package[swiftclient]/ensure: created

Related BZ 1421883

Comment 2 Alex Schultz 2017-03-03 17:56:59 UTC
Verified package no longer reports being installed when already installed.

Comment 4 errata-xmlrpc 2017-03-06 19:38:14 UTC
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://rhn.redhat.com/errata/RHBA-2017-0451.html

Comment 5 Alex Schultz 2017-04-17 15:46:19 UTC
*** Bug 1442595 has been marked as a duplicate of this bug. ***

Comment 6 Alex Schultz 2017-04-18 15:14:23 UTC
*** Bug 1442595 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.