Changing of Ceph replication factor after deployment
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Confirmed
|
Wishlist
|
MOS Ceph | ||
7.0.x |
Won't Fix
|
Wishlist
|
MOS Maintenance | ||
8.0.x |
Won't Fix
|
Wishlist
|
MOS Ceph | ||
Mitaka |
Won't Fix
|
Wishlist
|
MOS Ceph | ||
Newton |
Won't Fix
|
Wishlist
|
MOS Ceph |
Bug Description
In my case the replication factor number was misunderstood and left at 2. As this means 2 copies in total, and not 2 copies in addition to the original upload - I needed to change this.
This was done on any controller to fix it:
ceph osd lspools # List Ceph pools
ceph osd pool set <pool name> size <size_value> # Increase size one by one
ceph -s # Verify that replication completes successfully
Then edit the Fuel Postgres database manually to increase from 2 to 3 - to avoid any issues with expanding the cluster.
The only way to do this through the Fuel GUI currently is to reset the entire OpenStack cluster (thus wiping existing Ceph data). This was not an option for us.
Given the simplicity of the above solution, it should be no problem to enable editing of this field through the Fuel GUI. The only other thing that should be done would be a quick check to see if there's enough space available in the Ceph cluster for the new replication factor.
Changed in fuel: | |
importance: | Undecided → Wishlist |
status: | New → Confirmed |
milestone: | none → next |
Changed in fuel: | |
assignee: | nobody → Fuel UI Team (fuel-ui) |
Changed in fuel: | |
milestone: | next → 7.0 |
tags: | added: ui |
tags: | added: customer-found |
Changed in fuel: | |
assignee: | Fuel Library Team (fuel-library) → Mykola Golub (mgolub) |
assignee: | Mykola Golub (mgolub) → MOS Ceph (mos-ceph) |
Changed in fuel: | |
milestone: | 7.0 → 8.0 |
status: | Won't Fix → Confirmed |
no longer affects: | fuel/8.0.x |
tags: | added: feature |
tags: | added: life-cycle-management need-bp |
tags: | removed: feature |
tags: | added: area-mos |
tags: | added: wontfix-feature |
If everything is that easy as described, can we just add "always_editable: true" to ceph replication factor in openstack.yaml?