Comment 4 for bug 1340593

Revision history for this message
Dmitry Borodaenko (angdraug) wrote : Re: Upload Cirros TestVM image failed with - import pkg_resources Error communicating with http://10.108.6.2:9292 [Errno 32] Broken pipe

The real problem seems to be that ceph-deploy has crashed with the following backtrace:

2014-07-11T06:15:31.573851+00:00 notice: (/Stage[main]/Ceph::Osd/Exec[ceph-deploy osd activate]/returns) Traceback (most recent call last):
2014-07-11T06:15:31.574079+00:00 notice: (/Stage[main]/Ceph::Osd/Exec[ceph-deploy osd activate]/returns) File "/usr/bin/ceph-deploy", line 21, in <module>
2014-07-11T06:15:31.574840+00:00 notice: (/Stage[main]/Ceph::Osd/Exec[ceph-deploy osd activate]/returns) sys.exit(main())
2014-07-11T06:15:31.574962+00:00 notice: (/Stage[main]/Ceph::Osd/Exec[ceph-deploy osd activate]/returns) File "/usr/lib/python2.6/site-packages/ceph_deploy/util/decorators.py", line 83, in newfunc
2014-07-11T06:15:31.574962+00:00 notice: (/Stage[main]/Ceph::Osd/Exec[ceph-deploy osd activate]/returns) return f(*a, **kw)
2014-07-11T06:15:31.575167+00:00 notice: (/Stage[main]/Ceph::Osd/Exec[ceph-deploy osd activate]/returns) File "/usr/lib/python2.6/site-packages/ceph_deploy/cli.py", line 150, in main
2014-07-11T06:15:31.576201+00:00 notice: (/Stage[main]/Ceph::Osd/Exec[ceph-deploy osd activate]/returns) return args.func(args)
2014-07-11T06:15:31.576315+00:00 notice: (/Stage[main]/Ceph::Osd/Exec[ceph-deploy osd activate]/returns) File "/usr/lib/python2.6/site-packages/ceph_deploy/osd.py", line 371, in osd
2014-07-11T06:15:31.576315+00:00 notice: (/Stage[main]/Ceph::Osd/Exec[ceph-deploy osd activate]/returns) activate(args, cfg)
2014-07-11T06:15:31.576596+00:00 notice: (/Stage[main]/Ceph::Osd/Exec[ceph-deploy osd activate]/returns) File "/usr/lib/python2.6/site-packages/ceph_deploy/osd.py", line 278, in activate
2014-07-11T06:15:31.577323+00:00 notice: (/Stage[main]/Ceph::Osd/Exec[ceph-deploy osd activate]/returns) cmd=cmd, ret=ret, out=out, err=err)
2014-07-11T06:15:31.577323+00:00 notice: (/Stage[main]/Ceph::Osd/Exec[ceph-deploy osd activate]/returns) NameError: global name 'ret' is not defined