Bug 1441757

Summary: glance services always restart on updates
Product: Red Hat OpenStack Reporter: Alex Schultz <aschultz>
Component: puppet-tripleoAssignee: RHOS Maint <rhos-maint>
Status: CLOSED ERRATA QA Contact: Mike Abrams <mabrams>
Severity: low Docs Contact:
Priority: low    
Version: 10.0 (Newton)CC: aschultz, cschwede, ekuvaja, jjoyce, jschluet, mabrams, mburns, pgrist, rhel-osp-director-maint, slinaber, tvignaud
Target Milestone: betaKeywords: Reopened, Triaged
Target Release: 12.0 (Pike)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: puppet-tripleo-7.4.3-0.20171019174214.1e9000a.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-13 21:23:38 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:    
Bug Blocks: 1421883, 1485264    

Description Alex Schultz 2017-04-12 15:54:24 UTC
Description of problem:
When applying updates, glance services restart on the controllers even if no changes are made. This appears to be because we are removing some rabbit host configuration as part of step4

Apr 12 15:15:41 controller-0.localdomain os-collect-config[2943]: Notice: /Stage[main]/Glance::Notify::Rabbitmq/Oslo::Messaging::Rabbit[glance_api_config]/Glance_api_config[oslo_messaging_rabbit/rabbit_port]/ensure: removed
Apr 12 15:15:41 controller-0.localdomain os-collect-config[2943]: Notice: /Stage[main]/Glance::Notify::Rabbitmq/Oslo::Messaging::Rabbit[glance_registry_config]/Glance_registry_config[oslo_messaging_rabbit/rabbit_hosts]/ensure: created
Apr 12 15:15:41 controller-0.localdomain os-collect-config[2943]: Notice: /Stage[main]/Glance::Notify::Rabbitmq/Oslo::Messaging::Rabbit[glance_api_config]/Glance_api_config[oslo_messaging_rabbit/rabbit_hosts]/ensure: created
Apr 12 15:15:41 controller-0.localdomain os-collect-config[2943]: Notice: /Stage[main]/Glance::Notify::Rabbitmq/Oslo::Messaging::Rabbit[glance_registry_config]/Glance_registry_config[oslo_messaging_rabbit/rabbit_port]/ensure: removed

Version-Release number of selected component (if applicable):
openstack-tripleo-heat-templates-5.2.0-9.el7ost.noarch

Comment 7 Alex Schultz 2017-08-17 20:12:11 UTC
Yea I can't reproduce this anymore. So let's just close it for now.

Comment 8 Alex Schultz 2017-08-31 17:32:24 UTC
This issue has been reproduced by a customer in Bug 1485264.  It seems that we may have fixed this in subsequent releases but is still occuring in OSP10. I think it may be related to HA controllers as the following are removed in step3 and readded in step4:

Step3:
Aug 31 01:22:21 localhost os-collect-config: #033[mNotice: /Stage[main]/Glance::Notify::Rabbitmq/Oslo::Messaging::Rabbit[glance_registry_config]/Glance_registry_config[oslo_messaging_rabbit/rabbit_ha_queues]/ensure: removed#033[0m
Aug 31 01:22:21 localhost os-collect-config: #033[mNotice: /Stage[main]/Glance::Notify::Rabbitmq/Oslo::Messaging::Rabbit[glance_api_config]/Glance_api_config[oslo_messaging_rabbit/rabbit_port]/ensure: created#033[0m
Aug 31 01:22:21 localhost os-collect-config: #033[mNotice: /Stage[main]/Glance::Notify::Rabbitmq/Oslo::Messaging::Rabbit[glance_api_config]/Glance_api_config[oslo_messaging_rabbit/rabbit_ha_queues]/ensure: removed#033[0m
Aug 31 01:22:21 localhost os-collect-config: #033[mNotice: /Stage[main]/Glance::Notify::Rabbitmq/Oslo::Messaging::Rabbit[glance_registry_config]/Glance_registry_config[oslo_messaging_rabbit/rabbit_hosts]/ensure: removed#033[0m
Aug 31 01:22:21 localhost os-collect-config: #033[mNotice: /Stage[main]/Glance::Notify::Rabbitmq/Oslo::Messaging::Rabbit[glance_api_config]/Glance_api_config[oslo_messaging_rabbit/rabbit_hosts]/ensure: removed#033[0m
Aug 31 01:22:21 localhost os-collect-config: #033[mNotice: /Stage[main]/Glance::Notify::Rabbitmq/Oslo::Messaging::Rabbit[glance_registry_config]/Glance_registry_config[oslo_messaging_rabbit/rabbit_port]/ensure: created#033[0m

Step4:
/Stage[main]/Glance::Notify::Rabbitmq/Oslo::Messaging::Rabbit[glance_registry_config]/Glance_registry_config[oslo_messaging_rabbit/rabbit_ha_queues]/ensure: created#033[0m
Aug 31 01:26:32 localhost os-collect-config: #033[mNotice: /Stage[main]/Glance::Notify::Rabbitmq/Oslo::Messaging::Rabbit[glance_api_config]/Glance_api_config[oslo_messaging_rabbit/rabbit_port]/ensure: removed#033[0m
Aug 31 01:26:32 localhost os-collect-config: #033[mNotice: /Stage[main]/Glance::Notify::Rabbitmq/Oslo::Messaging::Rabbit[glance_api_config]/Glance_api_config[oslo_messaging_rabbit/rabbit_ha_queues]/ensure: created#033[0m
Aug 31 01:26:32 localhost os-collect-config: #033[mNotice: /Stage[main]/Glance::Notify::Rabbitmq/Oslo::Messaging::Rabbit[glance_registry_config]/Glance_registry_config[oslo_messaging_rabbit/rabbit_hosts]/ensure: created#033[0m
Aug 31 01:26:32 localhost os-collect-config: #033[mNotice: /Stage[main]/Glance::Notify::Rabbitmq/Oslo::Messaging::Rabbit[glance_api_config]/Glance_api_config[oslo_messaging_rabbit/rabbit_hosts]/ensure: created#033[0m
Aug 31 01:26:32 localhost os-collect-config: #033[mNotice: /Stage[main]/Glance::Notify::Rabbitmq/Oslo::Messaging::Rabbit[glance_registry_config]/Glance_registry_config[oslo_messaging_rabbit/rabbit_port]/ensure: removed#033[0m

Comment 15 errata-xmlrpc 2017-12-13 21:23:38 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://access.redhat.com/errata/RHEA-2017:3462