[one-users] strange EC2 beahvior in 4.8

Olivier Sallou olivier.sallou at irisa.fr
Wed Sep 24 01:16:02 PDT 2014


I have updated my config to use the EC2 templates in one instead of old
template files.
It works fine when I am the oneadmin user.

However, when I am using an other user I have this error when I create a
new VM:

Unexpected server error. response.body is:
<Response><RequestId/><Errors><Error><Code>InvalidInstanceAttributeValue.NotFound</Code><Message>InvalidInstanceAttributeValue.NotFound
m1.small</Message></Error></Errors></Response>


The code is:

    response = ec2.run_instances(
              :image_id       => 'ami-00000280',
              :min_count      => 1,
              :max_count      => 1,
              :instance_type  => 'm1.small',
              :user_data      => user_data,
              :base64_encoded => true
              )

It works fine if I use the oneadmin credentials, but not for other users.

m1.small is a template in one:

TEMPLATE 143
INFORMATION                                                       
ID             : 143                
NAME           : m1.small           
USER           : oneadmin           
GROUP          : oneadmin           
REGISTER TIME  : 09/23 10:26:52     

PERMISSIONS                                                                    

OWNER          : um-                
GROUP          : u--                
OTHER          : u--                

All users have USE right access.

Any idea?

Thanks

Olviier

-- 


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



More information about the Users mailing list