<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    <div class="moz-cite-prefix">On 09/30/2014 11:06 AM, Daniel Molina
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAPvywew_Jvk7x1+pr=PuUvEEAPzfzrR634ARofrK1MTJFfR=0A@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi Olivier,
        <div><br>
        </div>
        <div>Did you fix this issue? I cannot reproduce it</div>
      </div>
    </blockquote>
    Setting ownership of the template group , plus setting "use" access
    to "group" and "others" fixes the issue. So I do not have the
    problem anymore with this modification, but I wonder why, as
    "others" have a "use" permission. And I do not see such requirement
    in documentation (or missed it).<br>
    <br>
    Olivier<br>
    <blockquote
cite="mid:CAPvywew_Jvk7x1+pr=PuUvEEAPzfzrR634ARofrK1MTJFfR=0A@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <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 moz-do-not-send="true"
              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
                            moz-do-not-send="true"
                            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
                                moz-do-not-send="true"
                                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 moz-do-not-send="true"
                                href="mailto:Users@lists.opennebula.org"
                                target="_blank">Users@lists.opennebula.org</a><br>
                              <a moz-do-not-send="true"
                                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 moz-do-not-send="true"
                          href="http://www.OpenNebula.org"
                          target="_blank">www.OpenNebula.org</a> | <a
                          moz-do-not-send="true"
                          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 moz-do-not-send="true" 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 moz-do-not-send="true" href="http://www.OpenNebula.org"
            target="_blank">www.OpenNebula.org</a> | <a
            moz-do-not-send="true" href="mailto:dmolina@opennebula.org"
            target="_blank">dmolina@opennebula.org</a> | @OpenNebula</div>
      </div>
    </blockquote>
    <br>
    <pre class="moz-signature" 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  (keyring.debian.org)
Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438

</pre>
  </body>
</html>