[csw-maintainers] freshening up Ganglia packages/need rrdtool

Maciej (Matchek) Bliziński maciej at opencsw.org
Thu Nov 24 19:21:36 CET 2011


2011/11/24 Daniel Pocock <daniel at opencsw.org>:
> Thanks for pointing this out - I tried this, but various errors on both
> the build host and the login host - can you suggest what I'm doing wrong?

You need to be on the login host, that's one thing. But there's one
more problem - there isn't a password set up for you to give you
releasing permissions.

> -bash-3.00$ /home/daniel/opencsw/.buildsys/v2/bin/csw-upload-pkg
> ~/pkgs/libconfuse0_*
> WARNING:root:This script is meant to be run on the login host.
> WARNING:root:Error reading /etc/opt/csw/releases/auth/daniel: [Errno 2]
> No such file or directory: '/etc/opt/csw/releases/auth/daniel'

This bit over here indicates the problem I described above.

I've set up the access for you - please try again.

> daniel's pkg release password>
> Processing 4 file(s). Please wait.
> Traceback (most recent call last):
>  File "/home/daniel/opencsw/.buildsys/v2/bin/csw-upload-pkg", line 608,
> in <module>
>    uploader.Upload()
>  File "/home/daniel/opencsw/.buildsys/v2/bin/csw-upload-pkg", line 134,
> in Upload
>    self._ImportMetadata(filename)
>  File "/home/daniel/opencsw/.buildsys/v2/bin/csw-upload-pkg", line 101,
> in _ImportMetadata
>    metadata = self._rest_client.GetPkgByMd5(md5_sum)
>  File "/home/daniel/opencsw/.buildsys/v2/lib/python/rest.py", line 29,
> in GetPkgByMd5
>    data = urllib2.urlopen(url).read()
>  File "/opt/csw/lib/python/urllib2.py", line 126, in urlopen
>    return _opener.open(url, data, timeout)
>  File "/opt/csw/lib/python/urllib2.py", line 391, in open
>    response = self._open(req, data)
>  File "/opt/csw/lib/python/urllib2.py", line 409, in _open
>    '_open', req)
>  File "/opt/csw/lib/python/urllib2.py", line 369, in _call_chain
>    result = func(*args)
>  File "/opt/csw/lib/python/urllib2.py", line 1170, in http_open
>    return self.do_open(httplib.HTTPConnection, req)
>  File "/opt/csw/lib/python/urllib2.py", line 1145, in do_open
>    raise URLError(err)
> urllib2.URLError: <urlopen error [Errno 128] Network is unreachable>

This particular error is because the build hosts don't have the
necessary network access.

> -bash-3.00$ /home/daniel/opencsw/.buildsys/v2/bin/csw-upload-pkg
> ~/pkgs/libconfuse0_*
> -bash-3.00$ logout
> Connection to unstable10s closed.
> daniel at login [login]:~ >
> /home/daniel/opencsw/.buildsys/v2/bin/csw-upload-pkg ~/pkgs/libconfuse0_*
> /usr/bin/env: No such file or directory

This error is interesting.  Could you look up the first line of
/home/daniel/opencsw/.buildsys/v2/bin/csw-upload-pkg and see if
corresponding interpreter exists in your $PATH?

Maciej


More information about the maintainers mailing list