suppress comput node not completly OK

Asked by jean-claude douine

When i suppress a comput node using fuel dashboard , i have to execute 2 actions to have no trace of suppressed node in openstack dashboard in "information systeme" part , in "service de calcul" and "agents reseau"

To be clean , mandatory actions :
with mysql client DB 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='node-xx');
delete from compute_nodes where service_id=(select id from services where host='node-xx');
delete from services where host='node-xx';
With neutron client :

neutron agent-list
+--------------------------------------+--------------------+---------+-------+----------------+
| id | agent_type | host | alive | admin_state_up |
+--------------------------------------+--------------------+---------+-------+----------------+
| 1282e815-a320-4266-aae6-4dbd7080847a | Open vSwitch agent | node-29 | xxx | True |
| 1806e04a-56f3-4fdd-b5f0-43fc9c85043e | L3 agent | node-25 | :-) | True |
| 70a3322b-beed-4ea3-a32e-13c53969400e | Open vSwitch agent | node-25 | :-) | True |
| 756e43ae-f582-4dd5-8130-7a07a6511101 | Open vSwitch agent | node-28 | xxx | True |
| 92fed948-8a22-4523-8a44-f3de6a85593e | Open vSwitch agent | node-23 | :-) | True |
| bbfe28ec-6f3b-47aa-aca0-b6b93565daf7 | Open vSwitch agent | node-27 | :-) | True |
| d0b4ec0f-9731-4488-bc7e-0a8480edc7c1 | DHCP agent | node-27 | :-) | True |
| d5c44644-d510-45a9-9f20-0ed90a170895 | Open vSwitch agent | node-26 | :-) | True |
| d69d51a8-201f-4353-b97b-2e551b54134a | Open vSwitch agent | node-24 | :-) | True |
+--------------------------------------+--------------------+---------+-------+----------------+
root@node-24:~# neutron agent-delete 1282e815-a320-4266-aae6-4dbd7080847a
Deleted agent: 1282e815-a320-4266-aae6-4dbd7080847a
root@node-24:~# neutron agent-delete 756e43ae-f582-4dd5-8130-7a07a6511101
Deleted agent: 756e43ae-f582-4dd5-8130-7a07a6511101

Is there a bug of Fuel 4.1 , or openstack problem ?????
Thanks

Question information

Language:
English Edit question
Status:
Answered
For:
Fuel for OpenStack Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Miroslav Anashkin (manashkin) said :
#1

Greetings Jean-Claude,

No, it is not a bug.

Currently, there is no Remove Node feature in OpenStack Havana and previous OpenStack releases at all.

Remove Compute Node feature is expected in upcoming OpenStack Icehouse release.
Icehouse general release is expected on April 17, 2014 and updated Mirantis OpenStack release, based on Icehouse is currently expected on May, 12, 2014.

Please consult OpenStack blueprints and roadmap for details.
https://blueprints.launchpad.net/nova/+spec/remove-nova-compute
http://status.openstack.org/release/

Kind regards,
Miroslav

Can you help with this problem?

Provide an answer of your own, or ask jean-claude douine for more information if necessary.

To post a message you must log in.