Swift-ring-builder balance is more than 100.00 after adding two new controllers to cluster
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
High
|
Andrey Sledzinskiy | ||
6.0.x |
Won't Fix
|
High
|
Fuel Library (Deprecated) |
Bug Description
{
"build_id": "2015-01-
"ostf_sha": "249574cdda0279
"build_number": "44",
"auth_
"api": "1.0",
"nailgun_sha": "4b325a95b0217a
"production": "docker",
"fuelmain_sha": "cc47eef01622b8
"astute_sha": "18be5cd3b819f3
"feature_
"mirantis"
],
"release": "6.1",
"release_
],
}
}
},
"fuellib_sha": "42df19509c40e2
}
Steps:
1. Create next cluster - 1 controller, Flat nova-network, HA, Ubuntu
2. Deploy cluster
3. Check swift-ring-builder health with
swift-ring-builder /etc/swift/
512 partitions, 3.000000 replicas, 1 regions, 1 zones, 2 devices, 0.00 balance
The minimum number of hours before a partition can be reassigned is 1
Devices: id region zone ip address port replication ip replication port name weight partitions balance meta
0 1 2 10.108.4.2 6000 10.108.4.2 6000 1 1.00 768 0.00
1 1 2 10.108.4.2 6000 10.108.4.2 6000 2 1.00 768 0.00
4. Add 2 controllers
5. Re-deploy cluster
6. After re-deployment check swift-ring builder health again with
swift-ring-builder /etc/swift/
Expected - balance is less than 100.00
Actual result - balance is 105.47
512 partitions, 3.000000 replicas, 1 regions, 3 zones, 6 devices, 105.47 balance
The minimum number of hours before a partition can be reassigned is 1
Devices: id region zone ip address port replication ip replication port name weight partitions balance meta
0 1 2 10.108.4.2 6000 10.108.4.2 6000 1 1.00 498 94.53
1 1 2 10.108.4.2 6000 10.108.4.2 6000 2 1.00 526 105.47
2 1 3 10.108.4.4 6000 10.108.4.4 6000 2 1.00 128 -50.00
3 1 1 10.108.4.3 6000 10.108.4.3 6000 2 1.00 128 -50.00
4 1 1 10.108.4.3 6000 10.108.4.3 6000 1 1.00 128 -50.00
5 1 3 10.108.4.4 6000 10.108.4.4 6000 1 1.00 128 -50.00
Logs are attached
Changed in fuel: | |
status: | New → Confirmed |
assignee: | Fuel Library Team (fuel-library) → Aleksandr Didenko (adidenko) |
Changed in fuel: | |
status: | Confirmed → In Progress |
Changed in fuel: | |
status: | Fix Committed → Fix Released |
Discussion of the solutions for this bug: /etherpad. openstack. org/p/swift_ ring_rebalance_ problem
https:/