Delete compute service when deleting compute node

Bug #1358428 reported by Andrey Grebennikov
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Won't Fix
High
Fuel Documentation Team
6.1.x
Won't Fix
Medium
Fuel Python (Deprecated)
7.0.x
Confirmed
High
Fuel Documentation Team
8.0.x
Confirmed
Wishlist
Fuel Python (Deprecated)

Bug Description

When we delete the compute node with help of Fuel, it still leaves as the compute service in OpenStack. It becomes marked offline forever or until the administrator deletes it from the database manually.
There are two ways of workaround:
1. There if the API call in Nova (Change-Id: I655a7f818bb59c8971feb5841feeefafc3a4580a) which allow to do it with API call;
2. We may clean the database with the next steps:

mysql -u root -p
use nova;
delete from compute_node_stats where compute_node_id=(select cn.id from compute_nodes cn, services s where cn.service_id=s.id and s.host='hostname');
delete from compute_nodes where service_id=(select id from services where host='hostname');
delete from services where host='hostname';

Dmitry Pyzhov (dpyzhov)
Changed in fuel:
importance: Undecided → Medium
milestone: none → 6.0
Changed in fuel:
status: New → Confirmed
Changed in fuel:
assignee: nobody → Fuel Library Team (fuel-library)
Changed in fuel:
assignee: Fuel Library Team (fuel-library) → Fuel Python Team (fuel-python)
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
milestone: 6.0 → 6.1
Dmitry Pyzhov (dpyzhov)
tags: added: feature
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
milestone: 6.1 → next
Changed in fuel:
milestone: next → 7.0
tags: added: release-notes
removed: feature
Changed in fuel:
status: Confirmed → Won't Fix
Revision history for this message
Aleksey Kasatkin (alekseyk-ru) wrote :

Does not break deployment. Requires release-notes. Moved to 8.0.

tags: added: known-issue
tags: added: life-cycle-management
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.