Project

General

Profile

Actions

Bug #6690

closed

ceph-deploy: bogus apt sources.list.d/ceph.list file on wheezy

Added by Sage Weil over 10 years ago. Updated over 10 years ago.

Status:
Resolved
Priority:
High
Assignee:
-
Category:
ceph-deploy
Target version:
-
% Done:

0%

Source:
Q/A
Tags:
Backport:
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

INFO:teuthology.orchestra.run.err:[10.214.138.90]: [vpm042][INFO  ] Running command: sudo wget -q -O- 'https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/autobuild.asc' | apt-key add -
INFO:teuthology.orchestra.run.err:[10.214.138.90]: [vpm042][WARNIN] command returned non-zero exit status: 4
INFO:teuthology.orchestra.run.err:[10.214.138.90]: [vpm042][DEBUG ] add ceph deb repo to sources.list
INFO:teuthology.orchestra.run.err:[10.214.138.90]: [vpm042][INFO  ] Running command: sudo apt-get -q update
INFO:teuthology.orchestra.run.err:[10.214.138.90]: [vpm042][ERROR ] E: Malformed line 1 in source list /etc/apt/sources.list.d/ceph.list (dist parse)
INFO:teuthology.orchestra.run.err:[10.214.138.90]: [vpm042][ERROR ] E: The list of sources could not be read.
INFO:teuthology.orchestra.run.err:[10.214.138.90]: [vpm042][ERROR ] Traceback (most recent call last):
INFO:teuthology.orchestra.run.err:[10.214.138.90]: [vpm042][ERROR ]   File "/home/ubuntu/cephtest/ceph-deploy/ceph_deploy/lib/remoto/process.py", line 68, in run
INFO:teuthology.orchestra.run.err:[10.214.138.90]: [vpm042][ERROR ]     reporting(conn, result, timeout)
INFO:teuthology.orchestra.run.err:[10.214.138.90]: [vpm042][ERROR ]   File "/home/ubuntu/cephtest/ceph-deploy/ceph_deploy/lib/remoto/log.py", line 13, in reporting
INFO:teuthology.orchestra.run.err:[10.214.138.90]: [vpm042][ERROR ]     received = result.receive(timeout)
INFO:teuthology.orchestra.run.err:[10.214.138.90]: [vpm042][ERROR ]   File "/home/ubuntu/cephtest/ceph-deploy/ceph_deploy/lib/remoto/lib/execnet/gateway_base.py", line 455, in receive
INFO:teuthology.orchestra.run.err:[10.214.138.90]: [vpm042][ERROR ]     raise self._getremoteerror() or EOFError()
INFO:teuthology.orchestra.run.err:[10.214.138.90]: [vpm042][ERROR ] RemoteError: Traceback (most recent call last):
INFO:teuthology.orchestra.run.err:[10.214.138.90]: [vpm042][ERROR ]   File "/home/ubuntu/cephtest/ceph-deploy/ceph_deploy/lib/remoto/lib/execnet/gateway_base.py", line 806, in executetask
INFO:teuthology.orchestra.run.err:[10.214.138.90]: [vpm042][ERROR ]     function(channel, **kwargs)
INFO:teuthology.orchestra.run.err:[10.214.138.90]: [vpm042][ERROR ]   File "", line 35, in _remote_run
INFO:teuthology.orchestra.run.err:[10.214.138.90]: [vpm042][ERROR ] RuntimeError: command returned non-zero exit status: 100
INFO:teuthology.orchestra.run.err:[10.214.138.90]: [vpm042][ERROR ]
INFO:teuthology.orchestra.run.err:[10.214.138.90]: [vpm042][ERROR ]

the file has
ubuntu@vpm042:~$ cat /etc/apt/sources.list.d/ceph.list
deb http://gitbuilder.ceph.com/ceph-deb--x86_64-basic/ref/master  main
Actions #1

Updated by Sage Weil over 10 years ago

def platform_information():
    """ detect platform information from remote host """ 
    distro, release, codename = platform.linux_distribution()
    return (
        str(distro).rstrip(),
        str(release).rstrip(),
        str(codename).rstrip()
    )

not returning a valid codename (wheezy) in this case it looks like. fwiw i think this is why i switched to lsb_release way back when.
Actions #2

Updated by Sage Weil over 10 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF