[one-users] Econe EC2 Interface: User not authorized

Matthias Keller mkeller at upb.de
Mon Feb 7 11:26:32 PST 2011


Dear all,

now we did spend a lot of time for tracking down our issue including several runs through the instruction on how to install econe-server.

issue:
- authorization failed for econe-* clis.
- correct authorization for one* clis.
$ econe-describe-instances
$ econe-describe-instances: User not authorized
$ onevm list
   ID     USER     NAME STAT CPU     MEM        HOSTNAME        TIME
    5 oneadmin vm-examp runn   0      0K    192.168.7.30 27 04:28:22

$ cat /home/mkeller/.one/one_auth
mkeller:mkeller

(tried with and without this env-key)
$ echo $ONE_AUTH
/home/mkeller/.one/one_auth

(tried with and without this env-key)
$ echo $AWSAccessKeyId $AWSSecretAccessKey 
mkeller mkeller

(at least)
$ econe-describe-instances -K mkeller -S mkeller
econe-describe-instances: User not authorized

Configs and logs are attached below.

(1) Is there any possibility to get more verbose logs, especially from econe-server?
(2) What did we do wrong? How can we solve it? 
(3) Is there a mess up with the library versions, e.g. the client-/server-ruby-scripts
(3b) Should we ignore econe* clis and use other ec2 clis?

Thanks a lot in advance, we would really like to get some help on that.

Best regards,
Matthias Keller


configs:
$ oneuser list
  ID USER            PASSWORD                                     
...
   3 mkeller         64cae02b62d816c530b49644907159196085793d 
...

$ gem list

*** LOCAL GEMS ***

amazon-ec2 (0.9.17)
curb (0.7.10, 0.7.9)
daemons (1.1.0)
eventmachine (0.12.10)
macaddr (1.0.0)
mkrf (0.2.3)
rack (1.2.1)
sequel (3.19.0)
sinatra (1.1.2)
sqlite3 (1.3.3)
sqlite3-ruby (1.3.3)
thin (1.2.7)
tilt (1.2.2)
uuid (2.3.1)
xml-simple (1.0.12)

$ cat etc/econe.conf 
# OpenNebula sever contact information
ONE_XMLRPC=http://localhost:2633/RPC2

# Host and port where econe server will run
SERVER=opennebula
PORT=4567

# SSL proxy that serves the API (set if is being used)
#SSL_SERVER=fqdm.of.the.server
#SSL_SERVER=opennebula

# VM types allowed and its template file (inside templates directory)
VM_TYPE=[NAME=m1.large, TEMPLATE=m1.large.erb]
VM_TYPE=[NAME=m1.small, TEMPLATE=m1.small.erb]

logs:
$ tail var/econe-server.log
127.0.0.1 - - [07/Feb/2011 19:31:20] "POST / HTTP/1.1" 400 139 0.0111
127.0.0.1 - - [07/Feb/2011 20:04:03] "POST / HTTP/1.1" 400 139 0.0117
127.0.0.1 - - [07/Feb/2011 20:12:13] "POST / HTTP/1.1" 400 139 0.0116
127.0.0.1 - - [07/Feb/2011 20:14:02] "POST / HTTP/1.1" 400 139 0.0113
127.0.0.1 - - [07/Feb/2011 20:14:37] "POST / HTTP/1.1" 400 139 0.0448
127.0.0.1 - - [07/Feb/2011 20:14:38] "POST / HTTP/1.1" 400 139 0.0132
127.0.0.1 - - [07/Feb/2011 20:14:39] "POST / HTTP/1.1" 400 139 0.0129
127.0.0.1 - - [07/Feb/2011 20:14:39] "POST / HTTP/1.1" 400 139 0.0126
127.0.0.1 - - [07/Feb/2011 20:14:39] "POST / HTTP/1.1" 400 139 0.0121
127.0.0.1 - - [07/Feb/2011 20:14:39] "POST / HTTP/1.1" 400 139 0.0116

