Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provided httpd cobbler_web.conf is incorrect #2286

Closed
opoplawski opened this issue Feb 29, 2020 · 6 comments · Fixed by #2434
Closed

Provided httpd cobbler_web.conf is incorrect #2286

opoplawski opened this issue Feb 29, 2020 · 6 comments · Fixed by #2434
Labels
3.1.1 Release 3.1.1 3.1.2 Release 3.1.2 Bug Report Reporting a bug
Projects
Milestone

Comments

@opoplawski
Copy link
Contributor

Describe the bug

Commit c304030 added VirtualHost statements to the apache cobbler_web.conf file. This does not work on Fedora/RedHat because it does not actually enable and configure SSL in that virtualhost, so you end up with a standard http server on the https port. I don't know why this was added as the previous version appeared to work fine.

Version

3.1.1

@opoplawski opoplawski added the Bug Report Reporting a bug label Feb 29, 2020
@SchoolGuy SchoolGuy added this to Inbox in Backlog via automation Feb 29, 2020
@SchoolGuy
Copy link
Member

This means that this bug/problem was introduced with #2080

Hm webserver configuration works apparently because the CI has a running webserver so the current api tests green. When using https we will need to adjust the cobbler config anyway. So I don't see that as bug here.

What I am now indeed seeing and have not seen is in the past then when SSL is configured the wsgi statements are missing.

@SchoolGuy SchoolGuy added the 3.1.1 Release 3.1.1 label Feb 29, 2020
@hbokh
Copy link
Contributor

hbokh commented Mar 1, 2020

FYI It was me who added these lines as a hack in CI:

https://github.com/cobbler/cobbler/blob/master/tests/build-and-install-rpms.sh#L35-L40

@SchoolGuy SchoolGuy moved this from Inbox to Bug Reports in Backlog May 11, 2020
@opoplawski
Copy link
Contributor Author

I just ran into this again testing our cobbler 3.1.2 on EL7. I have to remove the VirtualHost lines to get httpd to start. Can we please remove them? @thiller2018 indicates it's to make it easier to run the gui on HTTP, but that's just backwards from a security standpoint.

@SchoolGuy SchoolGuy added the 3.1.2 Release 3.1.2 label Jul 8, 2020
@SchoolGuy
Copy link
Member

So the webinterface will be removed with 3.3.0

I won't do this for the (probably) last minor release with that config file available.

@SchoolGuy SchoolGuy linked a pull request Nov 19, 2020 that will close this issue
@SchoolGuy SchoolGuy added this to the v3.3.0 milestone Nov 19, 2020
@asimat
Copy link

asimat commented Jan 14, 2021

Will there be a replacement for Web Interface ?

Remove means lots of people will stop using the new versions of cobblers.

@SchoolGuy
Copy link
Member

@asimat There will be indeed a replacement. This new web-interface will be decoupled to enable people to run Cobbler in a Container and not have a dedicated Server for it. This new web-interface will be written in Angular and be published once the contributor who does the initial work feels comfortable enough to publish it. It will have the same feature for version 1.0 and will be compatible with Cobbler 3.3.0 and onward in the first version.

Backlog automation moved this from Bug Reports to Done Mar 6, 2021
@SchoolGuy SchoolGuy added this to To do in V3.3.0 via automation Jun 29, 2021
@SchoolGuy SchoolGuy removed this from Done in Backlog Jun 29, 2021
@SchoolGuy SchoolGuy moved this from To do to Done in V3.3.0 Jun 29, 2021
xavierba added a commit to xavierba/cobbler that referenced this issue Mar 7, 2022
SchoolGuy pushed a commit to xavierba/cobbler that referenced this issue Feb 2, 2023
SchoolGuy pushed a commit to xavierba/cobbler that referenced this issue May 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.1.1 Release 3.1.1 3.1.2 Release 3.1.2 Bug Report Reporting a bug
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

4 participants