Bug 1339140

Summary: Scale down compute node does not remove nova service from the removed compute node
Product: Red Hat CloudForms Management Engine Reporter: Ronnie Rasouli <rrasouli>
Component: ProvidersAssignee: Tzu-Mainn Chen <tzumainn>
Status: CLOSED CURRENTRELEASE QA Contact: Ola Pavlenko <opavlenk>
Severity: high Docs Contact:
Priority: high    
Version: 5.6.0CC: cpelland, dajohnso, jfrey, jhardy, jprause, obarenbo, simaishi
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: openstack:provider:infra
Fixed In Version: 5.7.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1342220 1403647 (view as bug list) Environment:
Last Closed: 2017-01-11 19:50:05 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: Bug
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1342220, 1377095, 1403647, 1426105, 1438792    

Description Ronnie Rasouli 2016-05-24 08:47:19 UTC
Description of problem:

after scale down(removing one compute node) the nova service for the removed compute node is still present 


6  | nova-compute     | overcloud-compute-1.localdomain    | nova     | enabled | down  | 2016-05-24T06:19:25.000000 | -
Version-Release number of selected component (if applicable):

The scaled down compute node status still enabled

How reproducible:

100%

Steps to Reproduce:
1.login to cfme
2. go to compute -> infra.. -> providers 
3. click on nodes --> select the compute node you wish to scale down --> configuration --> toggle for maintenance this node
4. click on configuration --> scale this infra provider down

Actual results:

the scale down succeeded but the node compute service status is still present and enabled

Expected results:

do nova service-delete call
For removing the nova service from the removed node

Additional info:

Comment 2 Tzu-Mainn Chen 2016-05-25 07:09:50 UTC
Should be fixed by: https://github.com/ManageIQ/manageiq/pull/8950 (service deletion)

Comment 4 Tzu-Mainn Chen 2016-06-08 21:02:11 UTC
fix merged upstream

Comment 5 Ronnie Rasouli 2016-10-06 14:37:50 UTC
tested with RHOS8 and 5.7.0.3