Bug 1380207

Summary: Doing overcloud stack update (package upgrade) fails with error saying can't find resource openstack-keystone
Product: [Community] RDO Reporter: Graeme Gillies <ggillies>
Component: openstack-tripleoAssignee: James Slagle <jslagle>
Status: CLOSED WORKSFORME QA Contact: Shai Revivo <srevivo>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: MitakaCC: chris.brown
Target Milestone: ---   
Target Release: trunk   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-07 22:43:02 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:

Description Graeme Gillies 2016-09-29 00:09:47 UTC
Hi,

We have an overcloud deployed with RDO mitaka from CBS. I then did a stack update to upgrade the packages

openstack overcloud stack update -i etc. etc.

And the update fails with the following error

FAILED
update finished with status FAILED

real    42m16.151s
user    0m23.150s
sys     0m1.720s
[stack@rhosops-test-tripleo openstack-deployment]$ heat resource-list -n 10 overcloud | grep FAILED
| ControllerNodesPostDeployment                 | 727e6661-4a89-4f57-92c0-35945a10051a          | OS::TripleO::ControllerPostDeployment                                                               | UPDATE_FAILED   | 2016-09-28T23:16:05 | overcloud                                                                                                                                         |
| ControllerPostPuppet                          | 0edf8e5e-c281-4202-88c4-a3c6471de227          | OS::TripleO::Tasks::ControllerPostPuppet                                                            | UPDATE_FAILED   | 2016-09-28T23:22:21 | overcloud-ControllerNodesPostDeployment-tw7pguowczf4                                                                                              |
| 0                                             | 492ea54f-e78a-431e-b5a1-3a6f10e4a7da          | OS::Heat::SoftwareDeployment                                                                        | UPDATE_FAILED   | 2016-09-28T23:23:09 | overcloud-ControllerNodesPostDeployment-tw7pguowczf4-ControllerPostPuppet-r5grqvw5jr7o-ControllerPostPuppetRestartDeployment-ssu7klff2yku         |
| ControllerPostPuppetRestartDeployment         | 647f722d-7ab4-4a3f-b7d1-1e3ee8767ba2          | OS::Heat::SoftwareDeployments                                                                       | UPDATE_FAILED   | 2016-09-28T23:23:09 | overcloud-ControllerNodesPostDeployment-tw7pguowczf4-ControllerPostPuppet-r5grqvw5jr7o                                                            |
[stack@rhosops-test-tripleo openstack-deployment]$ heat deployment-output-show 647f722d-7ab4-4a3f-b7d1-1e3ee8767ba2 deploy_stderr
Deployment not found: 647f722d-7ab4-4a3f-b7d1-1e3ee8767ba2
[stack@rhosops-test-tripleo openstack-deployment]$ heat deployment-output-show 492ea54f-e78a-431e-b5a1-3a6f10e4a7da deploy_stderr                                                                                                                                                         
++ systemctl is-active pacemaker
+ pacemaker_status=active
++ hiera bootstrap_nodeid
++ facter hostname
++ hiera update_identifier
+ '[' active = active -a overcloud-controller-0 = overcloud-controller-0 -a 1475102427 '!=' nil ']'
+ pcs constraint order show
+ grep 'start neutron-server-clone then start neutron-ovs-cleanup-clone'
+ pcs resource disable httpd
+ check_resource httpd stopped 300
+ '[' 3 -ne 3 ']'
+ service=httpd
+ state=stopped
+ timeout=300
+ '[' stopped = stopped ']'
+ match_for_incomplete=Started
+ timeout -k 10 300 crm_resource --wait
++ pcs status --full
++ grep httpd
++ grep -v Clone
+ node_states='     httpd       (systemd:httpd):        (target-role:Stopped) Stopped
     httpd      (systemd:httpd):        (target-role:Stopped) Stopped
     httpd      (systemd:httpd):        (target-role:Stopped) Stopped'
+ echo '     httpd      (systemd:httpd):        (target-role:Stopped) Stopped
     httpd      (systemd:httpd):        (target-role:Stopped) Stopped
     httpd      (systemd:httpd):        (target-role:Stopped) Stopped'
+ grep -q Started
+ echo 'httpd has stopped'
+ pcs resource disable openstack-keystone
Error: unable to find a resource/clone/master/group: openstack-keystone

Version-Release number of selected component (if applicable):

It seems odd that it wants to mess with openstack-keystone as my understanding is it's now been moved into httpd

Comment 1 Graeme Gillies 2016-09-29 00:18:16 UTC
Likely this commit needs to be packported from master

https://github.com/openstack/tripleo-heat-templates/commit/2d92911838fdecdbc522e9e1b095c1b1b09029e0

Comment 2 Christopher Brown 2017-06-19 20:23:38 UTC
Hi Graeme,

Sorry you didn't get a response.

Do you still need this bug open or ok to close

Comment 3 Graeme Gillies 2017-06-19 23:48:33 UTC
I am no longer seeing the issue so I guess ok to close