Difference between revisions of "Download/vzctl/4.0/changes"

From OpenVZ Virtuozzo Containers Wiki
< Download‎ | vzctl‎ | 4.0
Jump to: navigation, search
(fix errorneous <s>)
(more changes)
Line 3: Line 3:
  
 
'''New features'''
 
'''New features'''
* Ability to work with non-openvz kernel (still beta, see [[vzctl for upstream kernel]])
+
* Ability to work with non-openvz kernel (experimental, see [[vzctl for upstream kernel]])
 
* vzlist: add JSON output format (--json flag)
 
* vzlist: add JSON output format (--json flag)
 
* vzctl compact: implement (to compact ploop image)
 
* vzctl compact: implement (to compact ploop image)
Line 11: Line 11:
 
* Implement ability to build w/o ploop headers (./configure --without-ploop)
 
* Implement ability to build w/o ploop headers (./configure --without-ploop)
 
* Split into vzctl-core and vzctl packages, removed vzctl-lib
 
* Split into vzctl-core and vzctl packages, removed vzctl-lib
 +
* Scripts moved from <code>/usr/lib[64]/vzctl/scripts</code> to <code>/usr/libexec/vzctl</code>
  
 
'''Fixes'''
 
'''Fixes'''
* postcreate.sh: create /etc/resolv.conf with correct owner and perms ({{B|2290}})
+
* postcreate.sh: create <code>/etc/resolv.conf</code> with correct owner and perms ({{B|2290}})
 
* vzctl set --quotaugidlimit: fix working for ploop after restart
 
* vzctl set --quotaugidlimit: fix working for ploop after restart
 
* vzlist, vzctl set --save: avoid extra delimiter in features list
 
* vzlist, vzctl set --save: avoid extra delimiter in features list
* vzlist: return default to always print CTID (use -n for names) ({{B|2308}})
+
* vzlist: return default to always print CTID (use <code>-n</code> for names) ({{B|2308}})
 
* vzmigrate: fix for offline migration of ploop CT ({{B|2316}})
 
* vzmigrate: fix for offline migration of ploop CT ({{B|2316}})
* vzctl.spec: add wget requirement (for vps-download)
+
* vzctl.spec: add wget requirement (for <code>vps-download</code>)
 
* osrelease.conf: add ubuntu-12.04 ({{B|2343}})
 
* osrelease.conf: add ubuntu-12.04 ({{B|2343}})
 
* init.d/vz-redhat: fix errorneous lockfile removal ({{B|2342}})
 
* init.d/vz-redhat: fix errorneous lockfile removal ({{B|2342}})
 
* suse-add_ip.sh: do not set default route on venet0 when no IPs ({{B|1941}})
 
* suse-add_ip.sh: do not set default route on venet0 when no IPs ({{B|1941}})
 
* arch-{add,del}_ip.sh: updated to deal with  ({{B|2280}})
 
* arch-{add,del}_ip.sh: updated to deal with  ({{B|2280}})
 +
* Build system: fix massively parallel build (e.g. <code>make -j88</code>)
  
 
'''Improvements'''
 
'''Improvements'''
Line 34: Line 36:
 
* vzctl snapshot: added check for snapshot guid dup
 
* vzctl snapshot: added check for snapshot guid dup
 
* vzctl snapshot-delete: fix error code
 
* vzctl snapshot-delete: fix error code
 +
* vzctl start/stop: print error for non-applicable options
 
* vzctl stop: various minor improvements
 
* vzctl stop: various minor improvements
 
* vzlist: add the following new fields: nameserver, searchdomain, vswap, disabled, origin_sample, mount_opts
 
* vzlist: add the following new fields: nameserver, searchdomain, vswap, disabled, origin_sample, mount_opts

Revision as of 12:42, 14 September 2012

Changes

Since 3.3:

New features

  • Ability to work with non-openvz kernel (experimental, see vzctl for upstream kernel)
  • vzlist: add JSON output format (--json flag)
  • vzctl compact: implement (to compact ploop image)
  • vzctl snapshot: store/restore CT config on snapshot create/switch
  • vzctl set: add --mount_opts to set mount options for ploop
  • Implement dynamic loading of ploop library
  • Implement ability to build w/o ploop headers (./configure --without-ploop)
  • Split into vzctl-core and vzctl packages, removed vzctl-lib
  • Scripts moved from /usr/lib[64]/vzctl/scripts to /usr/libexec/vzctl

Fixes

  • postcreate.sh: create /etc/resolv.conf with correct owner and perms (#2290)
  • vzctl set --quotaugidlimit: fix working for ploop after restart
  • vzlist, vzctl set --save: avoid extra delimiter in features list
  • vzlist: return default to always print CTID (use -n for names) (#2308)
  • vzmigrate: fix for offline migration of ploop CT (#2316)
  • vzctl.spec: add wget requirement (for vps-download)
  • osrelease.conf: add ubuntu-12.04 (#2343)
  • init.d/vz-redhat: fix errorneous lockfile removal (#2342)
  • suse-add_ip.sh: do not set default route on venet0 when no IPs (#1941)
  • arch-{add,del}_ip.sh: updated to deal with (#2280)
  • Build system: fix massively parallel build (e.g. make -j88)

Improvements

  • init.d/vz*: stop CTs in the in the reverse order of start (#2330)
  • bash-completion: add remote completion for --ostemplate
  • bash_completion: complete ploop commands only if supported by the kernel
  • vzctl console: speed up by using buffering
  • vzctl chkpnt: fsync dump file
  • vzctl set --hostname: put ::1 below 127.0.0.1 in CT's /etc/hosts (#2290)
  • vzctl set: remove --noatime (obsolete now when relatime is used)
  • vzctl snapshot: added check for snapshot guid dup
  • vzctl snapshot-delete: fix error code
  • vzctl start/stop: print error for non-applicable options
  • vzctl stop: various minor improvements
  • vzlist: add the following new fields: nameserver, searchdomain, vswap, disabled, origin_sample, mount_opts
  • vzlist, vzctl status: speed up querying mounted status
  • vzlist: faster ploop diskspace info for unmounted case
  • vzmigrate: rename --online to --live
  • vzmigrate: do not use pv unless -v is specified
  • vzmigrate: do not lose ACLs and XATTRS (#2056)
  • vzmigrate: dump/restore first-level quota
  • switch to new ploop_read_disk_descr()
  • is_ploop_supported(): reimplement using /proc/vz/ploop_minor
  • Code refactoring, moving vz- and upstream-specific stuff to hooks_{vz,ct}.c
  • Various code cleanups and other minor fixes

For the complete list of changes in this release, see git changelog for vzctl-4.0.

Thanks

OpenVZ project would like to thank the following people who contributed patches and/or provided bug reports for this vzctl release (in no particular order):

  • Glauber Costa
  • solar
  • Egor Vyscrebentsov
  • Roman Kagan
  • Daniel Robbins
  • mailinator
  • Pavel Odintsov
  • Paparaciz
  • jon