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

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

    <bug>
          <bug_id>31200</bug_id>
          
          <creation_ts>2015-08-07 15:08:25 +0300</creation_ts>
          <short_desc>Странные ошибки при создании тестовой VE</short_desc>
          <delta_ts>2015-08-07 15:08:25 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>alterator-mkve</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></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="solo">solo</reporter>
          <assigned_to name="Alexey Shabalin">shaba</assigned_to>
          
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>152374</commentid>
    <comment_count>0</comment_count>
    <who name="solo">solo</who>
    <bug_when>2015-08-07 15:08:25 +0300</bug_when>
    <thetext>Наблюдаю странные ошибки в процессе создания тестовой VE (alterator-mkve установлен, специально ничего не настраивал):

1. Создаю bundle:

$ mkve-bundle -v --hypervisor=openvz --output /srv/share/bundles/test.bun /usr/share/mkve/templates/test
mkve-bundle: hyperv=openvz
mkve-bundle: using template &apos;/usr/share/mkve/templates/test&apos;
mkve-bundle: using template_version &apos;0.02&apos;
mkve-bundle: using hypervisor &apos;openvz&apos;
mkve-bundle: using output &apos;/srv/bundles/test.bun&apos;
mkve-bundle: using hooks directory &apos;/usr/share/mkve/hooks&apos;
mkve-bundle: running mkve-cache --create-fake-devices --output /tmp/.private/solo/tmp.ApccOORWsV/files.tar  --hook /usr/share/mkve/templates/test/hooks/very-simple-hook --hook /usr/share/mkve/hooks/01-root --hook /usr/share/mkve/hooks/02-mtab --hook /usr/share/mkve/hooks/03-chkconfig_network_on --hook /usr/share/mkve/hooks/03-chkconfig_syslogd_on --hook /usr/share/mkve/hooks/03-chkconfig_random_on --hook /usr/share/mkve/hooks/03-chkconfig_pptpd_on --hook /usr/share/mkve/hooks/03-chkconfig_rawdevices_off --hook /usr/share/mkve/hooks/03-chkconfig_fbsetfont_off  ve-pptp-server alterator-net-eth alterator-root alterator-users alterator-auth
mkve-cache: installing hasher root
...
mkve-cache: cleanup
/usr/share/mkve/templates/test/conf/openvz ~
mkve-bundle: tarifying openvz-specific configs: config
~
mkve-bundle: creating metadata: /tmp/.private/solo/tmp.ApccOORWsV/info
mkve-bundle: creating a bundle: /srv/share/bundles/test.bun

Пока всё нормально и alterator-mkve находит собранный /srv/share/bundles/test.bun.

2. При попытке создать VE на основе /srv/share/bundles/test.bun -- получаю ошибку:

stat(/var/lib/vz/root/100): No such file or directory libvirt: Domain Config error : XML error: Memory size must be specified via or in the configuration stat(/var/lib/vz/root/100): No such file or directory /usr/bin/mkve: can&apos;t create new machine: XML error: Memory size must be specified via or in the configuration

3. Если каталог /var/lib/vz/root/100 создать руками -- текст ошибки меняется на:

libvirt: Domain Config error : XML error: Memory size must be specified via or in the configuration /usr/bin/mkve: can&apos;t create new machine: XML error: Memory size must be specified via or in the configuration

Пока не разобрался как действовать дальше.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>