Bug 514536

Summary: Web Management front page redirect to itself
Product: [Community] Virtualization Tools Reporter: Sylvain Desbureaux <sylvain>
Component: ovirt-server-suiteAssignee: Hugh Brock <hbrock>
Status: CLOSED WONTFIX QA Contact:
Severity: high Docs Contact:
Priority: low    
Version: unspecifiedCC: jguiditt, ovirt-bugs, ovirt-maint, sylvain
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-20 14:39:14 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:
Attachments:
Description Flags
conf for ovirt in /etc/httpd/conf.d/ none

Description Sylvain Desbureaux 2009-07-29 15:04:31 UTC
Created attachment 355561 [details]
conf for ovirt in /etc/httpd/conf.d/

Description of problem:
Web Management front page redirect to itself

Version-Release number of selected component (if applicable):
Fedora Core 10 up to date
ovirt-docs.noarch                       0.99-1.fc10
ovirt-node-image.x86_64                 1.0.1-1.fc10
ovirt-node-image-pxe.x86_64             1.0.1-1.fc10
ovirt-release.noarch                    0.99-1.fc10
ovirt-server.noarch                     0.99-1.fc10
ovirt-server-installer.noarch           0.99-1.fc10

How reproducible:
appeared first time I installed the ovirt suite. Reinstall using a fresh VM and happened again.


Steps to Reproduce:
1. Create a F10 Vm without anything on it (uncheck everything) and launch it using virt-manager
2. Install openssh-server, acpid and hal 
3. launch them
4. Install ovirt following the instructions of http://ovirt.org/install-instructions.html
5. go to https://ovirt-server-address/ovirt/
6. on Firefox, you'll have a message saying that there's too many redirections
6bis. on elinks, you'll have a web page giving you the address of the redirection, which is the same as the one you typed.
 
Actual Result:
We're not able to login or use the dashboard. The same problem happens with http instead of httpd

Additional info:
attached the conf for ovirt in the web server

Comment 1 Sylvain Desbureaux 2009-07-31 07:04:30 UTC
I think the problem is there because the guest network and the admin network is the same.
When I comment the first vProxy, I can see the web pages
things I've done:
replace
"NameVirtualHost 10.194.136.74:80
<VirtualHost 10.194.136.74:80>
  <Location /ovirt>
    RewriteEngine on
    RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [R,L]
  </Location>
</VirtualHost>" 
with
"#NameVirtualHost 10.194.136.74:80
#<VirtualHost 10.194.136.74:80>
#  <Location /ovirt>
#    RewriteEngine on
#    RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [R,L]
#  </Location>
#</VirtualHost>"

Comment 2 Jason Guiditta 2009-07-31 13:36:37 UTC
This is a known 'bug'.  Ovirt currently does not support one network setup.  We would consider adding it in if time permits, patches welcome.

Comment 3 Sylvain Desbureaux 2009-07-31 14:01:45 UTC
Ok, I understand. The install process sentences are perhaps misleading because they say that you can do it (having both networks on the same I/F) but do not warn about having to change the ovirt-server.conf.
Perhaps a work around would be that.

Comment 4 Cole Robinson 2014-01-20 14:39:14 UTC
This bugzilla product/component combination is no longer used: ovirt bugs are tracked under the bugzilla product 'oVirt'. If this bug is still valid, please reopen and set the correct product/component.