Revision 58385fad
b/lib/cmdlib.py | ||
---|---|---|
1689 | 1689 |
|
1690 | 1690 |
vg_name = self.cfg.GetVGName() |
1691 | 1691 |
hypervisors = self.cfg.GetClusterInfo().enabled_hypervisors |
1692 |
cluster = self.cfg.GetClusterInfo() |
|
1692 | 1693 |
nodelist = utils.NiceSort(self.cfg.GetNodeList()) |
1693 | 1694 |
nodeinfo = [self.cfg.GetNodeInfo(nname) for nname in nodelist] |
1694 | 1695 |
instancelist = utils.NiceSort(self.cfg.GetInstanceList()) |
... | ... | |
1707 | 1708 |
file_names = ssconf.SimpleStore().GetFileList() |
1708 | 1709 |
file_names.extend(constants.ALL_CERT_FILES) |
1709 | 1710 |
file_names.extend(master_files) |
1711 |
if cluster.modify_etc_hosts: |
|
1712 |
file_names.append(constants.ETC_HOSTS) |
|
1710 | 1713 |
|
1711 | 1714 |
local_checksums = utils.FingerprintFiles(file_names) |
1712 | 1715 |
|
... | ... | |
1770 | 1773 |
self.cfg.GetClusterName()) |
1771 | 1774 |
nvinfo_endtime = time.time() |
1772 | 1775 |
|
1773 |
cluster = self.cfg.GetClusterInfo() |
|
1774 | 1776 |
master_node = self.cfg.GetMasterNode() |
1775 | 1777 |
all_drbd_map = self.cfg.ComputeDRBDMap() |
1776 | 1778 |
|
Also available in: Unified diff