After re-deployment of the controller in HA the line 'mon_initial_members' does not get updated in ceph.conf
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
Low
|
Mykola Golub | ||
6.1.x |
Won't Fix
|
Low
|
Mykola Golub |
Bug Description
After re-deployment of the controller in HA the line 'mon_initial_
[root@fuel ~]# fuel --f
DEPRECATION WARNING: /etc/fuel/
api: '1.0'
astute_sha: 1ea8017fe888941
auth_required: true
build_id: 2015-06-19_13-02-31
build_number: '525'
feature_groups:
- mirantis
fuel-library_sha: 2e7a08ad9792c70
fuel-ostf_sha: 8fefcf7c4649370
fuelmain_sha: a3998372183468f
nailgun_sha: dbd54158812033d
openstack_version: 2014.2.2-6.1
production: docker
python-
release: '6.1'
release_versions:
2014.2.2-6.1:
VERSION:
api: '1.0'
astute_sha: 1ea8017fe888941
build_id: 2015-06-19_13-02-31
build_number: '525'
feature_
- mirantis
fuel-
fuel-
fuelmain_sha: a3998372183468f
nailgun_sha: dbd54158812033d
openstack
production: docker
python-
release: '6.1'
Steps to reproduce:
1. HA (3 Controllers + 2 Computes+Ceph-OSD)
2. CentOS or Ubuntu
3. Neutron LAN
4. Ceph (use for all)
5. Deploy
6. Delete one of the controllers and add new
[root@fuel ~]# fuel nodes
DEPRECATION WARNING: /etc/fuel/
id | status | name | cluster | ip | mac | roles | pending_roles | online | group_id
---|---
2 | ready | Untitled (49:dd) | 1 | 10.20.0.4 | 08:00:27:34:49:dd | controller | | True | 1
5 | ready | Untitled (a1:a4) | 1 | 10.20.0.6 | 08:00:27:03:a1:a4 | ceph-osd, compute | | True | 1
4 | ready | Untitled (6d:0f) | 1 | 10.20.0.7 | 08:00:27:79:6d:0f | ceph-osd, compute | | True | 1
1 | ready | Untitled (b7:e4) | 1 | 10.20.0.3 | 08:00:27:bc:b7:e4 | controller | | True | 1
6 | ready | Untitled (be:ef) | 1 | 10.20.0.8 | 08:00:27:57:be:ef | controller | | True | 1
We expect: on all controllers service 'ceph-mon' is running and on all nodes file 'ceph.conf' contains the new name of the controller in the line 'mon_initial_
But, we got:
[root@fuel ~]# for i in $(fuel nodes|grep ready|awk '{print $1}'); do ssh node-$i cat /etc/ceph/ceph.conf |grep mon_initial_members ;done
DEPRECATION WARNING: /etc/fuel/
Warning: Permanently added 'node-2' (RSA) to the list of known hosts.
mon_initial_members = node-1 node-2 node-3
Warning: Permanently added 'node-5' (RSA) to the list of known hosts.
mon_initial_members = node-1 node-2 node-3
Warning: Permanently added 'node-4' (RSA) to the list of known hosts.
mon_initial_members = node-1 node-2 node-3
Warning: Permanently added 'node-1' (RSA) to the list of known hosts.
mon_initial_members = node-1 node-2 node-6
Warning: Permanently added 'node-6' (RSA) to the list of known hosts.
mon_initial_members = node-1 node-2 node-6
[root@node-1 ~]# ceph -s
2015-07-09 12:29:33.664512 7f6eb0846700 0 -- :/1007809 >> 192.168.0.5:6789/0 pipe(0x7f6eac022400 sd=3 :0 s=1 pgs=0 cs=0 l=1 c=0x7f6eac02269
cluster 981016fb-
health HEALTH_WARN 1 mons down, quorum 0,1 node-1,node-2
monmap e3: 3 mons at {node-1=
osdmap e98: 4 osds: 4 up, 4 in
pgmap v5022: 2496 pgs, 12 pools, 1815 MB data, 440 objects
12087 MB used, 241 GB / 253 GB avail
[root@node-1 ~]# ceph health detail
2015-07-09 12:30:30.658407 7eff441fb700 0 -- :/1010607 >> 192.168.0.5:6789/0 pipe(0x7eff40022370 sd=3 :0 s=1 pgs=0 cs=0 l=1 c=0x7eff4002260
HEALTH_WARN 1 mons down, quorum 0,1 node-1,node-2
mon.node-3 (rank 2) addr 192.168.0.5:6789/0 is down (out of quorum)
[root@fuel ~]# for i in $(fuel nodes|grep controller|awk '{print $1}'); do ssh node-$i ps aux|grep ceph-mon ;done
DEPRECATION WARNING: /etc/fuel/
Warning: Permanently added 'node-2' (RSA) to the list of known hosts.
root 2033 0.1 1.2 246564 49548 ? Sl 09:47 0:09 /usr/bin/ceph-mon -i node-2 --pid-file /var/run/
Warning: Permanently added 'node-1' (RSA) to the list of known hosts.
root 2037 0.1 1.1 240788 45896 ? Sl 09:47 0:09 /usr/bin/ceph-mon -i node-1 --pid-file /var/run/
Warning: Permanently added 'node-6' (RSA) to the list of known hosts.
Changed in fuel: | |
assignee: | nobody → Fuel Library Team (fuel-library) |
Changed in fuel: | |
milestone: | none → 6.0.1-updates |
milestone: | 6.0.1-updates → 7.0 |
assignee: | Fuel Library Team (fuel-library) → Oleksiy Molchanov (omolchanov) |
importance: | Undecided → High |
status: | New → Confirmed |
tags: | added: on-verification |
Diagnostic snapshot /drive. google. com/open? id=0B-l2g_ sTQureT1UzcG5GO VhxdWs
https:/