Name or service not known

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I successfully got my overlord to sign my minion's cert, but then I ran into a problem when I was actually running func on the overlord.

[root@puppet01 log]# func '*' list_minions
Traceback (most recent call last):
  File "/usr/bin/func", line 28, in ?
    ret = cli.parse(argv)
File "/usr/lib/python2.4/site-packages/func/overlord/command.py", line 252, in parse
    return self.subCommands[command].parse(args[1:])
File "/usr/lib/python2.4/site-packages/func/overlord/command.py", line 233, in parse
    ret = self.do(args)
File "/usr/lib/python2.4/site-packages/func/overlord/cmd_modules/listminions.py", line 40, in do
    self.getOverlord()
File "/usr/lib/python2.4/site-packages/func/overlord/base_command.py", line 55, in getOverlord
    config=ol_config)
File "/usr/lib/python2.4/site-packages/func/overlord/client.py", line 526, in __init__
    self.setup_ssl()
File "/usr/lib/python2.4/site-packages/func/overlord/client.py", line 546, in setup_ssl
    myname = func_utils.get_hostname_by_route()
File "/usr/lib/python2.4/site-packages/func/utils.py", line 106, in get_hostname_by_route
    s.connect_ex((server, port))
  File "<string>", line 1, in connect_ex
socket.gaierror: (-2, 'Name or service not known')

I had firewalls off on both minion and overlord for the moment.

Again on the advice of a friend, I set the overlord to be a minion of itself. Now I'm able to run func commands without a problem.

I thought I'd post this to the list in case anyone else runs into a similar problem.
-------------
Regards,
Alex

--
Senior Software Engineer
Red Hat
919.754.4445

_______________________________________________
Func-list mailing list
Func-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/func-list


[Index of Archives]     [Fedora Users]     [Linux Networking]     [Fedora Legacy List]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux