Bug 1667031
Summary: | heketi is not adding new node in existing volume's "backup-volfile-servers" | ||
---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Nitin Goyal <nigoyal> |
Component: | heketi | Assignee: | John Mulligan <jmulligan> |
Status: | CLOSED DUPLICATE | QA Contact: | Aditya Ramteke <aramteke> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | ocs-3.11 | CC: | aramteke, hchiramm, jmulligan, knarra, kramdoss, madam, ndevos, nigoyal, rhs-bugs, rtalur, sankarshan, storage-qa-internal |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-07-25 14:15:53 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Nitin Goyal
2019-01-17 09:52:06 UTC
I do not think there is a good reason to add the newly added host to the backup-volfile-servers for existing volumes. The newly added servers do not provide additional redundancy or higher availability, as those servers do not contain bricks with data of those volumes. Without the majority of the 'old' backup-volfile-servers online, the volume will not have sufficient bricks available to be used. (In that case, mounting should ideally fail so that kubernetes re-spins the pod later.) What is the reason you think the backup-volfile-servers should include all the storage servers? Hi Niels, I have raised this bug because there is inconsistencies because of this issue in heketidb, If we don't want to add new host in backup-volfile-servers then we should handle this efficiently in "heketi-cli db check". (In reply to Nitin Goyal from comment #5) > Hi Niels, > > I have raised this bug because there is inconsistencies because of this > issue in heketidb, If we don't want to add new host in > backup-volfile-servers then we should handle this efficiently in "heketi-cli > db check". First, unless you are statically provisioning the volumes I don't think the "backup-volfile-servers" is in play in current deployments. I'd like Talur to confirm that my statement is true. Next, if we are somehow using the parameter I can understand why one would want to keep the list up to date with nodes in the cluster. Finally, I don't think "db check" would be involved here as it is purely an internal consistency check and must only relate to the contents of the db as heketi is implemented, not as we might desire the content to be. In other words, we check for the linkage between a volume and a brick but not that device size in the db matches the device size on the node. There are other components for that kind of thing. (In reply to John Mulligan from comment #6) > (In reply to Nitin Goyal from comment #5) > > Hi Niels, > > > > I have raised this bug because there is inconsistencies because of this > > issue in heketidb, If we don't want to add new host in > > backup-volfile-servers then we should handle this efficiently in "heketi-cli > > db check". > > First, unless you are statically provisioning the volumes I don't think the > "backup-volfile-servers" is in play in current deployments. I'd like Talur > to confirm that my statement is true. > > Next, if we are somehow using the parameter I can understand why one would > want to keep the list up to date with nodes in the cluster. > > Finally, I don't think "db check" would be involved here as it is purely an > internal consistency check and must only relate to the contents of the db as > heketi is implemented, not as we might desire the content to be. In other > words, we check for the linkage between a volume and a brick but not that > device size in the db matches the device size on the node. There are other > components for that kind of thing. Status? (In reply to Yaniv Kaul from comment #7) > (In reply to John Mulligan from comment #6) > > (In reply to Nitin Goyal from comment #5) > > > Hi Niels, > > > > > > I have raised this bug because there is inconsistencies because of this > > > issue in heketidb, If we don't want to add new host in > > > backup-volfile-servers then we should handle this efficiently in "heketi-cli > > > db check". > > > > First, unless you are statically provisioning the volumes I don't think the > > "backup-volfile-servers" is in play in current deployments. I'd like Talur > > to confirm that my statement is true. > > > > Next, if we are somehow using the parameter I can understand why one would > > want to keep the list up to date with nodes in the cluster. > > > > Finally, I don't think "db check" would be involved here as it is purely an > > internal consistency check and must only relate to the contents of the db as > > heketi is implemented, not as we might desire the content to be. In other > > words, we check for the linkage between a volume and a brick but not that > > device size in the db matches the device size on the node. There are other > > components for that kind of thing. > > Status? Still need to confirm what "backup-volfile-servers" is used for. Forgot to needinfo on Talur last time. Once we have a better idea of the impact of a change in this area we can decide if it needs to be done and when. (In reply to John Mulligan from comment #8) > (In reply to Yaniv Kaul from comment #7) > > (In reply to John Mulligan from comment #6) > > > (In reply to Nitin Goyal from comment #5) > > > > Hi Niels, > > > > > > > > I have raised this bug because there is inconsistencies because of this > > > > issue in heketidb, If we don't want to add new host in > > > > backup-volfile-servers then we should handle this efficiently in "heketi-cli > > > > db check". > > > > > > First, unless you are statically provisioning the volumes I don't think the > > > "backup-volfile-servers" is in play in current deployments. I'd like Talur > > > to confirm that my statement is true. > > > > > > Next, if we are somehow using the parameter I can understand why one would > > > want to keep the list up to date with nodes in the cluster. > > > > > > Finally, I don't think "db check" would be involved here as it is purely an > > > internal consistency check and must only relate to the contents of the db as > > > heketi is implemented, not as we might desire the content to be. In other > > > words, we check for the linkage between a volume and a brick but not that > > > device size in the db matches the device size on the node. There are other > > > components for that kind of thing. > > > > Status? > > Still need to confirm what "backup-volfile-servers" is used for. Forgot to > needinfo on Talur last time. > > Once we have a better idea of the impact of a change in this area we can > decide if it needs to be done and when. Update? *** This bug has been marked as a duplicate of bug 1660681 *** |