]> git.proxmox.com Git - pve-cluster.git/blob - data/ChangeLog
imported from svn 'pve-cluster/trunk'
[pve-cluster.git] / data / ChangeLog
1 2011-08-22 Proxmox Support Team <support@proxmox.com>
2
3 * PVE/Cluster.pm (create_rrd_graph): only use daemon if socket
4 exists.
5
6 * PVE/pvecm (delnode): test if we have quorum.
7
8 * src/cfs-plug-link.c (cfs_plug_link_getattr): set read-only if we
9 do not have quorum.
10
11 2011-08-19 Proxmox Support Team <support@proxmox.com>
12
13 * PVE/pvecm (create): removed section (rm) from cluster.conf (do
14 not start rgmanager by default).
15
16 * PVE/Cluster.pm (check_cfs_quorum): use 'local' instead of
17 'prv/lock', because this link always exists on the file system.
18 (ipcc_send_rec_json, ipcc_send_rec): fix error check
19
20 2011-08-18 Proxmox Support Team <support@proxmox.com>
21
22 * PVE/Cluster.pm (ssh_merge_keys): add check if
23 /etc/pve/priv/authorized_keys exists
24
25 2011-08-16 Proxmox Support Team <support@proxmox.com>
26
27 * PVE/Cluster.pm (parse_datacenter_config)
28 (write_datacenter_config): register reader/writer for
29 datacenter.cfg
30
31 2011-08-15 Proxmox Support Team <support@proxmox.com>
32
33 * PVE/Cluster.pm: add 'datacenter.cfg' to observed files.
34
35 2011-08-10 Proxmox Support Team <support@proxmox.com>
36
37 * PVE/pvecert: removed binray (use pvecm instead)
38
39 * PVE/pvecm (lsnode): remove verifyapi handling code.
40 (updatecerts): new method (replacement for pvecert binary)
41
42 * PVE/pvecert: also update ssh related files.
43
44 * PVE/Cluster.pm (ssh_merge_known_hosts): replace entries with
45 wrong key. new parameter createLink.
46
47 2011-08-09 Proxmox Support Team <support@proxmox.com>
48
49 * PVE/Cluster.pm (ssh_merge_known_hosts): also manage known_hosts
50 file.
51
52 * PVE/pvecm (backup_database): revert pervious change - do not
53 pass IP to addnode. Instead we run gen_pve_node_files in 'add'
54 after we get quorum.
55
56 2011-08-08 Proxmox Support Team <support@proxmox.com>
57
58 * PVE/Cluster.pm (check_cfs_quorum): check for undefined $st (no
59 such file).
60
61 * PVE/pvecm: try to create all files/dirs in 'addnode', because that
62 node has quorum.
63 (create): Add id_rsa.pub to authorized_keys.
64 (create): Wait for quorum and restart apache2
65
66 * src/cfs-plug-func.c (cfs_plug_func_new): add write callback (to
67 trigger actions).
68
69 * src/pmxcfs.c (write_debug_setting_cb): implement callback to
70 enable/disable debug mode (.debug file)
71
72 2011-08-05 Proxmox Support Team <support@proxmox.com>
73
74 * PVE/pvecm (create): call keygen with parameter hash
75
76 2011-08-04 Proxmox Support Team <support@proxmox.com>
77
78 * src/pmxcfs.c (create_symlinks): remove status dir and link
79
80 * src/*: remove syslog_cache (not needed)
81
82 2011-08-03 Proxmox Support Team <support@proxmox.com>
83
84 * src/cfs-plug-func.c: simple plugin to view data returned by
85 function. We use that to display status inside the filesystem
86 (.version, .members, .vmlist, .rrd, .clusterlog)
87
88 2011-08-02 Proxmox Support Team <support@proxmox.com>
89
90 * src/dfsm.c (dfsm_set_mode): call new callback dfsm_synced_fn()
91
92 * src/status.c: add 'iphash' to store ip adresses of all
93 nodes.
94 (nodeip_hash_set): helper to update iphash
95 (dfsm_synced): send ip address when we are in sync
96
97 * src/pmxcfs.c (main): set cfs.ip to local ip address.
98
99 2011-08-01 Proxmox Support Team <support@proxmox.com>
100
101 * PVE/Cluster.pm (check_cfs_quorum): helper to check quorum
102 (cfs_lock_file): remove $text parameter
103 (cfs_lock_storage): remove $text parameter
104
105 2011-06-29 Proxmox Support Team <support@proxmox.com>
106
107 * PVE/Cluster.pm (run_silent_cmd): supress output when running
108 openssl.
109
110 2011-05-04 Proxmox Support Team <support@proxmox.com>
111
112 * src/status.c (kvstore_send_update_message): use correct data
113 pointer (data instead of &data)
114
115 2011-03-17 Proxmox Support Team <support@proxmox.com>
116
117 * perl/Cluster.pm (get_nodelist): simply return an array of node
118 names.
119 (get_tasklist): get cluster wide task list
120 (broadcast_tasklist): send tasklist to cluster nodes
121
122 2011-03-10 Proxmox Support Team <support@proxmox.com>
123
124 * perl/Cluster.pm (rrd_dump): cache RRD data for one second (avoid
125 to many reads from API server)
126 (rrd_dump): parse RRD data
127
128 * src/status.c (update_rrd_data): add RRD definition for VMs
129 (update_rrd_data): use thread safe API, connect to rrdcached
130
131 * src/dfsm.c (dfsm_send_message_full): limit to 100 retries (max
132 10 seconds delay).
133
134 2011-03-07 Proxmox Support Team <support@proxmox.com>
135
136 * perl/Cluster.pm (ipcc_send_rec*): allow to return 'undef'
137
138 * src/status.c (cfs_rrd_dump): impl. rrd dump
139
140 * perl/Cluster.pm (broadcast_rrd): start rrd integration
141
142 2011-02-25 Proxmox Support Team <support@proxmox.com>
143
144 * perl/Cluster.pm (cfs_lock_storage): impl.
145
146 2011-02-22 Proxmox Support Team <support@proxmox.com>
147
148 * src/cfs-utils.c (path_is_private): skip '/'
149
150 2011-02-16 Proxmox Support Team <support@proxmox.com>
151
152 * perl/pvecm: do not use PVE::RPCEnvironment
153 (add): refuse to join cluster if there are existing vms.
154
155 * perl/pvecert: do not use PVE::RPCEnvironment
156
157 2011-02-15 Proxmox Support Team <support@proxmox.com>
158
159 * perl/Cluster.pm (cfs_file_version): A way to get the actual
160 version of a file. Can be used to detect file modifications.
161
162 2011-02-02 Proxmox Support Team <support@proxmox.com>
163
164 * perl/Cluster.pm (remote_node_ip): implement stub
165
166 2011-02-01 Proxmox Support Team <support@proxmox.com>
167
168 * perl/Cluster.pm (cfs_lock_file): first try.
169
170 2011-01-31 Proxmox Support Team <support@proxmox.com>
171
172 * src/dcdb.c (dcdb_deliver): implement a simple distributed lock
173 manager for short lived locks (no fencing, see README).
174
175 2011-01-19 root <root@maui.maurer-it.com>
176
177 * perl/Cluster.pm (log_msg): fixes for taint mode (untaint $0)
178 (log_msg): allow to use 'symbolic' priority names
179
180 2010-11-17 Proxmox Support Team <support@proxmox.com>
181
182 * src/cpg.c (dcdb_main_loop): use CPG_DISPATCH_ONE instead of
183 CPG_DISPATCH_ALL - which can hang for very long time if there is
184 much traffic.
185
186 * src/cfs-plug-memdb.c (cfs_plug_memdb_readdir): correctly fill
187 stat buffer (avoid extra call to getattr (race condition))
188
189 2010-11-16 Proxmox Support Team <support@proxmox.com>
190
191 (atomic_write_file): implement our own because
192 g_file_set_contents() is clumsy (forks subprocess, can't set mode/owner).
193
194 2010-11-15 Proxmox Support Team <support@proxmox.com>
195
196 * src/memdb.c: replace g_hash_table_insert with
197 g_hash_table_replace (insert does not replace keys!)
198
199 * src/memdb-backend-bdb.c (bdb_backend_open): open with DB_THREAD
200 (just to be sure - we only access from one thread)
201
202 2010-11-05 Proxmox Support Team <support@proxmox.com>
203
204 * src/memdb.c (memdb_encode_index): use g_checksum instead of NSS
205
206 * src/cfs-plug-memdb.c (heartbeat): touch pid file each 5
207 seconds. We can use this to test if the filesysten is up and
208 running using inotify.
209
210 * src/pmxcfs.c (cfs_fuse_statfs): implemented
211
212 * src/cfs-plug.c (cfs_plug_base_*): check for correct plug type
213 (plug->ops == &cfs_ops)
214
215 2010-11-02 Proxmox Support Team <support@proxmox.com>
216
217 * src/memdb.c: implement vmlist magic, add check for duplicate VMIDs
218
219 2010-10-15 Proxmox Support Team <support@proxmox.com>
220
221 * src/cfs-plug-memdb.c: implement cluster/local mode
222
223 2010-02-26 Proxmox Support Team <support@proxmox.com>
224
225 * src/cfs-plug-memdb.c (dcdb_worker_thread): handle
226 CS_ERR_TRY_AGAIN in cpg_join
227
228 2010-02-23 Proxmox Support Team <support@proxmox.com>
229
230 * src/cfs-plug-memdb.c (dcdb_worker_thread): cpg_group_name.length
231 should include trailing zero.
232
233 * src/Makefile.am (CFLAGS): use -std=gnu99
234
235 * src/pmxcfs.c (main): wait up to 10 seconds to aquire lock.
236
237 * src/cfs-plug-memdb.c (dcdb_sync_cluster_conf): only write
238 cluster config when there are changes.
239
240 2010-02-19 Proxmox Support Team <support@proxmox.com>
241
242 * src/pmxcfs.c (main): use LOCK_NB to avoid blocking
243 (main): write pid to /var/run/pve-cluster.pid
244
245 2010-02-18 Proxmox Support Team <support@proxmox.com>
246
247 * src/pvecm: add 'keygen' command to create corosync keys
248
249 * src/pvecm: set authkey to "/var/lib/pve-cluster/corosync.authkey"
250
251 2010-02-11 Proxmox Support Team <support@proxmox.com>
252
253 * src/cfs-plug-memdb.c (dcdb_sync_cluster_conf): only overwrite
254 local cluster.conf if version is newer.
255
256 2010-02-10 Proxmox Support Team <support@proxmox.com>
257
258 * src/cfs-plug-memdb.c (dcdb_sync_cluster_conf): sync cluster.conf
259 to /etc/cluster/cluster.conf
260
261 * src/pmxcfs.c (main): add new '-d' option for debugging (don't
262 fork and log to console)
263
264 2010-02-08 Proxmox Support Team <support@proxmox.com>
265
266 * src/memdb-backend-bdb.c (bdb_backend_checkpoint): checkpoint DB
267 every minute.
268
269 2010-02-03 Proxmox Support Team <support@proxmox.com>
270
271 * src/cfs-plug-memdb.c (quorum_notification_fn): use libquorum
272 instead of libvotequorum. This should work with any quorum
273 provider (for example cman)
274
275 * src/cfs-plug-memdb.c (cpg_deliver_callback): always sync state,
276 even if we have no quorum. Only reject writes when we are not
277 quorate.
278