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

/etc/cobbler/settings 'server:' entry not respected when given an IP address. Cobbler 2.4.0 #601

Open
barrowsr opened this issue Sep 20, 2013 · 6 comments
Labels
2.4.0 Release 2.4.0 Bug Report Reporting a bug Priority Issues that will be worked on with higher priority.

Comments

@barrowsr
Copy link

I have the following entry in my /etc/cobbler/settings
server: 192.168.1.101

Cobbler resolves this correctly as "server1" through my dns.
Then every place that cobbler needs to put my server it uses
"server1" instead of "192.168.1.101" for all instances of @@http_server@@
this goes for stanzas as well as repo paths, kickstart paths and tree paths

Perhaps there is an underlying reason I am missing but I believe cobbler
should respect what the user enters in /etc/cobbler/settings

It also does this when you specify --server=192.168.1.101 in a profile
I would of tried --server-override but it no longer seems to work.
cobbler: error: no such option: --server-override

The reason this is causing me a problem:
On a CentOS 6.4 install there is a problem with NetworkManager and
DNS resolution. A system with two NICs with only one plugged in will try to bring up
both. The plugged in one will come up fine, with the second failing shortly after.
However the failure of the second causes DNS problems and the installation cannot
see "server1"

For now I have edited stanzas out of my kickstarts, and manually changed tree, repo, and kickstart path entries to remove @@http_server@@

While I have overcome this for now, perhaps there is a hack I could make in the py files, or perhaps there is a better way I am missing?

Thanks for the great tool.

@gmcfrear
Copy link

gmcfrear commented Oct 2, 2013

Hi Barrowsr,

Instead of --server-override use just --server="string" (ip or hostname works well)

@barrowsr
Copy link
Author

barrowsr commented Oct 2, 2013

I will for now, thanks for the tip.

@chjohnst
Copy link
Contributor

Does this problem still exist?

@barrowsr
Copy link
Author

Yes the problem does still exist. I have worked around it by the way I described above. I haven't tried the --server="string" yet, since the setup is working for now. I do still think that an IP entry in /etc/cobbler/settings should persist. Thanks.

@jmaas jmaas added the priority label Aug 2, 2014
@jmaas jmaas self-assigned this Aug 2, 2014
@alanoe alanoe added this to the 3.0.0 milestone Nov 17, 2014
@claudiomll
Copy link

adding http_server=192.168.1.101 on the setting file will workaround this issue.

@SchoolGuy SchoolGuy modified the milestones: 3.0.0, Backlog Aug 15, 2019
@SchoolGuy SchoolGuy added this to Inbox in Backlog Aug 15, 2019
@SchoolGuy SchoolGuy moved this from Inbox to Bug Reports in Backlog Oct 17, 2019
@SchoolGuy SchoolGuy added the 2.4.0 Release 2.4.0 label May 11, 2020
@SchoolGuy SchoolGuy added this to the v3.3.0 milestone Nov 19, 2020
@SchoolGuy
Copy link
Member

Let's try to replicate for 3.3.0 and if it persists then fix it.

@nodeg nodeg removed this from the v3.3.0 milestone Jul 9, 2021
@SchoolGuy SchoolGuy removed this from Bug Reports in Backlog Jul 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.4.0 Release 2.4.0 Bug Report Reporting a bug Priority Issues that will be worked on with higher priority.
Projects
Status: Todo
Development

No branches or pull requests

8 participants