<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>26279</bug_id>
          
          <creation_ts>2011-09-11 19:38:14 +0400</creation_ts>
          <short_desc>vzctl не отображает информацию vswap</short_desc>
          <delta_ts>2011-10-07 06:20:03 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>vzctl</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alex Moskalenko">mav</reporter>
          <assigned_to name="Andrew Vasilyev">andy</assigned_to>
          <cc>andy</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>125149</commentid>
    <comment_count>0</comment_count>
    <who name="Alex Moskalenko">mav</who>
    <bug_when>2011-09-11 19:38:14 +0400</bug_when>
    <thetext>vzlist из vzctl-3.0.28.3-alt2 не отображает статистику vswap (а именно swappages) из-за того, что читает /proc/user_beancounters, а не /proc/bc/resources. Из-за этого в текущей версии все возможные в будущем нововведения не будут отображаться vzlist, независимо от их поддержки.

Пример:

[root@main /]# vzlist -o physpages,physpages.l,swappages,swappages.l 10040
     PHYSP    PHYSP.L      SWAPP    SWAPP.L
    217121     262144          0          0
[root@main /]# cat /proc/bc/10040/resources | egrep swapp\|physp
            physpages                  217121               263653               262144               262144                    0
            swappages                    9017                 9546               262144               262144                    0

В выводе vzlist информация о swappages отсутствует, несмотря на ненулевые счетчики в /proc/bc/10040/resources.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>125167</commentid>
    <comment_count>1</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2011-09-12 15:20:04 +0400</bug_when>
    <thetext>На Sisyphus.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>126056</commentid>
    <comment_count>2</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2011-10-07 06:20:03 +0400</bug_when>
    <thetext>vzctl-3.0.29.3-alt1 -&gt; sisyphus:

* Thu Oct 06 2011 Slava Dubrovskiy &lt;dubrsl@altlinux&gt; 3.0.29.3-alt1
- Updated to vzctl-3.0.29.3
- Add mount/umount cgroups in init script vz

* Sun Sep 18 2011 Slava Dubrovskiy &lt;dubrsl@altlinux&gt; 3.0.29.1-alt1
- Updated to vzctl-3.0.29.1 d01a4819 (closes: #26279)

* Fri Jul 01 2011 Slava Dubrovskiy &lt;dubrsl@altlinux&gt; 3.0.28.3-alt3
- Patch vzifup-post</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>