Project

General

Profile

Actions

Bug #5078

closed

Debian missing sudo results in unclear error

Added by Rens Reinders almost 11 years ago. Updated over 10 years ago.

Status:
Won't Fix
Priority:
Low
Assignee:
-
Category:
common
Target version:
% Done:

0%

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

Description

Due to the missing 'sudo' command in debian the install.py fails while resolving the hostnames.
Perhaps a 'you need sudo for this script to work' is in place :)

Traceback (most recent call last):
File "./ceph-deploy", line 9, in <module>
load_entry_point('ceph-deploy==0.1', 'console_scripts', 'ceph-deploy')()
File "/root/ceph-deploy/ceph_deploy/cli.py", line 112, in main
return args.func(args)
File "/root/ceph-deploy/ceph_deploy/install.py", line 201, in install
sudo = args.pushy(get_transport(hostname))
File "/root/ceph-deploy/virtualenv/local/lib/python2.7/site-packages/pushy-0.5.1-py2.7.egg/pushy/client.py", line 583, in connect
return PushyClient(target, **kwargs)
File "/root/ceph-deploy/virtualenv/local/lib/python2.7/site-packages/pushy-0.5.1-py2.7.egg/pushy/client.py", line 352, in init
self.server = transport.Popen(command, **kwargs)
File "/root/ceph-deploy/ceph_deploy/sudo_pushy.py", line 33, in Popen
return Local_Popen(command, *a, **kw)
File "/root/ceph-deploy/ceph_deploy/sudo_pushy.py", line 13, in init
bufsize=65535)
File "/usr/lib/python2.7/subprocess.py", line 679, in init
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1259, in execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
Exception AttributeError: "Local_Popen instance has no attribute 'stdin'" in <bound method Local_Popen.
_del__ of <ceph_deploy.sudo_pushy.Local_Popen instance at 0x2a8e200>> ignored

Actions #1

Updated by Sage Weil over 10 years ago

  • Status changed from New to Won't Fix
Actions

Also available in: Atom PDF