Network environment with a single letter tld
Network environment with a single letter tld
I just started evaluating Opsi if it would fit our environment. However, there's a problem with our network since our domain has a single letter tld (let's say foo.x). Hostname opsidemo.foo.x resolves just fine in our network but opsiconfd wouldn't run. I got it running by modifying the regular expression which checks the domain. The next problem I encountered was the Java UI which would need more work to "fix" the issue.
I'm uncomfortable with the idea of modifying the source code until I get it to accept our domain as things will break with the next update. And changing our domain isn't an option because things might break. Is there any other workaround or even a fix for this problem?
Regards, Jani
Re: Network environment with a single letter tld
please send the exact error message or other form of problem that occurs. This would be a help to check the problem.
Greetings,
Rupert
Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.
Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.
uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de
Re: Network environment with a single letter tld
Code: Alles auswählen
Starting opsi config service..Traceback:
line 733 in 'main' in file '/usr/lib/pymodules/python2.6/opsiconfd/opsiconfd.py'
line 467 in '__init__' in file '/usr/lib/pymodules/python2.6/opsiconfd/opsiconfd.py'
line 531 in 'setDefaultConfig' in file '/usr/lib/pymodules/python2.6/opsiconfd/opsiconfd.py'
line 215 in 'forceFqdn' in file '/usr/lib/pymodules/python2.6/OPSI/Types.py'
==>>> Bad fqdn: 'opsidemo.teoad.x'
ERROR: Bad fqdn: 'opsidemo.teoad.x'

Regards, Jani
Re: Network environment with a single letter tld
we have to check this.
It may be that opsi requires a at least 2 letter tld........
regards
d.oertel
Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.
Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.
uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de
Re: Network environment with a single letter tld
I would assume there's no actual reason to require at least 2 letters long tld. Maybe this would be a change you could consider for next version?

Regards, Jani
Re: Network environment with a single letter tld
yes this will be discussed starting the next major version.
regards
d.oertel
Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.
Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.
uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de