Skip to content
This repository has been archived by the owner on Aug 29, 2018. It is now read-only.

Moving gears between mod_rewrite and vhost hosts #5798

Open
untsakas opened this issue Sep 10, 2014 · 1 comment
Open

Moving gears between mod_rewrite and vhost hosts #5798

untsakas opened this issue Sep 10, 2014 · 1 comment

Comments

@untsakas
Copy link

Steps to reproduce:

  1. Installed one node node0 with default openshift-origin-frontend-apache-mod-rewrite frontend plug-in.
  2. Create new application, profile small.
  3. Add second node node1 with openshift-origin-frontend-apache-vhost front-end plug-in.
  4. Used
    `

    oo-admin-move --gear_uuid --node_profile vhost_small -i node1

    to move gear fromnode0tonode1`.
  5. Opening application URL results in redirect loop to getting_started.html.
  6. Restarting frontend Apache process on node shows error about missing include conf.d/openshift_route.include in vhost configuration file.
  7. After removing this line from vhost configuration file, problem was solved.

Is this expected?

@tiwillia
Copy link
Member

tiwillia commented Jul 7, 2015

I cannot seem to reproduce this behavior on the latest codebase.

The line mentioned should only be present on hosts with mod_rewrite:

https://github.com/openshift/origin-server/blob/master/plugins/frontend/apache-mod-rewrite/httpd/frontend-mod-rewrite-https-template.erb#L22

@untsakas, I know its been some time, but are you still experiencing this issue?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants