Removed nodes via Fuel UI still shown into 'crm status'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Confirmed
|
High
|
Bogdan Dobrelya | ||
5.1.x |
Won't Fix
|
Medium
|
Fuel Library (Deprecated) | ||
6.0.x |
Confirmed
|
High
|
Fuel Library (Deprecated) |
Bug Description
After redeploying cluster crm see old nodes
Fuel 5.1.1
Cluster: Centos, HA, neutron+gre, Sahara
All steps do via Fuel UI
1 Deploy cluster: 3 nodes controller+cinder, 2 nodes computes
2 Remove 1 controller (last one into fuel list)
3 Deploy Changes
4 Wait for the host to become available as an unallocated node
5 Add the node to the environment with the same role as before (controller+cinder)
6 Deploy Changes - error (2 controller nodes in error first one and new node)
7 Remove controllers in error (first one and new node, leave just alive controller)
8 Deploy Changes
9 Wait for the hosts to becomes available as an unallocated nodes
10 Add the nodes to the environment with the same role as before (controller+cinder)
11 Deploy Changes
Expected that crm will see just real nodes.
[root@fuel ~]# fuel nodes
id | status | name | cluster | ip | mac | roles | pending_roles | online
---|---
19 | ready | Untitled (bb:97) | 5 | 10.20.0.4 | 0a:e0:35:7d:1c:4b | cinder, controller | | True
22 | ready | Untitled (b8:aa) | 5 | 10.20.0.7 | e2:4a:c6:50:0a:46 | compute | | True
25 | ready | Untitled (96:9b) | 5 | 10.20.0.5 | ba:15:71:69:63:4b | cinder, controller | | True
21 | ready | Untitled (83:7e) | 5 | 10.20.0.6 | 92:95:4e:54:08:41 | compute | | True
24 | ready | Untitled (ca:b5) | 5 | 10.20.0.3 | a2:a8:20:27:7e:46 | cinder, controller | | True
But
# ssh node-19
[root@node-19 ~]# crm_node --list
50374848 node-19.domain.tld member
33597632 node-24.domain.tld member
67152064 node-25.domain.tld member
[root@node-19 ~]# crm configure show
node node-18.domain.tld \
attributes gtid="7da74cd3-
node node-19.domain.tld \
attributes gtid="7da74cd3-
node node-20.domain.tld \
attributes gtid="7da74cd3-
node node-24.domain.tld \
attributes gtid="7da74cd3-
node node-25.domain.tld \
attributes gtid="7da74cd3-
primitive p_haproxy ocf:mirantis:
params ns="haproxy" \
meta migration-
op monitor interval="20" timeout="10" \
op start interval="0" timeout="30" \
op stop interval="0" timeout="30"
primitive p_mysql ocf:mirantis:
params test_passwd=
op monitor interval="120" timeout="115" \
op start interval="0" timeout="475" \
op stop interval="0" timeout="175"
primitive p_neutron-
params password="g8DhNOtn" tenant="services" username="neutron" os_auth_url="http://
meta resource-
op monitor interval="30" timeout="10" \
op start interval="0" timeout="60" \
op stop interval="0" timeout="60"
primitive p_neutron-l3-agent ocf:mirantis:
params password="g8DhNOtn" tenant="services" syslog="true" username="neutron" os_auth_url="http://
meta resource-
op monitor interval="20" timeout="10" \
op start interval="0" timeout="60" \
op stop interval="0" timeout="60"
primitive p_neutron-
op monitor interval="60" timeout="10" \
op start interval="0" timeout="30" \
op stop interval="0" timeout="30"
primitive p_neutron-
op monitor interval="20" timeout="10" \
op start interval="0" timeout="80" \
op stop interval="0" timeout="80"
primitive p_openstack-
meta resource-
op monitor interval="20" timeout="30" \
op start interval="0" timeout="60" \
op start interval="0" timeout="60" \
op stop interval="0" timeout="60"
primitive p_rabbitmq-server ocf:mirantis:
params node_port="5673" \
meta migration-
op monitor interval="30" timeout="60" \
op promote interval="0" timeout="120" \
op notify interval="0" timeout="60" \
op start interval="0" timeout="120" \
op demote interval="0" timeout="60" \
op stop interval="0" timeout="60" \
op monitor interval="27" role="Master" timeout="60"
primitive ping_vip_
params multiplier="1000" timeout="3s" dampen="30s" host_list=
op monitor interval="20" timeout="30"
primitive vip__management_old ocf:mirantis:
params iflabel="ka" ip="192.168.0.1" gateway_metric="20" iptables_
meta resource-
op monitor interval="3" timeout="30" \
op start interval="0" timeout="30" \
op stop interval="0" timeout="30"
primitive vip__public_old ocf:mirantis:
params iflabel="ka" ip="172.16.0.2" gateway_metric="10" iptables_
meta resource-
op monitor interval="3" timeout="30" \
op start interval="0" timeout="30" \
op stop interval="0" timeout="30"
ms master_
meta interleave="true" ordered="false" target-
clone clone_p_haproxy p_haproxy \
meta interleave="true" is-managed="true" target-
clone clone_p_mysql p_mysql \
meta is-managed="true" target-
clone clone_p_
meta interleave="false" is-managed="true" target-
clone clone_p_
meta interleave="false" is-managed="true" target-
clone clone_p_
meta is-managed="true" target-
[root@node-19 ~]# crm status
Last updated: Wed Dec 17 15:47:51 2014
Last change: Wed Dec 17 15:47:48 2014 via crm_attribute on node-19.domain.tld
Stack: classic openais (with plugin)
Current DC: node-19.domain.tld - partition with quorum
Version: 1.1.10-
5 Nodes configured, 3 expected votes
39 Resources configured
Online: [ node-19.domain.tld node-24.domain.tld node-25.domain.tld ]
OFFLINE: [ node-18.domain.tld node-20.domain.tld ]
vip__managemen
vip__public_old (ocf::mirantis:
Clone Set: clone_ping_
ping_
Started: [ node-19.domain.tld node-25.domain.tld ]
Clone Set: clone_p_mysql [p_mysql]
Started: [ node-19.domain.tld node-24.domain.tld node-25.domain.tld ]
Master/Slave Set: master_
Masters: [ node-19.domain.tld ]
Slaves: [ node-24.domain.tld node-25.domain.tld ]
Clone Set: clone_p_haproxy [p_haproxy]
Started: [ node-19.domain.tld node-24.domain.tld node-25.domain.tld ]
Clone Set: clone_p_
Started: [ node-19.domain.tld node-24.domain.tld node-25.domain.tld ]
Clone Set: clone_p_
Started: [ node-19.domain.tld node-24.domain.tld node-25.domain.tld ]
Clone Set: clone_p_
Started: [ node-19.domain.tld node-24.domain.tld node-25.domain.tld ]
p_neutron-
p_neutron-l3-agent (ocf::mirantis:
location cli-prefer-
location cli-prefer-
location clone_p_
location clone_p_
location clone_p_
location clone_p_
location clone_p_
location clone_p_
location clone_p_
location clone_p_
location clone_p_
location clone_p_
location clone_p_
location clone_p_
location clone_p_
location clone_p_
location clone_p_
location clone_p_
location clone_p_
location clone_p_
location clone_p_
location clone_p_
location clone_p_
location clone_p_
location clone_p_
location clone_p_
location clone_p_
location clone_ping_
location clone_ping_
location clone_ping_
location clone_ping_
location clone_ping_
location loc_ping_
rule $id="loc_
location master_
location master_
location master_
location master_
location master_
location p_neutron-
location p_neutron-
location p_neutron-
location p_neutron-
location p_neutron-
location p_neutron-
location p_neutron-
location p_neutron-
location p_neutron-
location p_neutron-
location vip__management
location vip__management
location vip__management
location vip__management
location vip__management
location vip__public_
location vip__public_
location vip__public_
location vip__public_
location vip__public_
colocation dhcp-with-metadata inf: p_neutron-
colocation dhcp-with-ovs inf: p_neutron-
colocation dhcp-without-l3 -100: p_neutron-
colocation l3-with-metadata inf: p_neutron-l3-agent clone_p_
colocation l3-with-ovs inf: p_neutron-l3-agent clone_p_
colocation vip_management-
colocation vip_public-
order dhcp-after-metadata inf: clone_p_
order dhcp-after-ovs inf: clone_p_
order l3-after-metadata inf: clone_p_
order l3-after-ovs inf: clone_p_
property $id="cib-
Nodes node-18.domain.tld and node20.domain.tld do not exist.
description: | updated |
description: | updated |
Changed in fuel: | |
assignee: | nobody → Fuel Library Team (fuel-library) |
milestone: | none → 5.1.2 |
tags: | added: release-notes |
Changed in fuel: | |
importance: | Medium → High |
assignee: | Fuel Library Team (fuel-library) → Dmitry Ilyin (idv1985) |
Changed in fuel: | |
assignee: | Dmitry Ilyin (idv1985) → Sergii Golovatiuk (sgolovatiuk) |
Changed in fuel: | |
assignee: | Sergii Golovatiuk (sgolovatiuk) → Dmitry Ilyin (idv1985) |
Changed in fuel: | |
assignee: | Dmitry Ilyin (idv1985) → Fuel Library Team (fuel-library) |
Changed in fuel: | |
assignee: | Fuel Library Team (fuel-library) → Bartlomiej Piotrowski (bpiotrowski) |
Changed in fuel: | |
assignee: | Bartlomiej Piotrowski (bpiotrowski) → Fuel Library Team (fuel-library) |
As this doesn't break deployment, setting to medium and 6.1. 5.1 and 6.0 should only get high priority backports.