$ tail var/oned.log -n 30
Mon Feb  7 20:10:59 2011 [ReM][D]: HostPoolInfo method invoked
Mon Feb  7 20:10:59 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
Mon Feb  7 20:11:28 2011 [InM][I]: Monitoring host 192.168.7.30 (0)
Mon Feb  7 20:11:28 2011 [InM][D]: Host 0 successfully monitored.
Mon Feb  7 20:11:29 2011 [ReM][D]: HostPoolInfo method invoked
Mon Feb  7 20:11:29 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
Mon Feb  7 20:11:59 2011 [ReM][D]: HostPoolInfo method invoked
Mon Feb  7 20:11:59 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
Mon Feb  7 20:12:13 2011 [ReM][D]: UserPoolInfo method invoked
Mon Feb  7 20:12:29 2011 [ReM][D]: HostPoolInfo method invoked
Mon Feb  7 20:12:29 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
Mon Feb  7 20:12:59 2011 [ReM][D]: HostPoolInfo method invoked
Mon Feb  7 20:12:59 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
Mon Feb  7 20:13:29 2011 [ReM][D]: HostPoolInfo method invoked
Mon Feb  7 20:13:29 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
Mon Feb  7 20:13:59 2011 [ReM][D]: HostPoolInfo method invoked
Mon Feb  7 20:13:59 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
Mon Feb  7 20:14:02 2011 [ReM][D]: UserPoolInfo method invoked
Mon Feb  7 20:14:29 2011 [ReM][D]: HostPoolInfo method invoked
Mon Feb  7 20:14:29 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
Mon Feb  7 20:14:37 2011 [ReM][D]: UserPoolInfo method invoked
Mon Feb  7 20:14:38 2011 [ReM][D]: UserPoolInfo method invoked
Mon Feb  7 20:14:39 2011 [ReM][D]: UserPoolInfo method invoked
Mon Feb  7 20:14:39 2011 [ReM][D]: UserPoolInfo method invoked
Mon Feb  7 20:14:39 2011 [ReM][D]: UserPoolInfo method invoked
Mon Feb  7 20:14:39 2011 [ReM][D]: UserPoolInfo method invoked
Mon Feb  7 20:14:59 2011 [ReM][D]: HostPoolInfo method invoked
Mon Feb  7 20:14:59 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
Mon Feb  7 20:15:29 2011 [ReM][D]: HostPoolInfo method invoked
Mon Feb  7 20:15:29 2011 [ReM][D]: VirtualMachinePoolInfo method invoked

$ tail var/one_xmlrpc.log -n 20
127.0.0.1:6802 - no_user - [07/Feb/2011:20:13:29 -0100] "POST" 200 468
127.0.0.1:6802 - no_user - [07/Feb/2011:20:13:59 -0100] "POST" 200 1593
127.0.0.1:6802 - no_user - [07/Feb/2011:20:13:59 -0100] "POST" 200 468
127.0.0.1:7826 - no_user - [07/Feb/2011:20:14:02 -0100] "POST" 200 990
127.0.0.1:6802 - no_user - [07/Feb/2011:20:14:29 -0100] "POST" 200 1593
127.0.0.1:6802 - no_user - [07/Feb/2011:20:14:29 -0100] "POST" 200 468
127.0.0.1:8338 - no_user - [07/Feb/2011:20:14:37 -0100] "POST" 200 990
127.0.0.1:8850 - no_user - [07/Feb/2011:20:14:38 -0100] "POST" 200 990
127.0.0.1:9362 - no_user - [07/Feb/2011:20:14:39 -0100] "POST" 200 990
127.0.0.1:9874 - no_user - [07/Feb/2011:20:14:39 -0100] "POST" 200 990
127.0.0.1:10386 - no_user - [07/Feb/2011:20:14:39 -0100] "POST" 200 990
127.0.0.1:10898 - no_user - [07/Feb/2011:20:14:39 -0100] "POST" 200 990
127.0.0.1:6802 - no_user - [07/Feb/2011:20:14:59 -0100] "POST" 200 1593
127.0.0.1:6802 - no_user - [07/Feb/2011:20:14:59 -0100] "POST" 200 468
127.0.0.1:6802 - no_user - [07/Feb/2011:20:15:29 -0100] "POST" 200 1593
127.0.0.1:6802 - no_user - [07/Feb/2011:20:15:29 -0100] "POST" 200 468
127.0.0.1:6802 - no_user - [07/Feb/2011:20:15:59 -0100] "POST" 200 1593
127.0.0.1:6802 - no_user - [07/Feb/2011:20:15:59 -0100] "POST" 200 468
127.0.0.1:6802 - no_user - [07/Feb/2011:20:16:29 -0100] "POST" 200 1593
127.0.0.1:6802 - no_user - [07/Feb/2011:20:16:29 -0100] "POST" 200 468




More information about the Users mailing list