<div dir="ltr">Hi Olivier,<div><br></div><div>Did you fix this issue? I cannot reproduce it</div><div><br></div><div>Cheers</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 24 September 2014 15:45, Olivier Sallou <span dir="ltr"><<a href="mailto:olivier.sallou@irisa.fr" target="_blank">olivier.sallou@irisa.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    All users have use permissions on image. And as I said, template
    group ownership modification fix the issue...<div><div class="h5"><br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <div>On 09/24/2014 01:06 PM, Daniel Molina
      wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">Hi Olivier,
        <div><br>
        </div>
        <div>What about the image (280) permissions?</div>
        <div><br>
        </div>
        <div>Cheers</div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On 24 September 2014 10:18, Olivier
          Sallou <span dir="ltr"><<a href="mailto:olivier.sallou@irisa.fr" target="_blank">olivier.sallou@irisa.fr</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">As more
            info,<br>
            if  I change the group ownership of the template to users
            instead of<br>
            oneadmin it works.<br>
            <br>
            However, as Permissions to Use on Other are set, it should
            work.<br>
            <br>
            Olivier<br>
            <div>
              <div><br>
                On 09/24/2014 10:16 AM, Olivier Sallou wrote:<br>
                > I have updated my config to use the EC2 templates
                in one instead of old<br>
                > template files.<br>
                > It works fine when I am the oneadmin user.<br>
                ><br>
                > However, when I am using an other user I have this
                error when I create a<br>
                > new VM:<br>
                ><br>
                > Unexpected server error. response.body is:<br>
                >
<Response><RequestId/><Errors><Error><Code>InvalidInstanceAttributeValue.NotFound</Code><Message>InvalidInstanceAttributeValue.NotFound<br>
                >
                m1.small</Message></Error></Errors></Response><br>
                ><br>
                ><br>
                > The code is:<br>
                ><br>
                >     response = ec2.run_instances(<br>
                >               :image_id       => 'ami-00000280',<br>
                >               :min_count      => 1,<br>
                >               :max_count      => 1,<br>
                >               :instance_type  => 'm1.small',<br>
                >               :user_data      => user_data,<br>
                >               :base64_encoded => true<br>
                >               )<br>
                ><br>
                > It works fine if I use the oneadmin credentials,
                but not for other users.<br>
                ><br>
                > m1.small is a template in one:<br>
                ><br>
                > TEMPLATE 143<br>
                > INFORMATION<br>
                > ID             : 143<br>
                > NAME           : m1.small<br>
                > USER           : oneadmin<br>
                > GROUP          : oneadmin<br>
                > REGISTER TIME  : 09/23 10:26:52<br>
                ><br>
                > PERMISSIONS<br>
                ><br>
                > OWNER          : um-<br>
                > GROUP          : u--<br>
                > OTHER          : u--<br>
                ><br>
                > All users have USE right access.<br>
                ><br>
                > Any idea?<br>
                ><br>
                > Thanks<br>
                ><br>
                > Olviier<br>
                ><br>
                <br>
                --<br>
              </div>
            </div>
            <span><font color="#888888">Olivier Sallou<br>
                IRISA / University of Rennes 1<br>
                Campus de Beaulieu, 35000 RENNES - FRANCE<br>
                Tel: 02.99.84.71.95<br>
              </font></span>
            <div>
              <div><br>
                gpg key id: 4096R/326D8438  (<a href="http://keyring.debian.org" target="_blank">keyring.debian.org</a>)<br>
                Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC
                68DB 326D 8438<br>
                <br>
                _______________________________________________<br>
                Users mailing list<br>
                <a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
                <a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <div><br>
        </div>
        -- <br>
        <div dir="ltr">
          <div>--<br>
          </div>
          Daniel Molina<br>
          Project Engineer<br>
          OpenNebula - Flexible Enterprise Cloud Made Simple<br>
          <a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:dmolina@opennebula.org" target="_blank">dmolina@opennebula.org</a> | @OpenNebula</div>
      </div>
    </blockquote>
    <br>
    <pre cols="72">-- 
Olivier Sallou
IRISA / University of Rennes 1
Campus de Beaulieu, 35000 RENNES - FRANCE
Tel: 02.99.84.71.95

gpg key id: 4096R/326D8438  (<a href="http://keyring.debian.org" target="_blank">keyring.debian.org</a>)
Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438

</pre>
  </div></div></div>

</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><div>--<br></div>Daniel Molina<br>Project Engineer<br>OpenNebula - Flexible Enterprise Cloud Made Simple<br><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:dmolina@opennebula.org" target="_blank">dmolina@opennebula.org</a> | @OpenNebula</div>
</div>