Network environment with a single letter tld

Antworten
kaesi
Beiträge: 3
Registriert: 06 Jul 2011, 16:39

Network environment with a single letter tld

Beitrag von kaesi »

Hi!

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
Benutzeravatar
r.roeder
uib-Team
Beiträge: 540
Registriert: 02 Jul 2008, 10:08

Re: Network environment with a single letter tld

Beitrag von r.roeder »

Hi,

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


kaesi
Beiträge: 3
Registriert: 06 Jul 2011, 16:39

Re: Network environment with a single letter tld

Beitrag von kaesi »

This is the error message from opsiconfd:

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'
And the error message returned by Java GUI:

Bild

Regards, Jani
Benutzeravatar
d.oertel
uib-Team
Beiträge: 3327
Registriert: 04 Jun 2008, 14:27

Re: Network environment with a single letter tld

Beitrag von d.oertel »

Hi,

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


kaesi
Beiträge: 3
Registriert: 06 Jul 2011, 16:39

Re: Network environment with a single letter tld

Beitrag von kaesi »

That is what I have gathered so far. Changing the regular expression in file Types.py gets the daemon running but doesn't actually solve the problem. Any help on this matter would be highly appreciated so I could test it in our environment and maybe deploy it as well.

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
Benutzeravatar
d.oertel
uib-Team
Beiträge: 3327
Registriert: 04 Jun 2008, 14:27

Re: Network environment with a single letter tld

Beitrag von d.oertel »

Hi,

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


Antworten