Bug 781820

Summary: [ovirt] [engine-cli] authentication so called succeeded with bad password
Product: [Retired] oVirt Reporter: Haim <hateya>
Component: ovirt-engine-cliAssignee: Michael Pasternak <mpastern>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: acathrow, bazulay, iheim, mgoldboi, yeylon, ykaul
Target Milestone: ---   
Target Release: 3.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: infra
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-09 08:04:35 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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/