<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Hi Arindam, <br>
      <br>
      It seems you forgot to do 'git add' on
      'savanna/plugins/mango/resources/core-default.xml'<br>
      Please do this on the other xml and resource files you are using
      in the mango plugin.<br>
      <pre class="moz-signature" cols="72">Regards,
Alexander Ignatov</pre>
      On 9/13/2013 5:33 PM, Arindam Choudhury wrote:<br>
    </div>
    <blockquote cite="mid:DUB116-W116FEF5809D47A029AD3C4ADF3B0@phx.gbl"
      type="cite">
      <style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
      <div dir="ltr">Hi,<br>
        <br>
        I am trying to provision hadoop0.20.203.0 with jdk6u45. So, I
        tweaked savanna-image-elements and created a pre-installed vm
        image.<br>
        Then I copied vanilla and edit it to create a new plugin named
        mango. also to include the new plugin, I edited
        etc/savanna/savanna.conf as follows:<br>
        <br>
        plugins=vanilla,mango<br>
        [plugin:vanilla]<br>
        plugin_class=savanna.plugins.vanilla.plugin:VanillaProvider<br>
        [plugin:mango]<br>
        plugin_class=savanna.plugins.mango.plugin:MangoProvider<br>
        <br>
        Then, When I try to start the savanna daemon I get the following
        error:<br>
        <br>
        # tools/install_venv<br>
          removing /root/savanna/.tox/log<br>
        using tox.ini: /root/savanna/tox.ini<br>
        using tox-1.6.1 from
        /usr/lib/python2.6/site-packages/tox/__init__.pyc<br>
        GLOB start: packaging <br>
        GLOB sdist-make: /root/savanna/setup.py<br>
          removing /root/savanna/.tox/dist<br>
          /root/savanna$ /usr/bin/python /root/savanna/setup.py sdist
        --formats=zip --dist-dir /root/savanna/.tox/dist
        >/root/savanna/.tox/log/tox-0.log<br>
        GLOB finish: packaging after 3.06 seconds<br>
        copying new sdistfile to
        '/root/.tox/distshare/savanna-0.2.a26.g3a8ddfb.zip'<br>
        venv start: getenv /root/savanna/.tox/venv<br>
        venv reusing: /root/savanna/.tox/venv<br>
        venv finish: getenv after 0.03 seconds<br>
        venv start: installpkg
        /root/savanna/.tox/dist/savanna-0.2.a26.g3a8ddfb.zip<br>
        venv inst-nodeps:
        /root/savanna/.tox/dist/savanna-0.2.a26.g3a8ddfb.zip<br>
        setting
PATH=/root/savanna/.tox/venv/bin:/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin<br>
          /root/savanna$ /root/savanna/.tox/venv/bin/pip install --pre
        /root/savanna/.tox/dist/savanna-0.2.a26.g3a8ddfb.zip -U
        --no-deps >/root/savanna/.tox/venv/log/venv-10.log<br>
        venv finish: installpkg after 2.85 seconds<br>
        venv start: runtests <br>
        venv runtests: commands[0] | python --version<br>
        setting
PATH=/root/savanna/.tox/venv/bin:/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin<br>
          /root/savanna$ /root/savanna/.tox/venv/bin/python --version <br>
        Python 2.6.6<br>
        venv finish: runtests after 0.00 seconds<br>
        _________________________________________________________________
        summary
        __________________________________________________________________<br>
          venv: commands succeeded<br>
          congratulations :)<br>
        <br>
        <br>
        # tox -evenv -- savanna-api --config-file
        etc/savanna/savanna.conf -d<br>
        GLOB sdist-make: /root/savanna/setup.py<br>
        venv inst-nodeps:
        /root/savanna/.tox/dist/savanna-0.2.a26.g3a8ddfb.zip<br>
        venv runtests: commands[0] | savanna-api --config-file
        etc/savanna/savanna.conf -d<br>
        /root/savanna/.tox/venv/lib/python2.6/site-packages/sqlalchemy/engine/strategies.py:117:
        SADeprecationWarning: The 'listeners' argument to Pool (and
        create_engine()) is deprecated.  Use event.listen().<br>
          pool = poolclass(creator, **pool_args)<br>
        /root/savanna/.tox/venv/lib/python2.6/site-packages/sqlalchemy/pool.py:160:
        SADeprecationWarning: Pool.add_listener is deprecated.  Use
        event.listen()<br>
          self.add_listener(l)<br>
        2013-09-13 15:28:23.443 4783 DEBUG savanna.plugins.base [-] List
        of requested plugins: ['vanilla', 'mango'] _load_all_plugins
/root/savanna/.tox/venv/lib/python2.6/site-packages/savanna/plugins/base.py:113<br>
        2013-09-13 15:28:23.501 4783 CRITICAL savanna [-] [Errno 2] No
        such file or directory:
'/root/savanna/.tox/venv/lib/python2.6/site-packages/savanna/plugins/mango/resources/core-default.xml'<br>
        ERROR: InvocationError: '/root/savanna/.tox/venv/bin/savanna-api
        --config-file etc/savanna/savanna.conf -d'<br>
        _________________________________________________________________
        summary
        __________________________________________________________________<br>
        ERROR:   venv: commands failed<br>
        <br>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
OpenStack-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a>
<a class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>