Hi,

On 25 October 2011 08:47, Bharat Bagai <bagai_bha...@hotmail.com> wrote:
> Hi All
>
> I am using EC2 API for user authentication but it gives me an error: USER
> NOT AUTHORIZED. I am working on this error for last 5 days but donno able to
> understand what is the exact cause.
>
> [oneadmin@frontend etc]$ econe-describe-instances -K oneadmin -S <password>
> -U http://localhost:4567
> econe-describe-instances: User not authorized

Are you using the sha1 password instead of plain? You can retrieve
this value from the oneuser list command.


> When i change the localhost to hostname or IP Address, error still remains
> same.
>

If you change the hostname in the econe-server.conf you have to use
that hostname in the request.
[oneadmin@frontend etc]$ econe-describe-instances -K oneadmin -S
<sha1_password> -U http://your_hostname:4567

If your hostname is localhost:
[oneadmin@frontend etc]$ econe-describe-instances -K oneadmin -S
<sha1_password> -U http://localhost:4567

Hope this helps

-- 
Daniel Molina
Project Engineer
OpenNebula - The Open Source Toolkit for Cloud Computing
www.OpenNebula.org | @dmamolina
_______________________________________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to