Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 598308 Details for
Bug 789770
USER_IS_ALREADY_LOGGED_IN after failed command
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
Data sent and received to reproduce
moreinfo.txt (text/plain), 12.47 KB, created by
Floris
on 2012-07-15 13:43:57 UTC
(
hide
)
Description:
Data sent and received to reproduce
Filename:
MIME Type:
Creator:
Floris
Created:
2012-07-15 13:43:57 UTC
Size:
12.47 KB
patch
obsolete
>Create VM with invalid syntax > >To server: >== >POST /api/vms HTTP/1.1 >Host: 192.168.88.102:8080 >Accept-encoding: gzip, deflate >Content-Type: application/xml >User-Agent: Zend_Http_Client >Authorization: Basic <PASSWORD-DATA-REMOVED> >Accept: application/xml >Content-Length: 178 > ><vmSYNTAXERROR><name></name><cluster id="test"/><template><name>Blank</name></template><memory>805306368</memory><os><boot dev="hd"/></os><display><type>vnc</type></display></vm> >== >From server: >== >HTTP/1.1 400 Bad Request >Server: Apache-Coyote/1.1 >Content-Type: text/html;charset=utf-8 >Transfer-Encoding: chunked >Date: Sun, 15 Jul 2012 11:31:53 GMT >Connection: close > >2000 ><html><head><title>JBoss Web/7.0.3.Final - 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 400 - javax.xml.bind.UnmarshalException: unexpected element (uri:"", local:"vmSYNTAXERROR"). Expected elements are <{}action>,<{}api>,<{}body>,<{}bonding>,<{}boot_devices>,<{}boot_protocols>,<{}capabilities>,<{}cdrom>,<{}cdroms>,<{}cluster>,<{}clusters>,<{}cpu>,<{}creation>,<{}creation_states>,<{}data_center>,<{}data_center_states>,<{}data_centers>,<{}detailedLink>,<{}detailedLinks>,<{}disk>,<{}disk_formats>,<{}disk_interfaces>,<{}disk_states>,<{}disk_types>,<{}disks>,<{}display_types>,<{}domain>,<{}domains>,<{}error_handling>,<{}event>,<{}events>,<{}fault>,<{}features>,<{}fence_types>,<{}file>,<{}files>,<{}floppies>,<{}floppy>,<{}group>,<{}groups>,<{}header>,<{}headers>,<{}host>,<{}host_nic>,<{}host_nic_states>,<{}host_nics>,<{}host_non_operational_details>,<{}host_states>,<{}host_storage>,<{}hosts>,<{}ip>,<{}ips>,<{}keyValuePair>,<{}ksm>,<{}link>,<{}linkCapabilities>,<{}logical_unit>,<{}mac>,<{}network>,<{}network_states>,<{}networks>,<{}nic>,<{}nic_interfaces>,<{}nics>,<{}options>,<{}os_types>,<{}parameter>,<{}parameters_set>,<{}permission>,<{}permissions>,<{}permit>,<{}permits>,<{}power_management>,<{}power_management_states>,<{}power_managers>,<{}product_info>,<{}request>,<{}response>,<{}role>,<{}roles>,<{}rsdl>,<{}scheduling_policies>,<{}schema>,<{}slaves>,<{}snapshot>,<{}snapshots>,<{}special_objects>,<{}statistic>,<{}statistics>,<{}status>,<{}storage>,<{}storage_domain>,<{}storage_domain_states>,<{}storage_domain_types>,<{}storage_domains>,<{}storage_formats>,<{}storage_manager>,<{}storage_types>,<{}summary>,<{}tag>,<{}tags>,<{}template>,<{}template_states>,<{}templates>,<{}transparent_hugepages>,<{}url>,<{}usb>,<{}user>,<{}users>,<{}value>,<{}values>,<{}version>,<{}vlan>,<{}vm>,<{}vm_affinities>,<{}vm_pause_details>,<{}vm_states>,<{}vm_types>,<{}vmpool>,<{}vmpools>,<{}vms>,<{}volume_group></h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> <u>javax.xml.bind.UnmarshalException: unexpected element (uri:"", local:"vmSYNTAXERROR"). Expected elements are <{}action>,<{}api>,<{}body>,<{}bonding>,<{}boot_devices>,<{}boot_protocols>,<{}capabilities>,<{}cdrom>,<{}cdroms>,<{}cluster>,<{}clusters>,<{}cpu>,<{}creation>,<{}creation_states>,<{}data_center>,<{}data_center_states>,<{}data_centers>,<{}detailedLink>,<{}detailedLinks>,<{}disk>,<{}disk_formats>,<{}disk_interfaces>,<{}disk_states>,<{}disk_types>,<{}disks>,<{}display_types>,<{}domain>,<{}domains>,<{}error_handling>,<{}event>,<{}events>,<{}fault>,<{}features>,<{}fence_types>,<{}file>,<{}files>,<{}floppies>,<{}floppy>,<{}group>,<{}groups>,<{}header>,<{}headers>,<{}host>,<{}host_nic>,<{}host_nic_states>,<{}host_nics>,<{}host_non_operational_details>,<{}host_states>,<{}host_storage>,<{}hosts>,<{}ip>,<{}ips>,<{}keyValuePair>,<{}ksm>,<{}link>,<{}linkCapabilities>,<{}logical_unit>,<{}mac>,<{}network>,<{}network_states>,<{}networks>,<{}nic>,<{}nic_interfaces>,<{}nics>,<{}options>,<{}os_types>,<{}parameter>,<{}parameters_set>,<{}permission>,<{}permissions>,<{}permit>,<{}permits>,<{}power_management>,<{}power_management_states>,<{}power_managers>,<{}product_info>,<{}request>,<{}response>,<{}role>,<{}roles>,<{}rsdl>,<{}scheduling_policies>,<{}schema>,<{}slaves>,<{}snapshot>,<{}snapshots>,<{}special_objects>,<{}statistic>,<{}statistics>,<{}status>,<{}storage>,<{}storage_domain>,<{}storage_domain_states>,<{}storage_domain_types>,<{}storage_domains>,<{}storage_formats>,<{}storage_manager>,<{}storage_types>,<{}summary>,<{}tag>,<{}tags>,<{}template>,<{}template_states>,<{}templates>,<{}transparent_hugepages>,<{}url>,<{}usb>,<{}user>,<{}users>,<{}value>,<{}values>,<{}version>,<{}vlan>,<{}vm>,<{}vm_affinities>,<{}vm_pause_details>,<{}vm_states>,<{}vm_types>,<{}vmpool>,<{}vmpools>,<{}vms>,<{}volume_group></u></p><p><b>description</b> <u>The request sent by the client was syntactically incorrect (javax.xml.bind.UnmarshalException: unexpected element (uri:"", local:"vmSYNTAXERROR"). Expected elements are <{}action>,<{}api>,<{}body>,<{}bonding>,<{}boot_devices>,<{}boot_protocols>,<{}capabilities>,<{}cdrom>,<{}cdroms>,<{}cluster>,<{}clusters>,<{}cpu>,<{}creation>,<{}creation_states>,<{}data_center>,<{}data_center_states>,<{}data_centers>,<{}detailedLink>,<{}detailedLinks>,<{}disk>,<{}disk_formats>,<{}disk_interfaces>,<{}disk_states>,<{}disk_types>,<{}disks>,<{}display_types>,<{}domain>,<{}domains>,<{}error_handling>,<{}event>,<{}events>,<{}fault>,<{}features>,<{}fence_types>,<{}file>,<{}files>,<{}floppies>,<{}floppy>,<{}group>,<{}groups>,<{}header>,<{}headers>,<{}host>,<{}host_nic>,<{}host_nic_states>,<{}host_nics>,<{}host_non_operational_details>,<{}host_states>,<{}host_storage>,<{}hosts>,<{}ip>,<{}ips>,<{}keyValuePair>,<{}ksm>,<{}link>,<{}linkCapabilities>,<{}logical_unit>,<{}mac>,<{}network>,<{}network_states>,<{}networks>,<{}nic>,<{}nic_interfaces>,<{}nics>,<{}options>,<{}os_types>,<{}parameter>,<{}parameters_set>,<{}permission>,<{}permissions>,<{}permit>,<{}permits>,<{}power_management>,<{}power_management_states>,<{}power_managers>,<{}product_info>,<{}request>,<{}response>,<{}role>,<{}roles>,<{}rsdl>,<{}scheduling_policies>,<{}schema>,<{}slaves>,<{}snapshot>,<{}snapshots>,<{}special_objects>,<{}statistic>,<{}statistics>,<{}status>,<{}storage>,<{}storage_domain>,<{}storage_domain_states>,<{}storage_domain_types>,<{}storage_domains>,<{}storage_formats>,<{}storage_manager>,<{}storage_types>,<{}summary>,< >1fa >{}tag>,<{}tags>,<{}template>,<{}template_states>,<{}templates>,<{}transparent_hugepages>,<{}url>,<{}usb>,<{}user>,<{}users>,<{}value>,<{}values>,<{}version>,<{}vlan>,<{}vm>,<{}vm_affinities>,<{}vm_pause_details>,<{}vm_states>,<{}vm_types>,<{}vmpool>,<{}vmpools>,<{}vms>,<{}volume_group>).</u></p><HR size="1" noshade="noshade"><h3>JBoss Web/7.0.3.Final</h3></body></html> >0 >== > > >Next command fails with Unauthorized: > >To server: >== >GET /api/networks HTTP/1.1 >Host: 192.168.88.102:8080 >Accept-encoding: gzip, deflate >User-Agent: Zend_Http_Client >Authorization: Basic <PASSWORD-DATA-REMOVED> >Accept: application/xml > >== >From server: >== >HTTP/1.1 401 Unauthorized >Server: Apache-Coyote/1.1 >WWW-Authenticate: Basic realm = "ENGINE" >Content-Type: text/html;charset=utf-8 >Content-Length: 956 >Date: Sun, 15 Jul 2012 11:31:55 GMT > ><html><head><title>JBoss Web/7.0.3.Final - 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/7.0.3.Final</h3></body></html> >== > >engine.log: > >== >2012-07-15 13:30:53,588 INFO [org.ovirt.engine.core.bll.LoginAdminUserCommand] (http--0.0.0.0-8080-5) Running command: LoginAdminUserCommand internal: false. >2012-07-15 13:30:53,602 INFO [org.ovirt.engine.core.bll.LogoutUserCommand] (http--0.0.0.0-8080-5) Running command: LogoutUserCommand internal: false. >2012-07-15 13:30:53,642 INFO [org.ovirt.engine.core.bll.LoginAdminUserCommand] (http--0.0.0.0-8080-5) Running command: LoginAdminUserCommand internal: false. >2012-07-15 13:31:12,027 WARN [org.ovirt.engine.core.bll.LoginAdminUserCommand] (http--0.0.0.0-8080-5) CanDoAction of action LoginAdminUser failed. Reasons:USER_IS_ALREADY_LOGGED_IN >2012-07-15 13:31:12,028 INFO [org.ovirt.engine.api.restapi.security.auth.LoginValidator] (http--0.0.0.0-8080-5) Login failure, user: admin domain: internal reason: [USER_IS_ALREADY_LOGGED_IN] >2012-07-15 13:31:12,029 INFO [org.ovirt.engine.core.bll.LogoutUserCommand] (http--0.0.0.0-8080-5) Running command: LogoutUserCommand internal: false. >2012-07-15 13:31:53,490 INFO [org.ovirt.engine.core.bll.LoginAdminUserCommand] (http--0.0.0.0-8080-4) Running command: LoginAdminUserCommand internal: false. >2012-07-15 13:31:53,502 INFO [org.ovirt.engine.core.bll.LogoutUserCommand] (http--0.0.0.0-8080-4) Running command: LogoutUserCommand internal: false. >2012-07-15 13:31:53,520 INFO [org.ovirt.engine.core.bll.LoginAdminUserCommand] (http--0.0.0.0-8080-4) Running command: LoginAdminUserCommand internal: false. >2012-07-15 13:31:55,645 WARN [org.ovirt.engine.core.bll.LoginAdminUserCommand] (http--0.0.0.0-8080-4) CanDoAction of action LoginAdminUser failed. Reasons:USER_IS_ALREADY_LOGGED_IN >2012-07-15 13:31:55,646 INFO [org.ovirt.engine.api.restapi.security.auth.LoginValidator] (http--0.0.0.0-8080-4) Login failure, user: admin domain: internal reason: [USER_IS_ALREADY_LOGGED_IN] >2012-07-15 13:31:55,648 INFO [org.ovirt.engine.core.bll.LogoutUserCommand] (http--0.0.0.0-8080-4) Running command: LogoutUserCommand internal: false. >==
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 789770
: 598308