That is a great catch. It is behind a firewall (actually, more then one!).
Should it honour http_proxy shell variable setting? I tried to set it
up, so that for example, "wget
works, but I still get the
same error.
On the other hand, why is it not using the local updated signature file
that I updated?
Thanks again,
Leon
On 07/26/2013 08:12 PM, James Cammarata wrote:
Can that system talk to the internet? The file is hosted on
cobblerd.org <
http://cobblerd.org>, and based that error your server
can't reach it.
On Jul 26, 2013 6:32 PM, "Leonid Flaks" <flaks(a)bnl.gov
<mailto:flaks@bnl.gov>> wrote:
Thanks !
I just tried, got this:
[root@cobbler_server ~]# cobbler signature update
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/cobbler/cli.py", line
177, in opt
data = getattr(options, k)
AttributeError: Values instance has no attribute 'name'
task started: 2013-07-26_192406_sigupdate
task started (id=Updating Signatures, time=Fri Jul 26 19:24:06 2013)
Exception occured: <class 'urllib2.URLError'>
Exception value: <urlopen error [Errno 111] Connection refused>
Exception Info:
File "/usr/lib/python2.6/site-packages/cobbler/api.py", line
589, in signature_update
response = urllib2.urlopen(self.settings().signature_url)
File "/usr/lib64/python2.6/urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib64/python2.6/urllib2.py", line 391, in open
response = self._open(req, data)
File "/usr/lib64/python2.6/urllib2.py", line 409, in _open
'_open', req)
File "/usr/lib64/python2.6/urllib2.py", line 369, in _call_chain
result = func(*args)
File "/usr/lib64/python2.6/urllib2.py", line 1190, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "/usr/lib64/python2.6/urllib2.py", line 1165, in do_open
raise URLError(err)
!!! TASK FAILED !!!
Other cobbler CLI commands work just fine.
Am I doing something wrong here?
Thanks,
Leon
On 07/26/2013 04:55 PM, James Cammarata wrote:
> If you update the distro signatures file (via "cobbler signature
> update") you should have it.
>
> On Fri, Jul 26, 2013 at 2:50 PM, Leonid Flaks <flaks(a)bnl.gov
> <mailto:flaks@bnl.gov>> wrote:
>
> Hi!
> I am running cobbler 2.4.0-1 on Scientific Linux 6 installed
> from EPEL, upgraded from the 2.2.x
> I want to have fedora 19 listed in the web interface under OS
> version. I downloaded new distro_signatures.json file from
> github and put it in /etc/cobbler directory, restarted both
> apache and cobbler daemons, but still can not see it the web
> interface. I understand that the 'clean' solution would be to
> build the rpm from the source. I am wondering if there is
> another file that I need to download to match the new signatures?
>
> Thanks!
>