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

From OpenVZ Virtuozzo Containers Wiki
< Download‎ | vzctl‎ | 3.2
Jump to: navigation, search
(added fix related to #2252 (vzmigrate wrt ploop))
m (fix non-closed code tag)
 
(4 intermediate revisions by the same user not shown)
Line 19: Line 19:
 
* <code>vzctl set --save</code>: do not save parameters if failed to apply ({{B|2032}})
 
* <code>vzctl set --save</code>: do not save parameters if failed to apply ({{B|2032}})
 
* <code>vzctl restore</code>: fix non-working in-CT quota after restore for ploop case
 
* <code>vzctl restore</code>: fix non-working in-CT quota after restore for ploop case
 +
* <code>vzctl restore</code>: do not ignore DUMPDIR value
 
* Fix giving excessive permissions for ugid quota disk device
 
* Fix giving excessive permissions for ugid quota disk device
 
* <code>vzctl console</code>: do not issue SAK on detach (it can kill scripts)
 
* <code>vzctl console</code>: do not issue SAK on detach (it can kill scripts)
 
* <code>vzctl start</code>: umount ploop image on CT start
 
* <code>vzctl start</code>: umount ploop image on CT start
* <code>vzctl set/start/convert</code: check for max possible ploop size ({{B|2250}})
+
* <code>vzctl set/start/convert</code>: check for max possible ploop size ({{B|2250}})
 
* <code>vzlist</code>: do not show UBC from proc for stopped CTs ({{B|2151}})
 
* <code>vzlist</code>: do not show UBC from proc for stopped CTs ({{B|2151}})
 
* <code>init.d/initd-functions</code>: fixes for dash
 
* <code>init.d/initd-functions</code>: fixes for dash
Line 28: Line 29:
 
* <code>vzctl snapshot</code>: resume CT if creating snapshot failed
 
* <code>vzctl snapshot</code>: resume CT if creating snapshot failed
 
* <code>vzmigrate</code>: skip vzquota ops for ploop-based CTs (related to {{B|2252}})
 
* <code>vzmigrate</code>: skip vzquota ops for ploop-based CTs (related to {{B|2252}})
 +
* <code>vzmigrate</code>: do not migrate ploop CT if ploop is not available on dst
 +
* <code>vzmigrate</code>: do not use --sparse for ploop CTs (related to {{B|2252}})
 
* Fix error handling in <code>vps_is_run()</code> ({{B|2243}})
 
* Fix error handling in <code>vps_is_run()</code> ({{B|2243}})
  
Line 40: Line 43:
 
* <code>vzctl snapshot</code>: add <code>--skip-suspend</code> option
 
* <code>vzctl snapshot</code>: add <code>--skip-suspend</code> option
 
* <code>vzctl set --features</code>/<code>--iptables</code>/<code>--capability</code>: ability to specify several comma-separated values at once
 
* <code>vzctl set --features</code>/<code>--iptables</code>/<code>--capability</code>: ability to specify several comma-separated values at once
 +
* <code>vzmigrate</code>: make <code>-vvv</code> add <code>-vv</code> to <code>rsync</code>
 
* Code cleanups:
 
* Code cleanups:
** <code>include/*.h</code>: remove non-existent function prototype
+
** <code>include/*.h</code>: remove non-existent function prototypes
** remove NULL checks before free()
+
** remove <code>NULL</code> checks before <code>free()</code>
 
** some functions marked as static, moved to there they belong
 
** some functions marked as static, moved to there they belong
 
+
** get rid of <code>setup_resource_management()</code>
 +
** whitespace nitpicks
 
'''Documentation'''
 
'''Documentation'''
 
* Add <code>--ram</code>, <code>--swap</code> to <code>vzctl --help</code> output ({{B|2219}})
 
* Add <code>--ram</code>, <code>--swap</code> to <code>vzctl --help</code> output ({{B|2219}})
Line 55: Line 60:
 
* <code>vzctl(8)</code>: describe <code>--name</code> and <code>--description</code> for <code>vzctl snapshot</code>
 
* <code>vzctl(8)</code>: describe <code>--name</code> and <code>--description</code> for <code>vzctl snapshot</code>
 
* <code>vzctl(8)</code>: various formatting fixes and improvements
 
* <code>vzctl(8)</code>: various formatting fixes and improvements
 +
* <code>vzmigrate(8)</code>: add missing exit codes description
 
* <code>man/toc.man.in</code>: fix Copyright years
 
* <code>man/toc.man.in</code>: fix Copyright years
 
* <code>vzctl.spec</code>: add changelog
 
* <code>vzctl.spec</code>: add changelog
Line 75: Line 81:
 
* Paparaciz
 
* Paparaciz
 
* Nils Breunese
 
* Nils Breunese
 +
* Roman (RXL_)

Latest revision as of 10:43, 3 May 2012

Changes[edit]

Since 3.1:

New features

  • vzctl console now accepts tty number argument
  • vzctl console: add ESC ! to issue SAK
  • vzlist: show diskspace/diskinodes usage/limit for ploop CTs
  • vzlist: add more new fields
    • layout (simfs/ploop)
    • private/root (to show VE_PRIVATE and VE_ROOT)
    • features
    • smart_ctid (CT name if available, otherwise numeric CTID)

Fixes

  • vzctl start: ability to start containers with systemd (such as Fedora 16 and SUSE 12.1)
    • Console and upstart/systemd hacks removed
    • Note this requires recent RHEL6-based kernel
  • vzctl set --ram, --swap: default value is now in bytes
  • vzctl set --save: do not save parameters if failed to apply (#2032)
  • vzctl restore: fix non-working in-CT quota after restore for ploop case
  • vzctl restore: do not ignore DUMPDIR value
  • Fix giving excessive permissions for ugid quota disk device
  • vzctl console: do not issue SAK on detach (it can kill scripts)
  • vzctl start: umount ploop image on CT start
  • vzctl set/start/convert: check for max possible ploop size (#2250)
  • vzlist: do not show UBC from proc for stopped CTs (#2151)
  • init.d/initd-functions: fixes for dash
  • vzubc: fix mixed up qheld/qmaxheld (#2238)
  • vzctl snapshot: resume CT if creating snapshot failed
  • vzmigrate: skip vzquota ops for ploop-based CTs (related to #2252)
  • vzmigrate: do not migrate ploop CT if ploop is not available on dst
  • vzmigrate: do not use --sparse for ploop CTs (related to #2252)
  • Fix error handling in vps_is_run() (#2243)

Improvements

  • vps-download: accept relative template cache paths (#2222)
  • vzlist: use smart_ctid instead of ctid in default output format
  • vzctl set --ram/swap and vzctl start: check if kernel is vswap capable (#2251)
  • bash_completion: only complete simfs CTs for vzctl convert
  • bash_completion: only complete ploop CTs for vzctl snapshot*
  • vzubc: allow -qh/-qm argument to be per cent (if > 1)
  • vzctl snapshot: removed snapshot-create command alias
  • vzctl snapshot: add --skip-suspend option
  • vzctl set --features/--iptables/--capability: ability to specify several comma-separated values at once
  • vzmigrate: make -vvv add -vv to rsync
  • Code cleanups:
    • include/*.h: remove non-existent function prototypes
    • remove NULL checks before free()
    • some functions marked as static, moved to there they belong
    • get rid of setup_resource_management()
    • whitespace nitpicks

Documentation

  • Add --ram, --swap to vzctl --help output (#2219)
  • vzctl(8): explain host_mac value for bridge (#2210)
  • vzctl(8): better description of --quotaugidlimit wrt ploop
  • vzctl(8): do not use "second-level quota" term
  • vzctl(8): document ttynum vzctl console argument
  • vzctl(8): add/improve escape sequences description for vzctl console
  • vzctl(8): document --reset_ub
  • vzctl(8): describe --name and --description for vzctl snapshot
  • vzctl(8): various formatting fixes and improvements
  • vzmigrate(8): add missing exit codes description
  • man/toc.man.in: fix Copyright years
  • vzctl.spec: add changelog

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

Thanks[edit]

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):

  • Michael Shigorin
  • Slava Dubrovskiy
  • Artur Cichocki
  • cybernet
  • Antonis Christofides
  • boris
  • Todd Mueller
  • Ilja Livenson
  • Paparaciz
  • Nils Breunese
  • Roman (RXL_)