Bug 781820 - [ovirt] [engine-cli] authentication so called succeeded with bad password
Summary: [ovirt] [engine-cli] authentication so called succeeded with bad password
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-engine-cli
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 3.1
Assignee: Michael Pasternak
QA Contact:
URL:
Whiteboard: infra
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-15 13:02 UTC by Haim
Modified: 2014-01-13 00:50 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-09 08:04:35 UTC
oVirt Team: ---
Embargoed:


Attachments (Terms of Use)

Description Haim 2012-01-15 13:02:30 UTC
Description of problem:

- running the following command with wrong password

[root@rhevm-a8c-03 ~]# ovirt-shell --connect --url "http://<ipaddr>:8080/api" --user "admin@internal" --password "lallalalala"
connected to oVirt manager at http://<ipaddr>:8080/api
Welcome to Red Hat Enterprise Virtualization.

Type:  'help' for help with commands
       'exit' to leave this interactive shell

[oVirt-shell:connected]# list vms
unknown error: 
status: 401
reason: Unauthorized
detail: <html><head><title>JBoss Web/2.1.12.GA-patch-01 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 401 - </h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>This request requires HTTP authentication ().</u></p><HR size="1" noshade="noshade"><h3>JBoss Web/2.1.12.GA-patch-01</h3></body></html>

- when I try to run actions i get Unauthorized (which is fine)


git commit: ed00a08d51006b1b90923cb9d89b57b1e4d02be2

Comment 1 Michael Pasternak 2012-01-15 13:39:57 UTC
what this 'git commit: ed00a08d51006b1b90923cb9d89b57b1e4d02be2' for?

Comment 2 Haim 2012-01-16 11:31:47 UTC
(In reply to comment #1)
> what this 'git commit: ed00a08d51006b1b90923cb9d89b57b1e4d02be2' for?

this is the last commit i see in ovirt-engine-cli, its just for reference.

Comment 3 Michael Pasternak 2012-01-16 15:37:37 UTC
depends on sdk change commit a0f70a3bb92b2f660f7cdc850743ee28b7037805

Comment 4 Itamar Heim 2012-08-09 08:04:35 UTC
closing ON_QA bugs as oVirt 3.1 was released:
http://www.ovirt.org/get-ovirt/


Note You need to log in before you can comment on or make changes to this bug.