[ceph-users] Error in sys.exitfunc

2015-06-11 Thread 张忠波
OS:  CentOS release 6.6 (Final)
kernel : 3.10.77-1.el6.elrepo.x86_64
Installed:   ceph-deploy.noarch 0:1.5.23-0
Dependency Installed:python-argparse.noarch 0:1.2.1-2.el6.centos

I install the ceph-deploy refer to the manual  ,
http://ceph.com/docs/master/start/quick-start-preflight/  .  However , When
I run ceph-deploy , error will appear , Error in sys.exitfunc:  .   how
to solve it ?

 I find the same error message with me in the web ,
http://www.spinics.net/lists/ceph-devel/msg21388.html , but I cannot
find the way to solve this problem .

 I am looking forward for your reply !
 Best wishes!

zhongbo


error message:

[root@node1 ~]# ceph-deploy
usage: ceph-deploy [-h] [-v | -q] [--version] [--username USERNAME]
   [--overwrite-conf] [--cluster NAME] [--ceph-conf
CEPH_CONF]
   COMMAND ...

Easy Ceph deployment

-^-
   /   \
   |O o|  ceph-deploy v1.5.23
   ).-.(
  '/|||\`
  | '|` |
'|`

Full documentation can be found at: http://ceph.com/ceph-deploy/docs

optional arguments:
  -h, --helpshow this help message and exit
  -v, --verbose be more verbose
  -q, --quiet   be less verbose
  --version the current installed version of ceph-deploy
  --username USERNAME   the username to connect to the remote host
  --overwrite-conf  overwrite an existing conf file on remote host (if
present)
  --cluster NAMEname of the cluster
  --ceph-conf CEPH_CONF
use (or reuse) a given ceph.conf file

commands:
  COMMAND   description
new Start deploying a new cluster, and write a
CLUSTER.conf and keyring for it.
install Install Ceph packages on remote hosts.
rgw Deploy ceph RGW on remote hosts.
mds Deploy ceph MDS on remote hosts.
mon Deploy ceph monitor on remote hosts.
gatherkeys  Gather authentication keys for provisioning new
nodes.
diskManage disks on a remote host.
osd Prepare a data disk on remote host.
admin   Push configuration and client.admin key to a remote
host.
config  Push configuration file to a remote host.
uninstall   Remove Ceph packages from remote hosts.
purgedata   Purge (delete, destroy, discard, shred) any Ceph
data
from /var/lib/ceph
purge   Remove Ceph packages from remote hosts and purge all
data.
forgetkeys  Remove authentication keys from the local directory.
pkg Manage packages on remote hosts.
calamariInstall and configure Calamari nodes
Error in sys.exitfunc:
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


Re: [ceph-users] Error in sys.exitfunc

2015-06-11 Thread 张忠波
 in sys.exitfunc:


I look forward to hearing from you soon. 
Best Regards!
zhongbo 



在 2015-05-13 21:21:23,Alfredo Deza ad...@redhat.com 写道:


- Original Message -
From: Patrick McGarry pmcga...@redhat.com
To: 张忠波 zhangzhongbo2...@163.com, Ceph-User ceph-us...@ceph.com
Cc: community commun...@ceph.com
Sent: Tuesday, May 12, 2015 1:23:36 PM
Subject: Re: [ceph-users] Error in sys.exitfunc

Moving this to ceph-user where it belongs for eyeballs and responses.


On Mon, May 11, 2015 at 10:39 PM, 张忠波 zhangzhongbo2...@163.com wrote:
 Hi
   When I run ceph-deploy , error will appear , Error in sys.exitfunc:  .
 I find the same error message with me ,
 http://www.spinics.net/lists/ceph-devel/msg21388.html , but I cannot find
 the way to solve this problem .

It is not a problem, it is just a poor way that Python has to terminate 
threads.

This is safe to ignore.


 CentOS release 6.6 (Final)

 Python 2.6.6

 ceph-deploy v1.5.19

 Linux ceph1 3.10.77-1.el6.elrepo.x86_64


 I am looking forward for your reply !
 best wishes!

 zhongbo

 error message:
 [root@ceph1 leadorceph]# ceph-deploy new mdsnode
 [ceph_deploy.conf][DEBUG ] found configuration file at:
 /root/.cephdeploy.conf
 [ceph_deploy.cli][INFO  ] Invoked (1.5.23): /usr/bin/ceph-deploy new mdsnode
 [ceph_deploy.new][DEBUG ] Creating new cluster named ceph
 [ceph_deploy.new][INFO  ] making sure passwordless SSH succeeds
 [mdsnode][DEBUG ] connected to host: ceph1
 [mdsnode][INFO  ] Running command: ssh -CT -o BatchMode=yes mdsnode
 [ceph_deploy.new][WARNIN] could not connect via SSH
 [ceph_deploy.new][INFO  ] will connect again with password prompt
 root@mdsnode's password:
 [mdsnode][DEBUG ] connected to host: mdsnode
 [mdsnode][DEBUG ] detect platform information from remote host
 [mdsnode][DEBUG ] detect machine type
 [mdsnode][WARNIN] .ssh/authorized_keys does not exist, will skip adding keys
 root@mdsnode's password:
 root@mdsnode's password:
 [mdsnode][DEBUG ] connected to host: mdsnode
 [mdsnode][DEBUG ] detect platform information from remote host
 [mdsnode][DEBUG ] detect machine type
 [mdsnode][DEBUG ] find the location of an executable
 [mdsnode][INFO  ] Running command: /sbin/ip link show
 [mdsnode][INFO  ] Running command: /sbin/ip addr show
 [mdsnode][DEBUG ] IP addresses found: ['192.168.72.70']
 [ceph_deploy.new][DEBUG ] Resolving host mdsnode
 [ceph_deploy.new][DEBUG ] Monitor mdsnode at 192.168.72.70
 [ceph_deploy.new][DEBUG ] Monitor initial members are ['mdsnode']
 [ceph_deploy.new][DEBUG ] Monitor addrs are ['192.168.72.70']
 [ceph_deploy.new][DEBUG ] Creating a random mon key...
 [ceph_deploy.new][DEBUG ] Writing monitor keyring to ceph.mon.keyring...
 [ceph_deploy.new][DEBUG ] Writing initial config to ceph.conf...
 Error in sys.exitfunc:







-- 

Best Regards,

Patrick McGarry
Director Ceph Community || Red Hat
http://ceph.com  ||  http://community.redhat.com
@scuttlemonkey || @ceph
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


Re: [ceph-users] Error in sys.exitfunc

2015-05-13 Thread Alfredo Deza


- Original Message -
From: Patrick McGarry pmcga...@redhat.com
To: 张忠波 zhangzhongbo2...@163.com, Ceph-User ceph-us...@ceph.com
Cc: community commun...@ceph.com
Sent: Tuesday, May 12, 2015 1:23:36 PM
Subject: Re: [ceph-users] Error in sys.exitfunc

Moving this to ceph-user where it belongs for eyeballs and responses.


On Mon, May 11, 2015 at 10:39 PM, 张忠波 zhangzhongbo2...@163.com wrote:
 Hi
   When I run ceph-deploy , error will appear , Error in sys.exitfunc:  .
 I find the same error message with me ,
 http://www.spinics.net/lists/ceph-devel/msg21388.html , but I cannot find
 the way to solve this problem .

It is not a problem, it is just a poor way that Python has to terminate threads.

This is safe to ignore.


 CentOS release 6.6 (Final)

 Python 2.6.6

 ceph-deploy v1.5.19

 Linux ceph1 3.10.77-1.el6.elrepo.x86_64


 I am looking forward for your reply !
 best wishes!

 zhongbo

 error message:
 [root@ceph1 leadorceph]# ceph-deploy new mdsnode
 [ceph_deploy.conf][DEBUG ] found configuration file at:
 /root/.cephdeploy.conf
 [ceph_deploy.cli][INFO  ] Invoked (1.5.23): /usr/bin/ceph-deploy new mdsnode
 [ceph_deploy.new][DEBUG ] Creating new cluster named ceph
 [ceph_deploy.new][INFO  ] making sure passwordless SSH succeeds
 [mdsnode][DEBUG ] connected to host: ceph1
 [mdsnode][INFO  ] Running command: ssh -CT -o BatchMode=yes mdsnode
 [ceph_deploy.new][WARNIN] could not connect via SSH
 [ceph_deploy.new][INFO  ] will connect again with password prompt
 root@mdsnode's password:
 [mdsnode][DEBUG ] connected to host: mdsnode
 [mdsnode][DEBUG ] detect platform information from remote host
 [mdsnode][DEBUG ] detect machine type
 [mdsnode][WARNIN] .ssh/authorized_keys does not exist, will skip adding keys
 root@mdsnode's password:
 root@mdsnode's password:
 [mdsnode][DEBUG ] connected to host: mdsnode
 [mdsnode][DEBUG ] detect platform information from remote host
 [mdsnode][DEBUG ] detect machine type
 [mdsnode][DEBUG ] find the location of an executable
 [mdsnode][INFO  ] Running command: /sbin/ip link show
 [mdsnode][INFO  ] Running command: /sbin/ip addr show
 [mdsnode][DEBUG ] IP addresses found: ['192.168.72.70']
 [ceph_deploy.new][DEBUG ] Resolving host mdsnode
 [ceph_deploy.new][DEBUG ] Monitor mdsnode at 192.168.72.70
 [ceph_deploy.new][DEBUG ] Monitor initial members are ['mdsnode']
 [ceph_deploy.new][DEBUG ] Monitor addrs are ['192.168.72.70']
 [ceph_deploy.new][DEBUG ] Creating a random mon key...
 [ceph_deploy.new][DEBUG ] Writing monitor keyring to ceph.mon.keyring...
 [ceph_deploy.new][DEBUG ] Writing initial config to ceph.conf...
 Error in sys.exitfunc:







-- 

Best Regards,

Patrick McGarry
Director Ceph Community || Red Hat
http://ceph.com  ||  http://community.redhat.com
@scuttlemonkey || @ceph
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


Re: [ceph-users] Error in sys.exitfunc

2015-05-12 Thread Patrick McGarry
Moving this to ceph-user where it belongs for eyeballs and responses.


On Mon, May 11, 2015 at 10:39 PM, 张忠波 zhangzhongbo2...@163.com wrote:
 Hi
   When I run ceph-deploy , error will appear , Error in sys.exitfunc:  .
 I find the same error message with me ,
 http://www.spinics.net/lists/ceph-devel/msg21388.html , but I cannot find
 the way to solve this problem .

 CentOS release 6.6 (Final)

 Python 2.6.6

 ceph-deploy v1.5.19

 Linux ceph1 3.10.77-1.el6.elrepo.x86_64


 I am looking forward for your reply !
 best wishes!

 zhongbo

 error message:
 [root@ceph1 leadorceph]# ceph-deploy new mdsnode
 [ceph_deploy.conf][DEBUG ] found configuration file at:
 /root/.cephdeploy.conf
 [ceph_deploy.cli][INFO  ] Invoked (1.5.23): /usr/bin/ceph-deploy new mdsnode
 [ceph_deploy.new][DEBUG ] Creating new cluster named ceph
 [ceph_deploy.new][INFO  ] making sure passwordless SSH succeeds
 [mdsnode][DEBUG ] connected to host: ceph1
 [mdsnode][INFO  ] Running command: ssh -CT -o BatchMode=yes mdsnode
 [ceph_deploy.new][WARNIN] could not connect via SSH
 [ceph_deploy.new][INFO  ] will connect again with password prompt
 root@mdsnode's password:
 [mdsnode][DEBUG ] connected to host: mdsnode
 [mdsnode][DEBUG ] detect platform information from remote host
 [mdsnode][DEBUG ] detect machine type
 [mdsnode][WARNIN] .ssh/authorized_keys does not exist, will skip adding keys
 root@mdsnode's password:
 root@mdsnode's password:
 [mdsnode][DEBUG ] connected to host: mdsnode
 [mdsnode][DEBUG ] detect platform information from remote host
 [mdsnode][DEBUG ] detect machine type
 [mdsnode][DEBUG ] find the location of an executable
 [mdsnode][INFO  ] Running command: /sbin/ip link show
 [mdsnode][INFO  ] Running command: /sbin/ip addr show
 [mdsnode][DEBUG ] IP addresses found: ['192.168.72.70']
 [ceph_deploy.new][DEBUG ] Resolving host mdsnode
 [ceph_deploy.new][DEBUG ] Monitor mdsnode at 192.168.72.70
 [ceph_deploy.new][DEBUG ] Monitor initial members are ['mdsnode']
 [ceph_deploy.new][DEBUG ] Monitor addrs are ['192.168.72.70']
 [ceph_deploy.new][DEBUG ] Creating a random mon key...
 [ceph_deploy.new][DEBUG ] Writing monitor keyring to ceph.mon.keyring...
 [ceph_deploy.new][DEBUG ] Writing initial config to ceph.conf...
 Error in sys.exitfunc:







-- 

Best Regards,

Patrick McGarry
Director Ceph Community || Red Hat
http://ceph.com  ||  http://community.redhat.com
@scuttlemonkey || @ceph
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


Re: [ceph-users] error in sys.exitfunc

2015-01-30 Thread Travis Rhoden
Hi Karl,

Sorry that I missed this go by.  If you are still hitting this issue,
I'd like to help you and figure this one out, especially since you are
not the only person to have hit it.

Can you pass along your system details, (OS, version, etc.).

I'd also like to know how you installed ceph-deploy (via RPM, or pip?).

 - Travis

On Tue, Jan 20, 2015 at 10:46 AM, Blake, Karl D karl.d.bl...@intel.com wrote:
 Error is same as this posted link -
 http://www.spinics.net/lists/ceph-devel/msg21388.html



 From: Blake, Karl D
 Sent: Tuesday, January 20, 2015 4:29 AM
 To: ceph-us...@ceph.com
 Subject: RE: error in sys.exitfunc



 Please advise.



 Thanks,

 -Karl



 From: Blake, Karl D
 Sent: Monday, January 19, 2015 7:23 PM
 To: 'ceph-us...@ceph.com'
 Subject: error in sys.exitfunc



 Anytime I run Ceph-deploy I get the above error. Can you help resolve?



 Thanks,

 -Karl


 ___
 ceph-users mailing list
 ceph-users@lists.ceph.com
 http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


Re: [ceph-users] error in sys.exitfunc

2015-01-29 Thread Blake, Karl D
Please advise.

Thanks,
-Karl

From: Blake, Karl D
Sent: Monday, January 19, 2015 7:23 PM
To: 'ceph-us...@ceph.com'
Subject: error in sys.exitfunc

Anytime I run Ceph-deploy I get the above error. Can you help resolve?

Thanks,
-Karl
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


Re: [ceph-users] error in sys.exitfunc

2015-01-29 Thread Blake, Karl D
Error is same as this posted link - 
http://www.spinics.net/lists/ceph-devel/msg21388.html

From: Blake, Karl D
Sent: Tuesday, January 20, 2015 4:29 AM
To: ceph-us...@ceph.com
Subject: RE: error in sys.exitfunc

Please advise.

Thanks,
-Karl

From: Blake, Karl D
Sent: Monday, January 19, 2015 7:23 PM
To: 'ceph-us...@ceph.com'
Subject: error in sys.exitfunc

Anytime I run Ceph-deploy I get the above error. Can you help resolve?

Thanks,
-Karl
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


[ceph-users] error in sys.exitfunc

2015-01-29 Thread Blake, Karl D
Anytime I run Ceph-deploy I get the above error. Can you help resolve?

Thanks,
-Karl
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com